:root {
  --bn-ink: #151515;
  --bn-muted: #5e625b;
  --bn-paper: #f7f2ea;
  --bn-soft: #ebe3d7;
  --bn-white: #ffffff;
  --bn-sage: #a8c7b0;
  --bn-moss: #315d4f;
  --bn-clay: #c87350;
  --bn-line: rgba(21, 21, 21, 0.12);
}

.shop-top-strip {
  background: var(--bn-moss);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 9px 16px;
  text-align: center;
}

.shop-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--bn-line);
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
}

.shop-header-inner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1280px;
  padding: 18px 32px;
}

.shop-logo {
  color: var(--bn-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  justify-self: center;
  text-decoration: none;
}

.shop-logo span {
  color: #73706a;
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2.4px;
  margin-left: 6px;
  text-transform: uppercase;
}

.shop-nav,
.shop-nav-right {
  align-items: center;
  display: flex;
  gap: 22px;
}

.shop-nav-right {
  justify-content: flex-end;
}

.shop-nav a,
.shop-nav-right a {
  color: var(--bn-ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.shop-nav a:hover,
.shop-nav-right a:hover {
  color: var(--bn-clay);
}

.shop-hero {
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.97), rgba(247, 242, 234, 0.74)),
    url("/static/images/insideshop.jpg");
  background-position: center;
  background-size: cover;
  padding: 74px 0 48px;
}

.shop-hero h1,
.shop-page h1,
.shop-page h2,
.shop-page h3 {
  font-family: "Playfair Display", Georgia, serif;
}

.shop-hero h1 {
  color: var(--bn-ink);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 1;
  margin: 0 0 18px;
  max-width: 920px;
}

.shop-hero p,
.shop-page p {
  color: var(--bn-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 760px;
}

.shop-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.shop-shell {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 30px;
  padding: 34px 0 72px;
}

.shop-panel,
.lens-card,
.cart-panel,
.order-card {
  background: var(--bn-white);
  border: 1px solid var(--bn-line);
  border-radius: 12px;
}

.shop-panel {
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 96px;
}

.filter-field,
.form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.filter-field label,
.form-field label {
  color: #4b4b4b;
  font-size: 0.9rem;
  font-weight: 600;
}

.filter-field select,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #ded8cf;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.lens-card {
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.lens-card:hover {
  border-color: rgba(21, 21, 21, 0.28);
  transform: translateY(-2px);
}

.lens-image {
  aspect-ratio: 4 / 3;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-size: min(82%, 340px) auto;
  background-position: center;
  border-bottom: 1px solid var(--bn-line);
}

.lens-body {
  padding: 20px;
}

.lens-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: #fbf8f2;
  color: #56514a;
  padding: 6px 11px;
  font-size: 0.76rem;
  font-weight: 700;
}

.stock-code {
  margin: -4px 0 10px;
  color: #77716a;
  font-size: 0.82rem;
  font-weight: 600;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.was-price {
  color: #8a837d;
  text-decoration: line-through;
  font-size: 0.95rem;
}

.rx-grid,
.checkout-grid,
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.btn-dark,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.btn-dark {
  background: var(--bn-ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--bn-ink);
  border-color: #d9d1c7;
}

.brand-showcase {
  background: var(--bn-white);
  border-bottom: 1px solid var(--bn-line);
  padding: 28px 0;
}

.campaign-showcase {
  background:
    linear-gradient(180deg, #fff 0%, #f7f2ea 100%);
  padding: 38px 0 44px;
}

.campaign-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.campaign-heading p {
  color: var(--bn-moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.campaign-heading h2 {
  color: var(--bn-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 0.95;
  margin: 0;
  max-width: 720px;
  text-align: right;
}

.brand-showcase-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.campaign-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-tile {
  align-items: end;
  aspect-ratio: 1.55 / 1;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(78%, 260px) auto;
  border-radius: 12px;
  color: #fff;
  display: flex;
  overflow: hidden;
  padding: 18px;
  position: relative;
  text-decoration: none;
}

.brand-tile::before {
  background: linear-gradient(180deg, rgba(21, 21, 21, 0), rgba(21, 21, 21, 0.58));
  content: "";
  inset: 0;
  position: absolute;
}

.brand-tile span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  position: relative;
}

.campaign-tile {
  align-content: end;
  aspect-ratio: 1 / 1.08;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(21, 21, 21, 0.08);
  box-shadow: 0 18px 44px rgba(21, 21, 21, 0.08);
  display: grid;
  min-height: 360px;
  padding: 24px;
}

.campaign-tile::before {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0) 34%, rgba(21, 21, 21, 0.72) 100%),
    linear-gradient(90deg, rgba(21, 21, 21, 0.42), rgba(21, 21, 21, 0) 58%);
}

.campaign-tile.campaign-wide {
  grid-column: span 2;
  aspect-ratio: 2.06 / 1;
}

.campaign-kicker,
.campaign-tile strong,
.campaign-tile em {
  position: relative;
}

.campaign-kicker {
  color: rgba(255, 255, 255, 0.82);
  font-family: Inter, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campaign-tile strong {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  font-weight: 600;
  line-height: 0.96;
  margin-top: 6px;
  max-width: 520px;
}

.campaign-tile em {
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  line-height: 1.4;
  margin-top: 10px;
  max-width: 360px;
}

.collection-kicker {
  color: var(--bn-moss) !important;
  font-size: 0.82rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.eyewear-hero {
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.97), rgba(247, 242, 234, 0.72)),
    url("/static/images/frame1.jpg");
  background-position: center;
  background-size: cover;
}

.eyewear-hero.sun-hero {
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.98), rgba(247, 242, 234, 0.66)),
    url("/static/images/IMG_5918.webp");
  background-position: center;
  background-size: cover;
}

.eyewear-brand {
  background-size: cover;
}

.eyewear-brand.police {
  background-image: url("/static/images/frame3.jpg");
}

.eyewear-brand.chloe {
  background-image: url("/static/images/round black frame lady.jpg");
}

.eyewear-brand.cavalli {
  background-image: url("/static/images/fendi.jpg");
}

.eyewear-brand.porsche {
  background-image: url("/static/images/unnamed.webp");
}

.eyewear-card h3 {
  min-height: 2.4em;
}

.eyewear-card h3 a {
  color: inherit;
  text-decoration: none;
}

.eyewear-card h3 a:hover,
.detail-link:hover {
  color: var(--bn-clay);
}

.eyewear-image {
  align-items: start;
  background: #fff;
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
  padding: 14px;
  position: relative;
  text-decoration: none;
}

.eyewear-image span {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  color: var(--bn-ink);
  font-size: 0.76rem;
  font-weight: 800;
  left: 14px;
  padding: 7px 11px;
  position: absolute;
  top: 14px;
  z-index: 2;
}

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

.detail-link {
  color: var(--bn-moss);
  display: inline-block;
  font-weight: 800;
  margin-top: 12px;
  text-decoration: none;
}

.colour-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
}

