/*
Theme Name: Plotah Fresh Shop
Theme URI: https://plotah.in/
Author: OpenAI
Description: Clean WooCommerce-focused theme for Plotah with a fresh homepage showing your logo and latest products only.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: plotah-fresh-shop
*/

:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#666666;
  --line:#e9e9e9;
  --soft:#f6f6f6;
  --brand:#c8102e;
  --brand-dark:#a20d25;
  --dark:#0f0f10;
  --radius:18px;
  --container:min(1240px, calc(100% - 32px));
  --shadow:0 10px 30px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{padding-left:1.2rem}
.container{width:var(--container);margin:0 auto}
.screen-reader-text{position:absolute;left:-9999px}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.top-strip{
  background:var(--dark);
  color:#fff;
  text-align:center;
  font-size:13px;
  padding:8px 12px;
  letter-spacing:.04em;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; min-height:78px;
}
.branding{
  display:flex; align-items:center; gap:14px; min-width:180px;
}
.custom-logo{max-height:52px; width:auto}
.site-title{
  font-size:28px; font-weight:800; letter-spacing:.12em;
}
.site-title a{color:var(--text)}
.site-description{
  color:var(--muted); font-size:13px; margin-top:-6px
}
.main-navigation{margin-left:auto}
.main-navigation ul{
  margin:0; padding:0; list-style:none; display:flex; gap:22px; align-items:center;
}
.main-navigation li{position:relative}
.main-navigation a{
  display:block; padding:10px 0; font-size:15px; font-weight:600;
}
.main-navigation a:hover{color:var(--brand)}
.header-actions{
  display:flex; align-items:center; gap:12px;
}
.header-icon-link{
  padding:10px 12px; border:1px solid var(--line); border-radius:999px;
  font-size:14px; background:#fff;
}
.header-icon-link:hover{border-color:var(--brand); color:var(--brand)}
.mobile-toggle{
  display:none; border:1px solid var(--line); background:#fff;
  border-radius:12px; padding:10px 12px; font-weight:700;
}

/* Hero */
.hero{
  padding:64px 0 36px;
  background:linear-gradient(180deg,#fbfbfb 0%, #ffffff 100%);
}
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:28px; align-items:stretch;
}
.hero-copy, .hero-card{
  border:1px solid var(--line); border-radius:28px; background:#fff; box-shadow:var(--shadow);
}
.hero-copy{
  padding:56px;
  background:
    radial-gradient(circle at top right, rgba(200,16,46,.08), transparent 28%),
    linear-gradient(180deg,#fff 0%, #fcfcfc 100%);
}
.hero-eyebrow{
  display:inline-block; padding:8px 12px; border-radius:999px; background:#f8e9ed;
  color:var(--brand); font-weight:700; font-size:13px; letter-spacing:.06em; text-transform:uppercase;
}
.hero h1{
  margin:18px 0 12px; font-size:clamp(36px,5vw,64px); line-height:1.02; letter-spacing:-.03em;
}
.hero p{
  margin:0 0 26px; color:var(--muted); max-width:620px; font-size:18px;
}
.hero-actions{
  display:flex; gap:14px; flex-wrap:wrap; margin-bottom:24px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 22px; border-radius:999px; font-weight:700; transition:.2s ease;
}
.btn-primary{
  background:var(--brand); color:#fff;
}
.btn-primary:hover{background:var(--brand-dark)}
.btn-secondary{
  background:#fff; border:1px solid var(--line);
}
.btn-secondary:hover{border-color:var(--brand); color:var(--brand)}
.hero-meta{
  display:flex; gap:18px; flex-wrap:wrap; color:var(--muted); font-size:14px;
}
.hero-card{
  padding:28px;
  display:flex; flex-direction:column; justify-content:space-between;
  min-height:100%;
}
.hero-card-badge{
  display:inline-block; font-size:12px; font-weight:800; letter-spacing:.06em;
  text-transform:uppercase; color:var(--brand);
}
.hero-card h3{font-size:28px; margin:10px 0}
.hero-card p{margin:0 0 18px; color:var(--muted)}
.hero-card-list{
  display:grid; gap:12px; margin-top:8px;
}
.hero-card-item{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border:1px solid var(--line); border-radius:16px; background:var(--soft);
}
.hero-card-item span:last-child{color:var(--muted)}

/* Features */
.features{
  padding:8px 0 12px;
}
.features-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
}
.feature{
  border:1px solid var(--line); border-radius:20px; padding:22px; background:#fff;
  display:flex; gap:14px; align-items:flex-start;
}
.feature-icon{
  width:44px; height:44px; border-radius:14px; background:#f8e9ed; color:var(--brand);
  display:grid; place-items:center; font-size:20px; flex:0 0 auto;
}
.feature h3{
  margin:0 0 6px; font-size:18px;
}
.feature p{
  margin:0; color:var(--muted); font-size:14px;
}

/* Section headings */
.section{
  padding:42px 0;
}
.section-heading{
  display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:20px;
}
.section-heading h2{
  margin:0; font-size:clamp(28px,3vw,42px); letter-spacing:-.03em;
}
.section-heading p{
  margin:8px 0 0; color:var(--muted);
}
.section-link{
  color:var(--brand); font-weight:700;
}

