/* ==========================================================================
   Product page — styles
   Edit the variables below to re-brand the whole page.
   ========================================================================== */
:root {
  --green: #8cb63c;
  /* Add to Cart, banner glow */
  --green-dark: #76a02b;
  /* Add to Cart hover */
  --black: #0d0d0d;
  /* banner + footer */
  --footer-bar: #2b2b2b;
  --ink: #1f1f1f;
  /* main text */
  --ink-muted: #5c5c5c;
  --line: #e2e2e2;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  /* product section */
  --surface-image: #efefef;
  /* behind product image */
  --sale: #d0283d;
  /* sale price, save badge */
  --link: #1d4fa8;
  /* links, active thumbnail */
  --success: #3aa655;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 999px;

  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1320px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

ul[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

/* ==========================================================================
   A. Promo banner
   ========================================================================== */
.promo-banner {
  background: var(--black);
  padding: clamp(24px, 5.5vw, 96px) 16px 0;
  overflow: hidden;
}

.promo-banner__inner {
  max-width: 1188px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(6px, 1.2vw, 16px);
}

.promo-tile {
  position: relative;
  aspect-ratio: 225 / 296;
  /* bottom is cropped like the reference */
  border-radius: clamp(8px, 1.2vw, 16px) clamp(8px, 1.2vw, 16px) 0 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(140, 182, 60, .85), rgba(140, 182, 60, 0) 60%),
    radial-gradient(90% 60% at 50% 100%, rgba(140, 182, 60, .35), rgba(0, 0, 0, 0) 70%),
    #050805;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.promo-tile span {
  font-weight: 700;
  line-height: 1;
  margin-top: 4%;
  font-size: clamp(48px, 12vw, 172px);
  background: linear-gradient(180deg, #ffffff 0%, #c9c9c9 45%, #7a7a7a 55%, #e8e8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6));
}

.promo-tile--last small {
  font-weight: 700;
  letter-spacing: -.02em;
  color: #e9e9e9;
  font-size: clamp(9px, 1.8vw, 26px);
  margin-top: 2%;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .6);
}

.promo-tile--last {
  background:
    repeating-radial-gradient(circle at 40% 80%, rgba(140, 182, 60, .35) 0 6px, rgba(0, 0, 0, 0) 6px 14px),
    radial-gradient(120% 80% at 50% 0%, rgba(140, 182, 60, .85), rgba(140, 182, 60, 0) 60%),
    #071107;
}

/* ==========================================================================
   B. Product section
   ========================================================================== */
.product {
  padding: 60px 16px 160px;
}

.product__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  background: linear-gradient(var(--surface-soft), var(--surface-soft)) top left / 100% 674px no-repeat;
}

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 33px 20px 33px 26px;
}

.gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery__thumb {
  width: 76px;
  height: 76px;
  padding: 8px;
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color .2s;
}

.gallery__thumb.is-active,
.gallery__thumb:hover {
  border-color: var(--link);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__main {
  position: relative;
  margin: 0;
  aspect-ratio: 600 / 537;
  background: var(--surface-image);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery__main img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  transition: opacity .2s;
}

.badge-save {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sale);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  padding: 8px 15px 8px 7px;
  border-radius: var(--radius-pill);
}

.badge-save__icon {
  width: 22px;
  height: 22px;
}

.badge-save__icon circle {
  fill: #fff;
  stroke: none;
}

.badge-save__icon path {
  stroke: var(--sale);
  stroke-width: 2.4;
}

.gallery__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 24px;
  color: var(--ink);
}

.gallery__zoom:hover {
  background: rgba(0, 0, 0, .06);
}

/* ---- Info ---- */
.info {
  padding: 33px 52px 40px 48px;
  background: var(--surface-soft);
  min-height: 100%;
}

.info__code {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--ink-muted);
}

.info__title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 14px;
}

.rating__stars {
  display: inline-flex;
  gap: 4px;
  color: #f2a71b;
  font-size: 15px;
}

.rating__count {
  color: var(--ink-muted);
}

.rating__link {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}

.rating__link:hover {
  text-decoration: underline;
}

.features {
  margin-bottom: 14px !important;
}

.features li {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  color: #444;
  line-height: 26px;
}

.features li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 1.2px solid #888;
  border-radius: 50%;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 36px;
}

.read-more svg {
  font-size: 14px;
}

