:root{--ui-page:#fcfcf8;--ui-surface:#ffffff;--ui-soft:#f0f1e9;--ui-ink:#24362b;--ui-muted:#626e60;--ui-line:#d6dccf;--ui-accent:#527345;}
html[data-theme=dark]{--ui-page:#1b251e;--ui-surface:#253229;--ui-soft:#303e33;--ui-ink:#f2f5eb;--ui-muted:#bdcbb9;--ui-line:#475b48;--ui-accent:#bed99f;}
/* UI refinement v1 — brand palettes, readable controls and consistent geometry. */
html{color-scheme:light;scrollbar-gutter:stable}html[data-theme=dark]{color-scheme:dark}
body{background:var(--ui-page);color:var(--ui-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
*,*::before,*::after{box-sizing:border-box}main,section,article,form,fieldset{min-width:0}
button,input,select,textarea{font:inherit}input,select,textarea{color:var(--ui-ink);accent-color:var(--ui-accent)}
input::placeholder,textarea::placeholder{color:var(--ui-muted);opacity:.85}
:is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--ui-accent);outline-offset:4px}
h1,h2,h3{text-wrap:balance}p{line-height:1.65}button,a,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.appearance-control{display:flex;align-items:center;gap:12px;grid-column:1/-1;font:13px/1.5 Arial,sans-serif;letter-spacing:0;margin:24px 0 0}
.appearance-control select{min-height:40px;padding:8px 32px 8px 12px;border:1px solid currentColor;border-radius:4px;background:transparent;color:inherit;width:auto;max-width:180px}
.appearance-control option{background:var(--ui-page);color:var(--ui-ink)}
@media(max-width:720px){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}h1{overflow-wrap:normal}button{line-height:1.35}.appearance-control{margin-top:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.photo-store{--ink:var(--ui-ink);--paper:var(--ui-page);--muted:var(--ui-muted);--line:var(--ui-line);--accent:var(--ui-accent);background:var(--ui-page);color:var(--ui-ink)}
.store-header{min-height:90px;background:var(--ui-page);border-color:var(--ui-line);gap:24px}.store-header nav a{display:inline-flex;align-items:center;min-height:44px}
.store-button{font-size:14px;min-height:48px;padding:13px 22px;line-height:1.4;justify-content:center;border-radius:4px}.store-field{gap:8px;font-size:14px;line-height:1.5}.store-field input,.store-field select,.store-field textarea{font:inherit;min-height:48px;padding:12px 14px;background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-line);border-radius:4px}
.store-card-heading h3{font-size:24px;line-height:1.3}.store-card-description,.store-photo-caption,.store-field-help{font-size:13px;line-height:1.6}.store-kicker{font-size:11px;letter-spacing:.12em}.store-detail h1{font-size:clamp(36px,4vw,58px);line-height:1.07}
.store-footer h2{font-size:11px;letter-spacing:.1em}.store-footer p,.store-footer-grid>div>a:not(.store-wordmark){font-size:13px;line-height:1.8}.store-footer-base{font-size:12px;line-height:1.6;gap:18px;flex-wrap:wrap}.store-footer>.appearance-control{max-width:1410px;margin-inline:auto;padding-inline:36px}
.deposit-page{max-width:1000px;margin:0 auto;min-height:75vh;padding:64px 28px 80px}.deposit-page>h1{font-size:clamp(40px,4.8vw,68px);line-height:1.06;margin:16px 0 24px;letter-spacing:-.045em}.deposit-page>p{max-width:760px;margin:12px 0;color:var(--ui-muted);font-size:15px}.deposit-page .store-kicker{color:var(--ui-accent)}
.deposit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;background:var(--ui-soft);padding:32px;border:1px solid var(--ui-line);border-radius:8px;margin-top:32px}.deposit-form>button{align-self:end}.deposit-summary{margin-top:32px;padding:28px;background:var(--ui-soft);border:1px solid var(--ui-line);border-radius:8px}.deposit-summary h2{font-size:32px;margin:0 0 18px}.deposit-summary p{margin:12px 0;overflow-wrap:anywhere}.deposit-wallets{display:flex;gap:16px;flex-wrap:wrap;align-items:start;margin-top:24px}.deposit-status{min-height:48px;padding-block:12px}.deposit-payment:not(:empty){background:#fff;color-scheme:light;padding:16px;border:1px solid var(--ui-line);border-radius:10px;min-height:600px}.deposit-help{margin-top:32px}
@media(max-width:750px){.store-header{min-height:78px;padding-inline:20px;gap:12px}.store-brand-type{font-size:26px}.store-brand-type small{font-size:9px}.store-brand-icon{width:30px;height:30px}.store-width{width:calc(100% - 40px)}.foundation-hero-grid{min-height:0}.foundation-hero-copy{padding:40px 0 24px}.foundation-hero h1{font-size:clamp(46px,12vw,64px);margin-block:22px}.foundation-category-nav{gap:24px;justify-content:flex-start;overflow-x:auto;padding-inline:20px}.foundation-category-grid{gap:24px 14px}.foundation-category-grid h3{font-size:14px;line-height:1.4}.store-card-heading h3{font-size:23px}.store-footer>.appearance-control{padding-inline:20px}.store-footer-base{gap:12px}.deposit-page{padding:38px 20px 56px}.deposit-page>h1{font-size:42px}.deposit-form{grid-template-columns:1fr;padding:22px 18px;gap:20px}.deposit-summary{padding:22px 18px}.deposit-summary h2{font-size:28px}.deposit-wallets{display:grid;grid-template-columns:1fr;gap:16px}.deposit-wallets>button{width:100%!important}.deposit-payment:not(:empty){padding:4px}.store-section-heading{gap:18px}}
html[data-theme=dark] .store-preview,html[data-theme=dark] .foundation-hero,html[data-theme=dark] .store-custom-callout,html[data-theme=dark] .store-detail-service,html[data-theme=dark] .store-bag-summary,html[data-theme=dark] .quick-enquiry,html[data-theme=dark] .quote-payment-schedule,html[data-theme=dark] .fold-checkout-card,html[data-theme=dark] .store-success,html[data-theme=dark] .store-record-card pre,html[data-theme=dark] .store-record-card header span{background:var(--ui-soft);color:var(--ui-ink);border-color:var(--ui-line)}
html[data-theme=dark] .store-button-secondary,html[data-theme=dark] .store-filters button,html[data-theme=dark] .store-quantity-presets button,html[data-theme=dark] .store-record-tabs button,html[data-theme=dark] .store-consent,html[data-theme=dark] .store-consent button,html[data-theme=dark] .store-search button,html[data-theme=dark] .store-dimensions input,html[data-theme=dark] .store-bag-item-actions button{background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-line)}
html[data-theme=dark] .store-button:not(.store-button-secondary){background:var(--ui-accent);color:#1b2c1c;border-color:var(--ui-accent)}
html[data-theme=dark] .store-kicker,html[data-theme=dark] .store-card-description,html[data-theme=dark] .store-card-heading p,html[data-theme=dark] .store-card-bottom>span,html[data-theme=dark] .store-section-heading>p,html[data-theme=dark] .foundation-hero-copy>p:not(.store-kicker),html[data-theme=dark] .foundation-story-copy>p:not(.store-kicker),html[data-theme=dark] .store-detail-description,html[data-theme=dark] .store-price-note span,html[data-theme=dark] .store-field-help,html[data-theme=dark] .store-details-list p,html[data-theme=dark] .store-document p,html[data-theme=dark] .store-document li,html[data-theme=dark] .quick-enquiry p,html[data-theme=dark] .quick-enquiry-next li span,html[data-theme=dark] .quick-enquiry-next>p,html[data-theme=dark] .store-bag-item p,html[data-theme=dark] .store-bag-summary>p,html[data-theme=dark] .store-check,html[data-theme=dark] .store-record-card p,html[data-theme=dark] .store-page-heading p,html[data-theme=dark] .store-form-status,html[data-theme=dark] .store-empty>p,html[data-theme=dark] .foundation-caption{color:var(--ui-muted)}
html[data-theme=dark] .store-brand-icon{filter:brightness(0) invert(.92)}
html[data-theme=dark] .foundation-story-photo>div,html[data-theme=dark] .foundation-main-image>span,html[data-theme=dark] .foundation-small-image>span,html[data-theme=dark] .store-image-link{background:var(--ui-soft);color:var(--ui-ink);border-color:var(--ui-line)}
html[data-theme=dark] .foundation-category-nav,html[data-theme=dark] .store-price-note,html[data-theme=dark] .store-details-list details,html[data-theme=dark] .store-bag-item,html[data-theme=dark] .store-record-card{border-color:var(--ui-line)}
html[data-theme=dark] .store-document a,html[data-theme=dark] .store-text-link:hover,html[data-theme=dark] .foundation-hero h1 em{color:var(--ui-accent)}
html[data-theme=dark] .store-brand-icon{filter:none;border:1px solid var(--ui-line);border-radius:9px}html[data-theme=dark] img{mix-blend-mode:normal}
@media(max-width:750px){.store-header{display:grid;grid-template-columns:minmax(0,1fr) auto;padding-top:14px;padding-bottom:0;gap:8px 12px}.store-header .store-brand-type{font-size:24px}.store-header .store-brand-icon{width:28px;height:28px}.store-header .store-header-tools{grid-column:2;grid-row:1;font-size:11px}.store-header .store-header-tools>a{gap:5px}.store-header nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-start;gap:24px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;font-size:12px;padding-bottom:4px}.store-header nav a{flex-shrink:0}.foundation-category-nav{padding-block:12px;font-size:11px}}

/* Keep long category lists inside the navigation on laptop widths. */
@media (min-width: 768px) {
  .photo-store .foundation-category-nav {
    box-sizing: border-box;
    max-width: 100%;
    justify-content: safe center;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .photo-store .foundation-category-nav a { flex-shrink: 0; }
}
