/* =============================================
   miMuze Webshop – Extra stijlen
   ============================================= */

/* =============================================
   SHOP NAV ADDITIONS
   ============================================= */
.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
  transition: background var(--transition);
  text-decoration: none;
}
.nav-cart-btn:hover { background: var(--gray-200); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* =============================================
   CATEGORY HEADER
   ============================================= */
.cat-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0 0;
}

.cat-header__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 0;
  flex-wrap: wrap;
}

.cat-header__title { margin-bottom: 6px; }

.cat-header__intro {
  font-size: 0.95rem;
  color: var(--gray-600);
  max-width: 560px;
  margin-bottom: 20px;
}

.cat-tabs {
  display: flex;
  gap: 0;
  align-items: flex-end;
  flex-wrap: wrap;
}

.cat-tab {
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}

.cat-tab:hover { color: var(--black); }
.cat-tab.active { color: var(--red); border-bottom-color: var(--red); }

/* =============================================
   FILTER BAR
   ============================================= */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 68px; /* nav height */
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.filter-select {
  padding: 7px 30px 7px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
  min-width: 130px;
}

.filter-select:focus { border-color: var(--red); }

.filter-divider {
  width: 1px;
  height: 24px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.filter-toggle-group {
  display: flex;
  gap: 4px;
}

.filter-toggle {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-700);
}

.filter-toggle:hover { border-color: var(--black); color: var(--black); }
.filter-toggle.active { background: var(--black); color: var(--white); border-color: var(--black); }
.filter-toggle.active-red { background: var(--red); color: var(--white); border-color: var(--red); }

.filter-bar__sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-count {
  font-size: 0.82rem;
  color: var(--gray-500);
  white-space: nowrap;
}

.filter-bar__mobile-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
}

/* Price range */
.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-input {
  width: 80px;
  padding: 6px 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  font-family: inherit;
}

.price-input:focus { border-color: var(--red); }

/* Mobile filter drawer */
.filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.filter-drawer.open { display: block; }

.filter-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.filter-drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: var(--white);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.filter-drawer.open .filter-drawer__panel { transform: translateX(0); }

.filter-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gray-500);
}

/* =============================================
   PRODUCT GRID
   ============================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card-shop {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card-shop:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border-color: transparent;
}

.product-card-shop__img {
  position: relative;
  aspect-ratio: 1;
  background: var(--gray-100);
  overflow: hidden;
}

.product-card-shop__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card-shop:hover .product-card-shop__img img { transform: scale(1.05); }

.product-card-shop__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-new { background: var(--black); color: var(--white); }
.badge-promo { background: var(--red); color: var(--white); }
.badge-used { background: #7c5a1e; color: var(--white); }
.badge-try { background: #16a34a; color: var(--white); }

.product-card-shop__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
  color: var(--gray-500);
}

.product-card-shop:hover .product-card-shop__wishlist { opacity: 1; }
.product-card-shop__wishlist:hover { background: var(--white); color: var(--red); }

.product-card-shop__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-shop__brand {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product-card-shop__name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  flex: 1;
  color: var(--black);
}

.product-card-shop__stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.product-card-shop__stars svg { color: #f59e0b; }
.product-card-shop__rating { font-size: 0.75rem; color: var(--gray-500); }

.product-card-shop__pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-current { font-size: 1.15rem; font-weight: 800; }
.price-old { font-size: 0.85rem; color: var(--gray-400); text-decoration: line-through; }
.price-save { font-size: 0.72rem; font-weight: 700; color: #16a34a; }

.product-card-shop__cta {
  display: flex;
  gap: 6px;
}

.btn-add-cart {
  flex: 1;
  padding: 9px 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
}

.btn-add-cart:hover { background: var(--red-dark); }

.btn-quickview {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition);
  flex-shrink: 0;
}

.btn-quickview:hover { border-color: var(--black); color: var(--black); }

.product-card-shop__stock {
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stock-green { background: #16a34a; }
.stock-orange { background: #f59e0b; }
.stock-red-dot { background: var(--red); }

.stock-in { color: #16a34a; }
.stock-low { color: #d97706; }
.stock-order { color: var(--gray-500); }

/* hidden by filter */
.product-card-shop.filtered-out {
  display: none;
}

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 140px;
}