.read-more:hover {
  text-decoration: underline;
}

.price {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.price__normal strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.promo-flag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--sale);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.price__normal span,
.price__sale span {
  font-size: 12px;
}

.price__or {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--ink-muted);
}

.price__or i {
  width: 1px;
  height: 9px;
  background: #999;
}

.price__sale {
  color: var(--sale);
}

.price__sale strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.info-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 30px !important;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  min-height: 36px;
  padding: 6px 12px 6px 8px;
  font-size: 14px;
}

.info-row__label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-row__label svg {
  font-size: 17px;
  color: #555;
}

.info-row__check {
  font-size: 16px;
}

.info-row__check circle {
  fill: var(--success);
  stroke: none;
}

.info-row__check path {
  stroke: #fff;
  stroke-width: 2.4;
}

.info-row--link {
  padding: 0;
}

.info-row--link a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 6px 8px;
  min-height: 36px;
  color: var(--link);
  text-decoration: none;
}

.info-row--link a:hover {
  text-decoration: underline;
}

.buy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  max-width: 386px;
}

.btn-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  transition: background-color .2s, transform .1s, box-shadow .2s;
  text-decoration: none;
}

.btn-cart:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 14px rgba(118, 160, 43, .35);
  text-decoration: none;
}

.btn-cart:active {
  transform: scale(.98);
  text-decoration: none;
}

.btn-cart svg {
  font-size: 30px;
}

.btn-wish {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-size: 16px;
  transition: color .2s, border-color .2s;
}

.btn-wish:hover {
  border-color: #bbb;
}

.btn-wish[aria-pressed="true"] {
  color: var(--sale);
  border-color: var(--sale);
}

.btn-wish[aria-pressed="true"] svg {
  fill: currentColor;
}

/* ---- Accordion ---- */
.accordion {
  border-top: 1px solid var(--line);
  margin: 0 -8px;
}

.acc {
  border-bottom: 1px solid var(--line);
}

a {
  text-decoration: none;
}

.acc__heading {
  margin: 0;
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 8px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.acc__btn span {
  flex: 1;
}

.acc__icon {
  font-size: 18px;
  color: #555;
}

.acc__chev {
  font-size: 16px;
  transition: transform .25s ease;
}

.acc__btn[aria-expanded="true"] .acc__chev {
  transform: rotate(180deg);
}

.acc__btn:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.acc__panel {
  padding: 4px 8px 20px;
  font-size: 13px;
  line-height: 1.6;
}

.acc__panel[hidden] {
  display: none;
}

.acc__panel.is-opening {
  animation: accIn .25s ease;
}

@keyframes accIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.acc__title {
  font-size: 18px;
  margin: 4px 0 8px;
}

.acc__panel p {
  margin: 0 0 12px;
}

/* Specs */
.spec-group {
  margin-bottom: 14px;
}

.spec-group h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 8px 0 6px;
}

.spec-group dl {
  margin: 0;
}

.spec-group div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 1px 0;
}

.spec-group dt {
  color: var(--ink);
}

.spec-group dd {
  margin: 0;
  text-align: right;
}

/* Delivery prose */
.acc__panel--prose h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 14px 0 6px;
}

.acc__panel--prose ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.acc__panel--prose a {
  color: var(--link);
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 12px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 13px;
}

.fee-table th,
.fee-table td {
  border: 1px solid #9a9a9a;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.fee-table th:last-child,
.fee-table td:last-child {
  width: 30%;
}

/* Reviews */
.reviews-empty {
  color: var(--ink-muted);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--link);
  border-radius: var(--radius-pill);
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--link);
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 64px 16px 14px;
}

