/* Buildshop x ocStore: helpers to style default OC error/warning blocks */
.text-danger{color:#dc3545!important;display:block;margin-top:6px;font-size:14px}
.help-block{color:#6c757d;margin-top:6px;font-size:14px}
.alert{position:relative;padding:12px 16px;margin:10px 0;border:1px solid transparent;border-radius:4px}
.alert-danger{color:#842029;background-color:#f8d7da;border-color:#f5c2c7}
.alert-success{color:#0f5132;background-color:#d1e7dd;border-color:#badbcc}
.has-error .form-control{border-color:#dc3545}

/* Reviews Section Styles */
.reviews-section {
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reviews-section__title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.reviews-list {
  margin-bottom: 20px;
}

.review-item {
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #fafbfc;
  transition: all 0.3s ease;
}

.review-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.review-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.review-item__author {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.review-item__author-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
}

.review-item__date {
  font-size: 14px;
  color: #6c757d;
}

.review-item__rating {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 20px;
  line-height: 1;
}

.star--filled {
  color: #ffc107;
}

.star--empty {
  color: #e9ecef;
}

.review-item__content {
  margin-top: 15px;
}

.review-item__text {
  font-size: 15px;
  line-height: 1.6;
  color: #495057;
  margin: 0;
}

.reviews-pagination {
  margin-top: 20px;
  text-align: center;
}

.reviews-results {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #6c757d;
}

.reviews-empty {
  text-align: center;
  padding: 40px 20px;
}

.reviews-empty__text {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

/* Review Form Styles */
.review-form {
  margin-top: 20px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.review-form__group {
  margin-bottom: 20px;
}

.review-form__group.required label::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

.review-form__group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
}

.review-form__group input[type="text"],
.review-form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.review-form__group input[type="text"]:focus,
.review-form__group textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.review-form__group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* Rating Stars Styles */
.review-form__rating {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.rating-label {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 0;
}

.rating-stars input[type="radio"] {
  display: none;
}

.star-label {
  font-size: 32px;
  color: #e9ecef;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
}

.star-label:hover {
  color: #ffc107;
  transform: scale(1.1);
}

/* Star rating logic - correct order for visual effect */
#rating-1:checked ~ .star-label:nth-child(2),
#rating-2:checked ~ .star-label:nth-child(2),
#rating-3:checked ~ .star-label:nth-child(2),
#rating-4:checked ~ .star-label:nth-child(2),
#rating-5:checked ~ .star-label:nth-child(2) {
  color: #ffc107;
}

#rating-2:checked ~ .star-label:nth-child(4),
#rating-3:checked ~ .star-label:nth-child(4),
#rating-4:checked ~ .star-label:nth-child(4),
#rating-5:checked ~ .star-label:nth-child(4) {
  color: #ffc107;
}

#rating-3:checked ~ .star-label:nth-child(6),
#rating-4:checked ~ .star-label:nth-child(6),
#rating-5:checked ~ .star-label:nth-child(6) {
  color: #ffc107;
}

#rating-4:checked ~ .star-label:nth-child(8),
#rating-5:checked ~ .star-label:nth-child(8) {
  color: #ffc107;
}

#rating-5:checked ~ .star-label:nth-child(10) {
  color: #ffc107;
}

/* Help block styling */
.help-block {
  margin-top: 8px;
  font-size: 14px;
  color: #6c757d;
}

.help-block span[style*="color: #FF0000"] {
  color: #dc3545 !important;
  font-weight: 600;
}

/* Button styling (scope to review form only, do not affect theme primary buttons) */


.tabs__review { margin: 16px 0 8px; }
.is-hidden { display: none !important; }

#cart { position: relative; }

/* Modern mini cart panel  */
.mini-cart { position: relative; }

/* Cart button styling */
#cart .btn-link {
  background: none;
  border: none;
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

#cart .btn-link:hover {
  background: rgba(0,0,0,0.05);
  color: #1f4d8e;
}

#cart .fa-shopping-cart {
  font-size: 18px;
  color: #1f4d8e;
}

#cart #cart-total {
  font-weight: 600;
  color: #333;
}

/* Modal styling - Clean minimal design */
.modal#cart-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  display: none;
  overflow: hidden;
}

/* Fix modal backdrop z-index issue */
.modal#cart-modal + .modal-backdrop {
  z-index: 999998 !important;
}