/* Product grid */
.plotah-products{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px;
}
.product-card{
  border:1px solid var(--line); border-radius:22px; overflow:hidden; background:#fff;
  box-shadow:var(--shadow); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover{
  transform:translateY(-4px); border-color:#dcdcdc; box-shadow:0 16px 40px rgba(0,0,0,.09);
}
.product-thumb-wrap{
  position:relative; background:#f8f8f8; aspect-ratio:4/5; overflow:hidden;
}
.product-thumb-wrap img{
  width:100%; height:100%; object-fit:contain; padding:10px;
}
.product-card-body{
  padding:16px 16px 18px;
}
.product-title{
  margin:0 0 8px; font-size:17px; line-height:1.35;
}
.product-title a:hover{color:var(--brand)}
.product-price{
  color:var(--brand); font-weight:800; margin-bottom:14px; font-size:18px;
}
.product-price del{color:var(--muted); font-weight:500; margin-right:6px}
.product-actions .button,
.product-actions a.button,
.product-actions .added_to_cart{
  display:inline-flex; justify-content:center; align-items:center;
  padding:12px 16px; border-radius:999px; background:var(--brand); color:#fff;
  font-weight:700; font-size:14px;
}
.product-actions .button:hover,
.product-actions a.button:hover{background:var(--brand-dark)}
.product-actions .added_to_cart{
  background:#fff; color:var(--brand); border:1px solid var(--brand); margin-left:8px;
}
.no-products{
  padding:22px; border:1px dashed var(--line); border-radius:18px; color:var(--muted);
  background:#fafafa;
}

/* Banner */
.mid-banner{
  padding:12px 0 22px;
}
.mid-banner-inner{
  border-radius:28px; background:linear-gradient(135deg,#101010 0%, #27272a 100%);
  color:#fff; padding:38px; display:grid; grid-template-columns:1.2fr .8fr; gap:18px; align-items:center;
}
.mid-banner h2{margin:0 0 10px; font-size:clamp(28px,4vw,46px); line-height:1.02}
.mid-banner p{margin:0; color:rgba(255,255,255,.8)}
.banner-pill{
  display:inline-block; margin-bottom:12px; background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18); padding:8px 12px; border-radius:999px; font-size:13px; font-weight:700;
}
.banner-box{
  justify-self:end; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.05);
  border-radius:22px; padding:22px; min-width:240px;
}
.banner-box strong{display:block; font-size:32px; margin-bottom:4px}
.banner-box span{color:rgba(255,255,255,.8)}

/* Footer */
.site-footer{
  background:#0f0f10; color:#fff; margin-top:36px;
}
.footer-upper{
  padding:34px 0; border-bottom:1px solid rgba(255,255,255,.09)
}
.footer-grid{
  display:grid; grid-template-columns:1.3fr .7fr .7fr; gap:26px;
}
.footer-title{
  margin:0 0 14px; font-size:18px;
}
.footer-text, .footer-links a{
  color:rgba(255,255,255,.72);
}
.footer-links{
  display:grid; gap:10px;
}
.footer-links a:hover{color:#fff}
.footer-lower{
  padding:18px 0; color:rgba(255,255,255,.65); font-size:14px;
}

/* Pages */
.page-content, .entry-content{
  width:var(--container); margin:36px auto;
}
.page-header{
  width:var(--container); margin:26px auto 0;
}
.page-title{
  margin:0; font-size:42px;
}

/* WooCommerce general */
.woocommerce .quantity,
.woocommerce-page .quantity{display:inline-block}
.woocommerce div.product div.images img{
  width:100%; height:auto; object-fit:contain; background:#fafafa; border-radius:18px;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  border:1px solid var(--line); border-radius:22px; padding:14px; background:#fff;
  box-shadow:var(--shadow);
}
.woocommerce ul.products li.product a img{
  background:#f8f8f8; border-radius:16px; aspect-ratio:4/5; object-fit:contain; padding:10px;
}
.woocommerce span.onsale{
  background:var(--brand)!important; border-radius:999px!important; min-height:auto!important; min-width:auto!important;
  padding:8px 12px!important; line-height:1.2!important; top:12px!important; left:12px!important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit{
  border-radius:999px!important; background:var(--brand)!important; color:#fff!important; padding:14px 18px!important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover{
  background:var(--brand-dark)!important;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error{
  border-radius:16px;
}
.woocommerce ul.products li.product .price{
  color:var(--brand)!important; font-weight:800!important;
}

/* Responsive */
@media (max-width: 1024px){
  .hero-grid, .mid-banner-inner, .footer-grid{grid-template-columns:1fr}
  .plotah-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .features-grid{grid-template-columns:1fr}
  .banner-box{justify-self:start}
}
@media (max-width: 840px){
  .main-navigation{display:none; width:100%}
  .main-navigation.open{display:block}
  .header-inner{flex-wrap:wrap; padding:12px 0}
  .main-navigation ul{flex-direction:column; align-items:flex-start; gap:0; padding:12px 0 6px}
  .main-navigation a{padding:12px 0; width:100%}
  .mobile-toggle{display:inline-flex}
}
@media (max-width: 640px){
  .hero-copy{padding:32px 22px}
  .hero-card{padding:22px}
  .plotah-products{grid-template-columns:1fr}
  .section-heading{flex-direction:column; align-items:flex-start}
  .site-title{font-size:22px}
  .top-strip{font-size:12px}
}
