/*
Theme Name: Fashion Lanka
Theme URI: https://fashionlanka.lk
Description: Minimal editorial WooCommerce theme for an accessories store in Sri Lanka. Watches, belts, wallets, eyewear and grooming. Includes an optional packaging box choice on the add to cart form.
Version: 1.2.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fashion-lanka
Tags: e-commerce, one-column, custom-logo, custom-menu
*/

/* ===== Tokens ===== */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --soft: #F2F1EC;
  --ink: #111111;
  --ink-2: #2E2E2C;
  --muted: #5C5C58;
  --line: #E6E4DF;
  --line-2: #D6D3CC;
  --danger: #B42318;
  --sp-25: 2px; --sp-50: 4px; --sp-75: 8px; --sp-100: 12px; --sp-200: 16px; --sp-300: 24px;
  --sp-400: 32px; --sp-500: 40px; --sp-600: 48px; --sp-700: 64px; --sp-800: 80px; --sp-900: 96px;
  --r-sm: 4px; --r: 8px; --r-lg: 12px; --r-xl: 16px; --r-3xl: 24px; --r-full: 9999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; transition: color 300ms var(--ease); }
a:hover { color: var(--ink-2); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; text-wrap: balance; }
p, li, blockquote, figcaption, dd { text-wrap: pretty; }
p { margin: 0; }
em, i, cite { font-style: normal; }
b, strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r-sm); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: var(--sp-200); top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: var(--sp-75) var(--sp-100); border-radius: var(--r); text-decoration: none; }
.skip-link:focus { top: var(--sp-200); color: #fff; }
.icon { flex: none; }

/* ===== Text styles (Tailwind scale) ===== */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.title-5 { font-size: 12px; line-height: 16px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-lg { font-size: 18px; line-height: 28px; font-weight: 600; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.button-xsm { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
.muted { color: var(--muted); }
.text-gradient { background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Layout ===== */
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--sp-500); }
.section { padding-block: var(--sp-900); }
.section-bottom { padding-bottom: var(--sp-900); }
.band-soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-200); margin-bottom: var(--sp-400); }
.section-title { max-width: 680px; margin-bottom: var(--sp-600); }
.grid-3, .grid-4 { display: grid; gap: var(--sp-300); list-style: none; margin: 0; padding: 0; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-300); display: flex; flex-direction: column; gap: var(--sp-100); }
.icon-tile { width: 40px; height: 40px; border-radius: var(--r); background: var(--soft); display: inline-flex; align-items: center; justify-content: center; }
.band-soft .icon-tile { background: var(--soft); }
.icon-tile-lg { width: 64px; height: 64px; border-radius: var(--r-xl); }
.link-arrow { text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.empty-state { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding: var(--sp-700) var(--sp-300); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-100); }