/* Alternative: hide default Bootstrap backdrop for cart modal */
.modal#cart-modal ~ .modal-backdrop {
  display: none !important;
}

.modal#cart-modal.in,
.modal#cart-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  transform: none !important;
}

/* Prevent modal jumping on close */
.modal#cart-modal {
  transform: none !important;
  transition: opacity 0.15s ease !important;
}



.modal#cart-modal .modal-dialog {
  max-width: 600px;
  width: 90%;
  margin: 0;
  position: relative;
  z-index: 1000000;
}

.modal#cart-modal .modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  background: #fff;
  margin: 0;
}

.modal-backdrop {
  z-index: 14 !important;
}

.form-control {
  height: auto;
}

/* Larger close button for modals */
.modal .close {
  font-size: 28px !important;
  font-weight: bold !important;
  opacity: 0.7 !important;
  cursor: pointer !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.modal .close:hover,
.modal .close:focus {
  opacity: 1 !important;
  background-color: rgba(0,0,0,0.1) !important;
  outline: none !important;
}

.modal#cart-modal .modal-header {
  background: #fff;
  color: #191919;
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal#cart-modal .modal-title { 
  font-weight: 600; 
  font-size: 20px;
  margin: 0;
  color: #191919;
}

.modal#cart-modal .close { 
  color: #666; 
  opacity: 1; 
  text-shadow: none; 
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  padding: 8px;
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal#cart-modal .close:hover,
.modal#cart-modal .close:focus { 
  opacity: 1; 
  background: #f5f5f5;
  color: #dc3545;
  border-color: #dc3545;
  outline: none;
}

.modal#cart-modal .modal-body { 
  padding: 0; 
  background: #fff; 
  max-height: 70vh;
  overflow-y: auto;
}

