﻿@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap");

:root {
  --black: #f4f7fb;
  --matte: #ffffff;
  --charcoal: #e8eef3;
  --panel: #ffffff;
  --panel-soft: #eef4ff;
  --line: #c9d4dc;
  --gold: #2563eb;
  --gold-bright: #d29a08;
  --white: #1d2935;
  --muted: #5d6d78;
  --shadow: 0 18px 42px rgba(31, 48, 65, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--black); color: var(--white); font-family: "Rajdhani", Arial, sans-serif; line-height: 1.6; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 1000; display: grid; grid-template-columns: auto minmax(210px, 1fr) auto auto; align-items: center; gap: 18px; padding: 14px clamp(16px, 4vw, 44px); background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(31, 48, 65, 0.12); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: #ffffff; border: 2px solid var(--gold-bright); padding: 6px; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.site-search input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 999px; padding: 0 20px; background: #ffffff; color: var(--white); outline: none; }
.site-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }

.site-nav { display: flex; align-items: center; gap: 10px; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 110px; min-height: 58px; padding: 0 18px; border-radius: 999px; color: var(--white); background: #f9fbfd; border: 1px solid var(--line); text-decoration: none; font-weight: 800; font-size: 1rem; letter-spacing: 0.03em; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.site-nav a:hover, .site-nav a.active { transform: translateY(-2px); background: #eaf1ff; border-color: rgba(37, 99, 235, 0.32); }
.site-nav .shop-link { color: var(--gold-bright); border-color: rgba(210, 154, 8, 0.45); }
.nav-icons { display: flex; gap: 10px; }
.nav-icons a, .cart-button, .logout-button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 92px; height: 58px; border-radius: 999px; border: 1px solid rgba(37, 99, 235, 0.28); background: #ffffff; color: var(--white); text-decoration: none; font-weight: 900; letter-spacing: 0.03em; }
.cart-button, .logout-button { padding: 0 18px; font-size: 1rem; }
.cart-button span { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #ffffff; font-size: 0.72rem; }
.menu-toggle { display: none; min-height: 48px; border: 1px solid rgba(37, 99, 235, 0.28); border-radius: 999px; padding: 0 18px; background: #ffffff; color: var(--white); font-weight: 900; letter-spacing: 0.03em; }

.hero { min-height: 72vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 470px); align-items: center; gap: 34px; padding: 70px max(18px, calc((100vw - var(--max)) / 2)); background: radial-gradient(circle at 82% 35%, rgba(37, 99, 235, 0.14), transparent 30%), linear-gradient(135deg, #ffffff 0%, #eef4ff 52%, #f7f9fc 100%); border-bottom: 1px solid var(--line); }
.hero-copy { max-width: 720px; }
.account-welcome { display: inline-flex; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #ffffff; color: var(--gold); font-weight: 900; }
.eyebrow { margin: 0 0 10px; color: var(--gold-bright); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h1, h2 { font-family: "Barlow Condensed", Impact, sans-serif; letter-spacing: 0.03em; text-transform: uppercase; }
h1 { font-size: 4rem; max-width: 780px; }
h2 { font-size: 2.7rem; }
h3 { font-size: 1.08rem; }
.hero p:not(.eyebrow), .page-hero p:not(.eyebrow), .split-section p { max-width: 650px; color: var(--muted); font-size: 1.04rem; }
.gold-button, .add-cart, .newsletter button, .form-submit { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 0; border-radius: 999px; padding: 12px 22px; background: linear-gradient(180deg, #4f86f7, var(--gold)); color: #ffffff; text-decoration: none; font-weight: 900; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2); }
.gold-button:hover, .add-cart:hover, .newsletter button:hover, .form-submit:hover { filter: brightness(1.05); }

.image-placeholder { min-height: 220px; border: 1px dashed rgba(37, 99, 235, 0.28); border-radius: 8px; background: repeating-linear-gradient(135deg, #f7fbfd 0, #f7fbfd 16px, #edf3f7 16px, #edf3f7 32px); display: grid; place-items: center; color: rgba(31, 48, 65, 0.62); text-align: center; font-weight: 800; letter-spacing: 0.04em; }
.image-placeholder span { padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(37, 99, 235, 0.22); background: rgba(255, 255, 255, 0.78); }
.hero-placeholder { min-height: 440px; box-shadow: var(--shadow); }
.product-image { min-height: 260px; border-width: 0 0 1px 0; border-style: dashed; border-color: rgba(37, 99, 235, 0.25); border-radius: 0; }

.section { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; padding: 76px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-note { max-width: 430px; margin: 0; color: var(--muted); }
.dark-band { width: 100%; max-width: none; padding-left: max(18px, calc((100vw - var(--max)) / 2)); padding-right: max(18px, calc((100vw - var(--max)) / 2)); background: #eef4ff; border-block: 1px solid var(--line); }
.category-grid, .product-grid, .benefit-grid { display: grid; gap: 22px; }
.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: var(--panel); box-shadow: var(--shadow); }
.category-card strong { display: block; padding: 16px 18px; font-family: "Barlow Condensed", Impact, sans-serif; font-size: 1.55rem; letter-spacing: 0.04em; text-transform: uppercase; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.product-card.is-hidden { display: none; }
.product-card-body { padding: 18px; display: grid; gap: 9px; }
.product-card h3 a { text-decoration: none; }
.rating { margin: 0; color: var(--gold-bright); font-size: 0.88rem; font-weight: 800; }
.price { margin: 0; color: var(--white); font-weight: 900; font-size: 1.15rem; }
.meta { margin: 0; color: var(--muted); font-size: 0.88rem; }
.add-cart { width: 100%; margin-top: 4px; }
.benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit-grid article, .contact-card, .faq-list details, .filter-panel, .contact-form, .product-info { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 22px; }
.benefit-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 8px; color: var(--gold-bright); border: 1px solid rgba(37, 99, 235, 0.32); font-weight: 900; background: #f7fbfd; }
.benefit-grid p, .contact-card p, .faq-list p, .detail-list p, .detail-list li { color: var(--muted); }
.split-section { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 36px; align-items: center; }
.gallery-strip, .image-stack, .thumb-row { display: grid; gap: 14px; }
.gallery-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-strip .image-placeholder, .image-stack .image-placeholder { min-height: 320px; }
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
blockquote { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff; color: var(--white); font-size: 1.05rem; }
cite { display: block; margin-top: 14px; color: var(--gold-bright); font-style: normal; font-weight: 800; }

.page-hero { padding: 84px max(18px, calc((100vw - var(--max)) / 2)); background: radial-gradient(circle at 80% 10%, rgba(210, 154, 8, 0.16), transparent 34%), linear-gradient(135deg, #ffffff, #eef4ff); border-bottom: 1px solid var(--line); }
.compact-hero { padding-top: 58px; padding-bottom: 58px; }
.shop-layout { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; padding: 42px 0 78px; display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.filter-panel { position: sticky; top: 110px; }
.filter-group { display: grid; gap: 10px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.filter-group a, .filter-group label { color: var(--muted); text-decoration: none; }
.filter-group a:hover { color: var(--gold-bright); }
.catalogue-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.catalogue-tools p { margin: 0; color: var(--muted); }
select { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--panel); color: var(--white); }
.product-detail { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; padding: 58px 0; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: start; }
.main-product-image { min-height: 620px; }
.thumb-row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.thumb-row .image-placeholder { min-height: 130px; }
.large-price { font-size: 1.6rem; color: var(--gold-bright); }
.detail-list { margin-top: 24px; display: grid; gap: 10px; }
.detail-list ul { margin: 0; padding-left: 20px; }
.faq-list { display: grid; gap: 14px; max-width: 900px; }
.faq-list summary { cursor: pointer; font-weight: 900; color: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--white); font-weight: 800; }
.contact-form input, .contact-form textarea, .newsletter input, .form-row input, .form-row textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #ffffff; color: var(--white); outline: none; }

.search-results-status { min-height: 24px; margin: 0 0 18px; color: var(--gold-bright); font-weight: 900; }
.collection-section, .collection-teaser { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.collection-teaser-card { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 28px; box-shadow: var(--shadow); overflow: hidden; }
.collection-teaser-card p { max-width: 640px; color: var(--muted); }
.card-preview-stack { min-height: 250px; position: relative; }
.preview-card { position: absolute; width: 170px; height: 238px; border: 1px solid rgba(37, 99, 235, 0.28); border-radius: 8px; background: linear-gradient(145deg, #ffffff, #eaf1ff); box-shadow: var(--shadow); }
.preview-card::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(31, 48, 65, 0.12); border-radius: 6px; }
.preview-card-one { right: 190px; top: 20px; transform: rotate(-10deg); }
.preview-card-two { right: 105px; top: 0; transform: rotate(3deg); }
.preview-card-three { right: 18px; top: 28px; transform: rotate(13deg); }
.collection-layout { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.code-panel, .collection-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 24px; box-shadow: var(--shadow); }
.code-panel p, .collection-summary p, .collection-message, .scanner-status, .empty-collection { color: var(--muted); }
.card-code-form { display: grid; gap: 10px; margin-top: 18px; }
.card-code-form label { font-weight: 900; }
.code-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.code-entry input { min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; background: #ffffff; color: var(--white); text-transform: uppercase; outline: none; }
.code-entry input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }
.scan-card-button, .stop-scan-button { width: 100%; min-height: 48px; margin-top: 12px; border: 1px solid rgba(37, 99, 235, 0.28); border-radius: 8px; background: #ffffff; color: var(--white); font-weight: 900; }
.scanner-panel { display: grid; gap: 12px; margin-top: 14px; }
.scanner-panel[hidden] { display: none; }
.scanner-video { width: 100%; min-height: 230px; border: 1px solid var(--line); border-radius: 8px; background: #eef3f7; object-fit: cover; }
.collection-message { min-height: 24px; margin-bottom: 0; font-weight: 800; }
.collection-message.is-success { color: var(--gold-bright); }
.collection-message.is-error { color: #b45309; }
.collection-summary { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 18px; }
.collection-summary p { margin: 0; font-weight: 900; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.flip-card-grid { align-items: start; }
.virtual-card { width: 100%; min-height: 430px; border: 0; border-radius: 8px; padding: 0; background: transparent; color: inherit; perspective: 1200px; cursor: pointer; }
.virtual-card-inner { position: relative; width: 100%; min-height: 430px; transition: transform 0.55s ease; transform-style: preserve-3d; }
.virtual-card.is-flipped .virtual-card-inner { transform: rotateY(180deg); }
.virtual-card-face { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(170px, 1fr) auto; gap: 12px; border: 1px solid rgba(37, 99, 235, 0.28); border-radius: 8px; padding: 16px; background: linear-gradient(145deg, #ffffff, #f2f8fb); box-shadow: var(--shadow); overflow: hidden; backface-visibility: hidden; text-align: left; }
.virtual-card-face::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(31, 48, 65, 0.1); border-radius: 6px; pointer-events: none; }
.virtual-card-face > * { position: relative; }
.virtual-card-back { grid-template-rows: auto 1fr auto; transform: rotateY(180deg); background: radial-gradient(circle at 50% 24%, rgba(210, 154, 8, 0.16), transparent 32%), linear-gradient(145deg, #ffffff, #eef4ff); }
.virtual-card-art { min-height: 180px; display: grid; place-items: center; border: 1px solid rgba(31, 48, 65, 0.14); border-radius: 8px; background: repeating-linear-gradient(135deg, #f7fbfd 0, #f7fbfd 14px, #e8eef3 14px, #e8eef3 28px); color: rgba(31, 48, 65, 0.62); font-weight: 900; text-align: center; }
.virtual-card-title { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.virtual-card-code { color: var(--gold-bright); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.virtual-card h3 { font-size: 1.35rem; text-transform: uppercase; }
.virtual-card p { margin: 0; color: var(--muted); }
.virtual-card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; font-weight: 900; color: var(--white); }
.virtual-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.virtual-card-stats span { display: grid; place-items: center; min-height: 42px; border: 1px solid rgba(37, 99, 235, 0.24); border-radius: 8px; background: rgba(255, 255, 255, 0.62); font-weight: 900; }
.card-back-mark { display: grid; place-items: center; min-height: 120px; border: 1px solid rgba(37, 99, 235, 0.25); border-radius: 8px; font-family: "Barlow Condensed", Impact, sans-serif; font-size: 2rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-bright); background: #f7fbfd; }

.site-footer { margin-top: auto; display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 28px; padding: 42px clamp(18px, 5vw, 70px); background: #ffffff; border-top: 1px solid var(--line); }
.site-footer h2 { font-size: 1.5rem; }
.site-footer p { color: var(--muted); margin: 10px 0 0; }
.site-footer nav, .newsletter { display: grid; gap: 10px; align-content: start; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.newsletter label { font-weight: 900; }
.social-icons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; text-decoration: none; }
.social-link { min-width: 72px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; background: #f7fbfd; color: var(--white); font-weight: 900; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(10px); opacity: 0; pointer-events: none; z-index: 2000; padding: 12px 16px; border-radius: 8px; background: var(--gold); color: #ffffff; font-weight: 900; box-shadow: var(--shadow); transition: opacity 0.2s ease, transform 0.2s ease; }
.toast.show { opacity: 1; transform: translateX(-50%); }

.student-login, .student-signup { background: radial-gradient(circle at top right, #eef4ff, #f4f7fb 48%); }
.student-login-page, .student-signup-page { width: min(680px, calc(100% - 36px)); margin: 54px auto 80px; }
.form-card { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 28px; box-shadow: var(--shadow); }
.form-card h1 { font-family: "Barlow Condensed", Impact, sans-serif; }
.form-subtitle, .form-footnote { color: var(--muted); }
.account-switch { display: flex; gap: 10px; margin-bottom: 20px; }
.account-switch-link { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 999px; padding: 10px; text-decoration: none; color: var(--muted); font-weight: 800; }
.account-switch-link.is-active { color: #ffffff; background: var(--gold); border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; margin: 14px 0; }
.form-row label { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: #f7fbfd; border: 1px solid var(--line); }
.form-row label img { width: 24px; height: 24px; object-fit: contain; }
.error-message, .success-message { min-height: 20px; margin: 8px 0; }
.error-message { color: #b45309; }
.success-message { color: var(--gold-bright); }
.form-footnote a { color: var(--gold-bright); }

.profile-section { padding-top: 48px; }
.profile-locked, .profile-card, .profile-form { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 24px; box-shadow: var(--shadow); }
.profile-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.profile-layout[hidden], .profile-locked[hidden] { display: none; }
.profile-card { display: grid; justify-items: center; text-align: center; gap: 12px; position: sticky; top: 120px; }
.profile-card p { margin: 0; color: var(--muted); }
.profile-note { font-size: 0.92rem; }
.profile-picture { width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(37, 99, 235, 0.28); border-radius: 8px; background: #eaf1ff; overflow: hidden; font-family: "Barlow Condensed", Impact, sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--gold); }
.profile-picture img { width: 100%; height: 100%; object-fit: cover; }
.profile-panels { display: grid; gap: 22px; }
.profile-form { display: grid; gap: 14px; }
.profile-form label { display: grid; gap: 8px; color: var(--white); font-weight: 800; }
.profile-form input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #ffffff; color: var(--white); outline: none; }
.profile-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cart-panel, .cart-summary { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 24px; box-shadow: var(--shadow); }
.cart-list { display: grid; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #ffffff; }
.cart-item-image { min-height: 130px; }
.cart-item-details { display: grid; gap: 8px; }
.cart-item-details h2 { font-size: 1.5rem; }
.cart-item-details p { margin: 0; color: var(--muted); }
.cart-item-controls { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.cart-item-controls label { display: grid; gap: 6px; font-weight: 900; }
.cart-item-controls input { width: 90px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; color: var(--white); }
.cart-summary { position: sticky; top: 120px; display: grid; gap: 14px; }
.cart-summary p { color: var(--muted); margin: 0; }
.cart-owner { border: 1px solid var(--line); border-radius: 8px; background: #f7fbfd; padding: 10px 12px; font-weight: 900; }
.checkout-contact-form { display: grid; gap: 12px; border-block: 1px solid var(--line); padding: 14px 0; }
.checkout-contact-form h3 { font-size: 1.2rem; }
.checkout-contact-form label { display: grid; gap: 6px; font-weight: 900; }
.checkout-contact-form input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: #ffffff; color: var(--white); outline: none; }
.checkout-contact-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }
.summary-row { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.checkout-button:disabled, .scan-card-button:disabled { opacity: 0.55; cursor: not-allowed; }
.cart-message { min-height: 22px; margin: 0; color: var(--muted); font-weight: 900; }
.cart-message.is-error { color: #b45309; }
.cart-message.is-success { color: var(--gold-bright); }

@media (max-width: 1120px) { .site-header { grid-template-columns: auto 1fr auto; } .site-search { grid-column: 1 / -1; grid-row: 2; } .site-nav { grid-column: 1 / -1; overflow-x: auto; padding-bottom: 4px; } .site-nav a { flex: 0 0 auto; } .product-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .site-header { grid-template-columns: 1fr auto; gap: 12px; } .brand img { width: 62px; height: 62px; } .site-search, .site-nav { grid-column: 1 / -1; } .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 44px; padding-bottom: 44px; } .hero-placeholder { min-height: 280px; } .section-heading, .catalogue-tools { align-items: start; flex-direction: column; } .category-grid, .product-grid, .benefit-grid, .testimonials, .split-section, .shop-layout, .product-detail, .contact-layout, .collection-layout, .collection-teaser-card, .profile-layout, .cart-layout, .site-footer { grid-template-columns: 1fr; } .profile-card, .cart-summary { position: static; } .filter-panel { position: static; } .main-product-image { min-height: 390px; } .gallery-strip { grid-template-columns: 1fr; } .gallery-strip .image-placeholder, .image-stack .image-placeholder { min-height: 230px; } }
@media (max-width: 480px) { .brand span { display: none; } .hero, .page-hero { padding-left: 18px; padding-right: 18px; } .product-image { min-height: 220px; } .thumb-row, .collection-grid, .code-entry, .cart-item { grid-template-columns: 1fr; } .thumb-row .image-placeholder { min-height: 160px; } .account-switch { flex-direction: column; } .form-row { grid-template-columns: 42px 1fr; } .form-row label { width: 42px; height: 42px; } }

@media (max-width: 760px) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-search,
  .site-nav,
  .nav-icons {
    display: none;
    grid-column: 1 / -1;
  }

  .site-header.is-menu-open .site-search,
  .site-header.is-menu-open .site-nav,
  .site-header.is-menu-open .nav-icons {
    display: flex;
  }

  .site-header.is-menu-open .site-search {
    display: block;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding-bottom: 0;
  }

  .site-nav a,
  .nav-icons a,
  .cart-button,
  .logout-button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
  }

  .nav-icons {
    flex-direction: column;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero,
  .page-hero,
  .section,
  .shop-layout,
  .product-detail {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section {
    width: min(100% - 28px, var(--max));
  }

  .product-card-body,
  .benefit-grid article,
  .contact-card,
  .faq-list details,
  .filter-panel,
  .contact-form,
  .product-info,
  blockquote,
  .form-card {
    padding: 18px;
  }
}

