/* Fabric Store v0.5.3 — storefront readability and simplified product page */

/* Dark mode typography: no brown-on-brown headings */
html[data-theme="dark"] body .v037-intent>div:first-child h2,
html[data-theme="dark"] body .v037-intent>div:first-child h1,
html[data-theme="dark"] body .v037-intent .v037-section-head h2{
  color:#f7efe9!important;text-shadow:none!important;opacity:1!important;
}
html[data-theme="dark"] body .v037-intent>div:first-child .eyebrow{color:#d6907e!important}
html[data-theme="dark"] body .v037-intent>div:first-child p{color:#d0beb3!important}

/* Intent cards stay textile-dark, never near-black or white */
html[data-theme="dark"] body .intent-grid a{background:#302a27!important;border-color:#5a4b43!important;color:#f5ede7!important}
html[data-theme="dark"] body .intent-grid a:nth-child(1){background:#332c2a!important}
html[data-theme="dark"] body .intent-grid a:nth-child(2){background:#2e302b!important}
html[data-theme="dark"] body .intent-grid a:nth-child(3){background:#302b31!important}
html[data-theme="dark"] body .intent-grid a:nth-child(4){background:#342e28!important}
html[data-theme="dark"] body .intent-grid a b{color:#f7efe9!important}
html[data-theme="dark"] body .intent-grid a p{color:#cebcb1!important}

/* Product page: remove the big specification table. Only real filled attributes are shown compactly. */
body .product-facts{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:22px 0 6px!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body .product-facts>div{
  display:inline-flex!important;align-items:baseline!important;gap:7px!important;max-width:100%!important;
  padding:9px 11px!important;border:1px solid var(--s52-line)!important;border-radius:10px!important;
  background:var(--s52-card2)!important;color:var(--s52-text)!important;
}
body .product-facts span{font-size:9px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:var(--s52-muted)!important;white-space:nowrap!important}
body .product-facts b{font-size:12px!important;color:var(--s52-text)!important;font-weight:700!important;overflow-wrap:anywhere!important}
html[data-theme="dark"] body .product-facts>div{background:#302a27!important;border-color:#5b4b43!important;color:#f5ede7!important}
html[data-theme="dark"] body .product-facts b{color:#f7efe9!important}
html[data-theme="dark"] body .product-facts span{color:#bfaea4!important}

/* Imported descriptions sometimes contain dark legacy text — force readable editorial text */
body .product-info .lead{color:var(--s52-muted)!important}
html[data-theme="dark"] body .product-info .lead{color:#cdbbb0!important}
html[data-theme="dark"] body .product-info .lead strong,
html[data-theme="dark"] body .product-info .lead b{color:#f5ede7!important}

/* Product buy area: no white island in dark mode */
html[data-theme="dark"] body .buybox{background:#302a27!important;border-color:#5b4b43!important;color:#f5ede7!important}
html[data-theme="dark"] body .buybox input{background:#3a322e!important;color:#f7efe9!important;border-color:#635248!important}

/* Newsletter/footer readability */
html[data-theme="dark"] body .newsletter{background:#2d2825!important;border-color:#584a43!important}
html[data-theme="dark"] body .newsletter h2{color:#f7efe9!important}
html[data-theme="dark"] body .footer b,html[data-theme="dark"] body .footer strong,html[data-theme="dark"] body .footer a{color:#f5ede7!important}
html[data-theme="dark"] body .footer p,html[data-theme="dark"] body .footer span{color:#c7b5aa!important}
