/*
Theme Name: Parishe
Author: Parishe
Description: A custom WooCommerce theme for Parishe, an eastern wear clothing brand. Warm ivory palette, deep maroon accent, elegant serif display type.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parishe
*/

:root{
  --ink:#2b1e1d;
  --paper:#f6f1e9;
  --surface:#efe4d5;
  --line:#e1d5c2;
  --maroon:#7a2e2e;
  --maroon-deep:#5c2222;
  --gold:#b8925a;
  --muted:#7d6f66;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);color:var(--ink);
  font-family:'Jost',sans-serif;font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px;}
.serif{font-family:'Cormorant Garamond',serif;}
:focus-visible{outline:2px solid var(--maroon);outline-offset:3px;}
@media (prefers-reduced-motion: reduce){*{animation-duration:.001ms !important;transition-duration:.001ms !important;}}

/* ---------- HEADER ---------- */
.site-header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line);}
.nav-row{display:flex;align-items:center;justify-content:space-between;height:86px;gap:24px;}
.logo{font-family:'Cormorant Garamond',serif;font-weight:600;font-size:1.9rem;letter-spacing:0.03em;}
.logo img{max-height:60px;width:auto;}
.primary-nav .menu{display:flex;gap:34px;}
.primary-nav .menu a{font-size:0.9rem;color:var(--muted);position:relative;padding-bottom:4px;}
.primary-nav .menu a:hover{color:var(--ink);}
.primary-nav .menu li a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--maroon);transition:width .25s ease;}
.primary-nav .menu li a:hover::after{width:100%;}
.nav-icons{display:flex;gap:20px;align-items:center;}
.nav-icons a{font-size:0.88rem;}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;}
.menu-toggle span{display:block;width:22px;height:1px;background:var(--ink);margin:6px 0;}

/* ---------- HERO ---------- */
.hero{display:grid;grid-template-columns:0.95fr 1.1fr;min-height:620px;}
.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:64px 68px;}
.hero-media{position:relative;overflow:hidden;background:var(--surface);}
.hero-media img{width:100%;height:100%;object-fit:cover;}
.hero-label{font-size:0.85rem;letter-spacing:0.12em;color:var(--maroon);margin-bottom:22px;font-style:italic;}
.hero-copy h1{font-family:'Cormorant Garamond',serif;font-weight:500;
  font-size:clamp(2.5rem,4.2vw,3.8rem);line-height:1.1;max-width:12ch;margin-bottom:24px;}
.hero-copy p{color:var(--muted);max-width:38ch;margin-bottom:34px;font-size:1.02rem;}
.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;}
.btn-solid{background:var(--maroon);color:var(--paper);padding:14px 32px;font-size:0.92rem;
  border:1px solid var(--maroon);transition:background .2s ease,color .2s ease;display:inline-block;}
.btn-solid:hover{background:transparent;color:var(--maroon);}
.link-underline{font-size:0.92rem;border-bottom:1px solid var(--line);padding-bottom:2px;transition:border-color .2s ease;}
.link-underline:hover{border-color:var(--maroon);}

/* ---------- CURVE DIVIDER ---------- */
.curve-divider{display:block;width:100%;height:60px;}
.curve-divider path{fill:var(--surface);}

/* ---------- VALUE STRIP ---------- */
.value-strip{background:var(--surface);}
.value-row{display:grid;grid-template-columns:repeat(3,1fr);}
.value-item{padding:34px 30px;text-align:center;border-left:1px solid var(--line);}
.value-item:first-child{border-left:none;}
.value-item h4{font-family:'Cormorant Garamond',serif;font-weight:600;font-size:1.05rem;margin-bottom:4px;}
.value-item p{color:var(--muted);font-size:0.86rem;}

/* ---------- SECTIONS ---------- */
.section{padding:100px 0;}
.section-head{text-align:center;max-width:560px;margin:0 auto 52px;}
.section-head span.eyebrow{font-size:0.82rem;color:var(--maroon);letter-spacing:0.1em;display:block;margin-bottom:14px;font-style:italic;}
.section-head h2{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(1.9rem,3.4vw,2.6rem);margin-bottom:14px;}
.section-head p{color:var(--muted);font-size:0.96rem;}

/* ---------- PRODUCT SCROLLER ---------- */
.scroller{display:flex;gap:26px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none;}
.scroller::-webkit-scrollbar{display:none;}
.product-card{flex:0 0 250px;}
.product-media{aspect-ratio:3/4;overflow:hidden;background:var(--surface);margin-bottom:14px;position:relative;}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.product-card:hover .product-media img{transform:scale(1.045);}
.product-name{font-size:0.95rem;margin-bottom:4px;border-bottom:1px solid transparent;display:inline-block;transition:border-color .2s ease;}
.product-card:hover .product-name{border-color:var(--maroon);}
.product-price .price{color:var(--muted);font-size:0.88rem;}
.product-price .price ins{text-decoration:none;color:var(--maroon);}
.product-price .price del{opacity:0.6;margin-right:6px;}