/* ===== Buttons ===== */
.btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .wp-element-button, .wc-block-components-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-75);
  padding: var(--sp-75) var(--sp-100); border-radius: var(--r); border: 1px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  font-size: 16px; line-height: 24px; font-weight: 600;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease), transform 500ms var(--ease);
}
.btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn:active, .woocommerce .button:active { transform: scale(0.98); }
.btn.button-sm { font-size: 14px; line-height: 20px; }
.btn-lg { padding: var(--sp-100) var(--sp-300); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--soft); color: var(--ink); border-color: transparent; }
.btn-outline, .woocommerce a.button.wc-backward { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-invert { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-invert:hover { background: var(--line); color: var(--ink); border-color: var(--line); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce a.button.disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.woocommerce a.button.loading { opacity: 0.6; }
.woocommerce a.button.loading::after { display: none; }

/* ===== Announcement ===== */
.announcement { background: var(--ink); color: var(--bg); text-align: center; padding: var(--sp-75) var(--sp-200); }

/* ===== Navigation ===== */
.site-header { position: sticky; top: var(--sp-200); z-index: 50; padding-inline: var(--sp-200); margin-top: var(--sp-200); }
.admin-bar .site-header { top: calc(var(--sp-200) + 32px); }
.nav { margin-inline: auto; width: 100%; max-width: 1248px; display: flex; align-items: center; gap: var(--sp-400); padding: var(--sp-50) var(--sp-75) var(--sp-50) var(--sp-100); border-radius: var(--r-xl); background: rgba(250, 250, 248, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(17, 17, 17, 0.08); }
.brand { text-decoration: none; white-space: nowrap; letter-spacing: 0.02em; }
.brand { display: inline-flex; align-items: center; }
.brand { flex: none; }
.site-header .brand-logo { height: 40px; width: auto; max-width: none; min-width: 72px; }
.footer-logo { display: inline-block; margin-bottom: var(--sp-75); }
.site-footer .footer-logo img { height: 64px; width: auto; max-width: none; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-300); }
.nav-menu .nav-links a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav-menu .nav-links a:hover, .nav-menu .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-menu { margin-right: 0; }
.nav-search { position: relative; flex: 1 1 280px; max-width: 560px; margin-left: auto; display: flex; align-items: center; }
.site-header .nav-search .nav-search-input { width: 100%; min-height: 44px; padding: var(--sp-75) 52px var(--sp-75) var(--sp-200); border-radius: var(--r-full); border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; line-height: 24px; -webkit-appearance: none; appearance: none; }
.site-header .nav-search .nav-search-input::placeholder { color: var(--muted); }
.site-header .nav-search .nav-search-input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08); }
.nav-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nav-search-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: var(--r-full); background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 300ms var(--ease), transform 300ms var(--ease); }
.nav-search-btn:hover { background: var(--ink-2); }
.nav-search-btn:active { transform: translateY(-50%) scale(0.94); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-75); margin-left: 0; }
.cart-link { gap: var(--sp-75); }
.cart-count { min-width: 20px; height: 20px; padding-inline: var(--sp-50); border-radius: var(--r-full); background: var(--ink); color: #fff; font-size: 12px; line-height: 20px; font-weight: 600; text-align: center; }
.cart-count[data-count="0"] { background: var(--line); color: var(--muted); }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r); cursor: pointer; }
.menu-toggle:hover { background: var(--soft); }
.menu-line { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 500ms var(--ease); }
.menu-line-1 { top: 17px; }
.menu-line-2 { top: 25px; }
.menu-toggle.is-open .menu-line-1 { transform: translateY(4px) rotate(45deg); }
.menu-toggle.is-open .menu-line-2 { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: -1; background: rgba(250, 250, 248, 0.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); padding: var(--sp-900) var(--sp-300) var(--sp-300); display: flex; flex-direction: column; gap: var(--sp-400); opacity: 0; transition: opacity 500ms var(--ease); }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .nav-links { flex-direction: column; gap: var(--sp-200); }
.mobile-menu a { text-decoration: none; display: inline-block; opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.mobile-menu.is-open a { opacity: 1; transform: none; }

/* ===== Hero ===== */
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-700); align-items: center; padding-top: var(--sp-700); padding-bottom: var(--sp-900); }
.hero-copy { display: flex; flex-direction: column; gap: var(--sp-300); max-width: 680px; }
.hero-title, .hero-sub { max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-100); }
.proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-75) var(--sp-300); }
.proof li { display: inline-flex; align-items: center; gap: var(--sp-75); }
.proof .icon { color: var(--ink); }
.hero-media { aspect-ratio: 4 / 5; border-radius: var(--r-3xl); overflow: hidden; background: var(--soft); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-200); color: var(--muted); background: #E9E6DF; }

/* ===== Categories ===== */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-200); }
.cat-card { text-decoration: none; display: flex; flex-direction: column; gap: var(--sp-100); padding: var(--sp-75); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); transition: border-color 300ms var(--ease), transform 500ms var(--ease); }
.cat-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-media { aspect-ratio: 1 / 1; border-radius: var(--r); background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--ink); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { display: flex; flex-direction: column; padding: 0 var(--sp-50) var(--sp-50); }

/* ===== Tagline reveal ===== */
.tagline-section { padding-block: 160px; }
.tagline { max-width: 680px; }
.tagline-line { display: block; }
.tagline-word { display: inline-block; transition: color 500ms var(--ease); }
.js-tagline .tagline-word { color: rgba(17, 17, 17, 0.3); }
.js-tagline .tagline-word.is-on { color: var(--ink); }

