/* Coastal Homes' storefront typography uses Poppins throughout. */
:root {
  --coastal-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading: var(--coastal-font);
  --body: var(--coastal-font);
  --serif: var(--coastal-font);
  --sans: var(--coastal-font);
  --paper: #fff;
}

body { background: #fff; font-family: var(--coastal-font); }
body.admin-body { background: #f5f4f0; font-family: var(--coastal-font); }
button, input, select, textarea { font-family: var(--coastal-font); }
.hero-copy h1 { font-family: var(--coastal-font); }
.topline { min-height: 36px; padding: 10px 12px; background: #e8e7e1; color: #292821; font-size: 10px; letter-spacing: .075em; }
.site-header { height: 82px; padding-inline: 20px; box-shadow: none; }
.site-header .brand-logo img { width: 236px; max-width: 100%; height: auto; }
.mobile-menu-toggle { display: none; }
.hero-slider { height: clamp(430px, 48vw, 650px); min-height: 430px; background: #e9e4db; }
.hero-slide { justify-content: flex-end; padding-inline: 8vw; background: none; }
.hero-slide::before { position: absolute; inset: 0; content: ""; z-index: 1; background: linear-gradient(270deg, #1c211d9c 0%, #1c211d50 32%, transparent 72%); pointer-events: none; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scaleX(-1); }
.site-nav-mobile { display: none; }
.site-nav-desktop .site-nav-item { position: relative; }
.site-nav-dropdown { position: absolute; top: 100%; left: -14px; display: none; min-width: 210px; padding: 10px; border: 1px solid #e9e5dd; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px #00000012; z-index: 30; }
.site-nav-item:hover .site-nav-dropdown,.site-nav-item:focus-within .site-nav-dropdown { display: grid; }
.site-nav-dropdown a { padding: 9px 10px; white-space: nowrap; }
.hero-copy { position: relative; z-index: 1; max-width: 520px; margin-left: auto; text-align: right; }
.hero-copy h1 { font-size: clamp(32px, 4.1vw, 60px); line-height: 1.12; letter-spacing: -.035em; }
.hero-copy .hero-slide-title { margin: .67em 0; font-family: var(--coastal-font); font-size: clamp(32px, 4.1vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
.hero-copy > p:not(.eyebrow) { margin-left: auto; }
.hero-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px 19px; background: #fff; color: #252821; border-radius: 4px; font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .045em; }
.hero-cta:hover { background: #efeee9; color: #252821; }
.slider-controls { left: 20px; right: 20px; bottom: 16px; justify-content: space-between; pointer-events: none; }
.slider-controls button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #20231f66; pointer-events: auto; }
.slider-controls [data-slide-count] { position: absolute; left: 50%; transform: translateX(-50%); }
.slider-controls .slider-pause { position: absolute; right: 0; top: -48px; width: 30px; height: 30px; }
.home-categories { padding: 48px 16px 18px; background: #fff; }
.home-categories > h2 { margin: 0 0 26px; text-align: center; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.category-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #ede9e1; color: #171914; }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-tile:hover img { transform: scale(1.035); }
.category-tile span { position: absolute; left: 12%; right: 12%; bottom: 16px; display: block; padding: 12px 6px; border-radius: 4px; background: #fff; text-align: center; font-size: 14px; font-weight: 700; }
.statement { padding: 76px max(8vw, 24px); grid-template-columns: 1fr 1.15fr; gap: 40px; background: #fff; }
.statement h2 { font-family: var(--coastal-font); font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -.04em; }
.statement-copy { align-self: center; max-width: 600px; color: #484942; font-size: 15px; line-height: 1.8; }
.statement-copy p + p { margin-top: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 17px; color: #292821; font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.collection { padding: 64px 5vw 78px; background: #faf9f7; }
.section-head h2 { font-family: var(--coastal-font); font-weight: 600; letter-spacing: -.035em; }
.product-card h3, .product-card h2 { font-family: var(--coastal-font); font-weight: 600; }
.product-grid > .product-card:only-child { grid-column: 1 / -1; width: min(100%, 380px); justify-self: center; }
.product-card { position: relative; border-radius: 3px; transition: box-shadow .22s ease, transform .22s ease; }
.product-card > a { display: block; height: auto; overflow: visible; border-radius: inherit; }
.product-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transform: none; filter: none; transition: none; }
.product-card:focus-within { outline: 2px solid #7a846d; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { z-index: 2; transform: translateY(-3px); box-shadow: 0 8px 22px #26281f12; }
}
.project { min-height: 500px; }
.project h2 { font-family: var(--coastal-font); font-weight: 600; letter-spacing: -.035em; }
@media (max-width: 800px) {
  .site-header { height: 64px; padding-inline: 12px; justify-content: space-between; }
  .site-header .mobile-menu-toggle { position: absolute; left: 16px; display: block; padding: 7px 0; border: 0; background: transparent; color: #20221d; font-size: 20px; }
  .site-header .brand-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .site-header .brand-logo img { width: clamp(154px, 44vw, 180px); }
  .site-header nav { top: 64px; left: 0; right: 0; z-index: 25; padding: 16px 20px 22px; border-top: 1px solid #e6e4df; box-shadow: 0 12px 22px #00000012; }
  .site-header nav a { padding: 7px 0; font-size: 12px; letter-spacing: .025em; }
  .header-actions { gap: 17px; }
  .header-actions i, .plain-button i { font-size: 17px; }
  .hero-slider { height: 315px; min-height: 315px; }
  .hero-slide { padding: 0 8vw; background-position: center; }
  .hero-slide::before { background: linear-gradient(0deg,#1c211d9c 0%,#1c211d52 45%,#1c211d20 100%); }
  .hero-media img { object-position: center; }
  .hero-copy { max-width: 62%; }
  .hero-copy h1 { margin: 7px 0 10px; font-size: clamp(25px, 6vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
  .hero-copy .hero-slide-title { margin: 7px 0 10px; font-size: clamp(25px, 6vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
  .hero-copy .eyebrow { font-size: 9px; }
  .hero-copy > p:not(.eyebrow) { max-width: 280px; font-size: 12px; line-height: 1.5; }
  .hero-cta { margin-top: 6px; padding: 10px 13px; font-size: 10px; }
  .slider-controls { bottom: 12px; }
  .slider-controls .slider-pause { top: -41px; }
  .home-categories { padding: 44px 16px 12px; }
  .home-categories > h2 { margin-bottom: 25px; font-size: 23px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .category-tile span { left: 12%; right: 12%; bottom: 14px; padding: 11px 5px; font-size: 14px; }
  .statement { display: block; padding: 66px 9vw; text-align: center; }
  .statement h2 { margin: 8px 0 22px; font-size: 32px; }
  .statement-copy { font-size: 14px; line-height: 1.75; }
  .collection { padding: 50px 16px 60px; }
  .section-head { align-items: end; gap: 16px; margin-bottom: 25px; }
  .section-head h2 { font-size: 25px; }
  .section-head .text-link { white-space: nowrap; font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .product-card h3, .product-card h2 { font-size: 15px; }
  .project { min-height: 410px; padding: 70px 9vw; }
}

@media (max-width: 800px) {
  .site-header .site-nav-desktop { display: none !important; }
  .site-header .site-nav-mobile { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; display: none; padding: 14px 20px 20px; border-top: 1px solid #eee; background: #fff; box-shadow: 0 12px 22px #00000012; }
  .site-header .site-nav-mobile.is-open { display: grid; }
  .site-nav-mobile a { display: flex; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid #f0eee9; color: #252620; text-decoration: none; }
  .site-nav-mobile a.site-nav-child { min-height: 38px; padding-left: 32px; color: #73766e; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .category-tile img,.product-card { transition:none; } .product-card:hover { transform:none; } }

/* Premium storefront footer, account access and customer dashboard */
.premium-footer { position: relative; isolation: isolate; display: block; overflow: hidden; padding: 76px max(6vw, 24px) 24px; background: radial-gradient(ellipse at 85% 8%,#49534555 0,transparent 38%),linear-gradient(135deg,#20241f 0%,#293128 100%); color: #f4f2ed; }
.premium-footer::before { position: absolute; top: 0; right: max(6vw, 24px); left: max(6vw, 24px); height: 1px; background: linear-gradient(90deg,transparent,#c9bba288 18%,#c9bba288 82%,transparent); content: ""; }
.premium-footer .footer-top,.premium-footer .footer-contact-cta,.premium-footer .footer-links-grid,.premium-footer .footer-bottom { width: min(1320px,100%); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(48px,8vw,120px); padding-bottom: 56px; border-bottom: 1px solid #ffffff26; }
.premium-footer .footer-brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: 21px; }
.premium-footer .footer-logo { display: block; width: 160px; height: auto; }
.premium-footer .footer-brand-block p { margin: 0; color: #fff; font-size: clamp(25px, 3vw, 37px); font-weight: 500; line-height: 1.25; letter-spacing: -.04em; }
.footer-brand-note { color: #b9beb5; font-size: 12px; letter-spacing: .03em; }
.footer-newsletter { max-width: 500px; width: 100%; margin-left: auto; }
.premium-footer .footer-top > .footer-newsletter { display: block; gap: 0; text-align: left; }
.footer-kicker,.premium-footer .footer-links-grid h3 { margin: 0 0 14px; color: #c9bba2; font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.footer-newsletter h2 { margin: 0 0 20px; color: #fff; font-size: clamp(23px, 2.5vw, 32px); font-weight: 500; line-height: 1.32; letter-spacing: -.035em; }
.footer-subscribe-form { display: grid; grid-template-columns: 1fr 48px; border-bottom: 1px solid #ffffffa0; }
.footer-subscribe-form > input[type=email] { min-width: 0; padding: 13px 2px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; }
.footer-subscribe-form > input[type=email]::placeholder { color: #bfc1bb; }
.footer-subscribe-form > button { border: 0; background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.footer-subscribe-form:focus-within { border-color: #d9c6a6; }
.footer-consent { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 9px; padding: 12px 0 0; color: #c5c7c1; font-size: 12px; line-height: 1.5; }
.footer-consent input { accent-color: #c9bba2; margin-top: 3px; }
.footer-form-message { margin: 0 0 10px; color: #e1d5bf; font-size: 13px; }
.footer-contact-cta { display: flex; align-items: center; justify-content: center; gap: clamp(24px,5vw,64px); margin-block: 30px 10px; padding: 28px clamp(18px,4vw,48px); border: 1px solid #c9bba233; background: linear-gradient(110deg,#ffffff08,#c9bba20c); text-align: center; }
.footer-contact-cta-copy { display: grid; justify-items: center; gap: 7px; }
.footer-contact-cta-copy .footer-kicker { margin: 0; }
.footer-contact-cta-copy strong { color: #fff; font-size: clamp(19px,2vw,25px); font-weight: 500; letter-spacing: -.025em; }
.footer-contact-cta-copy small { max-width: 510px; color: #c2c5bd; font-size: 12px; line-height: 1.6; }
.footer-contact-cta-button { display: inline-flex; min-height: 48px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 11px; padding: 0 18px; border: 1px solid #8d9a83; background: #56654f; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .025em; text-decoration: none; transition: background .2s ease,border-color .2s ease,transform .2s ease; }
.footer-contact-cta-button:hover { transform: translateY(-2px); border-color: #c9bba2; background: #65755d; color: #fff; }
.footer-contact-cta-button i:first-child { font-size: 17px; }
.footer-contact-cta-button i:last-child { color: #d8c9ad; font-size: 10px; }
.premium-footer .footer-links-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 35px; padding: 38px 0 42px; }
.premium-footer .footer-links-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; text-align: left; }
.premium-footer .footer-links-grid h3 { margin: 0 0 5px; color: #d9d7cf; }
.premium-footer .footer-links-grid a { color: #b8bcb4; font-size: 13px; text-decoration: none; transition: color .18s ease; }
.premium-footer .footer-links-grid a:hover { color: #fff; }
.premium-footer .footer-contact > a:first-of-type { overflow-wrap: anywhere; }
@media(min-width:801px){.premium-footer .footer-links-grid{grid-template-columns:1.1fr 1fr 1fr 1fr 1.3fr}}
.footer-social { display: flex; align-items: center; gap: 9px; }
.premium-footer .footer-bottom { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: center; gap: 12px 24px; padding-top: 18px; border-top: 1px solid #ffffff26; color: #9fa49b; font-size: 11px; }
.premium-footer .footer-bottom small { padding: 0; border: 0; font-size: inherit; }
.footer-credit { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: #d7d8d1; text-decoration: none; transition: color .18s ease; }
.footer-credit:hover { color: #fff; }
.footer-credit-mark { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #c9bba255; border-radius: 50%; color: #d9c6a6; }
.footer-credit-mark svg { width: 15px; height: 15px; fill: currentColor; }
.footer-credit-copy { display: grid; gap: 1px; line-height: 1.2; }
.footer-credit-copy small { color: #9fa49b; font-size: 8px; letter-spacing: .035em; }
.footer-credit-copy strong { color: inherit; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.footer-credit > i { color: #aeb2a9; font-size: 9px; }

.premium-auth { display: grid; grid-template-columns: .92fr 1.08fr; width: min(1240px, calc(100% - 48px)); max-width: none; min-height: 700px; margin: 38px auto 76px; padding: 0; overflow: hidden; background: #fff; box-shadow: 0 22px 70px #20241f16; }
.auth-story { position: relative; display: flex; min-height: 700px; flex-direction: column; justify-content: space-between; padding: 36px 42px; color: #fff; background-position: center; background-size: cover; }
.auth-story::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,#10140d99 0%,#18201935 45%,#10140dbf 100%); }
.auth-story-login { background-image: url('/assets/images/hero-interior.webp'); }
.auth-story-register { background-image: url('/assets/images/hero-eminu.webp'); }
.auth-story > * { position: relative; z-index: 1; }
.auth-story-logo img { width: 156px; height: auto; filter: brightness(0) invert(1); }
.auth-story .eyebrow { color: #e0d3bc; }
.auth-story h2 { margin: 16px 0 20px; color: #fff; font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.13; letter-spacing: -.05em; }
.auth-story > div > p:last-child { max-width: 360px; color: #f2f1ec; font-size: 15px; line-height: 1.75; }
.auth-story-caption { color: #e3e3dc; font-size: 12px; letter-spacing: .04em; }
.auth-form-wrap { position: relative; display: flex; align-items: center; justify-content: center; padding: 74px clamp(28px, 6vw, 78px) 58px; }
.auth-back { position: absolute; top: 30px; right: 36px; display: inline-flex; align-items: center; gap: 9px; color: #62645c; font-size: 12px; text-decoration: none; }
.auth-form-card { width: 100%; max-width: 475px; }
.auth-form-card > .eyebrow { margin: 0 0 9px; }
.auth-form-card h1 { margin: 0; color: #22251f; font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.18; letter-spacing: -.045em; }
.auth-intro { margin: 12px 0 27px; color: #74766e; font-size: 14px; line-height: 1.65; }
.premium-auth-form { display: grid; gap: 16px; }
.premium-auth-form label,.premium-account-form label { display: grid; gap: 7px; color: #44463f; font-size: 13px; font-weight: 500; }
.premium-auth-form input,.premium-account-form input { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #dedfd9; border-radius: 3px; outline: 0; background: #fff; color: #292b25; font-size: 14px; font-weight: 400; }
.premium-auth-form input:focus,.premium-account-form input:focus { border-color: #7a806f; box-shadow: 0 0 0 3px #59635414; }
.premium-auth-form small,.premium-account-form small { color: #81837c; font-size: 12px; font-weight: 400; }
.auth-name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.optional-label { display: inline; color: #898b84; font-size: 12px; font-weight: 400; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 47px; }
.password-field > button { position: absolute; top: 50%; right: 4px; width: 40px; height: 40px; transform: translateY(-50%); border: 0; background: transparent; color: #777970; cursor: pointer; }
.auth-submit { display: flex; justify-content: space-between; align-items: center; min-height: 51px; margin-top: 5px; padding: 0 17px; border: 0; border-radius: 3px; background: #333a31; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.auth-submit:hover { background: #4b5547; }
.auth-switch { margin: 21px 0 0; color: #6d6f67; text-align: center; font-size: 13px; }
.auth-switch a { color: #30372f; font-weight: 600; text-underline-offset: 3px; }
.auth-assurances { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 27px; padding-top: 19px; border-top: 1px solid #eeefeb; color: #777970; font-size: 11px; }
.auth-assurances span { display: inline-flex; align-items: center; gap: 7px; }
.auth-assurances i { color: #6c7764; }
.auth-disabled,.auth-notice { display: flex; align-items: flex-start; gap: 13px; padding: 16px; border: 1px solid #e3e4de; background: #f7f7f4; color: #4f5549; font-size: 14px; line-height: 1.6; }
.auth-disabled { flex-direction: column; }
.auth-disabled > i,.auth-notice > i { color: #6b7762; font-size: 19px; }
.auth-disabled strong { color: #2c3029; }
.auth-disabled span { font-size: 13px; }
.auth-disabled a { color: inherit; font-weight: 600; }
.auth-notice { margin-bottom: 18px; }

.premium-account { padding: 45px max(6vw,24px) 90px; background: #f7f7f4; }
.account-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: 1320px; margin: 0 auto 28px; }
.account-heading .crumb { margin-bottom: 28px; }
.account-heading .eyebrow { margin: 0; }
.premium-account .account-heading h1 { margin: 7px 0 9px; color: #282b25; font-size: clamp(32px,4vw,44px); font-weight: 500; letter-spacing: -.05em; }
.account-heading > div > p:last-child { margin: 0; color: #777970; font-size: 14px; }
.account-logout { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid #dedfd8; background: #fff; color: #494c44; font-size: 12px; cursor: pointer; }
.account-summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; max-width: 1320px; margin: 0 auto 22px; }
.account-summary-grid article { position: relative; display: grid; grid-template-columns: 42px 1fr; align-items: center; column-gap: 13px; padding: 20px 23px; border: 1px solid #e8e9e2; background: #fff; }
.account-summary-icon { grid-row: 1/4; display: grid; place-items: center; width: 40px; height: 40px; background: #f1f2ed; color: #596354; }
.account-summary-label { color: #73756e; font-size: 12px; }
.account-summary-grid strong { color: #292c26; font-size: 24px; font-weight: 600; line-height: 1.3; }
.account-summary-grid .account-date { font-size: 19px; }
.account-summary-grid small { color: #92948d; font-size: 11px; }
.premium-account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; max-width: 1320px; margin: 0 auto; }
.premium-account-layout .account-menu { position: sticky; top: 92px; display: flex; height: max-content; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid #e8e9e2; background: #fff; }
.premium-account-layout .account-menu a { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 0 11px; color: #666960; font-size: 12px; text-decoration: none; }
.premium-account-layout .account-menu a.active,.premium-account-layout .account-menu a:hover { background: #f0f1ec; color: #32392f; }
.account-sections { display: grid; gap: 15px; min-width: 0; }
.account-panel { padding: 26px; border: 1px solid #e8e9e2; background: #fff; scroll-margin-top: 90px; }
.account-panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.account-panel-heading .eyebrow { margin: 0 0 4px; }
.account-panel-heading h2 { margin: 0; color: #2b2e28; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.account-panel-heading > span { color: #888a83; font-size: 12px; }
.account-orders-head,.account-order-row { display: grid; grid-template-columns: 1.2fr .9fr 1.15fr .8fr; align-items: center; gap: 10px; }
.account-orders-head { padding: 11px 12px; background: #f7f7f4; color: #81837c; font-size: 10px; letter-spacing: .08em; }
.account-order-row { min-height: 55px; padding: 11px 12px; border-bottom: 1px solid #eeefeb; color: #65675f; font-size: 12px; }
.account-order-row strong { color: #30332d; font-weight: 600; }
.account-order-row b { color: #30332d; text-align: right; font-weight: 600; }
.order-status { width: max-content; padding: 5px 8px; background: #f1f2ed; color: #58644f; font-size: 11px; }
.order-status-cancelled,.order-status-failed { background: #f8eeec; color: #914c41; }
.account-empty { display: grid; place-items: center; padding: 30px 15px 20px; text-align: center; }
.account-empty > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 13px; border-radius: 50%; background: #f1f2ed; color: #596354; }
.account-empty h3 { margin: 0 0 6px; font-size: 16px; font-weight: 500; }
.account-empty p { margin: 0 0 15px; color: #81837c; font-size: 13px; }
.premium-account-form { display: grid; grid-template-columns: 1fr 1fr; max-width: 770px; gap: 15px; }
.premium-account-form .full { grid-column: 1/-1; }
.premium-account-form .account-cta { grid-column: 1/-1; justify-self: start; }
.premium-account-form label { font-size: 13px; }
.account-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border: 0; background: #333a31; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; }
.account-cta:hover { background: #4b5547; color: #fff; }

.premium-checkout .checkout-page { background: #f7f7f4; }
.premium-checkout { background: #f7f7f4; padding-top: 45px; }
.premium-checkout > h1 { font-size: 42px; font-weight: 500; letter-spacing: -.04em; }
.premium-checkout .checkout-layout { grid-template-columns: 1.25fr .75fr; align-items: start; gap: 25px; }
.premium-checkout .checkout-layout > form { gap: 14px; }
.premium-checkout .checkout-card,.premium-checkout .order-summary { border: 1px solid #e7e8e1; background: #fff; }
.premium-checkout .checkout-card { padding: 23px; }
.premium-checkout .checkout-card .eyebrow { margin: 0 0 7px; }
.premium-checkout .checkout-card h2,.premium-checkout .order-summary h2 { margin: 0 0 20px; color: #2d302a; font-size: 20px; font-weight: 500; }
.premium-checkout .checkout-fields { grid-template-columns: 1fr 1fr; gap: 13px; }
.premium-checkout .checkout-fields label { display: grid; gap: 7px; color: #4f514a; font-size: 12px; }
.premium-checkout .checkout-fields input { min-height: 45px; background: #fff; font-size: 13px; }
.premium-checkout .checkout-fields .full { grid-column: 1/-1; }
.premium-checkout .payment-option { justify-content: flex-start; gap: 12px; border-bottom: 1px solid #eeefeb; color: #373a34; }
.premium-checkout .payment-option > span { display: grid; gap: 4px; flex: 1; }
.premium-checkout .payment-option strong { font-size: 13px; font-weight: 500; }
.premium-checkout .payment-option small { margin: 0; color: #7e8078; font-size: 12px; }
.premium-checkout .payment-option > i { color: #9a9d94; }
.premium-checkout .payment-option input:checked + span + i { color: #596354; }
.checkout-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 0; font-family: var(--coastal-font); font-size: 12px; }
.checkout-submit:disabled { opacity: .5; cursor: not-allowed; }
.checkout-security-note { color: #777970; text-align: center; font-size: 12px; }
.checkout-security-note i { margin-right: 6px; color: #596354; }
.premium-checkout .order-summary { position: sticky; top: 92px; padding: 24px; }
.premium-checkout .order-summary .eyebrow { margin: 0 0 7px; }
.premium-checkout .checkout-item { gap: 10px; color: #666960; font-size: 12px; }
.premium-checkout .checkout-totals { margin-top: 18px; padding-top: 11px; border-top: 1px solid #e8e9e2; }
.premium-checkout .checkout-totals p,.premium-checkout .checkout-totals strong { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.premium-checkout .checkout-totals strong { padding-top: 12px; border-top: 1px solid #e8e9e2; font-size: 16px; }
.checkout-back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; color: #62655c; font-size: 12px; text-decoration: none; }
.order-success { display: grid; justify-items: center; padding: 94px 24px; background: #f7f7f4; text-align: center; }
.order-success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 50%; background: #e7ede2; color: #526448; font-size: 22px; }
.order-success h1 { font-size: 44px; font-weight: 500; letter-spacing: -.04em; }
.order-success > p { max-width: 560px; color: #696c64; line-height: 1.7; }
.bank-transfer-details { width: min(520px,100%); margin: 15px 0; padding: 20px; border: 1px solid #e2e4dc; background: #fff; text-align: left; }
.bank-transfer-details strong { font-size: 14px; }
.bank-transfer-details p { margin: 9px 0 0; color: #666960; font-size: 13px; line-height: 1.7; }

@media(max-width:800px) {
  .premium-footer { padding: 54px 22px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 35px; }
  .premium-footer .footer-newsletter { margin-inline: 0; }
  .footer-contact-cta { flex-direction: column; gap: 18px; margin-block: 22px 5px; padding: 23px 18px; }
  .footer-contact-cta-copy small { max-width: 390px; }
  .footer-contact-cta-button { width: min(100%,340px); }
  .footer-newsletter { margin: 0; }
  .premium-footer .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; padding: 31px 0; }
  .premium-footer .footer-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 10px; }
  .premium-footer .footer-bottom > span:last-child { text-align: right; }
  .footer-credit { grid-column: auto; gap: 6px; }
  .footer-credit-mark { width: 22px; height: 22px; flex-basis: 22px; }
  .footer-credit-mark svg { width: 12px; height: 12px; }
  .footer-credit-copy small { font-size: 7px; }
  .footer-credit-copy strong { font-size: 10px; }
  .footer-credit > i { font-size: 8px; }
  .premium-auth { display: block; width: calc(100% - 28px); min-height: 0; margin: 18px auto 42px; }
  .auth-story { min-height: 218px; padding: 22px 24px; }
  .auth-story-logo img { width: 127px; }
  .auth-story h2 { margin: 11px 0 7px; font-size: 28px; }
  .auth-story > div > p:last-child { max-width: 400px; margin-bottom: 0; font-size: 12px; line-height: 1.5; }
  .auth-story-caption { display: none; }
  .auth-form-wrap { padding: 55px 24px 32px; }
  .auth-back { top: 19px; right: 22px; }
  .auth-form-card { max-width: 540px; }
  .premium-account { padding: 29px 16px 55px; }
  .account-heading { align-items: flex-start; }
  .account-heading .crumb { margin-bottom: 18px; }
  .account-logout { padding: 9px; font-size: 0; }
  .account-logout i { font-size: 14px; }
  .account-summary-grid { grid-template-columns: 1fr; gap: 8px; }
  .account-summary-grid article { padding: 14px 16px; }
  .premium-account-layout { grid-template-columns: 1fr; gap: 12px; }
  .premium-account-layout .account-menu { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .account-panel { padding: 18px 14px; }
  .account-orders-head { display: none; }
  .account-order-row { grid-template-columns: 1fr 1fr; gap: 7px; padding: 14px 6px; }
  .account-order-row b { text-align: right; }
  .premium-account-form { grid-template-columns: 1fr; }
  .premium-account-form .full,.premium-account-form .account-cta { grid-column: auto; }
  .premium-checkout { padding: 30px 16px 60px; }
  .premium-checkout .checkout-layout { display: grid; grid-template-columns: 1fr; }
  .premium-checkout .order-summary { position: static; grid-row: 1; }
  .premium-checkout .checkout-fields { grid-template-columns: 1fr; }
  .premium-checkout .checkout-fields .full { grid-column: auto; }
}
@media(prefers-reduced-motion:reduce) { .premium-footer .footer-links-grid a,.footer-contact-cta-button,.auth-submit { transition: none; } }

/* Persistent, thumb-friendly shortcuts on compact storefront screens. */
.mobile-bottom-nav { display: none; }
.admin-sidebar .admin-brand img { width: 170px; max-width: 100%; height: auto; }
.admin-login .local-login-hint { margin: 14px 0 0; padding: 10px 12px; border: 1px solid #e7e9e1; background: #f7f8f4; color: #73766d; font-size: 11px; }
.admin-login .local-login-hint strong { color: #394333; font-weight: 600; }
@media(max-width:800px) {
  body:has(.mobile-bottom-nav) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .site-header .brand-logo img { width: 114px; }
  .mobile-bottom-nav { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-around; min-height: 62px; padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #e9e9e4; background: #fff; box-shadow: 0 -5px 22px #1c21100d; }
  .mobile-bottom-nav a { position: relative; display: flex; min-width: 76px; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #73756d; font-size: 10px; line-height: 1.2; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .mobile-bottom-nav a i { font-size: 17px; }
  .mobile-bottom-nav a.is-active { color: #343b32; font-weight: 600; }
  .mobile-bottom-nav a.is-active::before { position: absolute; top: -7px; width: 22px; height: 2px; border-radius: 2px; background: #596354; content: ""; }
  .mobile-bottom-nav a b { position: absolute; top: 1px; left: calc(50% + 8px); display: grid; min-width: 16px; height: 16px; place-items: center; padding: 0 4px; border-radius: 10px; background: #596354; color: #fff; font-size: 9px; font-weight: 500; }
}
@media(prefers-reduced-motion:reduce) { .mobile-bottom-nav a { scroll-behavior: auto; } }

/* Refined, balanced primary navigation and a legible wordmark at every breakpoint. */
@media (min-width: 801px) {
  .site-header { display:grid; grid-template-columns:235px minmax(0,1fr) auto; gap:clamp(18px,2.7vw,42px); height:88px; padding-inline:clamp(24px,4.2vw,72px); }
  .site-header .site-nav-mobile { display:none !important; }
  .site-header .brand-logo { width:100%; justify-content:flex-start; }
  .site-header .brand-logo img { width:220px; max-width:100%; height:auto; }
  .site-header .site-nav-desktop { display:flex; align-items:center; justify-content:center; gap:clamp(13px,1.6vw,25px); min-width:0; margin:0; }
  .site-nav-desktop .site-nav-item>a { position:relative; display:inline-flex; align-items:center; gap:7px; padding:13px 0; color:#34362f; font-size:10px; font-weight:500; letter-spacing:.065em; white-space:nowrap; }
  .site-nav-desktop .site-nav-item>a::after { position:absolute; right:0; bottom:6px; left:0; height:1px; background:#737b68; content:""; transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
  .site-nav-desktop .site-nav-item>a:hover::after,.site-nav-desktop .site-nav-item>a:focus-visible::after { transform:scaleX(1); }
  .site-nav-desktop .site-nav-item>a i { color:#777d6b; font-size:10px; }
  .site-nav-dropdown { top:calc(100% + 2px); left:-18px; min-width:230px; padding:11px; }
  .site-nav-dropdown a { padding:11px 12px; border-radius:3px; color:#42463e; font-size:11px; letter-spacing:.02em; text-transform:none; }
  .site-nav-dropdown a:hover { background:#f6f6f2; color:#30382b; }
  .header-actions { gap:8px; }
  .header-actions .plain-button,.header-actions>a { min-height:42px; padding:0 11px; border:1px solid transparent; border-radius:3px; color:#3d4139; font-size:9px; font-weight:500; letter-spacing:.045em; }
  .header-actions .plain-button { width:42px; justify-content:center; padding:0; }
  .header-actions .plain-button:hover,.header-actions>a:hover { border-color:#e4e4dd; background:#f8f8f5; }
  .header-actions i,.plain-button i { font-size:14px; }
  .header-actions a b { display:inline-grid; min-width:17px; height:17px; place-items:center; padding:0 4px; font-size:9px; }
}
@media (max-width: 800px) {
  .site-header { display:flex; position:sticky; height:72px; min-height:72px; justify-content:space-between; padding:0 16px; }
  .site-header .mobile-menu-toggle { position:relative; z-index:2; left:auto; display:grid; width:42px; height:42px; place-items:center; padding:0; border-radius:50%; font-size:19px; }
  .site-header .mobile-menu-toggle:hover,.site-header .mobile-menu-toggle[aria-expanded="true"] { background:#f2f2ee; }
  .site-header .brand-logo { position:absolute; z-index:1; left:50%; width:auto; transform:translateX(-50%); }
  .site-header .brand-logo img { display:block; width:clamp(142px,44vw,184px); max-width:none; height:auto; }
  .site-header .site-nav-mobile { position:absolute; top:100%; left:0; right:0; z-index:50; display:none; max-height:calc(100dvh - 150px); padding:12px 20px 18px; overflow-y:auto; border-top:1px solid #edede8; background:#fff; box-shadow:0 15px 28px #17170f14; }
  .site-header .site-nav-mobile.is-open { display:grid; }
  .site-header .site-nav-mobile a { display:flex; align-items:center; gap:12px; min-height:48px; padding:7px 2px; border-bottom:1px solid #f0f0ec; color:#34372f; font-size:12px; font-weight:500; letter-spacing:.025em; text-decoration:none; }
  .site-header .site-nav-mobile a i { width:18px; color:#737b68; text-align:center; }
  .site-header .site-nav-mobile a.site-nav-child { min-height:40px; padding-left:34px; color:#777a72; font-size:11px; font-weight:400; }
  .site-header .header-actions { position:relative; z-index:2; gap:4px; margin-left:auto; }
  .site-header .header-actions .plain-button,.site-header .header-actions>a { display:grid; width:38px; min-width:38px; height:42px; min-height:42px; place-items:center; padding:0; border:0; background:transparent; color:#34372f; }
  .site-header .header-actions i,.site-header .plain-button i { font-size:17px; }
  .site-header .header-actions a span { display:none; }
  .site-header .header-actions a b { position:absolute; top:1px; right:-1px; display:grid; min-width:15px; height:15px; place-items:center; padding:0 3px; border:1px solid #fff; font-size:8px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline:12px; }
  .site-header .brand-logo img { width:134px; }
  .site-header .mobile-menu-toggle { width:36px; }
  .site-header .header-actions .plain-button,.site-header .header-actions>a { width:34px; min-width:34px; }
}
@media (prefers-reduced-motion: reduce) { .footer-contact-cta-button,.whatsapp-float { transition: none; } }