.product-gallery__main {
  aspect-ratio: 1;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  cursor: zoom-in;
  position: relative;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-gallery__main:hover img { transform: scale(1.04); }

.product-gallery__badge-tray {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--gray-100);
}

.thumb.active { border-color: var(--red); }
.thumb:hover { border-color: var(--gray-400); }

.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Buy module */
.buy-module {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.buy-module__brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.buy-module__name {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.buy-module__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.buy-module__rating-stars { display: flex; gap: 2px; }
.buy-module__rating-count { color: var(--gray-500); }

.buy-module__price {
  margin-bottom: 16px;
}

.buy-module__price-main {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.buy-module__price-old {
  font-size: 1rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 10px;
}

.buy-module__price-save {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 6px;
}

.buy-module__divider {
  height: 1px;
  background: var(--gray-200);
  margin: 16px 0;
}

.buy-module__stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.buy-module__qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.qty-btn:hover { color: var(--black); }

.qty-input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  padding: 8px 4px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  outline: none;
}

.btn-add-to-cart-main {
  width: 100%;
  padding: 15px 20px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  box-shadow: var(--shadow-red);
  margin-bottom: 10px;
}

.btn-add-to-cart-main:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(204,26,26,0.38);
}

.buy-module__secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.btn-secondary-action {
  padding: 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  color: var(--black);
  text-align: center;
}

.btn-secondary-action:hover { border-color: var(--black); background: var(--gray-50); }

/* Trust row */
.trust-row {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.trust-row-item {
  flex: 1;
  text-align: center;
}

.trust-row-item__icon {
  margin: 0 auto 6px;
  width: 28px;
  height: 28px;
  color: var(--red);
}

.trust-row-item__text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.trust-row-divider {
  width: 1px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* Product tabs */
.product-tabs { margin-top: 48px; }

.tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 28px;
  gap: 0;
}

.tab-btn {
  padding: 12px 22px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--gray-500);
  transition: all var(--transition);
  font-family: inherit;
}

.tab-btn:hover { color: var(--black); }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr { border-bottom: 1px solid var(--gray-200); }
.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
  padding: 11px 12px;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--gray-600);
  width: 40%;
  background: var(--gray-50);
}

/* Expert note */
.expert-note {
  background: #fffbf0;
  border: 1px solid #f0d88c;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
}

.expert-note__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.expert-note__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-note__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b45309;
  margin-bottom: 8px;
}

.expert-note__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #7c4a00;
  font-style: italic;
}

.expert-note__name {
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #7c4a00;
}

/* Repair cross-sell */
.repair-cta {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.repair-cta__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(204,26,26,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

.repair-cta__text { flex: 1; }
.repair-cta__text strong { font-size: 0.9rem; }
.repair-cta__text p { font-size: 0.82rem; color: var(--gray-500); margin-top: 2px; }

/* Used product note */
.used-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.used-note__title { font-weight: 700; color: #92400e; margin-bottom: 4px; }
.used-note__body { color: #78350f; }

/* =============================================
   SHOPPING CART
   ============================================= */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  padding: 0 0 14px;
  border-bottom: 2px solid var(--gray-200);
}

.cart-row {
  border-bottom: 1px solid var(--gray-200);
}

.cart-row td { padding: 20px 0; vertical-align: top; }

.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-product__img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--gray-100);
  flex-shrink: 0;
}

.cart-product__info { flex: 1; }
.cart-product__brand { font-size: 0.72rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; }
.cart-product__name { font-weight: 700; font-size: 0.95rem; margin: 3px 0 8px; }

.cart-product__remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--gray-500);
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
  transition: color var(--transition);
}

.cart-product__remove:hover { color: var(--red); }

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.cart-qty button {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-600);
  font-family: inherit;
}

.cart-qty input {
  width: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  padding: 4px;
  font-weight: 700;
  font-family: inherit;
  outline: none;
}