/* ===== Steps, reviews, FAQ, CTA ===== */
.steps { counter-reset: none; }
.review blockquote { margin: 0; }
.faq-layout { display: flex; flex-wrap: wrap; gap: var(--sp-600); }
.faq-layout > h2 { flex: 1 1 280px; }
.faq-list { flex: 2 1 560px; min-width: 0; }
.faq-item { border-top: 1px solid var(--line); padding-block: var(--sp-200); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-200); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 500ms var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding-top: var(--sp-100); max-width: 680px; }
.cta-band { background: var(--ink); color: var(--bg); border-radius: var(--r-3xl); padding: var(--sp-700); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-300); }
.cta-band h2, .cta-band p { max-width: 680px; }
.cta-band p { color: #B8B8B2; }

/* ===== Scroll reveal ===== */
.js-reveal .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding-top: var(--sp-600); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-400); }
.footer-col { display: flex; flex-direction: column; gap: var(--sp-75); align-items: flex-start; }
.footer-col a { text-decoration: none; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-col .btn-outline { color: var(--ink); margin-top: var(--sp-75); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-75); }
.footer-base { padding-block: var(--sp-600); }

/* ===== Pages ===== */
.page-main { padding-top: var(--sp-700); padding-bottom: var(--sp-900); }
.page-title { margin-bottom: var(--sp-400); }
.prose { max-width: 680px; }
.prose > * + * { margin-top: var(--sp-200); }
.prose h2 { font-size: 24px; line-height: 32px; margin-top: var(--sp-400); }
.prose h3 { font-size: 20px; line-height: 28px; margin-top: var(--sp-300); }
.post-list { display: grid; gap: var(--sp-200); }
.not-found { padding-block: var(--sp-900); max-width: 680px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-200); }
.not-found .woocommerce-product-search { display: flex; gap: var(--sp-75); width: 100%; }

/* ===== Forms ===== */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .select2-container--default .select2-selection--single {
  width: 100%; min-height: 44px; padding: var(--sp-75) var(--sp-100); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); font-size: 16px; line-height: 24px; transition: border-color 300ms var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: #A3A39E; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 26px; padding-left: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce form .form-row { padding: 0; margin: 0 0 var(--sp-200); }
.woocommerce form .form-row label { font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: var(--sp-75); }
.woocommerce form .form-row .required { color: var(--danger); text-decoration: none; }
.woocommerce form .form-row.woocommerce-invalid .input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--danger); }
.woocommerce form .form-row.woocommerce-validated .input-text { border-color: var(--line-2); }

/* ===== Notices ===== */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper > * {
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); color: var(--ink); padding: var(--sp-200) var(--sp-300); margin: 0 0 var(--sp-300); list-style: none; font-size: 14px; line-height: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-100);
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none; }
.woocommerce-error { border-color: var(--danger); color: var(--danger); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; float: none; }