.colour-row span {
  background: #f3eee7;
  border: 1px solid rgba(21, 21, 21, 0.09);
  border-radius: 999px;
  color: #504b45;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
}

.compact-field {
  max-width: 120px;
}

.product-toolbar {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-toolbar h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0;
}

.product-detail-page {
  background: #fbfaf8;
  padding-bottom: 72px;
}

.product-detail-shell {
  margin: 0 auto;
  max-width: 1320px;
  padding: 44px 32px 36px;
}

.product-breadcrumb {
  align-items: center;
  color: #697079;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 9px;
  margin-bottom: 28px;
}

.product-breadcrumb a {
  color: #0b2a43;
  text-decoration: none;
}

.product-detail-grid {
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
}

.detail-image-panel,
.detail-info-panel,
.model-details-section {
  background: #fff;
  border: 1px solid rgba(21, 21, 21, 0.12);
}

.detail-image-panel {
  min-height: 640px;
}

.detail-image-box {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 54px;
}

.detail-image-box img {
  max-height: 560px;
  max-width: 100%;
  object-fit: contain;
}

.detail-info-panel {
  align-self: start;
  padding: clamp(28px, 4vw, 52px);
}

.brand-wordmark {
  color: #0b2a43 !important;
  font-size: 1.05rem !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 34px !important;
  text-transform: uppercase;
}

.detail-info-panel h1 {
  color: #0b2a43;
  font-family: Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.model-line {
  color: #9a9ca1 !important;
  font-size: 1.25rem !important;
  margin: 0 0 22px !important;
}

.detail-description {
  color: #58616b !important;
  font-size: 1.02rem !important;
  margin-bottom: 28px !important;
}

.detail-price-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 28px;
}

