body {
  background: linear-gradient(180deg, #f9fbff 0%, #fff 60%);
}

.catalog-hero {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.catalog-hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.catalog-hero__picture img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(17, 17, 17, 0.18);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.associated-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.associated-grid .catalog-card {
  flex: 0 0 260px;
}

.associated-wrapper {
  position: relative;
  padding: 0 48px;
  margin: 0 -24px;
  overflow: visible;
  z-index: 1;
}

.associated-viewport {
  position: relative;
  overflow: visible;
  padding-bottom: 12px; /* laisse respirer l'ombre basse */
}

/* Effet de fade doux aux bords pour masquer les coupes d'ombre */
.associated-viewport::before,
.associated-viewport::after {
  content: '';
  position: absolute;
  top: -12px;
  bottom: -12px;
  width: 24px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
  opacity: 0.85;
}

.associated-wrapper:not(.can-scroll) .associated-viewport::before,
.associated-wrapper:not(.can-scroll) .associated-viewport::after {
  opacity: 0;
}

.associated-viewport::after {
  right: 0;
  transform: scaleX(-1);
}

.associated-viewport::before {
  left: 0;
}

.associated-grid::-webkit-scrollbar {
  display: none;
}

.associated-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 17, 17, 0.8);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.associated-wrapper.can-scroll .associated-nav {
  opacity: 1;
  pointer-events: auto;
}

.associated-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.associated-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.16);
}

.associated-nav:disabled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.98);
  box-shadow: none;
}

.associated-nav--prev {
  left: 0;
}

.associated-nav--next {
  right: 0;
}

.associated-nav svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .associated-nav {
    display: none;
  }
}

.catalog-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
  text-decoration: none;
  font-weight: 600;
}

.catalog-pill:hover {
  color: var(--blue);
  border-color: rgba(58, 186, 252, 0.6);
}

.catalog-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: start;
}

.cart-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
}

.checkout-layout {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  align-items: start;
}

@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.filter-card,
.catalog-card,
.product-panel,
.catalog-search,
.catalog-highlight {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.04);
}

.filter-group + .filter-group {
  margin-top: 1.5rem;
}

.filter-group h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.6);
}

.filter-card select,
.filter-card input,
.catalog-search input,
.catalog-search select,
.catalog-input,
textarea.catalog-input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  padding: 12px 16px;
  font: inherit;
  background: #fff;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-height: 240px;
  overflow-y: auto;
}

.chip-list label {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.92rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fff;
  cursor: pointer;
  transition: border 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.chip-list input {
  display: none;
}

.chip-list label:hover {
  border-color: rgba(58, 186, 252, 0.4);
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.08);
}

.chip-list input:checked + span,
.chip-list input:checked ~ span {
  color: #0376b8;
  font-weight: 600;
  background: rgba(58, 186, 252, 0.12);
  border-radius: 999px;
  padding: 0 2px;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem 1rem;
}

.problem-list label {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 14px;
  padding: 8px 12px;
  background: #fff;
  cursor: pointer;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.problem-list label input {
  width: auto;
}

.problem-list label:hover {
  border-color: rgba(58, 186, 252, 0.4);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

/* Panier - list */
.cart-item-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.cart-card__media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  background: #f5f7fb;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.03);
}

.cart-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.cart-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.cart-card__title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.cart-card__title h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #0b2440;
}

.cart-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(3, 118, 184, 0.08);
  color: #05527a;
  border: 1px solid rgba(3, 118, 184, 0.16);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.cart-card__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.cart-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(3, 118, 184, 0.08);
  color: #05527a;
  border: 1px solid rgba(3, 118, 184, 0.14);
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-tag--muted {
  background: rgba(17, 17, 17, 0.05);
  border-color: rgba(17, 17, 17, 0.08);
  color: rgba(17, 17, 17, 0.7);
}

.cart-tag--ghost {
  background: transparent;
  border-color: rgba(3, 118, 184, 0.16);
  color: #0376b8;
}

.cart-card__price {
  min-width: 220px;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(3, 118, 184, 0.12);
  background: linear-gradient(180deg, rgba(3, 118, 184, 0.05), rgba(3, 118, 184, 0.02));
  display: grid;
  gap: 0.45rem;
  color: rgba(17, 17, 17, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.price-line strong {
  font-size: 1.05rem;
}

.price-line--total {
  font-weight: 700;
  font-size: 1rem;
}

.price-line--total strong {
  font-size: 1.2rem;
  color: #0b2440;
}

.cart-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.cart-card__qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cart-card__control-label {
  font-size: 0.9rem;
  color: rgba(17, 17, 17, 0.65);
  font-weight: 600;
}

.cart-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.cart-card__remove .icon-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 56, 56, 0.18);
  color: #b32020;
  background: rgba(255, 0, 0, 0.04);
  box-shadow: none;
}

