/*
Theme Name: OUAI Rebuild
Author: SiteClone
Description: Editable storefront rebuilt with native WordPress and WooCommerce templates.
Version: 0.3.0
Requires PHP: 8.0
*/
/* Base storefront styles. Navigation behavior and responsive panels follow below. */
:root{--paper:#fffaf4;--ink:#2c140e;--line:#c9bbb0;--peach:#efc5ad;--pad:clamp(20px,4vw,72px)}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400;line-height:1.08}h1{font-size:clamp(38px,6vw,88px);letter-spacing:-.045em}h2{font-size:clamp(28px,3.2vw,48px);letter-spacing:-.035em}.skip-link{position:absolute;left:-999px}.skip-link:focus{left:10px;top:5px;z-index:100;background:white;padding:12px}.announcement{text-align:center;padding:8px 16px;background:var(--ink);color:var(--paper);font-size:11px;text-transform:uppercase;letter-spacing:.14em}.site-header{padding:24px var(--pad);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--line);gap:24px}.brand{font-size:clamp(34px,5vw,58px);font-weight:700;letter-spacing:-.075em;line-height:1}.main-nav,.header-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.header-actions{justify-content:flex-end}.main-nav ul{display:flex;gap:20px;list-style:none;padding:0;margin:0}.search-bar{padding:12px var(--pad);border-bottom:1px solid var(--line)}.search-bar form{display:flex;gap:8px;max-width:550px;margin:auto}.search-bar input[type=search]{width:100%;background:transparent;border:1px solid var(--ink);padding:10px}.search-bar button{border:1px solid var(--ink);background:var(--ink);color:var(--paper);padding:10px 20px}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:540px;background:var(--peach)}.hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(35px,6vw,100px)}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:.13em;margin-bottom:26px}.hero-copy p{max-width:360px}.hero-image{width:100%;height:100%;min-height:540px;object-fit:cover}.hero-placeholder{min-height:540px;background:#e4d7c9;display:flex;align-items:center;justify-content:center;font-size:100px;letter-spacing:-.08em}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-block-button__link{border-radius:0!important;background:var(--ink)!important;color:var(--paper)!important;border:1px solid var(--ink)!important;padding:14px 24px!important;line-height:1.2!important;font-weight:400!important;font-size:12px!important;text-transform:uppercase;letter-spacing:.06em}.button:hover{background:var(--paper)!important;color:var(--ink)!important;text-decoration:none}.section{padding:64px var(--pad)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:32px}.section-heading h2{margin:0}.section-heading a{text-transform:uppercase;font-size:12px;border-bottom:1px solid}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.category-card img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:#ede4da}.category-card h3{font-size:20px;margin-top:16px}.site-footer{padding:48px var(--pad) 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:start;gap:32px}.site-footer .brand{font-size:72px}.site-footer nav{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;text-transform:uppercase}.site-footer small{display:block;margin-top:20px}.content-area{padding:48px var(--pad);min-height:55vh}.woocommerce-products-header h1{font-size:clamp(40px,6vw,72px)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:100%!important;margin:0!important;display:flex;flex-direction:column}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:4/5;object-fit:cover;margin-bottom:18px;background:#f1e9df}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;text-transform:uppercase;letter-spacing:.01em;padding:0 0 8px}.woocommerce ul.products li.product .price{color:var(--ink);font-size:15px}.woocommerce ul.products li.product .button{margin-top:auto;text-align:center}.woocommerce span.onsale{background:var(--ink);border-radius:0;font-weight:400;line-height:1.2;min-height:0;padding:7px 10px}.woocommerce div.product .product_title{font-size:clamp(30px,4vw,52px)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink)}.woocommerce div.product form.cart .variations select{border:1px solid var(--ink);background:transparent;min-height:44px}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0;background:transparent}.woocommerce .quantity .qty{min-height:44px}.woocommerce-error,.woocommerce-info,.woocommerce-message{background:#f1e9df;color:var(--ink);border-top-color:var(--ink)}.woocommerce-message::before,.woocommerce-info::before{color:var(--ink)}.woocommerce table.shop_table{border-radius:0}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:12px;background:transparent;border:1px solid var(--line)}.woocommerce-MyAccount-navigation ul{padding:0;list-style:none}.woocommerce-MyAccount-navigation li{padding:12px 0;border-bottom:1px solid var(--line)}.siteclone-details{clear:both;margin:32px 0}.siteclone-details details{padding:18px 0;border-top:1px solid var(--line)}.siteclone-details summary{cursor:pointer;text-transform:uppercase}.siteclone-details .detail-content{padding-top:20px}.source-sizes{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.source-sizes a{border:1px solid var(--line);padding:8px 12px;font-size:12px}.empty-state{padding:48px 0;color:#68544a}.page-content{max-width:900px;margin:auto}.page-content h1{font-size:48px}@media(max-width:900px){.site-header{grid-template-columns:1fr auto}.brand{grid-column:1;grid-row:1}.header-actions{grid-column:2;grid-row:1}.main-nav{grid-column:1/-1;grid-row:2}.hero{grid-template-columns:1fr 1fr;min-height:400px}.hero-image,.hero-placeholder{min-height:400px}.category-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding:40px var(--pad)}}@media(max-width:560px){.hero{grid-template-columns:1fr}.hero-copy{padding:40px 24px}.hero-image,.hero-placeholder{min-height:0;max-height:420px;aspect-ratio:1/1}.main-nav,.header-actions{gap:14px;font-size:11px}.site-header{padding:18px 20px;gap:18px}.category-grid{gap:12px}.category-card h3{font-size:16px}.section-heading{align-items:start}.woocommerce ul.products{gap:24px 12px}.woocommerce ul.products li.product .button{font-size:10px!important;padding:12px 8px!important}.site-footer{flex-direction:column}.content-area{padding:28px 20px}}

/* Structured navigation rebuilt from source links and the supplied expanded-menu reference. */
.site-header{position:relative;z-index:40;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:22px 40px;gap:24px;background:var(--paper)}
.site-header .brand{grid-column:2;grid-row:1;display:block;font-size:0}
.site-header .brand img{display:block;width:104px;height:32px;object-fit:contain}
.navigation-shell{grid-column:1;grid-row:1;min-width:0}
.main-nav{gap:28px;flex-wrap:nowrap;font-size:13px;font-weight:700;letter-spacing:.015em}
.nav-disclosure,.mobile-menu-toggle{border:0;padding:0;background:transparent;color:inherit;text-transform:uppercase;font:inherit;letter-spacing:inherit;cursor:pointer;line-height:1.6}
.nav-disclosure[aria-expanded=true],.nav-disclosure:hover{text-decoration:underline;text-underline-offset:3px}
.header-actions{grid-column:3;grid-row:1;gap:28px;flex-wrap:nowrap;font-size:13px;font-weight:700;letter-spacing:.015em;white-space:nowrap}
.mobile-menu-toggle{display:none}
.mega-menu{position:absolute;top:100%;left:0;width:100%;padding:38px 16px 40px 40px;border-top:1px solid var(--ink);border-bottom:1px solid var(--line);background:var(--paper);max-height:calc(100dvh - 110px);overflow:auto;animation:menu-reveal 160ms ease-out both;overscroll-behavior:contain}
.mega-menu[hidden],.search-bar[hidden]{display:none!important}
.mega-layout{display:grid;grid-template-columns:minmax(300px,38%) minmax(0,1fr);gap:48px}
.mega-links{display:grid;grid-template-columns:160px 190px;gap:17px}
.mega-link-group h2{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:0;line-height:1.4;margin:4px 0 14px}
.mega-link-group ul{list-style:none;padding:0;margin:0}
.mega-link-group li{margin:0 0 12px}
.mega-link-group a{display:inline-block;max-width:190px;font-size:16px;line-height:1.4}
.mega-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}
.mega-card{display:block;min-width:0}
.mega-card img{display:block;width:100%;height:auto;aspect-ratio:518/673;object-fit:cover;background:#e8e0d7}
.mega-card span{display:block;margin-top:8px;font-size:14px;text-decoration:underline;text-underline-offset:2px}
.mega-layout-text{display:block;min-height:300px}
#menu-hair .mega-cards,#menu-body .mega-cards{grid-template-columns:minmax(0,260px)}
.search-bar{position:relative;z-index:30;background:var(--paper)}
.nav-disclosure:focus-visible,.mobile-menu-toggle:focus-visible,.mega-menu a:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@keyframes menu-reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px) and (min-width:901px){
  .site-header{padding-left:24px;padding-right:24px;gap:18px}
  .main-nav,.header-actions{gap:16px;font-size:12px}
  .mega-layout{grid-template-columns:35% minmax(0,1fr);gap:24px}
  .mega-links{grid-template-columns:1fr 1fr;gap:16px}
}
@media(max-width:900px){
  .site-header{grid-template-columns:1fr auto 1fr;padding:18px 20px;gap:16px 12px}
  .site-header .brand{grid-column:2;grid-row:1}
  .site-header .brand img{width:84px;height:28px}
  .mobile-menu-toggle{display:block;grid-column:1;grid-row:1;justify-self:start;font-size:12px;font-weight:700}
  .header-actions{grid-column:3;grid-row:1;font-size:11px;gap:14px}
  .header-actions .account-link{display:none}
  .navigation-shell{grid-column:1/-1;grid-row:2;width:100%}
  .has-storefront-js .navigation-shell{display:none}
  .is-mobile-open .navigation-shell{display:block}
  .main-nav{grid-column:auto;grid-row:auto;display:flex;gap:24px;justify-content:flex-start;font-size:12px;padding:8px 0;flex-wrap:wrap}
  .mega-menu{position:static;padding:24px 0 12px;border-top:1px solid var(--line);border-bottom:0;max-height:calc(100dvh - 175px)}
  .mega-layout{display:block}
  .mega-links{grid-template-columns:1fr 1fr;gap:16px}
  .mega-link-group a{font-size:14px;max-width:100%}
  .mega-cards{margin-top:24px;gap:8px}
  .mega-card span{font-size:11px;line-height:1.4}
  .mega-layout-text{min-height:0}
  #menu-hair .mega-cards,#menu-body .mega-cards{grid-template-columns:minmax(0,180px)}
}
@media(prefers-reduced-motion:reduce){
  .mega-menu{animation:none}
  .nav-disclosure,.mega-menu a,.mega-menu img{transition:none;scroll-behavior:auto}
}
.announcement{padding:4px 16px;line-height:1.4}
.mobile-account-link{display:none}
@media(max-width:900px){.mobile-account-link{display:block;padding-top:16px;font-size:12px;text-transform:uppercase;text-decoration:underline}}
/* Product card image swap on hover. */
.woocommerce ul.products li.product .sc-card-media{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;margin-bottom:18px;background:#f1e9df}
.woocommerce ul.products li.product .sc-card-media>img{position:relative;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;margin:0;display:block}
.woocommerce ul.products li.product .sc-card-media>img.sc-card-image--hover{position:absolute;inset:0;opacity:0;transition:opacity 160ms ease;z-index:1}
.woocommerce ul.products li.product:hover .sc-card-media>img.sc-card-image--hover,.woocommerce ul.products li.product:focus-within .sc-card-media>img.sc-card-image--hover{opacity:1}
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{position:relative;display:block}
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link>img.sc-card-image--hover{position:absolute;inset:0;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;opacity:0;transition:opacity 160ms ease;z-index:1;pointer-events:none}
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link:hover>img.sc-card-image--hover,.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link:focus>img.sc-card-image--hover{opacity:1}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0ms!important;scroll-behavior:auto!important}}