/* ===== Shop grid ===== */
.shop-main { padding-top: var(--sp-700); padding-bottom: var(--sp-900); }
.woocommerce-breadcrumb { font-size: 14px; line-height: 20px; color: var(--muted); margin-bottom: var(--sp-200); }
.woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-products-header__title { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: var(--sp-100); }
.term-description { color: var(--muted); max-width: 680px; margin-bottom: var(--sp-300); }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 14px; line-height: 20px; margin: var(--sp-75) 0 var(--sp-300); }
.woocommerce .woocommerce-ordering { margin: 0 0 var(--sp-300); }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 220px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-400) var(--sp-300); margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; gap: var(--sp-75); position: relative; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; display: flex; flex-direction: column; gap: var(--sp-75); flex: 1; }
.woocommerce ul.products li.product a img { margin: 0 0 var(--sp-75); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xl); background: var(--soft); transition: transform 500ms var(--ease); }
.woocommerce ul.products li.product:hover a img { transform: translateY(-4px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; line-height: 24px; font-weight: 500; padding: 0; margin: 0; }
.woocommerce ul.products li.product .price { color: var(--ink); font-size: 14px; line-height: 20px; margin: 0; display: flex; flex-wrap: wrap; gap: var(--sp-75); align-items: baseline; }
.woocommerce ul.products li.product .price del { color: var(--muted); opacity: 1; font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; font-weight: 600; }
.woocommerce ul.products li.product .button { margin-top: var(--sp-75); align-self: flex-start; font-size: 14px; line-height: 20px; background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.woocommerce ul.products li.product .button:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.woocommerce ul.products li.product .added_to_cart { font-size: 14px; line-height: 20px; margin-top: var(--sp-50); }
.woocommerce span.onsale { position: absolute; top: var(--sp-100); left: var(--sp-100); right: auto; min-width: 0; min-height: 0; margin: 0; padding: var(--sp-50) var(--sp-75); border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 12px; line-height: 16px; font-weight: 600; z-index: 2; }
.woocommerce .star-rating { color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: var(--sp-75); justify-content: center; margin-top: var(--sp-600); }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); padding: 0 var(--sp-100); font-size: 14px; line-height: 20px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.woocommerce-product-search { display: flex; gap: var(--sp-75); }

/* ===== Single product ===== */
.woocommerce div.product { position: relative; }
.woocommerce div.product .product-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-600); align-items: start; position: relative; }
.woocommerce div.product .product-top > .woocommerce-product-gallery { grid-column: span 7; width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .product-top > .summary { grid-column: span 5; width: auto !important; float: none !important; margin: 0 !important; position: sticky; top: 112px; display: flex; flex-direction: column; gap: var(--sp-200); }
.woocommerce div.product > .woocommerce-tabs, .woocommerce div.product > .related, .woocommerce div.product > .upsells { clear: both; }
.woocommerce div.product div.images img { border-radius: var(--r-xl); background: var(--soft); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: var(--r-xl); overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-100); margin-top: var(--sp-100); }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: var(--r); opacity: 0.6; transition: opacity 300ms var(--ease); }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder img { aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce div.product span.onsale { top: var(--sp-200); left: var(--sp-200); }
.woocommerce div.product .product_title { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 18px; line-height: 28px; font-weight: 500; display: flex; flex-wrap: wrap; gap: var(--sp-75); align-items: baseline; margin: 0; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--muted); opacity: 1; font-size: 16px; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { text-decoration: none; font-weight: 600; }
.woocommerce-product-details__short-description { color: var(--muted); font-size: 14px; line-height: 20px; }
.woocommerce-product-details__short-description ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--sp-75); }
.woocommerce-product-details__short-description li { display: flex; gap: var(--sp-75); }
.woocommerce-product-details__short-description li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: var(--r-full); background: var(--ink); }
.woocommerce div.product form.cart { margin: 0; display: flex; flex-direction: column; gap: var(--sp-200); }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart .variations { margin: 0; border: 0; width: 100%; border-spacing: 0; }
.woocommerce div.product form.cart .variations tr { display: flex; flex-direction: column; gap: var(--sp-75); margin-bottom: var(--sp-200); }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; line-height: 20px; text-align: left; }
.woocommerce div.product form.cart .variations label { font-size: 14px; line-height: 20px; font-weight: 500; }
.woocommerce div.product form.cart .reset_variations { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: var(--sp-75); display: inline-block; }
.pill-select.has-pills select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-75); }
.pill { min-height: 44px; padding: var(--sp-75) var(--sp-200); border-radius: var(--r-full); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color 300ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease), transform 500ms var(--ease); }
.pill:hover { border-color: var(--ink); }
.pill:active { transform: scale(0.98); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill:disabled { color: #8A8A85; background: var(--soft); text-decoration: line-through; cursor: not-allowed; }
.woocommerce div.product form.cart .single_variation_wrap { display: flex; flex-direction: column; gap: var(--sp-200); }
.woocommerce-variation-price .price { font-size: 18px; line-height: 28px; }
.woocommerce-variation-availability p.stock { margin: 0; }
.woocommerce div.product .stock { font-size: 14px; line-height: 20px; color: var(--muted); }
.woocommerce div.product .out-of-stock { color: var(--danger); }
.woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { flex-wrap: wrap; }
.woocommerce div.product form.cart div.quantity, .woocommerce-variation-add-to-cart .quantity { float: none; margin: 0; }
.quantity .qty { width: 72px; min-height: 44px; text-align: center; border-radius: var(--r); }
.woocommerce div.product form.cart .button.single_add_to_cart_button, .woocommerce .single_add_to_cart_button { float: none; flex: 1; min-height: 44px; padding: var(--sp-75) var(--sp-300); }
.woocommerce-variation-add-to-cart, .woocommerce div.product form.cart.cart:not(.variations_form) { display: flex; gap: var(--sp-100); align-items: stretch; }
.woocommerce div.product form.cart:not(.variations_form) .box-choice { flex: 1 1 100%; }

/* Packaging box choice */
.box-choice { border: 0; margin: 0 0 var(--sp-50); padding: 0; display: grid; gap: var(--sp-75); width: 100%; flex: 1 1 100%; }
.box-choice legend { padding: 0; margin-bottom: var(--sp-75); }
.box-option { display: flex; gap: var(--sp-100); align-items: flex-start; padding: var(--sp-100) var(--sp-200); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; transition: border-color 300ms var(--ease); }
.box-option:hover { border-color: #A3A39E; }
.box-option:has(input:checked) { border-color: var(--ink); }
.box-option input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.box-option-body { display: flex; flex-direction: column; }
.box-option .woocommerce-Price-amount { font-weight: 600; }

.trust-list { list-style: none; margin: 0; padding: var(--sp-200) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--sp-75); color: var(--muted); }
.trust-list li { display: flex; gap: var(--sp-75); align-items: flex-start; }
.trust-list .icon { color: var(--ink); margin-top: 1px; }
.product_meta { font-size: 14px; line-height: 20px; color: var(--muted); display: flex; flex-direction: column; gap: var(--sp-50); }
.product_meta a { color: var(--muted); }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { margin-top: var(--sp-400); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 var(--sp-300); display: flex; gap: var(--sp-75); flex-wrap: wrap; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1px solid var(--line-2); border-radius: var(--r-full); background: var(--surface); margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: var(--sp-75) var(--sp-200); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); display: block; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink); border-color: var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 18px; line-height: 28px; font-weight: 500; margin: var(--sp-300) 0 var(--sp-75); }
.woocommerce div.product .woocommerce-tabs .panel p, .woocommerce div.product .woocommerce-tabs .panel li { color: var(--muted); }
.woocommerce table.shop_attributes { border: 0; border-collapse: collapse; width: 100%; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--line); padding: var(--sp-100) var(--sp-100) var(--sp-100) 0; background: none !important; font-size: 14px; line-height: 20px; text-align: left; }
.woocommerce table.shop_attributes th { width: 180px; font-weight: 500; }
.woocommerce table.shop_attributes td p { padding: 0; margin: 0; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 24px; line-height: 32px; margin: var(--sp-700) 0 var(--sp-400); }

