/* Extras for the neutral SIFTAL copy (written into assets/ by scripts/neutral-demos/siftal/postprocess.mjs; not part of
   the export): the bottom-left "Back to Parisa's projects" pill (a.sbdemo-back) and its placement around the
   storefront's own floating UI, the demo notice, the product-recommendations layout and the layout fixes. */
:root{--sbsf-dock-h:72px}
a.sbdemo-back{position:fixed;z-index:210;left:calc(24px + env(safe-area-inset-left,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px));display:inline-flex;align-items:center;justify-content:center;gap:.45rem;box-sizing:border-box;min-height:44px;min-width:44px;margin:0;padding:0 .95rem 0 .75rem;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#0b1f33;color:#fff;font:700 14px/1.15 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none;white-space:nowrap;box-shadow:0 4px 14px rgba(11,31,51,.22);transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
a.sbdemo-back:hover{background:#17395a;color:#fff;text-decoration:none;box-shadow:0 6px 18px rgba(11,31,51,.3)}
a.sbdemo-back:focus{outline:none}
a.sbdemo-back:focus-visible{outline:3px solid #38bdf8;outline-offset:2px}
.sbdemo-back__icon{flex:none;width:18px;height:18px}
.mockup-site-footer::after{content:"";display:block;height:84px}
html{scroll-padding-bottom:84px}
.sui-toast-container{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
body:has(.backdrop) a.sbdemo-back,body:has(.backdrop) .sbdock-launcher,
body:has(.product-lightbox-backdrop) a.sbdemo-back,body:has(.product-lightbox-backdrop) .sbdock-launcher,
body:has(.sui-drawer-overlay) a.sbdemo-back,body:has(.sui-drawer-overlay) .sbdock-launcher,
body:has(.sui-modal-overlay) a.sbdemo-back,body:has(.sui-modal-overlay) .sbdock-launcher{display:none}
@media (max-width:781px){
  a.sbdemo-back{left:calc(12px + env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));flex-direction:column;gap:3px;width:66px;height:54px;min-height:54px;padding:4px 3px;border-radius:12px;font-size:10.5px;line-height:1.1;white-space:normal;text-align:center}
  a.sbdemo-back .sbdemo-back__icon{width:16px;height:16px}
  .mockup-site-footer::after{height:80px}
  body:has(.sbdock--page-field) a.sbdemo-back,body:has(.sbdock--open) a.sbdemo-back{display:none}
}
@media (max-width:640px){.sui-toast-container{bottom:calc(84px + env(safe-area-inset-bottom,0px))}}
@media (max-width:768px){
  body:has(.mobile-sticky-purchase-dock) a.sbdemo-back,body:has(.mobile-sticky-purchase-dock) .sbdock .sbdock-launcher{bottom:calc(var(--sbsf-dock-h) + 12px + env(safe-area-inset-bottom,0px))}
  body:has(.mobile-sticky-purchase-dock) .sui-toast-container{bottom:calc(var(--sbsf-dock-h) + 80px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){a.sbdemo-back{transition:none}}
@media print{a.sbdemo-back{display:none}}
/* Product recommendations ("You May Also Like" on product pages, "Care & Complementary Goods" on the bag and the order
   confirmation). The export's compiled stylesheet lacks most Tailwind utilities this section uses (grid-cols-2,
   md:grid-cols-4, aspect-square, w-full, h-full, object-cover, absolute, rounded-xl, ...), so each 1024px photo set the
   width of its grid track: the cards became 1024px wide, the right-hand column landed outside the page's
   overflow-x:clip, and its loading="lazy" images never came into view (and never loaded). These rules restore the
   intended layout, scoped to the section and its loading placeholder. */
.product-recommendations-section{margin:3rem 0}
.product-recommendations-section .section-header{margin-bottom:1.5rem}
.product-recommendations-section .section-header h2{margin:0;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-.025em;color:#14213D}
.product-recommendations-section .section-header p{margin:0;font-size:.875rem;color:#78716c}
.product-recommendations-section>.grid,[data-testid="recommendations-loading"]>.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.product-recommendations-section>.grid>a{display:flex;flex-direction:column;height:100%;min-width:0;overflow:hidden;box-sizing:border-box;border:1px solid #e7e5e4;border-radius:.75rem;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease}
.product-recommendations-section>.grid>a:hover{border-color:#14213D;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}
.product-recommendations-section .aspect-square{position:relative;aspect-ratio:1/1;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#F8F7F4}
.product-recommendations-section .aspect-square>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .3s ease}
.product-recommendations-section>.grid>a:hover .aspect-square>img{transform:scale(1.05)}
.product-recommendations-section .aspect-square>.absolute{position:absolute;top:.5rem;left:.5rem}
.product-recommendations-section .aspect-square>.absolute>span{display:inline-block;padding:.125rem .5rem;border-radius:.25rem;background:rgba(20,33,61,.9);color:#fff;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.product-recommendations-section .aspect-square>.absolute>span:empty{display:none}
.product-recommendations-section>.grid>a>div:last-child{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between;padding:.875rem}
.product-recommendations-section>.grid>a h3{margin:0;font-size:.875rem;line-height:1.375;font-weight:600;color:#14213D;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;transition:color .15s ease}
.product-recommendations-section>.grid>a:hover h3{color:#F5B301}
.product-recommendations-section>.grid>a>div:last-child>div:first-child>div{margin-bottom:.25rem;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#a8a29e}
.product-recommendations-section>.grid>a>div:last-child>div:last-child{margin-top:.75rem;padding-top:.5rem;border-top:1px solid #f5f5f4}
[data-testid="recommendations-loading"]>div:first-child{height:1.5rem;width:12rem;margin-bottom:1rem;border-radius:6px;background:#e7e5e4}
[data-testid="recommendations-loading"]>.grid>div{aspect-ratio:1/1;border-radius:.5rem;background:#e7e5e4}
@media (min-width:768px){
  .product-recommendations-section .section-header h2{font-size:1.5rem;line-height:2rem}
  .product-recommendations-section>.grid,[data-testid="recommendations-loading"]>.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}
}
@media (prefers-reduced-motion:reduce){.product-recommendations-section .aspect-square>img,.product-recommendations-section>.grid>a{transition:none}.product-recommendations-section>.grid>a:hover .aspect-square>img{transform:none}}


/* sbdemo-layout-fixes:start */
/* Written by scripts/postprocess-siftal-demo.mjs (step 11): replaced on every run, checked by --check. The export's
   stylesheet carries two generations of rules, and a later or older generic rule undoes a component's own layout:
   - Hero gutter: the homepage hero copy sits in div.container.siftal-editorial-hero__inner, and the later
     .siftal-editorial-hero__inner{width:100%} cancels the .container width, so the headline and buttons touched the
     window edge at every size. These rules give the hero the .container widths again (same values and breakpoints),
     so its copy lines up with the header.
   - Phone top bar: the older @media (max-width:600px){.topbar span{display:none}} hides every span in the top bar,
     including the offer text of the current top bar (whose own 600px rule hides only the region text), so phones
     showed just the truck icon. These rules show the offer text again, centred and allowed to wrap on narrow
     phones; the separator and the Portfolio Demo pill stay hidden there, as they do not fit beside it.
   - Checkout columns: .checkout-layout uses grid-template-columns:60% 40% with gap:50px, so the two columns plus the
     gap are 50px wider than the page and the order summary stuck out past the header's right edge. Above the
     export's own 1024px single-column breakpoint, the same 3:2 split now shares the width left after the gap.
     The City / Province / Postal code row (.field-row-3, 2fr 1fr 1fr) only fitted because its inputs' default
     widths pushed the columns open; in the corrected column it overflowed the card, so its fields now share the row
     at the proportions they rendered at (1 : 1.6 : 1) and fill their columns. */
.container.siftal-editorial-hero__inner{width:min(1280px,calc(100% - 90px))}
@media (max-width:900px){.container.siftal-editorial-hero__inner{width:calc(100% - 45px)}}
@media (max-width:600px){
  .container.siftal-editorial-hero__inner{width:calc(100% - 36px)}
  .topbar .topbar-inner{max-width:100%;white-space:normal}
  .topbar .topbar-msg{display:inline;text-align:center}
}
@media (min-width:1025px){.checkout-layout{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}
@media (min-width:769px){
  .checkout-layout .field-row-3{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr)}
  .checkout-layout .field-row-3 input,.checkout-layout .field-row-3 select{box-sizing:border-box;min-width:0;width:100%}
}
/* "Forgot your password?" on the sign-in form: the export's stylesheet lacks the utilities on this button
   (bg-transparent, border-0, p-0, text-xs), so it rendered as a grey browser button. Shown as a text link with a
   44px tap target instead. */
div.flex.justify-end.mb-2>button[type="button"]{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0 2px;border:0;background:none;color:#14213D;font-family:inherit;font-size:13px;font-weight:500;line-height:1.3;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
div.flex.justify-end.mb-2>button[type="button"]:hover{text-decoration-thickness:2px}
div.flex.justify-end.mb-2>button[type="button"]:focus-visible{outline:2px solid #14213D;outline-offset:2px;border-radius:4px}
/* 13. SIFTAL audit 2026-11-09 (docs/audits/2026-11-09-siftal-audit/SIFTAL-AUDIT.md). */
/* Demo notice above the storefront (index.html) and the footer credit line. */
.sbdemo-notice{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0;padding:9px 16px;background:#fff8e6;border-bottom:1px solid #ead9a8;color:#1f2a44;font:400 13px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.sbdemo-notice__tag{flex:none;padding:1px 8px;border-radius:999px;background:#14213d;color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.sbdemo-notice strong{font-weight:700}
@media (min-width:900px){.sbdemo-notice{justify-content:center;text-align:center}}
.siftal-footer-demo-card .sbdemo-credit{display:block;margin-top:8px;color:#e2e8f0}
.siftal-footer-demo-card .sbdemo-credit a{color:#fde68a;text-decoration:underline;text-underline-offset:2px}
/* The demo runs no bot check: the box (and its "verified" badge) is not shown; the forms submit without it. */
.turnstile-container{display:none!important}
/* F8 phone hero: the photo is a band above the copy, cropped around the mug, vase and books
   (assets/hero-editorial-seamless-phone.webp, 1170x975: 3 file px per CSS px at 390), and the copy sits on solid navy. */
@media (max-width:640px){
  .siftal-editorial-hero-section{flex-direction:column;align-items:stretch;min-height:0}
  .siftal-editorial-hero-section .siftal-editorial-hero__media{position:relative;order:0;inset:auto;height:auto;aspect-ratio:6/5}
  .siftal-editorial-hero-section .siftal-editorial-hero__media picture{display:block;width:100%;height:100%}
  .siftal-editorial-hero-section .siftal-editorial-hero__img{position:static;width:100%;height:100%;object-fit:cover;object-position:50% 50%;opacity:1;filter:none}
  .siftal-editorial-hero-section .siftal-editorial-hero__ambient-left,.siftal-editorial-hero-section .siftal-editorial-hero__fade-bottom{display:none}
  .siftal-editorial-hero-section .siftal-editorial-hero__inner{order:1;padding-top:26px;padding-bottom:30px}
}
/* F13 product grids: two columns from 360px on every template, with the price above "View" so neither wraps. */
@media (max-width:480px){
  .mockup-product-grid,.product-grid,.siftal-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .product-card .product-card-info{padding:10px 10px 12px}
  .product-card .product-card-title{font-size:13.5px;line-height:1.3;-webkit-line-clamp:3;min-height:0}
  .product-card .product-card-bottom{flex-direction:column;align-items:flex-start;gap:4px}
  .product-card .product-card-price{font-size:13px;white-space:normal}
}
.product-mobile-view-link{display:inline-flex;align-items:center;min-height:44px}
.product-mobile-add-btn{min-width:44px;min-height:44px}
/* F21 chip rows: they scroll sideways, so the cut-off edge fades out and chips snap into place. */
@media (max-width:768px){
  .mockup-category-pills,.catalog-category-row{scroll-snap-type:x proximity;scroll-padding-inline:16px;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);padding-right:36px}
  .mockup-category-pills>*,.catalog-category-row>*{scroll-snap-align:start;min-height:44px}
}
/* "Add to Bag · $148.00 CAD" wrapped outside its button at 360px. */
.button-add-to-bag{height:auto;min-height:48px;white-space:normal;flex-wrap:wrap;justify-content:center;text-align:center;line-height:1.25}
/* F16 footer: links and the Back to Top button are 44px tap targets on phones. */
@media (max-width:768px){
  .siftal-footer-nav-list{gap:0}
  .siftal-footer-nav-list a,.siftal-footer-nav-list button{display:inline-flex;align-items:center;min-height:44px}
  .siftal-footer-bottom-row button,.siftal-footer-demo-card a,.portfolio-back-cta{min-height:44px;display:inline-flex;align-items:center}
}
/* Contrast: gold and grey text on the light backgrounds reaches 4.5:1 (3:1 for the large wordmark). */
.brand-wordmark{color:#8a6400!important}
.mockup-footer-logo .brand-wordmark{color:#fff!important}
.siftal-section-tag,.siftal-domain-tagline,.catalog-eyebrow,.siftal-story-accent-title,.siftal-story-tag,.product-eyebrow-tag,.tracking-demo-pill strong,.collection-header-eyebrow,.siftal-collection-eyebrow,.chapter-num,.support-sublink,.sticky-dock-price,.track-page strong,span>strong[style*="b8860b"]{color:#7d5a00!important}
.breadcrumbs a,.breadcrumbs span,.guarantee-row p,.siftal-story-pillar-item>span,.auth-tab,.auth-footer-note span,.demo-helper-text,.contact-guide-item small,.product-card-category,.confirm-item-meta,.text-stone-400{color:#5b6570!important}
.support-sublink{display:inline-flex;align-items:center;min-height:24px}
/* Breadcrumb links reach the 24px minimum target size (WCAG 2.5.8). */
.breadcrumbs a{display:inline-block;padding-block:4px}
/* The contact form's message placeholder used a monospace font, unlike every other field. */
.contact-unified-layout textarea,.contact-unified-layout textarea::placeholder{font-family:inherit}
/* Order references never break at their hyphens. */
p code{white-space:nowrap}
/* Homepage filter pills: one scrolling row on phones (the export's wrap turned the pill background into an oval). */
@media (max-width:768px){
  .mockup-category-pills-wrap{display:block}
  .mockup-category-pills-wrap .mockup-category-pills{display:flex;flex-wrap:nowrap;justify-content:flex-start;max-width:100%;overflow-x:auto}
}
/* Phones: Add to Bag gets its own full-width line under the quantity stepper and the wishlist heart. */
@media (max-width:480px){
  :has(>.button-add-to-bag){flex-wrap:wrap;row-gap:10px}
  :has(>.button-add-to-bag)>.wishlist-icon-btn{margin-left:auto}
  .button-add-to-bag{order:3;flex:1 1 100%;flex-wrap:nowrap;white-space:nowrap}
}
/* sbdemo-layout-fixes:end */