.detail-price-grid span,
.dimension-item span,
.detail-cart-form label {
  color: #0b2a43;
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-price-grid strong {
  color: #17202a;
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.dimension-card {
  border: 2px solid #0b2a43;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 28px;
}

.dimension-item {
  align-items: center;
  border-right: 1px solid rgba(11, 42, 67, 0.2);
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 14px 16px;
}

.dimension-item:last-child {
  border-right: 0;
}

.dimension-item i {
  color: #0b2a43;
  font-size: 1.3rem;
  grid-row: span 2;
}

.dimension-item strong {
  color: #17202a;
  font-size: 1.3rem;
}

.detail-cart-row {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: 110px 1fr;
}

.detail-cart-row select {
  border: 1px solid #ddd4ca;
  border-radius: 8px;
  color: var(--bn-ink);
  font-size: 1.05rem;
  padding: 12px 14px;
}

.model-details-section {
  display: grid;
  gap: clamp(28px, 5vw, 86px);
  grid-template-columns: 330px minmax(0, 1fr);
  margin: 36px auto 0;
  max-width: 1320px;
  padding: clamp(28px, 5vw, 56px);
}

.model-details-media {
  align-self: start;
  background: #f2f2f0;
}

.model-details-media img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  padding: 18px;
  width: 100%;
}

.model-details-copy h2 {
  color: #5c626b;
  font-family: Inter, sans-serif;
  font-size: 1.45rem;
  margin: 0 0 28px;
}

.model-details-copy dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.model-details-copy dl div {
  display: grid;
  gap: 12px;
  grid-template-columns: 180px minmax(0, 1fr);
}

.model-details-copy dt {
  color: #5c626b;
  font-weight: 800;
}

.model-details-copy dd {
  color: #697079;
  font-size: 1.08rem;
  margin: 0;
}

.ordering-note {
  background: #eef4ee;
  border: 1px solid rgba(49, 93, 79, 0.2);
  border-radius: 12px;
  margin-top: 18px;
  padding: 14px 16px;
}

.ordering-note strong {
  color: var(--bn-moss);
  display: block;
  margin-bottom: 4px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 42px 0 72px;
}

.cart-hero {
  background: #f7f2ea;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  padding: 54px 0 34px;
}

.cart-hero h1 {
  color: var(--bn-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.98;
  margin: 0 0 16px;
}

.cart-hero p {
  color: var(--bn-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
  max-width: 760px;
}

.cart-panel,
.order-card {
  padding: 24px;
}

.contact-cart-panel,
.cart-summary-panel,
.empty-cart-panel {
  background: #fff;
  border: 1px solid var(--bn-line);
  border-radius: 8px;
}

.cart-summary-panel {
  align-self: start;
  position: sticky;
  top: 104px;
}

.cart-summary-panel h2 {
  font-family: Inter, sans-serif;
  font-size: 1.6rem;
  margin: 0 0 18px;
}

.cart-product-row {
  align-items: center;
  border-bottom: 1px solid #eee8df;
  display: grid;
  gap: 20px;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  padding: 22px 0;
}

.cart-product-row:first-child {
  padding-top: 0;
}

.cart-product-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cart-product-image {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #f7f2ea;
  border: 1px solid #e7dfd5;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  position: relative;
}

.cart-product-image img {
  height: 88%;
  object-fit: contain;
  width: 88%;
}

.cart-product-image span {
  color: var(--bn-moss);
  font-weight: 800;
}

.cart-product-image strong {
  align-items: center;
  background: var(--bn-ink);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 0.82rem;
  height: 30px;
  justify-content: center;
  position: absolute;
  right: -10px;
  top: -10px;
  width: 30px;
}

.cart-product-brand {
  color: var(--bn-moss) !important;
  font-size: 0.82rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px !important;
  text-transform: uppercase;
}

.cart-product-copy h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 12px;
}

.cart-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.cart-product-specs span {
  background: #f3eee7;
  border: 1px solid rgba(21, 21, 21, 0.09);
  border-radius: 999px;
  color: #504b45;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 6px 10px;
}

.cart-product-price {
  color: var(--bn-muted) !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}

.cart-product-actions {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-product-actions > strong {
  color: var(--bn-ink);
  font-size: 1.2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee8df;
}

.total-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.total-line.strong {
  border-top: 1px solid #eee8df;
  margin-top: 10px;
  padding-top: 16px;
  font-size: 1.15rem;
  font-weight: 800;
}

.flash {
  background: #fff7df;
  border: 1px solid #edd08e;
  border-radius: 14px;
  margin: 18px 0;
  padding: 12px 16px;
}

.checkout-page {
  background: #f6f3ee;
  min-height: 100vh;
}

.checkout-header {
  background: #fff;
  border-bottom: 1px solid var(--bn-line);
}

.checkout-header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px 28px;
}

.checkout-brand {
  color: var(--bn-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 650;
  text-decoration: none;
}

.checkout-header nav {
  display: flex;
  gap: 18px;
}

.checkout-header nav a {
  color: var(--bn-muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.checkout-shell {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 390px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px 28px 76px;
}

.checkout-title {
  margin-bottom: 22px;
}

.checkout-title h1 {
  color: var(--bn-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1;
  margin: 0 0 10px;
}

.checkout-title p {
  color: var(--bn-muted);
  line-height: 1.55;
  margin: 0;
}

.checkout-section,
.checkout-summary {
  background: #fff;
  border: 1px solid var(--bn-line);
  border-radius: 8px;
  padding: 22px;
}

.checkout-section {
  margin-bottom: 18px;
}

.checkout-section h2 {
  color: var(--bn-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 1.12rem;
  margin: 0 0 16px;
}

.checkout-section-header {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.checkout-section-header small {
  color: var(--bn-muted);
  font-weight: 650;
}

.express-grid,
.payment-option-grid,
.delivery-grid {
  display: grid;
  gap: 10px;
}

.express-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.express-tile,
.payment-card,
.delivery-card {
  align-items: center;
  background: #fff;
  border: 1px solid #ded8cf;
  border-radius: 8px;
  color: var(--bn-ink);
  display: flex;
  gap: 12px;
  min-height: 58px;
  padding: 13px 14px;
}

.express-tile {
  justify-content: center;
  font-weight: 850;
  width: 100%;
}

.express-logo {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
}

.express-logo svg,
.payment-logo svg,
.express-logo img,
.payment-logo img {
  display: block;
  max-height: 38px;
  max-width: 132px;
  width: auto;
}

.express-tile {
  cursor: pointer;
}

.express-tile:hover {
  border-color: rgba(21, 21, 21, 0.45);
}

.express-tile:disabled,
.express-tile.muted {
  background: #fbf9f5;
  color: #756f66;
  cursor: not-allowed;
  opacity: 0.55;
}

.payment-card,
.delivery-card {
  cursor: pointer;
}

.payment-card:hover,
.delivery-card:hover {
  border-color: rgba(21, 21, 21, 0.45);
}

.payment-card:has(input:checked),
.delivery-card:has(input:checked),
.payment-card.selected,
.delivery-card.selected {
  background: #f7f2ea;
  border-color: var(--bn-ink);
  box-shadow: 0 0 0 1px var(--bn-ink);
}

.payment-card:has(input:disabled),
.payment-card.disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.payment-card input,
.delivery-card input {
  accent-color: var(--bn-ink);
  height: 18px;
  width: 18px;
}

.payment-copy,
.delivery-copy {
  display: grid;
  gap: 3px;
}

.payment-copy strong,
.delivery-copy strong {
  font-size: 0.96rem;
}

.payment-copy span,
.delivery-copy span,
.checkout-muted {
  color: var(--bn-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-left: auto;
}

.payment-logos span,
.summary-badge {
  background: #f4f0e9;
  border: 1px solid #e1d9ce;
  border-radius: 5px;
  color: #38332e;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 5px 7px;
}

.payment-logo {
  align-items: center;
  border-radius: 5px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  justify-content: center;
  min-height: 25px;
  min-width: 45px;
  padding: 5px 8px;
}

.payment-logo svg,
.payment-logo img {
  max-height: 28px;
  max-width: 98px;
}

.express-logo.card-group img,
.payment-logo.card-group img {
  max-width: 150px;
}

.payment-logo.visa {
  background: #fff;
  border-color: #1a1f71;
  color: #1a1f71;
}

.payment-logo.mastercard {
  background: linear-gradient(90deg, #eb001b 0 50%, #f79e1b 50% 100%);
  border-color: transparent;
  color: #fff;
}

.payment-logo.amex {
  background: #2e77bb;
  border-color: #2e77bb;
  color: #fff;
}

.payment-logo.paypal {
  background: #fff;
  border-color: #003087;
  color: #003087;
}

.payment-logo.afterpay {
  background: #b2fce4;
  border-color: #84e7cd;
  color: #111;
}

.payment-logo.applepay {
  background: #000;
  border-color: #000;
}

.payment-logo.googlepay {
  background: #fff;
  border-color: #ddd;
}

.checkout-divider {
  align-items: center;
  color: #8a837b;
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 12px;
  letter-spacing: 0.04em;
  margin: 16px 0;
  text-transform: uppercase;
}

.checkout-divider::before,
.checkout-divider::after {
  background: #e5ded5;
  content: "";
  flex: 1;
  height: 1px;
}

.checkout-summary {
  align-self: start;
  position: sticky;
  top: 20px;
}

.summary-item {
  display: grid;
  gap: 12px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  padding: 14px 0;
}

.summary-thumb {
  align-items: center;
  background: #f4f0e9;
  border: 1px solid #e1d9ce;
  border-radius: 8px;
  color: var(--bn-ink);
  display: flex;
  font-weight: 850;
  height: 58px;
  justify-content: center;
  position: relative;
}

.summary-thumb img {
  border-radius: 7px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.summary-qty {
  align-items: center;
  background: var(--bn-ink);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 0.72rem;
  height: 22px;
  justify-content: center;
  position: absolute;
  right: -8px;
  top: -8px;
  width: 22px;
}

.summary-item strong,
.summary-item p {
  margin: 0;
}

.summary-item p {
  color: var(--bn-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.discount-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 18px 0;
}

.discount-row input {
  border: 1px solid #ded8cf;
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 12px;
}

.discount-row button {
  border-radius: 6px;
  padding: 0 17px;
}

.checkout-submit {
  border-radius: 8px;
  font-size: 1rem;
  min-height: 56px;
  width: 100%;
}

.checkout-fineprint {
  color: var(--bn-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 12px 0 0;
}

.order-list {
  display: grid;
  gap: 18px;
}

@media (max-width: 980px) {
  .shop-header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .shop-logo {
    justify-self: start;
  }

  .shop-nav-right {
    justify-content: flex-start;
  }

  .shop-shell,
  .cart-layout,
  .checkout-shell,
  .product-detail-grid,
  .model-details-section {
    grid-template-columns: 1fr;
  }

  .detail-image-panel {
    min-height: 420px;
  }

  .detail-image-box {
    padding: 32px;
  }

  .model-details-section {
    margin-left: 32px;
    margin-right: 32px;
  }

  .checkout-summary {
    position: static;
  }

  .cart-summary-panel {
    position: static;
  }

  .shop-panel {
    position: static;
  }

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

  .brand-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-heading {
    align-items: start;
    display: grid;
  }

  .campaign-heading h2 {
    text-align: left;
  }

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

  .campaign-tile,
  .campaign-tile.campaign-wide {
    grid-column: auto;
    min-height: 340px;
  }

  .lens-image {
    background-size: min(78%, 300px) auto;
  }

  .brand-tile {
    background-size: min(70%, 250px) auto;
  }
}

@media (max-width: 650px) {
  .lens-grid,
  .rx-grid,
  .checkout-grid,
  .two-col,
  .brand-showcase-grid,
  .campaign-grid,
  .express-grid,
  .detail-price-grid,
  .dimension-card,
  .detail-cart-row,
  .model-details-copy dl div {
    grid-template-columns: 1fr;
  }

  .campaign-showcase {
    padding: 30px 0 34px;
  }

  .campaign-tile,
  .campaign-tile.campaign-wide {
    aspect-ratio: 1.08 / 1;
    min-height: 310px;
    padding: 20px;
  }

  .cart-product-row {
    align-items: start;
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .cart-product-actions {
    align-items: stretch;
    grid-column: 1 / -1;
  }

  .cart-product-actions form,
  .cart-product-actions button {
    width: 100%;
  }

  .product-detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-image-panel {
    min-height: 300px;
  }

  .detail-image-box {
    padding: 18px;
  }

  .detail-info-panel {
    padding: 22px;
  }

  .dimension-item {
    border-bottom: 1px solid rgba(11, 42, 67, 0.2);
    border-right: 0;
  }

  .dimension-item:last-child {
    border-bottom: 0;
  }

  .model-details-section {
    margin-left: 16px;
    margin-right: 16px;
    padding: 20px;
  }

  .checkout-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-header nav {
    flex-wrap: wrap;
  }

  .checkout-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .checkout-section,
  .checkout-summary {
    padding: 18px;
  }

  .payment-card {
    align-items: flex-start;
  }

  .payment-logos {
    margin-left: 0;
  }

  .shop-nav,
  .shop-nav-right {
    gap: 14px;
    overflow-x: auto;
    width: 100%;
  }

  .lens-image {
    aspect-ratio: 1.25 / 1;
    background-size: min(82%, 280px) auto;
  }

  .brand-tile {
    aspect-ratio: 1.35 / 1;
    background-size: min(76%, 245px) auto;
  }
}