/* ===== Cart and checkout ===== */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r-xl); border-collapse: separate; background: var(--surface); overflow: hidden; }
.woocommerce table.shop_table th { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); padding: var(--sp-100) var(--sp-200); }
.woocommerce table.shop_table td { border-top: 1px solid var(--line); padding: var(--sp-200); font-size: 14px; line-height: 20px; }
.woocommerce table.shop_table img { width: 64px; border-radius: var(--r); }
.woocommerce table.shop_table td.product-name a { font-size: 16px; line-height: 24px; font-weight: 500; text-decoration: none; }
.woocommerce td.product-name dl.variation { margin: var(--sp-50) 0 0; color: var(--muted); font-size: 14px; line-height: 20px; display: grid; grid-template-columns: auto 1fr; gap: 0 var(--sp-75); }
.woocommerce td.product-name dl.variation dt, .woocommerce td.product-name dl.variation dd { margin: 0; float: none; padding: 0; }
.woocommerce td.product-name dl.variation dd p { margin: 0; }
.woocommerce a.remove { color: var(--muted) !important; border-radius: var(--r-full); width: 32px; height: 32px; line-height: 30px; font-size: 20px; }
.woocommerce a.remove:hover { background: var(--soft); color: var(--danger) !important; }
.woocommerce .cart .actions .coupon { display: flex; gap: var(--sp-75); flex-wrap: wrap; }
.woocommerce .cart .actions .coupon .input-text { width: 180px; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; max-width: 440px; float: right; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 20px; line-height: 28px; margin-bottom: var(--sp-200); }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 44px; }
.woocommerce-checkout .col2-set { width: 100%; }
.woocommerce form.checkout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-600); align-items: start; }
.woocommerce form.checkout > .col2-set { grid-column: span 7; }
.woocommerce form.checkout > #order_review_heading, .woocommerce form.checkout > #order_review { grid-column: 8 / -1; }
.woocommerce form.checkout > #order_review_heading { grid-row: 1; align-self: end; font-size: 20px; line-height: 28px; }
.woocommerce form.checkout > #order_review { grid-row: 2; position: sticky; top: 112px; }
.woocommerce form.checkout > .col2-set { grid-row: 1 / span 2; }
.woocommerce form.checkout .col2-set .col-1, .woocommerce form.checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce form.checkout h3 { font-size: 20px; line-height: 28px; margin: var(--sp-300) 0 var(--sp-200); }
.woocommerce-checkout #payment { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.woocommerce-checkout #payment ul.payment_methods { padding: var(--sp-200); border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment ul.payment_methods li { padding: var(--sp-75) 0; font-size: 16px; line-height: 24px; }
.woocommerce-checkout #payment div.payment_box { background: var(--soft); color: var(--muted); border-radius: var(--r); font-size: 14px; line-height: 20px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: var(--sp-200); }
.woocommerce #payment #place_order { width: 100%; min-height: 44px; float: none; }
.woocommerce-order-overview { padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-300); list-style: none; }
.woocommerce ul.order_details li { border: 0; font-size: 14px; line-height: 20px; }
.woocommerce-thankyou-order-received { font-size: 24px; line-height: 32px; font-weight: 600; margin-bottom: var(--sp-300); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-50); }
.woocommerce-MyAccount-navigation a { display: block; padding: var(--sp-75) var(--sp-100); border-radius: var(--r); text-decoration: none; color: var(--muted); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--soft); color: var(--ink); }