.cart-card__remove .icon-btn:hover {
  border-color: rgba(179, 32, 32, 0.35);
  background: rgba(255, 0, 0, 0.08);
}

.cart-card__qty .quantity-control {
  margin: 0;
  box-shadow: none;
  border-color: rgba(3, 118, 184, 0.2);
}

@media (max-width: 900px) {
  .cart-card {
    grid-template-columns: 1fr;
    padding: 1.1rem 1.25rem;
  }
  .cart-card__top {
    flex-direction: column;
    gap: 0.75rem;
  }
  .cart-card__price {
    width: 100%;
  }
  .cart-card__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-card__media img {
    height: 170px;
  }
  .shipping-card {
    grid-template-columns: 1fr;
  }
  .step-cta {
    width: 100%;
  }
  .checkout-summary {
    position: static;
  }
}
.filter-card select[multiple] {
  min-height: 150px;
}

.filter-card label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: rgba(17, 17, 17, 0.8);
}

.filter-card input[type="checkbox"],
.filter-card input[type="radio"] {
  accent-color: var(--blue);
}

.product-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(17, 17, 17, 0.18);
}

.catalog-card__main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.catalog-card figure {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: 0;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc, #eef4ff);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04), 0 18px 40px rgba(17, 17, 17, 0.12);
}

.catalog-card figure img {
  display: block;
  width: auto;
  max-width: 80%;
  max-height: 160px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 18px rgba(17, 17, 17, 0.1));
  background: transparent;
}

.catalog-card h3 {
  margin: 0.2rem 0;
}

.catalog-card p {
  margin: 0;
  color: rgba(17, 17, 17, 0.65);
}

.catalog-card .price {
  font-size: 1.15rem;
  font-weight: 700;
}

.catalog-card .price span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.55);
}

.catalog-card__actions {
  width: 100%;
  margin-top: auto;
}

.catalog-card__actions .btn {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-warning {
  background: rgba(255, 193, 7, 0.2);
  color: #9f5300;
}

.product-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.product-gallery {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(17, 17, 17, 0.15);
  background: linear-gradient(145deg, #f6fbff, #e6f1ff);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.product-gallery img {
  width: auto;
  max-width: 80%;
  max-height: 420px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.12));
  mix-blend-mode: multiply;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1.5px solid rgba(58, 186, 252, 0.35);
  background: #fff;
  box-shadow: 0 18px 45px rgba(3, 118, 184, 0.18);
  overflow: hidden;
}

.quantity-control button {
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--blue);
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quantity-control input {
  width: 80px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
}

.quantity-control button:hover {
  background: rgba(58, 186, 252, 0.1);
  color: #025e9b;
}

.quantity-control input:focus {
  outline: none;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-control input[type="number"] {
  -moz-appearance: textfield;
}

.btn-secondary {
  background: rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.15);
  color: rgba(17, 17, 17, 0.6);
}

.add-to-cart-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.add-to-cart-form .btn {
  min-width: 220px;
}

.cart-fab {
  position: fixed;
  right: 24px;
  top: 35%;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #2fa7e6, #61d0ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 45px rgba(3, 118, 184, 0.35);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 1;
}

.cart-fab::after {
  content: 'Panier';
  position: absolute;
  right: 64px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0376b8;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(3, 118, 184, 0.2);
  opacity: 0;
  transform: translateX(8px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 32px 55px rgba(3, 118, 184, 0.4);
}

.cart-fab:hover::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cart-toast {
  position: fixed;
  right: 24px;
  top: calc(35% - 90px);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: #0376b8;
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  box-shadow: 0 12px 28px rgba(3, 118, 184, 0.25);
  border: 1px solid rgba(3, 118, 184, 0.15);
  z-index: 1000;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.33, 1, 0.68, 1), transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cart-fly {
  position: fixed;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(58,186,252,0.95));
  pointer-events: none;
  z-index: 999;
  transition: transform 0.85s cubic-bezier(0.16, 0.84, 0.44, 1), opacity 0.85s ease;
  opacity: 0.95;
  transform: scale(0.85);
}

.cart-fly.is-active {
  opacity: 0;
  transform: scale(0.5);
}

@media (max-width: 640px) {
  .cart-fab {
    right: 16px;
    top: auto;
    bottom: 20px;
  }

  .cart-toast {
    right: 16px;
    top: auto;
    bottom: 108px;
  }
}

