/*
Theme Name: The Wichita Shop Starter
Theme URI: https://example.com/
Author: OpenAI
Description: A lightweight WooCommerce-ready starter theme for The Wichita Shop.
Version: 1.1.0
Text Domain: wichita-shop
*/

:root{
  --navy:#172C3A;
  --offwhite:#F8F5EE;
  --charcoal:#30363A;
  --red:#C83A4B;
  --muted:#DCE4E0;
  --white:#FFFFFF;
  --border:rgba(23,44,58,.16);
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--offwhite);color:var(--charcoal);font-family:Montserrat,Arial,sans-serif;line-height:1.6}
a{color:var(--navy);text-decoration:none}
a:hover{color:var(--red)}
img{max-width:100%;height:auto}
.container{width:min(92%,var(--max));margin:0 auto}

.site-header{position:sticky;top:0;z-index:30;background:rgba(248,245,238,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand-lockup{display:flex;align-items:center;gap:14px;color:var(--navy)}
.brand-mark{width:42px;height:42px;border:2px solid var(--navy);border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:18px;line-height:1}
.brand-name{font-family:Bitter,Georgia,serif;font-size:1.3rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700}
.site-logo img{max-height:56px;width:auto}
.main-nav ul{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}
.main-nav a{font-size:.9rem;text-transform:uppercase;letter-spacing:.08em;font-weight:600}
.header-actions{display:flex;align-items:center;gap:12px}
.cart-link{border:1px solid var(--navy);padding:9px 14px;border-radius:999px;font-size:.86rem}

.hero{padding:96px 0 76px;border-bottom:1px solid var(--border)}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:56px;align-items:center}
.eyebrow{font-size:.82rem;letter-spacing:.22em;text-transform:uppercase;color:var(--red);font-weight:700;margin-bottom:14px}
.hero h1,.section-title,.page-title{font-family:Bitter,Georgia,serif;color:var(--navy);line-height:1.06;margin:0}
.hero h1{font-size:clamp(3rem,7vw,6.6rem);letter-spacing:-.035em;max-width:780px}
.hero p{font-size:1.15rem;max-width:650px;margin:24px 0 30px}
.button-row{display:flex;flex-wrap:wrap;gap:12px}
.btn,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;background:var(--red)!important;color:#fff!important;border:none!important;border-radius:3px!important;padding:13px 20px!important;font-weight:700!important;letter-spacing:.04em;text-transform:uppercase;font-size:.84rem;transition:.2s ease}
.btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{transform:translateY(-1px);filter:brightness(.95)}
.btn.secondary{background:transparent!important;color:var(--navy)!important;border:1px solid var(--navy)!important}
.hero-card{background:var(--navy);color:var(--offwhite);min-height:420px;padding:40px;display:flex;flex-direction:column;justify-content:space-between;border-radius:2px}
.hero-card .medallion{width:96px;height:96px;border:3px solid var(--offwhite);border-radius:50%;display:grid;place-items:center;font-family:Bitter,Georgia,serif;font-size:2.1rem}
.hero-card h2{font-family:Bitter,Georgia,serif;font-size:2.4rem;line-height:1.1;margin:20px 0 10px}
.hero-card p{margin:0;color:rgba(248,245,238,.82)}

.section{padding:78px 0}
.section.alt{background:#fff}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}
.section-title{font-size:clamp(2rem,4vw,3.4rem)}
.section-copy{max-width:630px;margin:12px 0 0}
.text-link{font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.82rem}

.category-grid,.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.category-card,.feature-card{background:var(--offwhite);border:1px solid var(--border);padding:28px;min-height:210px;display:flex;flex-direction:column;justify-content:space-between}
.category-card h3,.feature-card h3{font-family:Bitter,Georgia,serif;color:var(--navy);font-size:1.5rem;margin:0 0 8px}
.category-card .number{font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--red);font-weight:700}
.feature-grid{grid-template-columns:repeat(3,1fr)}
.feature-card{background:#fff}
.feature-icon{width:46px;height:4px;background:var(--red);margin-bottom:30px}

.story-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:start}
.story-panel{background:var(--navy);color:var(--offwhite);padding:44px;min-height:330px}
.story-panel h3{font-family:Bitter,Georgia,serif;font-size:2.6rem;line-height:1.1;margin-top:0}
.story-copy h2{font-family:Bitter,Georgia,serif;color:var(--navy);font-size:clamp(2rem,4vw,3.6rem);line-height:1.08;margin-top:0}

.newsletter{background:var(--navy);color:var(--offwhite);padding:56px 0}
.newsletter-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}
.newsletter h2{font-family:Bitter,Georgia,serif;font-size:2.6rem;margin:0 0 10px}
.newsletter-form{display:flex;gap:10px}
.newsletter-form input{flex:1;min-width:0;padding:14px 16px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff}
.newsletter-form input::placeholder{color:rgba(255,255,255,.7)}

.site-footer{padding:48px 0 28px;border-top:1px solid var(--border)}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:40px}
.footer-grid h4{font-family:Bitter,Georgia,serif;color:var(--navy);margin:0 0 12px}
.footer-grid ul{list-style:none;margin:0;padding:0}
.footer-grid li{margin:6px 0}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--border);margin-top:36px;padding-top:20px;font-size:.84rem}

.page-wrap{padding:68px 0 86px}
.page-title{font-size:clamp(2.5rem,5vw,4.8rem);margin-bottom:22px}
.entry-content{max-width:850px}
.entry-content h2,.entry-content h3{font-family:Bitter,Georgia,serif;color:var(--navy)}

.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:24px!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--border);padding:14px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Bitter,Georgia,serif;color:var(--navy);font-size:1.25rem!important}
.woocommerce ul.products li.product .price{color:var(--charcoal)!important;font-weight:700}
.woocommerce span.onsale{background:var(--red)!important}

@media (max-width:900px){
  .hero-grid,.story-grid,.newsletter-grid{grid-template-columns:1fr}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .feature-grid{grid-template-columns:1fr}
  .main-nav{display:none}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
  .hero{padding:64px 0 54px}
  .category-grid{grid-template-columns:1fr}
  .woocommerce ul.products{grid-template-columns:1fr!important}
  .newsletter-form{flex-direction:column}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column}
  .brand-name{font-size:1rem}
}

/* Temporary visual hero — replace with real product photography when ready. */
.hero-placeholder-section{
  padding:0;
  border-bottom:1px solid var(--border);
  background:var(--offwhite);
}
.hero-placeholder-link{
  display:block;
  width:100%;
  overflow:hidden;
}
.hero-placeholder-image{
  display:block;
  width:100%;
  height:auto;
  margin:0;
}
@media (max-width:760px){
  .hero-placeholder-image{
    width:160%;
    max-width:none;
    margin-left:-30%;
  }
}