/* Shared source typography and native catalog controls. */
@font-face{font-family:"Sofia Pro";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/sofia-pro-regular.otf") format("opentype")}
@font-face{font-family:"Sofia Pro";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/sofia-pro-bold.otf") format("opentype")}
body{font-family:"Sofia Pro",Arial,sans-serif}
.woocommerce-products-header h1{text-transform:uppercase;letter-spacing:-.025em;font-size:clamp(32px,4vw,56px)}
.woocommerce-products-header .term-description{max-width:760px;font-size:15px;line-height:1.6}
.woocommerce .woocommerce-result-count{font-size:13px;margin-bottom:24px;line-height:44px}
.woocommerce .woocommerce-ordering{max-width:100%;margin-bottom:24px}
.woocommerce .woocommerce-ordering select{display:block;width:100%;max-width:100%;min-height:44px;border:1px solid var(--line);border-radius:0;background-color:var(--paper);color:var(--ink);padding:10px 36px 10px 12px;font-size:13px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%232c140e' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}
.woocommerce ul.products li.product a img,.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link>img.sc-card-image--hover{aspect-ratio:1440/1780}
.woocommerce nav.woocommerce-pagination{margin-top:40px;clear:both}
.woocommerce nav.woocommerce-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);padding:10px;background:transparent;color:var(--ink);font-size:14px}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--ink);color:var(--paper);border-color:var(--ink)}
@media(max-width:560px){.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;width:100%;margin-bottom:16px}.woocommerce .woocommerce-result-count{line-height:1.5}.woocommerce nav.woocommerce-pagination{margin-top:28px}}