/* ---------- EDITORIAL BANNER ---------- */
.editorial{position:relative;height:520px;overflow:hidden;}
.editorial img{width:100%;height:100%;object-fit:cover;}
.editorial-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(43,30,29,0.32);text-align:center;padding:32px;}
.editorial-overlay div{max-width:600px;color:#fbf7f2;}
.editorial-overlay p{font-family:'Cormorant Garamond',serif;font-style:italic;font-weight:500;
  font-size:clamp(1.5rem,2.8vw,2.2rem);line-height:1.35;}
.editorial-overlay span{display:block;margin-top:20px;font-size:0.85rem;letter-spacing:0.08em;opacity:0.9;}

/* ---------- CATEGORY GRID ---------- */
.cat-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;grid-auto-rows:340px;gap:20px;}
.cat-tile{position:relative;overflow:hidden;background:var(--surface);}
.cat-tile:first-child{grid-row:1/3;}
.cat-tile img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.cat-tile:hover img{transform:scale(1.05);}
.cat-tile figcaption{position:absolute;left:0;bottom:0;right:0;padding:26px;
  background:linear-gradient(to top, rgba(43,30,29,0.6), rgba(43,30,29,0));color:#fbf7f2;}
.cat-tile figcaption .serif{font-size:1.4rem;}
.cat-tile figcaption span.link{display:inline-block;font-size:0.82rem;margin-top:6px;border-bottom:1px solid rgba(251,247,242,0.6);padding-bottom:2px;}

/* ---------- TESTIMONIALS ---------- */
.testimonials{background:var(--surface);}
.testi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0;}
.testi{padding:56px 44px;border-left:1px solid var(--line);text-align:center;}
.testi:first-child{border-left:none;}
.testi p.serif{font-style:italic;font-size:1.2rem;line-height:1.5;margin-bottom:18px;}
.testi span{font-size:0.84rem;color:var(--muted);letter-spacing:0.04em;}

/* ---------- NEWSLETTER ---------- */
.newsletter{background:var(--maroon);color:var(--paper);text-align:center;padding:90px 32px;}
.newsletter h2{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(1.8rem,3.2vw,2.4rem);margin-bottom:14px;}
.newsletter p{opacity:0.85;margin-bottom:32px;}
.newsletter-form{display:flex;justify-content:center;max-width:420px;margin:0 auto;border-bottom:1px solid rgba(251,247,242,0.5);}
.newsletter-form input{flex:1;border:none;background:none;padding:12px 4px;font-size:0.96rem;
  font-family:'Jost',sans-serif;color:var(--paper);}
.newsletter-form input::placeholder{color:rgba(251,247,242,0.6);}
.newsletter-form button{border:none;background:none;color:var(--paper);font-size:0.92rem;cursor:pointer;
  padding:12px 6px;border-bottom:1px solid transparent;}
.newsletter-form button:hover{border-color:var(--paper);}

/* ---------- FOOTER ---------- */
.site-footer{padding:76px 0 30px;}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:46px;padding-bottom:52px;}
.footer-brand p{color:var(--muted);max-width:28ch;margin-top:14px;font-size:0.9rem;}
.footer-col h4{font-family:'Cormorant Garamond',serif;font-size:1.02rem;margin-bottom:16px;}
.footer-col ul{display:flex;flex-direction:column;gap:9px;}
.footer-col a{font-size:0.9rem;color:var(--muted);}
.footer-col a:hover{color:var(--maroon);}
.footer-bottom{border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;
  color:var(--muted);font-size:0.82rem;flex-wrap:wrap;gap:10px;}

/* ---------- GENERIC PAGE CONTENT ---------- */
.generic-content{padding:70px 0;max-width:800px;margin:0 auto;}
.generic-content h1{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:2.4rem;margin-bottom:24px;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:920px){
  .primary-nav{display:none;position:absolute;top:86px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:20px 32px;}
  .primary-nav.open{display:block;}
  .primary-nav .menu{flex-direction:column;gap:16px;}
  .menu-toggle{display:block;}
  .hero{grid-template-columns:1fr;min-height:auto;}
  .hero-media{height:420px;order:-1;}
  .hero-copy{padding:48px 26px;text-align:center;align-items:center;}
  .hero-copy p{margin-left:auto;margin-right:auto;}
  .value-row{grid-template-columns:1fr;}
  .value-item{border-left:none;border-top:1px solid var(--line);}
  .value-item:first-child{border-top:none;}
  .cat-grid{grid-template-columns:1fr 1fr;grid-auto-rows:220px;}
  .cat-tile:first-child{grid-row:auto;grid-column:1/3;height:280px;}
  .testi-row{grid-template-columns:1fr;}
  .testi{border-left:none;border-top:1px solid var(--line);}
  .testi:first-child{border-top:none;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .wrap{padding:0 20px;}
  .footer-grid{grid-template-columns:1fr;}
  .editorial{height:420px;}
  .cat-grid{grid-template-columns:1fr;}
  .cat-tile:first-child{grid-column:auto;}
}