.back-to-top {
  position: absolute;
  top: -10px;
  right: max(16px, calc((100% - 1440px) / 2 + 58px));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 34px 10px;
  background: #fff;
  color: var(--link);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.back-to-top svg {
  font-size: 12px;
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 238px repeat(4, 1fr);
  column-gap: 60px;
  row-gap: 40px;
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__brand hr {
  border: 0;
  border-top: 1px solid #555;
  margin: 20px 0 36px;
}

.footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.footer__heading {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 24px;
}

.footer__brand .footer__heading {
  margin-bottom: 14px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col a {
  font-size: 11.5px;
  text-decoration: none;
  line-height: 1.6;
}

.footer__col a:hover {
  text-decoration: underline;
}

.subscribe {
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid #fff;
  border-radius: var(--radius-pill);
  padding: 0 6px 0 20px;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.subscribe input::placeholder {
  color: #fff;
  opacity: 1;
}

.subscribe input:focus {
  outline: none;
}

.subscribe:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.subscribe button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: #fff;
  font-size: 14px;
}

.subscribe__msg {
  min-height: 1em;
  font-size: 12px !important;
  margin: 8px 0 12px !important;
  color: var(--green);
}

.subscribe__msg.is-error {
  color: #ff8a8a;
}

.social {
  display: flex;
  gap: 14px;
}

.social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--black);
  border-radius: 50%;
  font-size: 17px;
}

.social a:hover {
  background: var(--green);
}

.footer__bar {
  max-width: 1138px;
  margin: 0 auto;
  background: var(--footer-bar);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 56px 16px 104px;
}

.footer__bar p {
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.payments li {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: #eee;
  white-space: nowrap;
}

.payments li img {
  width: 50px;
}

.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--link);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  max-width: 92vw;
  max-height: 92vh;
  border-radius: var(--radius-md);
  background: var(--surface-image);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .75);
}