/* inner list */
.mini-cart__badge { position:absolute; top:-8px; right:-8px; background:#ffd84d; color:#1f2d3d; font-weight:700; font-size:12px; line-height:1; padding:6px 8px; border-radius:999px; box-shadow:0 2px 6px rgba(0,0,0,0.1); }
.mini-cart__panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  width: 380px;
  max-height: 70vh;
  display: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  overflow: hidden;
}
.mini-cart.is-open .mini-cart__panel,
.mini-cart__panel.active { display: block; }
.mini-cart__header { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:#f7f9fc; border-bottom:1px solid #eef2f7; }
.mini-cart__title { font-weight:600; color:#1f2d3d; }
.mini-cart__close { background:transparent; border:0; font-size:22px; line-height:1; cursor:pointer; color:#6b7c93; padding:4px 8px; }
.mini-cart__body { padding:8px 12px 12px; }
.mini-cart__list { list-style:none; margin:0; padding:0; max-height:40vh; overflow:auto; }
.mini-cart__item { display:grid; grid-template-columns:56px 1fr auto auto; align-items:center; gap:10px; padding:10px 6px; border-bottom:1px solid #f1f3f5; }
.mini-cart__thumb img { width:56px; height:56px; object-fit:cover; border-radius:8px; }
.mini-cart__name { color:#1f2d3d; font-weight:600; display:block; }
.mini-cart__option { font-size:12px; color:#6c757d; }
.mini-cart__qty { font-size:12px; color:#6c757d; }
.mini-cart__price { font-weight:700; color:#1f4d8e; }
.mini-cart__remove { background:transparent; border:none; font-size:20px; color:#dc3545; cursor:pointer; padding:0 6px; }
.mini-cart__totals { padding:10px 6px; }
.mini-cart__total { display:flex; justify-content:space-between; padding:6px 0; }
.mini-cart__actions { display:flex; justify-content:space-between; gap:10px; padding:16px 14px; border-top:1px solid #eef2f7; }
.mini-cart__actions .button-outline { flex: 1; text-align:center; padding: 12px 14px; border-radius:8px; }
.mini-cart__actions .button--lg { flex: 1; text-align:center; padding: 12px 14px; border-radius:8px; background:#1f4d8e; color:#fff; border:0; }
.mini-cart__actions .button--lg:hover { background:#173c6e; }

/* Header cart button (click area) */
.header-cart { position: relative; }
/* Компоновка: зліва жовте коло з іконкою, справа бейдж-лічильник */
.header-cart__img { position: relative; z-index: 2; width:36px; height:36px; }
.header-cart__img::before{ content:""; position:absolute; left:-8px; top:-8px; width:36px; height:36px; background:#ffd84d; border-radius:50%; z-index:-1; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.mini-cart__badge { right:-10px; top:-10px; }
/* Вставленная иконка корзины */
.header-cart__img { width: 28px; height: 28px; display: inline-block; vertical-align: middle; margin-right: 8px; cursor: pointer; }
/* Очистка экспериментов, возвращаемся к стандартному cart.twig */

/* Responsive Design */
@media (max-width: 768px) {
  .review-item__header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .review-item__rating {
    margin-top: 10px;
  }
  
  .reviews-section {
    padding: 15px;
  }
  
  .review-item {
    padding: 15px;
  }
  
  .review-form {
    padding: 20px;
  }
  
  .review-form__rating {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  
  .rating-stars {
    order: 0;
  }
  
  .star-label {
    font-size: 28px;
  }
}

/* inner list */
.mini-cart__badge { position:absolute; top:-8px; right:-8px; background:#ffd84d; color:#1f2d3d; font-weight:700; font-size:12px; line-height:1; padding:6px 8px; border-radius:999px; box-shadow:0 2px 6px rgba(0,0,0,0.1); }

/* Modal content styling - Clean minimal design */
.modal#cart-modal .in-cart {
  padding: 0;
}

.modal#cart-modal .mini-cart__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 60vh;
  overflow-y: auto;
}

.modal#cart-modal .mini-cart__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.modal#cart-modal .mini-cart__item:hover {
  background: #fafafa;
}

.modal#cart-modal .mini-cart__thumb {
  flex-shrink: 0;
}

.modal#cart-modal .mini-cart__thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.modal#cart-modal .mini-cart__info {
  flex: 1;
  min-width: 0;
}

.modal#cart-modal .mini-cart__name {
  color: #191919;
  font-weight: 500;
  font-size: 16px;
  display: block;
  text-decoration: none;
  margin-bottom: 4px;
  line-height: 1.4;
}

.modal#cart-modal .mini-cart__name:hover {
  color: #dc3545;
}

.modal#cart-modal .mini-cart__option {
  font-size: 13px;
  color: #666;
  margin-bottom: 2px;
}

.modal#cart-modal .mini-cart__qty {
  font-size: 13px;
  color: #666;
}

.modal#cart-modal .mini-cart__price {
  font-weight: 600;
  color: #191919;
  font-size: 16px;
  flex-shrink: 0;
  margin-right: 12px;
}

.modal#cart-modal .mini-cart__remove {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  padding: 0;
  border-radius: 6px;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal#cart-modal .mini-cart__remove:hover {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

.modal#cart-modal .mini-cart__totals {
  padding: 20px 24px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.modal#cart-modal .mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
}

.modal#cart-modal .mini-cart__total:last-child {
  font-size: 16px;
  font-weight: 600;
  color: #191919;
  border-top: 1px solid #e0e0e0;
  margin-top: 8px;
  padding-top: 12px;
}

.modal#cart-modal .mini-cart__total strong {
  color: #191919;
  font-weight: 600;
}

.modal#cart-modal .mini-cart__actions {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

.modal#cart-modal .mini-cart__actions .button-outline {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  color: #191919;
  background: #fff;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.modal#cart-modal .mini-cart__actions .button-outline:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.modal#cart-modal .mini-cart__actions .button--lg {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: #191919;
  color: #fff;
  border: 1px solid #191919;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.modal#cart-modal .mini-cart__actions .button--lg:hover {
  background: #333;
  border-color: #333;
}

.modal#cart-modal .mini-cart__empty {
  text-align: center;
  padding: 60px 24px;
  font-size: 16px;
  color: #666;
}

/* Prevent body scroll and content shifting when modal is open */
body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;
}

/* Cart Page Styles - Modern minimalist design */

/* Alert Messages */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.alert-info {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
}