/* Footer retains local shopping/account links; marketing services are outside project scope. */
.site-footer.sc-store-footer{display:block;background:#332a25;color:var(--paper);padding:60px 60px 32px;border:0}
.sc-footer-heading{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:start;margin-bottom:60px}
.sc-store-footer .brand{display:block;max-width:550px}
.sc-store-footer .brand img{display:block;width:100%;height:auto;filter:brightness(0) invert(1)}
.sc-footer-heading>p{font-size:clamp(28px,3.2vw,44px);line-height:1.02;margin:0;max-width:580px;letter-spacing:-.02em}
.sc-footer-links{display:flex;flex-wrap:wrap;gap:60px 100px;margin-bottom:60px}
.sc-store-footer .sc-footer-links nav{display:flex;flex-direction:column;align-items:start;gap:12px;font-size:14px;text-transform:none}
.sc-footer-links h2{font-size:13px;font-weight:700;line-height:1.4;letter-spacing:.01em;text-transform:uppercase;margin:0 0 8px}
.sc-store-footer small{font-size:11px;text-transform:uppercase}
@media(max-width:760px){.site-footer.sc-store-footer{padding:40px 20px 24px}.sc-footer-heading{grid-template-columns:1fr;gap:32px;margin-bottom:40px}.sc-store-footer .brand{max-width:360px}.sc-footer-heading>p{max-width:380px;font-size:30px}.sc-footer-links{gap:40px 60px;margin-bottom:40px}}