.cart-price { font-weight: 800; font-size: 1.05rem; text-align: right; }

/* Order summary */
.order-summary {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.order-summary h3 { margin-bottom: 20px; }

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
}

.summary-line:last-of-type { border-bottom: none; }

.summary-line__label { color: var(--gray-700); }
.summary-line__value { font-weight: 600; }

.summary-line--total {
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--gray-300);
  border-bottom: none;
  font-size: 1.1rem;
}

.summary-line--total .summary-line__label { font-weight: 800; }
.summary-line--total .summary-line__value { font-weight: 800; color: var(--red); font-size: 1.25rem; }

.promo-form {
  display: flex;
  gap: 6px;
  margin: 16px 0;
}

.promo-form input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
}

.promo-form input:focus { border-color: var(--red); }

.promo-form button {
  padding: 9px 14px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}

.delivery-options {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition);
  font-size: 0.85rem;
}

.delivery-option input[type="radio"] { accent-color: var(--red); }
.delivery-option.selected { border-color: var(--red); background: rgba(204,26,26,0.04); }

.delivery-option__label { flex: 1; }
.delivery-option__name { font-weight: 700; }
.delivery-option__desc { font-size: 0.78rem; color: var(--gray-500); margin-top: 1px; }
.delivery-option__price { font-weight: 700; font-size: 0.9rem; }

/* =============================================
   CHECKOUT
   ============================================= */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.checkout-steps-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}

.checkout-step-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.checkout-step-nav:not(:last-child)::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin: 0 8px;
}

.checkout-step-nav.done::after { background: var(--red); }

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: all var(--transition);
}

.checkout-step-nav.active .step-circle { border-color: var(--red); color: var(--red); }
.checkout-step-nav.done .step-circle { border-color: var(--red); background: var(--red); color: var(--white); }

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}

.checkout-step-nav.active .step-label { color: var(--red); }
.checkout-step-nav.done .step-label { color: var(--black); }

/* Checkout panel */
.checkout-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.checkout-panel h3 { margin-bottom: 24px; }

/* Payment methods */
.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: 8px;
  transition: border-color var(--transition);
}

.payment-method input[type="radio"] { accent-color: var(--red); }
.payment-method.selected { border-color: var(--red); background: rgba(204,26,26,0.04); }

.payment-method__label { flex: 1; font-weight: 600; }
.payment-method__icons { display: flex; gap: 4px; }

.payment-icon {
  padding: 3px 8px;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-600);
}

/* Order summary in checkout */
.checkout-summary {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.checkout-summary h4 { margin-bottom: 16px; font-size: 0.95rem; }

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
}

.checkout-summary-item:last-of-type { border-bottom: none; }

.checkout-summary-item img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-200);
}

.checkout-summary-item__info { flex: 1; }
.checkout-summary-item__name { font-size: 0.82rem; font-weight: 700; }
.checkout-summary-item__qty { font-size: 0.75rem; color: var(--gray-500); }
.checkout-summary-item__price { font-weight: 800; font-size: 0.9rem; white-space: nowrap; }

/* =============================================
   RELATED PRODUCTS
   ============================================= */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* =============================================
   EMPTY STATES
   ============================================= */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}

.empty-state svg { margin: 0 auto 16px; opacity: 0.4; }
.empty-state h3 { color: var(--black); margin-bottom: 8px; }

/* No results */
#no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

/* =============================================
   RESPONSIVE SHOP
   ============================================= */
@media (max-width: 1100px) {
  .product-detail { grid-template-columns: 1fr; }
  .buy-module { position: static; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .filter-bar__inner { display: none; }
  .filter-bar__inner.drawer-mode { display: flex; flex-direction: column; }
  .filter-bar__mobile-btn { display: flex; }
  .filter-bar { padding: 10px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .buy-module__secondary { grid-template-columns: 1fr; }
  .trust-row { flex-wrap: wrap; }
  .trust-row-divider { display: none; }
  .checkout-steps-nav .step-label { display: none; }
  .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