.alert-success {
  background: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.alert-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.alert__icon {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: bold;
}

.alert__content {
  flex: 1;
}

.alert__close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.alert__close:hover {
  opacity: 1;
  background: rgba(0,0,0,0.1);
}

/* Cart Page Header */
.cart-page__header {
  margin: 40px 0;
  text-align: center;
}

.cart-page__title {
  font-size: 36px;
  font-weight: 300;
  color: #191919;
  margin-bottom: 8px;
}

.cart-page__weight {
  color: #878787;
  font-size: 14px;
}

/* Cart Items Container */
.cart-items {
  margin-bottom: 40px;
}

/* Individual Cart Item */
.cart-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  margin-bottom: 1px;
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.cart-item:hover {
  border-color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cart-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.cart-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Cart Item Image */
.cart-item__image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

.cart-item__image-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.cart-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.cart-item__image-link:hover .cart-item__img {
  transform: scale(1.05);
}

.cart-item__voucher-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #fddd3a 0%, #ffeaa7 100%);
  border-radius: 8px;
}

/* Cart Item Content */
.cart-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.cart-item__main {
  margin-bottom: 16px;
}

.cart-item__title {
  font-size: 18px;
  font-weight: 500;
  color: #191919;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cart-item__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cart-item__title a:hover {
  color: #fddd3a;
}

.cart-item__stock-warning {
  color: #dc3545;
  font-size: 12px;
  font-weight: 600;
  background: #ffebee;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.cart-item__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item__model,
.cart-item__option,
.cart-item__reward,
.cart-item__recurring {
  font-size: 13px;
  color: #666;
}

.cart-item__recurring-label {
  background: #e3f2fd;
  color: #1976d2;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 4px;
}

/* Cart Item Controls */
.cart-item__controls {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.cart-item__price-info {
  text-align: right;
  min-width: 80px;
}

.cart-item__unit-price {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.cart-item__total-price {
  font-size: 18px;
  font-weight: 600;
  color: #191919;
}

/* Quantity Input */
.cart-item__quantity {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item__quantity-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quantity-input {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.quantity-input__btn {
  background: #f5f5f5;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-input__btn:hover {
  background: #e0e0e0;
  color: #333;
}

.quantity-input__field {
  border: none;
  width: 60px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 0 8px;
  background: #fff;
}

.quantity-input__field:focus {
  outline: none;
  background: #fafafa;
}

.quantity-input__field--disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

/* Cart Item Actions */
.cart-item__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item__update,
.cart-item__remove {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cart-item__update {
  color: #1976d2;
  border-color: #bbdefb;
}

.cart-item__update:hover {
  background: #e3f2fd;
  border-color: #90caf9;
}

.cart-item__remove {
  color: #dc3545;
  border-color: #ffcdd2;
}

.cart-item__remove:hover {
  background: #ffebee;
  border-color: #ef9a9a;
}

.cart-item__update-icon,
.cart-item__remove-icon {
  font-size: 14px;
}

/* Cart Summary */
.cart-summary {
  background: #fafafa;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
}

.cart-summary__title {
  font-size: 24px;
  font-weight: 500;
  color: #191919;
  margin-bottom: 24px;
  text-align: center;
}

.cart-summary__totals {
  margin-bottom: 30px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
}

.cart-summary__row--total {
  border-bottom: none;
  border-top: 2px solid #fddd3a;
  padding-top: 20px;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #191919;
}

.cart-summary__label {
  color: #666;
}

.cart-summary__value {
  font-weight: 500;
  color: #191919;
}

.cart-summary__actions {
  display: flex;
  gap: 16px;
}

.cart-summary__continue,
.cart-summary__checkout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-summary__continue {
  background: #fff;
  color: #191919;
  border: 2px solid #e0e0e0;
}

.cart-summary__continue:hover {
  border-color: #fddd3a;
  background: #fddd3a;
  color: #191919;
}

.cart-summary__checkout {
  background: #191919;
  color: #fff;
  border: 2px solid #191919;
}

.cart-summary__checkout:hover {
  background: #333;
  border-color: #333;
}

/* Empty Cart */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty__icon {
  font-size: 80px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.cart-empty__title {
  font-size: 32px;
  font-weight: 300;
  color: #191919;
  margin-bottom: 16px;
}

.cart-empty__description {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.cart-empty__continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #fddd3a;
  color: #191919;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-empty__continue:hover {
  background: #191919;
  color: #fff;
}

/* Cart Modules */
.cart-modules {
  margin-top: 60px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
}

.cart-modules__title {
  font-size: 24px;
  font-weight: 500;
  color: #191919;
  margin-bottom: 12px;
}

.cart-modules__description {
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.cart-modules__content {
  /* Modules content styling will be handled by individual modules */
}

/* Responsive Design */
@media (max-width: 768px) {
  .cart-page__title {
    font-size: 28px;
  }
  
  .cart-item {
    flex-direction: column;
    gap: 16px;
  }
  
  .cart-item__image {
    width: 100%;
    height: 200px;
  }
  
  .cart-item__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .cart-item__price-info {
    text-align: left;
  }
  
  .cart-item__actions {
    flex-direction: row;
  }
  
  .cart-summary__actions {
    flex-direction: column;
  }
  
  .cart-empty__icon {
    font-size: 60px;
  }
  
  .cart-empty__title {
    font-size: 24px;
  }
  
  .modal#cart-modal .modal-dialog {
    max-width: 95%;
    width: 95%;
  }
  
  .modal#cart-modal .mini-cart__item {
    gap: 15px;
    padding: 15px 20px;
  }
  
  .modal#cart-modal .mini-cart__thumb img {
    width: 70px;
    height: 70px;
  }
  
  .modal#cart-modal .mini-cart__actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .modal#cart-modal .modal-header {
    padding: 20px;
  }
  
  .modal#cart-modal .close {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* Custom styles for register page using buildshop theme variables */
#account-register {
  padding: 40px 0;
}

#account-register h1 {
  color: var(--dark-color, #191919);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--accent, #007bff);
}

#account-register p {
  color: var(--grey-color, #666);
  line-height: 1.6;
  margin-bottom: 30px;
}

#account-register fieldset {
  margin-bottom: 40px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#account-register legend {
  color: var(--dark-color, #191919);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent, #007bff);
  width: 100%;
}

#account-register .form-group {
  margin-bottom: 20px;
}

#account-register .control-label {
  color: var(--dark-color, #191919);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

#account-register .form-control {
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

#account-register .form-control:focus {
  border-color: var(--accent, #007bff);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
  outline: none;
}

#account-register select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#account-register select.form-control:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23007bff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

#account-register .radio,
#account-register .checkbox {
  margin-top: 10px;
}

#account-register .radio label,
#account-register .checkbox label {
  font-weight: normal;
  cursor: pointer;
  margin-left: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#account-register .radio input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

#account-register .radio-inline {
  display: inline-block;
  margin-right: 20px;
}

#account-register .radio-inline label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#account-register .checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

#account-register .checkbox-text {
  line-height: 1.4;
  color: var(--dark-color, #191919);
}

#account-register .checkbox a {
  color: var(--accent, #007bff);
  text-decoration: underline;
}

#account-register .checkbox a:hover {
  color: var(--accent-hover, #0056b3);
}

#account-register .text-danger {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  display: block;
  padding: 8px 12px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin-top: 8px;
}

#account-register .form-group.has-error .form-control {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

#account-register .form-group.has-error .control-label {
  color: #dc3545;
}

#account-register .form-group.required .control-label:after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

#account-register .buttons {
  text-align: right;
  margin-top: 30px;
}