/* Block cart and checkout (WooCommerce default pages) */
.wc-block-components-button:not(.is-link) { min-height: 44px; }
.wc-block-cart, .wc-block-checkout { font-family: var(--font); }
.wc-block-components-text-input input[type="text"], .wc-block-components-text-input input[type="email"], .wc-block-components-text-input input[type="tel"] { border-radius: var(--r) !important; }
.wc-block-components-product-details { color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .grid-4, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce div.product .product-top { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: var(--sp-400); }
  .woocommerce div.product .product-top > * { grid-column: 1 / -1 !important; }
  .woocommerce div.product .product-top > .summary { position: static; }
  .woocommerce form.checkout { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: var(--sp-300); }
  .woocommerce form.checkout > * { grid-column: 1 / -1 !important; grid-row: auto !important; position: static !important; }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .menu-toggle { display: inline-block; }
  .nav { flex-wrap: wrap; row-gap: var(--sp-75); padding-bottom: var(--sp-100); }
  .nav-actions { margin-left: auto; }
  .nav-search { order: 3; flex: 1 1 100%; max-width: none; margin: 0 var(--sp-25) 0 0; }
  .mobile-menu { padding-top: 168px; }
  .cart-label { display: none; }
}
@media (max-width: 767px) {
  .wrap { padding-inline: var(--sp-200); }
  .section { padding-block: var(--sp-700); }
  .section-bottom { padding-bottom: var(--sp-700); }
  .hero { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: var(--sp-400); padding-top: var(--sp-400); padding-bottom: var(--sp-700); }
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .tagline-section { padding-block: var(--sp-900); }
  .hero-media { aspect-ratio: 4 / 3; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-100); }
  .woocommerce ul.products { gap: var(--sp-300) var(--sp-200); }
  .woocommerce ul.products li.product .button { font-size: 12px; line-height: 16px; padding: var(--sp-75); }
  .cta-band { padding: var(--sp-500) var(--sp-200); border-radius: var(--r-xl); }
  .woocommerce .cart-collaterals .cart_totals { float: none; max-width: none; }
  .woocommerce .woocommerce-ordering { float: none; }
  .woocommerce .woocommerce-ordering select { width: 100%; }
  .woocommerce table.shop_table_responsive tr td { padding: var(--sp-100) var(--sp-200); }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .js-reveal .reveal { transform: none; }
  .btn:hover, .cat-card:hover, .woocommerce ul.products li.product:hover a img { transform: none; }
}

/* ===== Header banner (Customize > Fashion Lanka store > Header banner) ===== */
.banner-slot { padding-inline: var(--sp-200); margin-top: var(--sp-200); }
.banner-slot:empty { display: none; }
.banner { --banner-shade: 0.55; --banner-dark: 12, 12, 11; position: relative; isolation: isolate; display: flex; max-width: 1248px; margin-inline: auto; border-radius: var(--r-3xl); overflow: hidden; background: var(--ink); color: var(--bg); }
.banner--compact { min-height: 400px; }
.banner--standard { min-height: 580px; }
.banner--tall { min-height: clamp(580px, calc(100svh - 112px), 920px); }
.banner-inner { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; padding: var(--sp-700); }
.banner--photo .banner-inner { align-items: flex-end; }
.banner-copy { max-width: 620px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-300); }
.banner-title { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; color: inherit; }
.banner-text { max-width: 460px; color: rgba(250, 250, 248, 0.82); }
.banner-eyebrow { display: inline-flex; align-items: center; gap: var(--sp-75); padding: var(--sp-50) var(--sp-100); border-radius: var(--r-full); border: 1px solid rgba(250, 250, 248, 0.32); background: rgba(250, 250, 248, 0.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.banner-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-full); background: currentColor; }
.banner-actions { display: flex; flex-wrap: wrap; gap: var(--sp-100); padding-top: var(--sp-75); }
.banner .btn-invert { color: var(--ink); }
.banner-btn-2 { background: transparent; color: var(--bg); border-color: rgba(250, 250, 248, 0.4); }
.banner-btn-2:hover { background: rgba(250, 250, 248, 0.1); color: var(--bg); border-color: var(--bg); }