.lightbox img {
  width: min(860px, 92vw);
  height: auto;
  max-height: 92vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Laptop */
@media (max-width: 1366px) {
  .info {
    padding: 33px 32px 40px 32px;
  }

  .footer__inner {
    column-gap: 40px;
  }
}

/* Tablet & small laptop */
@media (max-width: 1024px) {
  .product {
    padding: 40px 16px 100px;
  }

  .product__inner {
    grid-template-columns: 1fr;
    background: none;
  }

  .gallery {
    background: var(--surface-soft);
    padding: 24px;
  }

  .info {
    padding: 8px 24px 32px;
  }

  .gallery__main {
    aspect-ratio: 4 / 3;
  }

  .buy {
    max-width: none;
  }

  .btn-cart {
    flex: 1;
  }

  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: 420px;
  }

  .footer__bar {
    padding: 16px 24px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .promo-banner {
    padding: 20px 10px 0;
  }

  .product {
    padding: 16px 0 72px;
  }

  .gallery {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 10px;
  }

  .gallery__main {
    order: 1;
    aspect-ratio: 1 / 1;
  }

  .gallery__thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .gallery__thumb {
    width: 64px;
    height: 64px;
  }

  .badge-save {
    top: 10px;
    left: 10px;
    font-size: 13px;
  }

  .info {
    padding: 4px 16px 24px;
  }

  .info__title {
    font-size: 20px;
  }

  .price {
    flex-wrap: wrap;
    gap: 12px;
  }

  .info-row {
    font-size: 13px;
  }

  .info-row__label {
    gap: 10px;
  }

  .buy {
    margin-bottom: 36px;
  }

  .btn-cart {
    height: 52px;
  }

  .btn-wish {
    width: 52px;
    height: 52px;
  }

  .acc__btn {
    min-height: 56px;
    font-size: 15px;
  }

  .spec-group div {
    font-size: 13px;
  }

  .footer {
    padding: 56px 20px 16px;
  }

  .back-to-top {
    right: 16px;
    padding: 6px 18px 10px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    row-gap: 32px;
    margin-bottom: 40px;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__heading {
    margin-bottom: 14px;
  }

  .footer__bar {
    flex-direction: column;
    border-radius: 18px;
    padding: 18px 16px;
  }

  .payments {
    justify-content: center;
  }

  .chat-fab {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* ==========================================================================
   Billing / cart page
   ========================================================================== */
.cart-page { background: var(--surface); }
.cart { padding: 40px 16px 120px; }
.cart__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start;
}
.cart__title { font-size: 34px; font-weight: 700; margin: 0 0 32px; }

/* Line items */
.cart-items { display: flex; flex-direction: column; }
.cart-item {
  display: grid; grid-template-columns: 110px 1fr auto; grid-template-rows: auto auto;
  align-items: start; gap: 4px 20px; padding: 18px 0;
}
.cart-item__img { grid-row: 1 / 3; width: 110px; height: 100px; object-fit: contain; border-radius: var(--radius-sm); }
.cart-item__info { padding-top: 6px; }
.cart-item__name { margin: 0 0 24px; font-size: 15px; color: #333; }
.cart-item__price { margin: 0; font-size: 15px; font-weight: 700; }
.cart-item__remove {
  grid-column: 3; grid-row: 1; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: #f1f1f1; color: #555; font-size: 18px;
}
.cart-item__remove:hover { background: #e4e4e4; color: var(--sale); }
.qty {
  grid-column: 3; grid-row: 2; align-self: end; display: inline-flex; align-items: center;
  background: #f1f1f1; border-radius: var(--radius-pill); padding: 4px;
}
.qty__btn { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; font-size: 18px; line-height: 1; color: #333; }
.qty__btn:hover { background: #e0e0e0; }
.qty__val { min-width: 32px; text-align: center; font-size: 15px; }

.cart-empty { padding: 20px 0 8px; color: var(--ink-muted); }
.cart-empty p { margin: 0 0 16px; }

/* Actions */
.cart-actions {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 26px;
}
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 26px;
  border-radius: var(--radius-pill); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-pill svg { font-size: 16px; }
.btn-pill--solid { background: var(--link); color: #fff; border: 1px solid var(--link); }
.btn-pill--solid:hover { background: #163e86; }
.btn-pill--outline { background: #fff; color: var(--link); border: 1px solid var(--link); }
.btn-pill--outline:hover { background: var(--link); color: #fff; }

/* Billing form */
.billing { margin-top: 48px; }
.billing__title { font-size: 30px; font-weight: 400; margin: 0 0 28px; }
.field { margin-bottom: 22px; max-width: 390px; }
.field label { display: block; font-size: 17px; margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: #f1f1f1; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--link); background: #fff; }
.field__hint { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; }

/* Order summary */
.summary {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.summary__title { font-size: 20px; font-weight: 700; margin: 0 0 18px; }
.summary__rows { margin: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-size: 15px; }
.summary__rows dt { margin: 0; }
.summary__rows dt small { color: var(--ink-muted); font-size: 12px; }
.summary__rows dd { margin: 0; }
.summary__total { font-weight: 700; font-size: 17px !important; margin-top: 4px !important; }

.discount { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.discount__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: 0; padding: 6px 0; font-size: 13px; font-weight: 700; text-align: left;
}
.discount__toggle svg { font-size: 16px; transition: transform .25s; }
.discount__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.discount__panel { padding-top: 10px; }
.discount__row { display: flex; gap: 8px; }
.discount__row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; font: inherit; }
.discount__row button { border: 1px solid var(--link); background: #fff; color: var(--link); border-radius: var(--radius-sm); padding: 0 14px; font-weight: 700; }
.discount__msg { font-size: 12px; color: var(--sale); min-height: 1em; margin: 8px 0 0; }

.btn-checkout {
  width: 100%; margin-top: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; border: 0; border-radius: var(--radius-pill);
  background: var(--green); color: #fff; font-size: 16px; font-weight: 700;
  transition: background-color .2s, box-shadow .2s;
}
.btn-checkout:hover { background: var(--green-dark); box-shadow: 0 4px 14px rgba(118,160,43,.35); }
.btn-checkout__chev { font-size: 15px; }
.checkout__msg { font-size: 13px; color: var(--sale); min-height: 1em; margin: 10px 0 0; text-align: center; }

/* Need help */
.help { margin-top: 24px; }
.help__title { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.help p { font-size: 14px; color: var(--ink-muted); margin: 0 0 14px; }
.help__row {
  display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 18px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); text-decoration: none; color: var(--ink); font-size: 14px;
}
.help__row:hover { border-color: #bbb; }
.help__row svg { font-size: 18px; color: #555; }
.help__note { font-size: 12.5px !important; line-height: 1.6; }

/* Responsive */
@media (max-width: 900px) {
  .cart__inner { grid-template-columns: 1fr; gap: 36px; }
  .summary-col { order: -1; }
}
@media (max-width: 640px) {
  .cart { padding: 24px 16px 80px; }
  .cart__title { font-size: 26px; margin-bottom: 20px; }
  .billing__title { font-size: 24px; }
  .cart-item { grid-template-columns: 84px 1fr auto; gap: 4px 14px; }
  .cart-item__img { width: 84px; height: 80px; }
  .cart-item__name { margin-bottom: 14px; }
  .cart-actions { gap: 12px; }
  .btn-pill { flex: 1; justify-content: center; }
}