#account-register .button {
  background: var(--accent, #007bff);
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#account-register .button:hover {
  background: var(--accent-hover, #0056b3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

#account-register .btn-default {
  background: var(--border, #e0e0e0);
  color: var(--dark-color, #191919);
  border: 1px solid var(--border, #e0e0e0);
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#account-register .btn-default:hover {
  background: var(--accent, #007bff);
  color: #fff;
  border-color: var(--accent, #007bff);
}

#account-register .btn-default i {
  margin-right: 5px;
}

#account-register .input-group {
  display: flex;
}

#account-register .input-group .form-control {
  flex: 1;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#account-register .input-group-btn {
  display: flex;
}

#account-register .input-group-btn .btn {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  white-space: nowrap;
}

#account-register .input-group-btn .btn {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#account-register .input-group .form-control:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

@media (max-width: 768px) {
  #account-register fieldset {
    padding: 20px;
  }
  
  #account-register .buttons {
    text-align: center;
  }
  
  #account-register .button {
    width: 100%;
  }
  
  #account-register .control-label {
    text-align: left;
    margin-bottom: 8px;
  }
  
  #account-register .col-sm-10 {
    padding-left: 0;
  }
  
  #account-register .radio-inline {
    display: block;
    margin-bottom: 10px;
  }
  
  #account-register .checkbox label {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