/* Photo layer, shared by Photo and by Dark when a photo is set */
.banner-media { position: absolute; inset: 0; z-index: 0; }
.banner-media picture, .banner-side picture { display: block; width: 100%; height: 100%; }
.banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.banner--focus-left .banner-img { object-position: 20% center; }
.banner--focus-right .banner-img { object-position: 80% center; }
.banner-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(var(--banner-dark), var(--banner-shade)) 0%, rgba(var(--banner-dark), calc(var(--banner-shade) * 0.55)) 42%, rgba(var(--banner-dark), 0) 72%),
  linear-gradient(0deg, rgba(var(--banner-dark), calc(var(--banner-shade) * 0.7)) 0%, rgba(var(--banner-dark), 0) 55%); }
.banner--align-center .banner-media::after { background: rgba(var(--banner-dark), calc(var(--banner-shade) * 0.85)); }

/* Dark: CSS built watch dial, no photo needed */
.banner--dark { background: radial-gradient(circle at 78% 50%, #2B2A27 0%, #161615 46%, #0F0F0E 100%); }
.banner-art { position: absolute; z-index: 1; top: 50%; right: -6%; width: min(64%, 660px); aspect-ratio: 1 / 1; transform: translateY(-50%); pointer-events: none; }
.banner-dial { width: 100%; height: 100%; display: block; stroke: rgba(250, 250, 248, 0.24); }
.banner-dial-hands line { stroke: rgba(250, 250, 248, 0.62); }
.banner-dial-hands line, .banner-dial-hands circle { transform-box: view-box; transform-origin: 200px 200px; }
.banner-dial-hands .hand-h { transform: rotate(-60deg); }
.banner-dial-hands .hand-m { transform: rotate(60deg); }
.banner-dial .dial-pin { fill: var(--bg); stroke: none; }
.banner--dark.banner--align-center .banner-art { right: 50%; transform: translate(50%, -50%); opacity: 0.45; }

/* Split: text on a soft panel, photo on the right */
.banner--split { background: var(--soft); color: var(--ink); }
.banner--split .banner-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; padding: 0; }
.banner--split .banner-copy { align-self: center; padding: var(--sp-700); }
.banner--split .banner-title { font-size: clamp(34px, 4vw, 56px); }
.banner--split .banner-text { color: var(--muted); }
.banner--split .banner-eyebrow { border-color: var(--line-2); background: var(--surface); }
.banner--split .banner-btn-2 { color: var(--ink); background: var(--surface); border-color: var(--line-2); }
.banner--split .banner-btn-2:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.banner-side { position: relative; min-height: 320px; overflow: hidden; }
.banner-side .banner-img { position: absolute; inset: 0; }
.banner-side-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--sp-500); background: radial-gradient(circle at 50% 50%, #2B2A27 0%, #111111 70%); }
.banner-side-empty .banner-dial { max-width: 420px; }

/* Centre aligned text (Photo and Dark) */
.banner--align-center:not(.banner--split) .banner-inner { justify-content: center; text-align: center; }
.banner--align-center:not(.banner--split) .banner-copy { align-items: center; margin-inline: auto; }
.banner--align-center:not(.banner--split) .banner-actions { justify-content: center; }

/* Entrance: photo settles, copy rises, dial hands sweep into place */
@media (prefers-reduced-motion: no-preference) {
  .banner-img { animation: banner-settle 1600ms var(--ease) both; }
  .banner-copy > * { animation: banner-rise 900ms var(--ease) both; }
  .banner-copy > :nth-child(2) { animation-delay: 80ms; }
  .banner-copy > :nth-child(3) { animation-delay: 160ms; }
  .banner-copy > :nth-child(4) { animation-delay: 240ms; }
  .banner-dial-hands .hand-m { animation: dial-sweep-m 1800ms var(--ease) 200ms both; }
  .banner-dial-hands .hand-h { animation: dial-sweep-h 1800ms var(--ease) 200ms both; }
  .is-customize-preview .banner *, .is-customize-preview .banner-img { animation: none !important; }
}
@keyframes banner-settle { from { transform: scale(1.06); } }
@keyframes banner-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes dial-sweep-m { from { transform: rotate(-60deg); } }
@keyframes dial-sweep-h { from { transform: rotate(-90deg); } }

@media (max-width: 1023px) {
  .banner-inner, .banner--split .banner-copy { padding: var(--sp-500); }
}
@media (max-width: 767px) {
  .banner { border-radius: var(--r-xl); }
  .banner--compact { min-height: 440px; }
  .banner--standard { min-height: 560px; }
  .banner--tall { min-height: calc(100svh - 104px); }
  .banner-inner, .banner--split .banner-copy { padding: var(--sp-300); }
  .banner-inner { align-items: flex-end; }
  .banner-copy { gap: var(--sp-200); }
  .banner-media::after { background: linear-gradient(0deg, rgba(var(--banner-dark), min(0.92, calc(var(--banner-shade) + 0.25))) 0%, rgba(var(--banner-dark), min(0.85, calc(var(--banner-shade) + 0.1))) 55%, rgba(var(--banner-dark), 0.12) 90%); }
  .banner-art { top: -4%; right: -22%; width: 92%; transform: none; }
  .banner--dark.banner--align-center .banner-art { right: 50%; transform: translateX(50%); }
  .banner-actions .btn { flex: 1 1 auto; }
  .banner--split { min-height: 0; }
  .banner--split .banner-inner { grid-template-columns: minmax(0, 1fr); }
  .banner--split .banner-side { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
}

/* ===== Product page: payment options and delivery ===== */
.pay-options { display: flex; flex-direction: column; gap: var(--sp-200); padding: var(--sp-200); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.pay-methods, .instalments { display: flex; flex-direction: column; gap: var(--sp-75); }
.pay-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-75); }
.pay-chips li { display: inline-flex; align-items: center; gap: var(--sp-50); padding: var(--sp-50) var(--sp-100); border-radius: var(--r-full); background: var(--soft); }
.instalments { padding-top: var(--sp-200); border-top: 1px solid var(--line); }
.pay-methods:only-child, .instalments:first-child { padding-top: 0; border-top: 0; }
.instalment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--sp-75); }
.instalment-card { display: flex; flex-direction: column; gap: var(--sp-25); padding: var(--sp-100); border: 1px solid var(--line); border-radius: var(--r-lg); }
.instalment-amount { font-variant-numeric: tabular-nums; }
.delivery-card { display: flex; align-items: center; gap: var(--sp-100); padding: var(--sp-100) var(--sp-200) var(--sp-100) var(--sp-100); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.delivery-card .icon-tile { flex: none; }
.delivery-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.delivery-price { flex: none; padding: var(--sp-25) var(--sp-75); border-radius: var(--r-full); background: #E7F4EC; color: #146C3A; }

/* Shop grid without buttons: keep the cards even */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { padding-bottom: var(--sp-50); }

/* ===== Google reviews (home page) ===== */
.g-reviews-head { align-items: flex-end; flex-wrap: wrap; }
.g-reviews-title { display: flex; flex-direction: column; gap: var(--sp-100); max-width: 680px; }
.g-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-75); }
.g-rating { font-size: 24px; line-height: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 2px; }
.star { fill: var(--line-2); }
.star.is-on { fill: #F5A623; }
.g-review-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--sp-300)) / 3); gap: var(--sp-300); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-100); scrollbar-width: thin; }
.g-review { margin: 0; scroll-snap-align: start; justify-content: space-between; }
.g-review-text { margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.g-review-author { display: flex; align-items: center; gap: var(--sp-100); margin-top: var(--sp-100); }
.g-review-author img, .g-avatar { width: 32px; height: 32px; border-radius: var(--r-full); flex: none; }
.g-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--soft); font-weight: 600; font-size: 14px; }
.g-review-meta { display: flex; flex-direction: column; min-width: 0; }
.g-review-meta a { text-decoration: none; }
.g-attribution { margin-top: var(--sp-100); }
.g-admin-note { margin-top: var(--sp-200); padding: var(--sp-100) var(--sp-200); border: 1px dashed var(--danger); border-radius: var(--r); color: var(--danger); }
@media (max-width: 1023px) {
  .g-review-row { grid-auto-columns: calc((100% - var(--sp-300)) / 2); }
}
@media (max-width: 767px) {
  .g-review-row { grid-auto-columns: 84%; gap: var(--sp-200); margin-inline: calc(var(--sp-200) * -1); padding-inline: var(--sp-200); scroll-padding-inline: var(--sp-200); }
  .g-reviews-head .btn { width: 100%; }
}