.info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.info-list li {
  list-style: none;
  flex: 1 1 220px;
  min-width: 220px;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: rgba(58, 186, 252, 0.08);
  border: 1px solid rgba(58, 186, 252, 0.25);
  text-align: left;
  box-shadow: 0 18px 30px rgba(58, 186, 252, 0.15);
}

.support-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08);
}

.cart-summary {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-steps {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  box-shadow: 0 20px 45px rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checkout-head h1 {
  margin: 0.25rem 0 0.4rem;
}

.checkout-sub {
  margin: 0;
  color: rgba(17, 17, 17, 0.65);
}

.checkout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(3, 118, 184, 0.08);
  color: #05527a;
  font-weight: 700;
  border: 1px solid rgba(3, 118, 184, 0.16);
  font-size: 0.9rem;
}

.checkout-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.checkout-progress .dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.05);
  color: rgba(17, 17, 17, 0.65);
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.checkout-progress .dot.is-active {
  background: linear-gradient(135deg, #2fa7e6, #61d0ff);
  color: #fff;
  box-shadow: 0 12px 25px rgba(3, 118, 184, 0.28);
}

.checkout-progress .dot.is-complete {
  background: rgba(3, 118, 184, 0.15);
  color: #05527a;
}

.checkout-step {
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  padding: 1.1rem;
  background: #fdfefe;
  box-shadow: 0 16px 35px rgba(17, 17, 17, 0.05);
}

.step-panels {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.step-panels .checkout-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(10%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.step-panels .checkout-step.is-active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto;
}

.step-panels .checkout-step.is-before {
  transform: translateX(-12%);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.65rem;
}

.step-index {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(3, 118, 184, 0.1);
  color: #05527a;
  font-weight: 800;
}

.step-head h3 {
  margin: 0;
}

.step-head p {
  margin: 2px 0 0;
  color: rgba(17, 17, 17, 0.65);
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field-grid {
  display: grid;
  gap: 0.6rem;
}

.field-grid.two-cols {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}

.step-cta {
  align-self: flex-start;
  min-width: 200px;
}

.shipping-list {
  display: grid;
  gap: 0.65rem;
}

.shipping-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
}

.shipping-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.shipping-main input {
  accent-color: var(--blue);
}

.shipping-price {
  font-weight: 700;
  color: #0b2440;
}

.checkout-summary {
  position: sticky;
  top: 16px;
}

.summary-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.25rem;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 20px 45px rgba(17, 17, 17, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.summary-head h2 {
  margin: 0.2rem 0;
}

.summary-hint {
  margin: 0;
  display: flex;
  align-items: center;
}

.summary-hint--left {
  text-align: left;
  justify-content: flex-start;
  width: 100%;
}

.summary-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.65rem;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.03);
}

.summary-item .muted {
  color: rgba(17, 17, 17, 0.6);
  display: block;
  margin-top: 2px;
}

.summary-checkout {
  margin-top: 0.35rem;
  text-align: center;
}

.shipping-card:hover,
.checkout-step:hover {
  border-color: rgba(3, 118, 184, 0.18);
  box-shadow: 0 18px 40px rgba(3, 118, 184, 0.08);
}

.shipping-group-title {
  margin: 0.25rem 0 0.35rem;
  font-weight: 700;
  color: rgba(11, 36, 64, 0.85);
}

.shipping-dev-hint {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: rgba(11, 36, 64, 0.6);
}

.step-alert {
  border-radius: 14px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(179, 32, 32, 0.25);
  background: rgba(179, 32, 32, 0.08);
  color: #8b1d1d;
  font-weight: 600;
}

.step-alert ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.billing-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.billing-fields {
  border: 0;
  border-radius: 0;
  padding: 0.25rem 0 0;
  background: transparent;
  transition: all 0.25s ease;
}

.login-inline {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.login-inline .switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: rgba(11, 36, 64, 0.9);
}

.login-hint {
  margin: 0;
  color: rgba(17, 17, 17, 0.65);
  font-size: 0.92rem;
}

.paypal-inline {
  margin: 0.15rem 0 0;
  display: flex;
  justify-content: center;
  width: 100%;
  background: transparent;
  padding: 0;
}

.payment-grid {
  display: grid;
  gap: 0.8rem;
}

.payment-option {
  cursor: pointer;
  border-radius: 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.payment-option__content {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fbfe);
  border: 1px solid rgba(17,17,17,0.04);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
}

.payment-option:hover {
  border-color: rgba(3, 118, 184, 0.2);
  box-shadow: 0 16px 35px rgba(3, 118, 184, 0.08);
  transform: translateY(-1px);
}

.payment-option input:checked ~ .payment-option__content {
  border-color: rgba(3, 118, 184, 0.35);
  box-shadow: 0 18px 38px rgba(3,118,184,0.12);
  background: linear-gradient(180deg, #fff, rgba(3,118,184,0.04));
}

.card-pill-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  padding: 6px 10px;
  min-width: 48px;
  min-height: 32px;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,0.08);
}

