
.cart-reminder {
    background-color: #f0f7fd;
    padding: 8px 12px;
    border-radius: 4px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.cart-reminder i {
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 8px;
    color: #1e91cf;
}

table.cart-products {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px;
    overflow: hidden;
}

table.cart-products thead td {
    background-color: #2c3e50;
    color: #ffffff;
    font-weight: bold;
    padding: 12px 15px;
    border: none !important;
    text-transform: uppercase;
    font-size: 13px;
}

table.cart-products tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eceeef !important;
}

table.cart-products tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

table.cart-products a {
    font-weight: 600;
    color: #2980b9;
    text-decoration: none;
}

table.cart-products b {
    color: #e67e22;
}

table.cart-products small {
    display: block;
    line-height: 1.4;
}

table.cart-products td.text-right {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
}

table.cart-products tfoot td {
    padding: 10px 15px;
    border: none !important;
    background: #ffffff;
}

table.cart-products tfoot tr:last-child td {
    border-top: 2px solid #2c3e50 !important;
    font-size: 16px;
    background: #fdfdfd;
}

table.cart-products tfoot tr:last-child td:last-child {
    font-size: 20px;
    color: #27ae60;
    font-weight: 800;
}

.table-bordered.cart-products > thead > tr > td, 
.table-bordered.cart-products > tbody > tr > td, 
.table-bordered.cart-products > tfoot > tr > td {
    border-left: none !important;
    border-right: none !important;
}

table.cart-products tfoot tr:not(:last-child) {
    display: none !important;
}

/* Стили адаптированы для страницы и для модального окна */
  .agreement-container {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    padding: 5px;
  }
  
  .agreement-container h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 20px 0 10px 0;
    color: #000;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
  }
  
  /* Первый заголовок без верхнего отступа */
  .agreement-container h3:first-of-type {
    margin-top: 15px;
  }

  .agreement-accent {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    border-radius: 4px;
  }

  .agreement-container ul {
    padding-left: 20px;
    margin-bottom: 15px;
  }

  .agreement-container ul li {
    margin-bottom: 8px;
  }

  .agreement-container p {
    margin-bottom: 10px;
  }

  /* Адаптация под модальное окно OpenCart */
  .agreement-container {
    font-size: 13px; /* Чуть меньше шрифт для попапа */
  }
  
  .agreement-accent {
    padding: 10px;
    font-size: 13px;
  }
  
.modal-body .agreement-container {
    max-height: calc(85vh - 100px);
    overflow-y: auto;
    padding-right: 10px;
    font-size: 13px;
}

.modal-body .agreement-container::-webkit-scrollbar {
	width: 6px;
}
.modal-body .agreement-container::-webkit-scrollbar-thumb {
	background-color: #ccc;
	border-radius: 10px;
}
.modal-body .agreement-container::-webkit-scrollbar-track {
	background: #f1f1f1;
}  

.select-group {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: #fff;
    width: 100%; /* Занимает всю ширину колонки */
}

.select-group .input-group-addon {
    background: #f1f5f9;
    border: none;
    border-right: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-width: fit-content; /* Чтобы текст не обрезался */
    flex-shrink: 0; /* Запрещает сжимать лейбл */
}

.select-group .form-control {
    border: none !important;
    box-shadow: none !important;
    height: 36px;
    padding: 0 30px 0 10px;
    font-size: 13px;
    color: #1e293b;
    background-color: #fff;
    cursor: pointer;
    flex-grow: 1; /* Селектор забирает свободное пространство */
    width: 100%;
    
    /* Кастомная стрелка */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.select-group .form-control::-ms-expand {
    display: none;
}

.reviews-container { margin-bottom: 20px; }
.review-card {
    padding: 10px 15px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    border-left: 3px solid #1e91cf;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.author-info { display: flex; align-items: center; gap: 10px; }
.author-name { font-weight: 700; font-size: 13px; color: #333; }
.review-date { font-size: 11px; color: #999; }
.review-rating { font-size: 10px; color: #ffbc00; }
.star-empty { color: #ddd; }
.review-body { padding: 0; background: none; }
.review-body p {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin: 0;
    font-style: italic;
}
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
}
.results-text { font-size: 11px; color: #999; }
.pagination { margin: 0 !important; }
.pagination > li > a, .pagination > li > span { padding: 4px 8px !important; font-size: 12px !important; }