.pill img {
  max-height: 16px;
  max-width: 48px;
  object-fit: contain;
}

.stripe-logo {
  padding: 0;
  height: 16px;
  object-fit: contain;
  transform: scale(1.25) translateY(-1px);
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17,17,17,0.08), inset 0 0 0 1px rgba(17,17,17,0.08);
  margin-left: auto;
  margin-right: 8px;
}

.payment-badge img {
  max-height: 26px;
  max-width: 64px;
  object-fit: contain;
}

.payment-badge--stripe img {
  max-height: 28px;
}

.payment-badge--paypal img {
  max-height: 28px;
}

.payment-badge--sepa img {
  max-height: 28px;
}
.paypal-brand-btn {
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 12px;
  background: #fff;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(17,17,17,0.08);
}

.paypal-brand-btn:hover {
  border-color: rgba(3,118,184,0.25);
  box-shadow: 0 12px 24px rgba(3,118,184,0.12);
}

.is-hidden {
  display: none;
}

.summary-rows {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbff, #eef5ff);
  border: 1px solid rgba(3, 118, 184, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: rgba(11, 36, 64, 0.9);
}

.summary-row span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.summary-hint {
  color: rgba(11, 36, 64, 0.75);
  text-align: right;
}

.summary-sub {
  display: block;
  font-size: 0.85rem;
  color: rgba(11, 36, 64, 0.6);
}

.summary-row--discount span:last-child {
  color: #b32020;
}

.summary-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.summary-price__main {
  font-weight: 700;
  color: #0b1f4f;
  white-space: nowrap;
}

.summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.1), transparent);
  margin: 0.1rem 0 0.25rem;
}

.summary-total {
  font-size: 1.05rem;
}

.summary-total span:last-child {
  font-size: 1.3rem;
  color: #0b2440;
}

.summary-badge {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(3, 118, 184, 0.08);
  color: #05527a;
  font-weight: 600;
  border: 1px solid rgba(3, 118, 184, 0.16);
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.promo-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.7);
}

.promo-input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.promo-input-group .btn-secondary {
  width: auto;
  white-space: nowrap;
  min-width: 120px;
  background: linear-gradient(135deg, #3abafc, #2698d8);
  color: #fff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(58, 186, 252, 0.22);
  font-weight: 800;
  font-size: 15px;
}

.promo-input-group.is-error .catalog-input {
  border-color: rgba(179, 32, 32, 0.35);
  background: rgba(255, 0, 0, 0.04);
  box-shadow: 0 0 0 1px rgba(179, 32, 32, 0.25);
}

.promo-error {
  margin: 0;
  font-size: 0.9rem;
  color: #b32020;
  background: rgba(179, 32, 32, 0.08);
  border: 1px solid rgba(179, 32, 32, 0.2);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
}

.textarea-no-resize-x {
  resize: vertical;
}

.summary-checkout {
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
  box-shadow: 0 20px 45px rgba(3, 118, 184, 0.22);
}

.quantity-control button:focus,
.filter-card select:focus,
.filter-card input:focus,
.catalog-search input:focus {
  outline: 2px solid rgba(58, 186, 252, 0.4);
  outline-offset: 2px;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.catalog-meta select {
  width: auto;
}

.catalog-search {
  margin-bottom: 2rem;
}

.catalog-search .btn {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .catalog-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .catalog-card .price {
    text-align: left;
  }
}
.custom-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.custom-select-wrapper select {
  appearance: none;
  cursor: pointer;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  padding: 0.65rem 2.75rem 0.65rem 1.1rem;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.8);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 20px 35px rgba(17, 17, 17, 0.08);
  transition: border 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.custom-select-wrapper select:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 25px 40px rgba(17, 17, 17, 0.12);
}

.custom-select-wrapper select:focus {
  border-color: rgba(58, 186, 252, 0.75);
  box-shadow: 0 0 0 3px rgba(58, 186, 252, 0.2);
  outline: none;
  color: var(--blue);
}

.custom-select {
  position: relative;
}

.custom-select__trigger,
.custom-select__dropdown {
  display: none;
}

.custom-select.is-enhanced select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.custom-select.is-enhanced .custom-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(58, 186, 252, 0.5);
  padding: 0.65rem 1.25rem;
  background: linear-gradient(180deg, #e6f5ff, #fff);
  font-weight: 600;
  color: var(--blue);
  box-shadow: 0 25px 45px rgba(3, 118, 184, 0.18);
  transition: box-shadow 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.custom-select.is-enhanced .custom-select__trigger svg {
  width: 16px;
  height: 10px;
}

.custom-select.is-enhanced .custom-select__trigger:hover {
  box-shadow: 0 32px 55px rgba(3, 118, 184, 0.25);
}

.custom-select.is-open .custom-select__trigger {
  border-color: rgba(3, 118, 184, 0.8);
  box-shadow: 0 32px 55px rgba(3, 118, 184, 0.3);
}

.custom-select.is-enhanced .custom-select__dropdown {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 18px;
  padding: 0.75rem;
  box-shadow: 0 35px 70px rgba(3, 118, 184, 0.25), 0 0 0 1px rgba(58, 186, 252, 0.15);
  min-width: 210px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.custom-select.is-open .custom-select__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-select-option {
  display: flex;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: transparent;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.75);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.custom-select-option:hover {
  background: rgba(58, 186, 252, 0.1);
  color: var(--blue);
}

.custom-select-option.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(58, 186, 252, 0.35);
}

/* Pagination catalogue */
nav[aria-label="Pagination Navigation"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

nav[aria-label="Pagination Navigation"] > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav[aria-label="Pagination Navigation"] .pagination-info {
  font-weight: 600;
  color: rgba(17, 17, 17, 0.7);
}

nav[aria-label="Pagination Navigation"] a,
nav[aria-label="Pagination Navigation"] span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(3, 118, 184, 0.18);
  background: #fff;
  color: rgba(17, 17, 17, 0.78);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(3, 118, 184, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

nav[aria-label="Pagination Navigation"] a:hover {
  color: var(--blue);
  border-color: rgba(3, 118, 184, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(3, 118, 184, 0.18);
}

nav[aria-label="Pagination Navigation"] [aria-current="page"] {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(3, 118, 184, 0.32);
}

nav[aria-label="Pagination Navigation"] [aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

nav[aria-label="Pagination Navigation"] svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.free-shipping-progress {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #e6f5ff, #fff);
  box-shadow: 0 18px 35px rgba(3, 118, 184, 0.12);
}

.free-shipping-text {
  font-weight: 700;
  color: rgba(17, 17, 17, 0.82);
  margin-bottom: 0.5rem;
}

.free-shipping-bar {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(3, 118, 184, 0.12);
  overflow: hidden;
}

.free-shipping-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  box-shadow: 0 10px 20px rgba(3, 118, 184, 0.2);
  transition: width 0.3s ease;
}

.free-shipping-bar span.is-pulse {
  animation: free-bar-pulse 0.6s ease;
}

@keyframes free-bar-pulse {
  0% { transform: scaleX(0.98); box-shadow: 0 10px 18px rgba(3, 118, 184, 0.14); }
  50% { transform: scaleX(1.02); box-shadow: 0 12px 24px rgba(3, 118, 184, 0.24); }
  100% { transform: scaleX(1); box-shadow: 0 10px 20px rgba(3, 118, 184, 0.2); }
}

.free-shipping-text.is-celebrate {
  animation: free-text-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes free-text-pop {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Navbar refresh */
.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}
.navbar--glass {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
}
.navbar-links {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.navbar-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.navbar-links a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-btn-primary {
  background: linear-gradient(135deg, #3abafc, #1f95e0);
  color: #fff !important;
  border: none;
  border-radius: 28px;
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(58, 186, 252, 0.25);
}
.nav-btn-primary:hover { filter: brightness(0.95); }
.nav-btn-ghost {
  background: #fff;
  color: #0f172a !important;
  border: 1px solid #e5edf7;
  border-radius: 28px;
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15,23,42,0.06);
}
.nav-btn-ghost:hover { filter: brightness(0.98); }
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-nav--primary {
  background: linear-gradient(135deg, #3abafc, #1f95e0);
  color: #fff;
  box-shadow: 0 10px 24px rgba(58, 186, 252, 0.25);
}
.btn-nav--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(58,186,252,0.28); }
.btn-nav--ghost {
  background: #fff;
  color: #0f172a;
  border-color: #e5edf7;
  box-shadow: 0 8px 18px rgba(15,23,42,0.06);
}
.btn-nav--ghost:hover { transform: translateY(-1px); }
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid #e5edf7;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 8px 18px rgba(15,23,42,0.08);
  text-decoration: none;
}
.nav-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15,23,42,0.12);
}
.nav-cart__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #f43f5e;
  color: #fff;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 8px 16px rgba(244,63,94,0.25);
}
