/*
Theme Name: Aeran Bazaar
Theme URI: https://aeranbazaar.in
Author: Aeran Bazaar
Author URI: https://aeranbazaar.in
Description: Custom storefront theme for Aeran Bazaar — an agri-inputs e-commerce site (fertilizers, pesticides, growth regulators, and equipment). Ported from a standalone HTML/CSS/JS prototype into a WordPress theme shell for testing on WordPress hosting. Cart, checkout, product pages, and order tracking run client-side in JavaScript, same as the original prototype; wire them to a real backend/payment gateway before taking real orders. See README.md in this theme folder for setup notes.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aeran-bazaar
*/

/* ===========================================================
   Everything below this line is the site's actual visual design
   (colors, layout, components) — enqueued via functions.php.
   This file doubles as the theme's required style.css AND the
   main stylesheet, which is a common and valid WordPress pattern.
   =========================================================== */

:root{
    --soil-black:#152922;
    --field-cream:#f6f8f5;
    --leaf-deep:#1e6b45;
    --leaf-mid:#3f8f63;
    --wheat-gold:#c99a35;
    --rust-tag:#b6552e;
    --paper:#ffffff;
    --line:#dfe5dd;
    --card-bg:#ffffff;
    --shadow: 0 1px 3px rgba(21,41,34,0.09), 0 1px 2px rgba(21,41,34,0.05);
    --shadow-lg: 0 12px 28px rgba(21,41,34,0.14), 0 2px 8px rgba(21,41,34,0.06);
    --radius: 8px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{
    background: var(--field-cream);
    color: var(--soil-black);
    font-family:'Work Sans', sans-serif;
    line-height:1.5;
  }
  h1,h2,h3{font-family:'Fraunces', serif; font-weight:600; letter-spacing:-0.01em;}
  .mono{font-family:'Space Mono', monospace;}
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
  button{font-family:inherit; cursor:pointer; border:none;}

  /* ===== TOP BAR ===== */
  .topbar{
    background: var(--soil-black);
    color: var(--field-cream);
    font-family:'Space Mono', monospace;
    font-size:12px;
    letter-spacing:0.04em;
  }
  .topbar .wrap{display:flex; justify-content:space-between; padding:7px 28px; opacity:0.85;}

  /* ===== HEADER ===== */
  header{
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 4px rgba(21,41,34,0.05);
    position:sticky; top:0; z-index:40;
  }
  .headerbar{display:flex; align-items:center; justify-content:space-between; padding:18px 28px;}
  .brand{display:flex; align-items:center; gap:12px;}
  .brand-mark{
    width:42px; height:42px; border-radius:10px;
    background: var(--leaf-deep);
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-family:'Fraunces',serif; font-weight:700; font-size:20px;
  }
  .brand-name{font-size:22px; line-height:1.1;}
  .brand-sub{font-family:'Space Mono',monospace; font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--leaf-mid);}
  nav{display:flex; gap:30px; font-size:14.5px; font-weight:500;}
  nav a{position:relative; padding:4px 0;}
  nav a:hover{color:var(--leaf-deep);}
  .header-actions{display:flex; align-items:center; gap:18px;}
  .search-box{
    display:flex; align-items:center; border:1px solid var(--line); border-radius:var(--radius);
    background:#fff; overflow:hidden;
  }
  .search-box input{border:none; outline:none; padding:8px 10px; font-family:'Work Sans'; font-size:13.5px; width:170px; background:transparent;}
  .search-box button{background:var(--leaf-deep); color:#fff; padding:8px 12px; font-size:13px;}
  .cart-btn{
    display:flex; align-items:center; gap:8px; background:var(--leaf-deep); color:#fff;
    padding:9px 16px; border-radius:var(--radius); font-weight:600; font-size:13.5px; box-shadow: var(--shadow);
  }
  .cart-count{background:var(--wheat-gold); color:var(--soil-black); border-radius:50%; width:19px; height:19px; display:flex; align-items:center; justify-content:center; font-size:11px; font-family:'Space Mono'; font-weight:700;}

  /* ===== HERO ===== */
  .hero{
    background: linear-gradient(120deg, var(--soil-black) 0%, var(--leaf-deep) 62%, var(--leaf-mid) 130%);
    color: var(--field-cream);
    position:relative; overflow:hidden;
  }
  .hero .wrap{padding:72px 28px 60px; display:grid; grid-template-columns:1.15fr 0.85fr; gap:40px; align-items:center; position:relative; z-index:2;}
  @keyframes heroFade{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);} }
  #heroContent, #heroLedger{animation: heroFade 0.5s ease;}
  .hero-arrow{
    position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%;
    background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.28); color:var(--field-cream);
    font-size:20px; display:flex; align-items:center; justify-content:center; z-index:5; transition:background 0.2s;
  }
  .hero-arrow:hover{background:rgba(255,255,255,0.22);}
  .hero-arrow.left{left:18px;}
  .hero-arrow.right{right:18px;}
  .hero-dots{display:flex; justify-content:center; gap:9px; padding-bottom:20px; position:relative; z-index:2;}
  .hero-dot{width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.28); border:none; cursor:pointer; padding:0;}
  .hero-dot.active{background:var(--wheat-gold); width:22px; border-radius:5px; transition:width 0.25s ease;}
  .eyebrow{
    font-family:'Space Mono',monospace; font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--wheat-gold); display:flex; align-items:center; gap:8px; margin-bottom:16px;
  }
  .eyebrow::before{content:''; width:22px; height:1.5px; background:var(--wheat-gold);}
  .hero h1{font-size:46px; line-height:1.06; margin-bottom:18px;}
  .hero h1 em{font-style:italic; color:var(--wheat-gold);}
  .hero p{font-size:16px; max-width:460px; opacity:0.88; margin-bottom:26px;}
  .hero-ctas{display:flex; gap:14px;}
  .btn-primary{
    background:var(--wheat-gold); color:var(--soil-black); padding:13px 24px; border-radius:var(--radius);
    font-weight:600; font-size:14.5px; box-shadow: var(--shadow-lg); transition:transform 0.15s ease;
  }
  .btn-primary:hover{transform:translateY(-2px);}
  .btn-ghost{
    background:rgba(255,255,255,0.06); color:var(--field-cream); padding:13px 22px; border-radius:var(--radius);
    font-weight:500; font-size:14.5px; border:1px solid rgba(244,241,230,0.4);
  }
  .ledger-card{
    background:var(--paper); color:var(--soil-black); border:1px solid var(--line);
    border-radius:12px; padding:24px; box-shadow:var(--shadow-lg);
  }
  .ledger-card .stamp{
    font-family:'Space Mono'; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--leaf-deep);
    background:rgba(30,107,69,0.08); display:inline-block; padding:4px 10px; border-radius:20px; margin-bottom:14px;
  }
  .ledger-row{display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--line); font-size:13.5px;}
  .ledger-row:last-child{border-bottom:none;}
  .ledger-row .k{color:#6b6a5e;}
  .ledger-row .v{font-family:'Space Mono'; font-weight:700; color:var(--leaf-deep);}

  /* ===== STATS BAR ===== */
  .stats-bar{background:var(--soil-black); color:#fff;}
  .stats-bar .wrap{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:34px 28px;}
  .stat-block{text-align:center; border-right:1px solid rgba(255,255,255,0.12);}
  .stat-block:last-child{border-right:none;}
  .stat-block .big{font-family:'Fraunces',serif; font-size:32px; color:var(--wheat-gold); font-weight:600;}
  .stat-block .lbl{font-size:12px; opacity:0.75; margin-top:4px; letter-spacing:0.02em;}

  /* ===== TRUST STRIP ===== */
  .trust{background:var(--paper); border-bottom:1px solid var(--line);}
  .trust .wrap{display:flex; justify-content:space-between; padding:16px 28px; font-size:13px;}
  .trust-item{display:flex; align-items:center; gap:8px; color:var(--leaf-deep); font-weight:500;}
  .trust-item .dot{width:6px; height:6px; border-radius:50%; background:var(--wheat-gold);}

  /* ===== SECTION HEADS ===== */
  .section{padding:56px 0;}
  .section-head{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:28px;}
  .section-head .tag{font-family:'Space Mono'; font-size:11.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--rust-tag); margin-bottom:6px; display:block;}
  .section-head h2{font-size:30px;}
  .section-head p{font-size:13.5px; color:#6b6a5e; max-width:360px; text-align:right;}

  /* ===== CATEGORY TILES ===== */
  .cat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
  .cat-tile{
    background:var(--card-bg); border:1px solid var(--line); border-radius:var(--radius);
    padding:22px; cursor:pointer; transition:transform 0.15s ease, box-shadow 0.15s ease; box-shadow: var(--shadow);
  }
  .cat-tile:hover{transform:translateY(-3px); box-shadow:var(--shadow-lg);}
  .cat-tile .num{font-family:'Space Mono'; font-size:11px; color:var(--rust-tag); margin-bottom:10px;}
  .cat-tile h3{font-size:18px; margin-bottom:6px;}
  .cat-tile p{font-size:12.5px; color:#6b6a5e;}
  .cat-tile.active{background:var(--leaf-deep); color:var(--field-cream); border-color:var(--leaf-deep);}
  .cat-tile.active p{color:#cfe0c8;}

  /* ===== PRODUCT GRID ===== */
  .catalog-shell{display:grid; grid-template-columns:220px 1fr; gap:32px;}
  .filters{border-right:1px solid var(--line); padding-right:24px;}
  .filters h4{font-family:'Space Mono'; font-size:11.5px; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:14px; color:#6b6a5e;}
  .filter-opt{display:flex; align-items:center; gap:9px; padding:7px 0; font-size:13.5px; cursor:pointer;}
  .filter-opt input{accent-color:var(--leaf-deep);}
  .filter-opt.selected{font-weight:600; color:var(--leaf-deep);}
  .price-note{margin-top:24px; padding:14px; background:var(--field-cream); border:1px solid var(--line); border-radius:6px; font-size:12px; color:#6b6a5e;}

  .product-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}

  /* ===== HORIZONTAL SLIDERS ===== */
  .pslider-wrap{position:relative;}
  .pslider-track{
    display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
    padding:4px 2px 14px; margin:0 -2px; scrollbar-width:thin; scrollbar-color:var(--line) transparent;
  }
  .pslider-track::-webkit-scrollbar{height:6px;}
  .pslider-track::-webkit-scrollbar-thumb{background:var(--line); border-radius:3px;}
  .pslider-track::-webkit-scrollbar-track{background:transparent;}
  .pcard.slide-card{flex:0 0 250px; scroll-snap-align:start;}
  .cat-tile.slide-tile{flex:0 0 230px; scroll-snap-align:start;}
  .pslider-arrow{
    position:absolute; top:calc(50% - 7px); transform:translateY(-50%); width:34px; height:34px; border-radius:50%;
    background:#fff; border:1px solid var(--line); font-size:17px; box-shadow:var(--shadow); z-index:5;
    display:flex; align-items:center; justify-content:center; line-height:1; color:var(--soil-black);
  }
  .pslider-arrow:hover{background:var(--wheat-gold); border-color:var(--wheat-gold);}
  .pslider-arrow.left{left:-14px;}
  .pslider-arrow.right{right:-14px;}
  .pcard{
    background:var(--card-bg); border:1px solid var(--line); border-radius:var(--radius);
    overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; transition:box-shadow 0.15s ease, transform 0.15s ease;
  }
  .pcard:hover{box-shadow:var(--shadow-lg); transform:translateY(-2px);}
  .pcard-media{
    height:130px; display:flex; align-items:center; justify-content:center; font-size:44px;
    background:var(--field-cream); border-bottom:1px solid var(--line); position:relative; overflow:hidden;
  }
  .pcard-tag{
    position:absolute; top:8px; left:8px; font-family:'Space Mono'; font-size:9.5px; letter-spacing:0.08em;
    background:var(--leaf-deep); color:#fff; padding:3px 8px; border-radius:20px; text-transform:uppercase;
  }
  .pcard-body{padding:14px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1;}
  .pcard-cat{font-family:'Space Mono'; font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color:var(--rust-tag);}
  .pcard h4{font-size:15.5px; line-height:1.25;}
  .pcard .desc{font-size:12px; color:#6b6a5e; flex:1;}
  .pcard-foot{display:flex; align-items:center; justify-content:space-between; margin-top:6px;}
  .price{font-family:'Space Mono'; font-weight:700; font-size:16px;}
  .price small{font-size:11px; font-weight:400; color:#6b6a5e;}
  .add-btn{
    background:var(--leaf-deep); color:#fff; padding:8px 13px; border-radius:var(--radius); font-size:12.5px; font-weight:600;
  }
  .add-btn:hover{background:var(--soil-black);}
  .add-btn.added{background:var(--wheat-gold); color:var(--soil-black);}

  /* ===== WHY STRIP ===== */
  .why{background:var(--soil-black); color:var(--field-cream);}
  .why .wrap{padding:52px 28px; display:grid; grid-template-columns:repeat(4,1fr); gap:28px;}
  .why-item .n{font-family:'Space Mono'; color:var(--wheat-gold); font-size:12px; margin-bottom:10px;}
  .why-item h4{font-family:'Fraunces',serif; font-size:18px; margin-bottom:8px;}
  .why-item p{font-size:13px; opacity:0.75;}

  /* ===== FOOTER ===== */
  footer{background:var(--paper); border-top:1px solid var(--line); padding:40px 0 24px;}
  .foot-grid{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; margin-bottom:28px;}
  footer h5{font-family:'Space Mono'; font-size:11.5px; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:14px; color:var(--leaf-deep);}
  footer li{list-style:none; font-size:13px; margin-bottom:8px; color:#4a4a3f;}
  .foot-bottom{border-top:1px solid var(--line); padding-top:18px; font-size:12px; color:#8a8a7a; display:flex; justify-content:space-between; font-family:'Space Mono';}

  /* ===== CART DRAWER ===== */
  .overlay{position:fixed; inset:0; background:rgba(21,41,34,0.5); z-index:60; opacity:0; pointer-events:none; transition:opacity 0.25s;}
  .overlay.show{opacity:1; pointer-events:all;}
  .drawer{
    position:fixed; top:0; right:-420px; width:400px; max-width:92vw; height:100%; background:var(--paper);
    z-index:70; box-shadow:var(--shadow-lg); transition:right 0.3s ease; display:flex; flex-direction:column;
  }
  .drawer.show{right:0;}
  .drawer-head{padding:20px 22px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center;}
  .drawer-head h3{font-size:19px;}
  .close-x{font-size:22px; background:none; line-height:1;}
  .drawer-body{flex:1; overflow-y:auto; padding:16px 22px;}
  .cart-item{display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--line);}
  .ci-media{width:52px; height:52px; background:var(--field-cream); border:1px solid var(--line); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:22px; overflow:hidden;}
  .ci-info{flex:1;}
  .ci-info h5{font-size:13.5px; margin-bottom:3px;}
  .ci-info .sub{font-size:11.5px; color:#6b6a5e;}
  .qty-row{display:flex; align-items:center; gap:8px; margin-top:6px;}
  .qty-btn{width:22px; height:22px; border:1px solid var(--line); background:#fff; font-size:13px; border-radius:6px; display:flex; align-items:center; justify-content:center;}
  .qty-val{font-family:'Space Mono'; font-size:12.5px; width:18px; text-align:center;}
  .ci-remove{font-size:11px; color:var(--rust-tag); text-decoration:underline; margin-left:auto; cursor:pointer;}
  .ci-price{font-family:'Space Mono'; font-weight:700; font-size:13.5px;}
  .drawer-foot{border-top:1px solid var(--line); padding:18px 22px 22px; background:#fff;}
  .sum-row{display:flex; justify-content:space-between; font-size:13.5px; margin-bottom:8px; color:#4a4a3f;}
  .sum-row.total{font-size:17px; font-weight:700; color:var(--soil-black); font-family:'Space Mono'; border-top:1px solid var(--line); padding-top:10px; margin-top:6px;}
  .checkout-btn{width:100%; background:var(--wheat-gold); color:var(--soil-black); padding:14px; border-radius:var(--radius); font-weight:700; font-size:14.5px; margin-top:14px; box-shadow:var(--shadow);}
  .empty-cart{text-align:center; padding:60px 20px; color:#8a8a7a;}
  .empty-cart .em{font-size:38px; margin-bottom:12px;}

  /* ===== CHECKOUT MODAL ===== */
  .modal{
    position:fixed; inset:0; z-index:80; display:none; align-items:center; justify-content:center; padding:20px;
    background: rgba(28,28,23,0.5);
  }
  .modal-close{position:absolute; top:16px; right:18px; font-size:22px; background:none; line-height:1; color:var(--soil-black);}
  .modal.show{display:flex;}
  .modal-card{
    background:var(--paper); border:1px solid var(--line); border-radius:14px; width:520px; max-width:100%;
    max-height:88vh; overflow-y:auto; box-shadow:var(--shadow-lg); position:relative;
  }
  .modal-head{padding:22px 26px 0;}
  .modal-head .stamp{font-family:'Space Mono'; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--leaf-deep); background:rgba(30,107,69,0.08); display:inline-block; padding:4px 10px; border-radius:20px; margin-bottom:10px;}
  .modal-head h3{font-size:24px; margin-bottom:18px;}
  .modal-body{padding:0 26px 26px;}
  .field{margin-bottom:14px;}
  .field label{display:block; font-size:12px; font-weight:600; margin-bottom:5px; color:#4a4a3f;}
  .field input, .field select{
    width:100%; padding:10px 11px; border:1px solid var(--line); border-radius:6px; font-family:'Work Sans'; font-size:13.5px; background:#fff;
  }
  .field input:focus, .field select:focus{outline:2px solid var(--leaf-mid); outline-offset:1px;}
  .field-row{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
  .modal-summary{background:var(--field-cream); border:1px solid var(--line); border-radius:8px; padding:14px 16px; margin:18px 0;}
  .place-btn{width:100%; background:var(--leaf-deep); color:#fff; padding:14px; border-radius:var(--radius); font-weight:700; font-size:14.5px;}
  .place-btn:hover{background:var(--soil-black);}
  .success-view{padding:50px 30px; text-align:center;}
  .success-view .tick{width:56px; height:56px; border-radius:50%; background:var(--leaf-deep); color:var(--wheat-gold); display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 auto 18px;}
  .success-view h3{font-size:22px; margin-bottom:8px;}
  .success-view p{font-size:13.5px; color:#6b6a5e; margin-bottom:20px;}
  .order-id{font-family:'Space Mono'; background:var(--field-cream); border:1px solid var(--line); display:inline-block; padding:8px 16px; border-radius:8px; font-size:13px; margin-bottom:24px;}

  /* ===== PRODUCT PAGE ===== */
  .pp-breadcrumb{font-family:'Space Mono'; font-size:12px; color:#8a8a7a; margin-bottom:20px;}
  .pp-breadcrumb a{color:var(--leaf-deep); cursor:pointer; font-weight:600;}
  .pp-breadcrumb a:hover{text-decoration:underline;}
  .pd-body{display:grid; grid-template-columns:1fr 1fr; gap:40px; padding:0;}
  .pd-media{
    height:340px; background:var(--field-cream); border:1px solid var(--line); border-radius:12px;
    display:flex; align-items:center; justify-content:center; font-size:120px; position:relative; overflow:hidden;
  }
  .pd-info .pd-cat{font-family:'Space Mono'; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--rust-tag); margin-bottom:8px; display:block;}
  .pd-info h3{font-size:32px; margin-bottom:12px;}
  .pd-info .pd-desc{font-size:14.5px; color:#4a4a3f; margin-bottom:18px; max-width:420px;}
  .pd-info .pd-price{font-family:'Space Mono'; font-weight:700; font-size:28px; margin-bottom:18px; display:block;}
  .pd-qty{display:flex; align-items:center; gap:12px; margin-bottom:20px;}
  .pd-qty .qty-btn{width:34px; height:34px; font-size:17px;}
  .pd-qty .qty-val{font-size:16px; width:26px;}
  .pd-add-btn{background:var(--leaf-deep); color:#fff; padding:14px 22px; border-radius:var(--radius); font-size:14.5px; font-weight:700; max-width:340px; box-shadow:var(--shadow);}
  .pd-add-btn:hover{background:var(--soil-black);}


  /* ===== STATIC PAGE BANNER ===== */
  .page-banner{
    background: linear-gradient(120deg, var(--soil-black) 0%, var(--leaf-deep) 70%);
    color:#fff; padding:44px 0;
  }
  .page-banner .crumb{font-family:'Space Mono'; font-size:12px; opacity:0.75; margin-bottom:8px;}
  .page-banner .crumb a{color:var(--wheat-gold); cursor:pointer; font-weight:600;}
  .page-banner h1{font-size:32px;}
  .page-banner p{font-size:14px; opacity:0.85; margin-top:8px; max-width:480px;}

  /* ===== ABOUT PAGE ===== */
  .about-story{display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center;}
  .about-story .stamp-icon{
    width:100%; aspect-ratio:4/3; background:var(--field-cream); border:1px solid var(--line); border-radius:14px;
    display:flex; align-items:center; justify-content:center; font-size:88px;
  }
  .about-story h2{font-size:28px; margin-bottom:14px;}
  .about-story p{font-size:14.5px; color:#4a4a3f; margin-bottom:12px; line-height:1.65;}
  .value-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
  .value-card{background:var(--card-bg); border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow);}
  .value-card .ic{font-size:28px; margin-bottom:12px;}
  .value-card h4{font-size:16px; margin-bottom:8px;}
  .value-card p{font-size:12.5px; color:#6b6a5e;}

  /* ===== CONTACT PAGE ===== */
  .contact-grid{display:grid; grid-template-columns:1fr 1.2fr; gap:40px;}
  .contact-cards{display:flex; flex-direction:column; gap:14px;}
  .contact-card{background:var(--card-bg); border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px; box-shadow:var(--shadow); display:flex; gap:14px; align-items:flex-start;}
  .contact-card .ic{font-size:22px;}
  .contact-card h5{font-size:13.5px; margin-bottom:4px;}
  .contact-card p{font-size:12.5px; color:#6b6a5e; line-height:1.5;}
  .contact-form-card{background:var(--card-bg); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow);}
  .contact-form-card h3{font-size:20px; margin-bottom:18px;}
  .textarea-field{width:100%; padding:10px 11px; border:1px solid var(--line); border-radius:6px; font-family:'Work Sans'; font-size:13.5px; min-height:100px; resize:vertical;}

  /* ===== FAQ PAGE ===== */
  .faq-group{margin-bottom:32px;}
  .faq-group h3{font-size:18px; margin-bottom:14px; color:var(--leaf-deep);}
  .faq-item{background:var(--card-bg); border:1px solid var(--line); border-radius:var(--radius); margin-bottom:10px; overflow:hidden; box-shadow:var(--shadow);}
  .faq-q{padding:16px 20px; display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-size:14px; font-weight:600;}
  .faq-q .plus{font-family:'Space Mono'; font-size:18px; color:var(--leaf-deep); transition:transform 0.2s ease;}
  .faq-item.open .faq-q .plus{transform:rotate(45deg);}
  .faq-a{max-height:0; overflow:hidden; transition:max-height 0.25s ease;}
  .faq-a-inner{padding:0 20px 18px; font-size:13.5px; color:#4a4a3f; line-height:1.6;}
  .faq-item.open .faq-a{max-height:300px;}

  /* ===== LEGAL PAGE ===== */
  .legal-body{max-width:760px;}
  .legal-body h2{font-size:16px; margin:24px 0 8px; color:var(--leaf-deep);}
  .legal-body h2:first-child{margin-top:0;}
  .legal-body p{font-size:13.5px; color:#4a4a3f; line-height:1.7; margin-bottom:6px;}
  .legal-updated{font-family:'Space Mono'; font-size:11.5px; color:#8a8a7a; margin-bottom:24px; display:block;}

  /* ===== TRACK ORDER SCREEN ===== */
  .screen-modal .modal-card{width:560px;}
  .stat-row{display:flex; gap:10px; margin:16px 0 22px;}
  .stat-chip{flex:1; background:var(--field-cream); border:1px solid var(--line); border-radius:8px; padding:12px; text-align:center;}
  .stat-chip .num{font-family:'Space Mono'; font-weight:700; font-size:18px; color:var(--leaf-deep);}
  .stat-chip .lbl{font-size:10.5px; color:#8a8a7a; text-transform:uppercase; letter-spacing:0.06em; margin-top:2px;}
  .checkbox-grid{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:14px;}
  .cb-opt{display:flex; align-items:center; gap:8px; font-size:13px; border:1px solid var(--line); border-radius:6px; padding:8px 10px; cursor:pointer;}
  .cb-opt input{accent-color:var(--leaf-deep);}
  .track-input-row{display:flex; gap:10px; margin-bottom:22px;}
  .track-input-row input{flex:1; padding:11px; border:1px solid var(--line); border-radius:6px; font-family:'Space Mono';}
  .track-input-row button{background:var(--leaf-deep); color:#fff; padding:0 20px; border-radius:6px; font-weight:600; font-size:13.5px;}
  .timeline{position:relative; padding-left:26px;}
  .timeline::before{content:''; position:absolute; left:8px; top:6px; bottom:6px; width:2px; background:var(--line);}
  .tl-step{position:relative; padding-bottom:22px;}
  .tl-step:last-child{padding-bottom:0;}
  .tl-dot{position:absolute; left:-26px; top:2px; width:18px; height:18px; border-radius:50%; background:#fff; border:2px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:10px;}
  .tl-step.done .tl-dot{background:var(--leaf-deep); border-color:var(--soil-black); color:var(--wheat-gold);}
  .tl-step.current .tl-dot{background:var(--wheat-gold); border-color:var(--soil-black);}
  .tl-step h5{font-size:13.5px; margin-bottom:2px;}
  .tl-step.done h5, .tl-step.current h5{color:var(--soil-black); font-weight:600;}
  .tl-step:not(.done):not(.current) h5{color:#a3a396;}
  .tl-step p{font-size:11.5px; color:#8a8a7a;}
  .track-empty{text-align:center; padding:20px; color:#8a8a7a; font-size:13px;}

  .orig-price{text-decoration:line-through; color:#8a8a7a; font-size:11.5px; font-family:'Space Mono'; margin-right:6px;}
  .deal-tag{background:var(--rust-tag) !important; color:#fff !important;}
  .empty-note{grid-column:1/-1; text-align:center; padding:30px; color:#8a8a7a; font-size:13px;}

  @media (max-width:900px){
    .pd-body{grid-template-columns:1fr; gap:22px;}
    .pd-media{height:220px; font-size:80px;}
    .hero .wrap{grid-template-columns:1fr;}
    .hero-arrow{width:30px; height:30px; font-size:16px;}
    .hero-arrow.left{left:8px;}
    .hero-arrow.right{right:8px;}
    .catalog-shell{grid-template-columns:1fr;}
    .filters{border-right:none; border-bottom:1px solid var(--line); padding-bottom:20px; margin-bottom:10px;}
    .product-grid{grid-template-columns:repeat(2,1fr);}
    .foot-grid{grid-template-columns:1fr 1fr;}
    nav{display:none;}
    .why .wrap{grid-template-columns:1fr 1fr;}
    .pslider-arrow{display:none;}
    .pcard.slide-card{flex-basis:210px;}
    .cat-tile.slide-tile{flex-basis:190px;}
    .stats-bar .wrap{grid-template-columns:1fr 1fr; gap:20px 12px;}
    .stat-block{border-right:none; border-bottom:1px solid rgba(255,255,255,0.12); padding-bottom:14px;}
    .about-story{grid-template-columns:1fr;}
    .value-grid{grid-template-columns:1fr 1fr;}
    .contact-grid{grid-template-columns:1fr;}
  }

/* ===========================================================
   WOOCOMMERCE COMPATIBILITY
   Re-skins WooCommerce's default markup (product grid, single
   product, cart, checkout, my account, notices) to match this
   theme's fonts/colors/spacing instead of looking like generic
   WooCommerce. Loaded alongside WooCommerce's own stylesheet
   (not replacing it), so anything not explicitly covered here
   still renders using WooCommerce's normal, functional styles.
   =========================================================== */

.woocommerce-page-wrap { padding: 12px 0 40px; }

/* Notices (added to cart, errors, info banners) */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  background: var(--field-cream); border: 1px solid var(--line); border-left: 4px solid var(--leaf-deep);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px; font-size: 13.5px; list-style: none;
}
.woocommerce-error { border-left-color: var(--rust-tag); }
.woocommerce-message a.button, .woocommerce-error a.button, .woocommerce-info a.button { margin-left: 10px; }

/* Buttons (add to cart, checkout, place order, pay, view cart...) */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce-page a.button {
  background: var(--leaf-deep); color: #fff; border: none; border-radius: var(--radius);
  padding: 11px 20px; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 13.5px;
  box-shadow: var(--shadow); transition: background 0.15s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--soil-black); color: #fff;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit.alt,
.woocommerce-checkout #payment #place_order {
  background: var(--wheat-gold); color: var(--soil-black);
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #b78a2c; }
.woocommerce a.button.added::after { display: none; }

/* Product loop grid (Shop page, category archives, related products) */
ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0 0 30px; }
ul.products li.product {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: box-shadow 0.15s ease, transform 0.15s ease; position: relative;
}
ul.products li.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
ul.products li.product a.woocommerce-LoopProduct-link { display: block; color: inherit; text-decoration: none; }
ul.products li.product img {
  width: 100%; height: 150px; object-fit: cover; background: var(--field-cream); display: block;
  border-bottom: 1px solid var(--line);
}
ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 15.5px; padding: 14px 16px 4px; margin: 0;
}
ul.products li.product .price {
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 16px; padding: 0 16px 14px; display: block;
  color: var(--soil-black);
}
ul.products li.product .price del { color: #8a8a7a; font-weight: 400; font-size: 12.5px; margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .button {
  margin: 0 16px 16px; display: inline-block; width: calc(100% - 32px); text-align: center;
  padding: 9px 14px; font-size: 12.5px;
}
ul.products li.product .onsale {
  position: absolute; top: 10px; left: 10px; background: var(--rust-tag); color: #fff; font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; z-index: 2;
}
ul.products li.product .star-rating { font-size: 12px; margin: 4px 16px 0; color: var(--wheat-gold); }
.woocommerce-result-count, .woocommerce-ordering { font-size: 13px; color: #6b6a5e; margin-bottom: 18px; }
.woocommerce-ordering select {
  border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; font-family: 'Work Sans', sans-serif; font-size: 13px;
}

/* Single product page */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce div.product .woocommerce-product-gallery { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.woocommerce div.product .summary { padding-top: 4px; }
.woocommerce div.product .product_title {
  font-family: 'Fraunces', serif; font-size: 30px; margin-bottom: 12px; color: var(--soil-black);
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 26px; color: var(--soil-black);
}
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 14px; color: #4a4a3f; margin: 16px 0; line-height: 1.7; }
.woocommerce div.product form.cart { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.woocommerce div.product .quantity input.qty {
  width: 64px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font-family: 'Space Mono', monospace; font-size: 14px;
}
.woocommerce-tabs { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 22px; padding: 0; margin-bottom: 18px; font-size: 13.5px; }
.woocommerce-tabs ul.tabs li a { color: #6b6a5e; }
.woocommerce-tabs ul.tabs li.active a { color: var(--leaf-deep); font-weight: 600; }
.related.products { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.related.products > h2 { font-family: 'Fraunces', serif; font-size: 22px; margin-bottom: 18px; }

/* Breadcrumbs */
.woocommerce-breadcrumb { font-family: 'Space Mono', monospace; font-size: 12px; color: #8a8a7a; margin-bottom: 24px; }
.woocommerce-breadcrumb a { color: var(--leaf-deep); font-weight: 600; }

/* Cart page */
table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 13.5px; }
table.shop_table th { text-align: left; padding: 12px; border-bottom: 2px solid var(--soil-black); font-family: 'Space Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
table.shop_table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table td.product-thumbnail img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
table.shop_table td.product-name a { font-weight: 600; color: var(--soil-black); }
.cart_totals { max-width: 420px; margin-left: auto; background: var(--field-cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cart_totals table { width: 100%; font-size: 13.5px; }
.cart_totals table th { text-align: left; padding: 8px 0; color: #6b6a5e; font-weight: 500; }
.cart_totals table td { text-align: right; padding: 8px 0; font-family: 'Space Mono', monospace; font-weight: 700; }
.cart_totals .order-total td, .cart_totals .order-total th { border-top: 1px solid var(--line); font-size: 16px; padding-top: 12px; }
.wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; margin-top: 14px; }

/* Checkout page */
.woocommerce-checkout .col2-set, .woocommerce-checkout-review-order { margin-top: 20px; }
.woocommerce-checkout input[type="text"], .woocommerce-checkout input[type="email"], .woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"], .woocommerce-checkout select, .woocommerce-checkout textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select {
  width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 6px; font-family: 'Work Sans', sans-serif; font-size: 13.5px;
}
.woocommerce form .form-row label { font-size: 12px; font-weight: 600; color: #4a4a3f; margin-bottom: 5px; display: block; }
#order_review, table.woocommerce-checkout-review-order-table {
  background: var(--field-cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.woocommerce-checkout #payment { background: var(--field-cream); border-radius: var(--radius); padding: 4px; margin-top: 20px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }

/* My Account page */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; font-size: 13.5px; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--leaf-deep); color: #fff; font-weight: 600; }
.woocommerce-MyAccount-content { margin-top: 24px; }
.woocommerce-MyAccount-content table.shop_table th, .woocommerce-MyAccount-content table.shop_table td { font-size: 13px; }

/* Pagination (Shop + Blog) */
.woocommerce-pagination ul.page-numbers, .blog-pagination .page-numbers {
  list-style: none; display: flex; gap: 8px; padding: 0; margin-top: 30px; font-family: 'Space Mono', monospace; font-size: 13px;
}
.woocommerce-pagination .page-numbers li, .blog-pagination { display: flex; gap: 8px; }
.page-numbers a, .page-numbers span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 6px; color: var(--soil-black);
}
.page-numbers.current { background: var(--leaf-deep); color: #fff; border-color: var(--leaf-deep); }

@media (max-width: 900px) {
  ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce div.product { grid-template-columns: 1fr; }
}

/* ===========================================================
   BLOG
   =========================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-media {
  display: block; height: 160px; background: var(--field-cream); overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 40px; border-bottom: 1px solid var(--line);
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 16px 18px 20px; }
.blog-card-date { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rust-tag); }
.blog-card-body h2 { font-family: 'Fraunces', serif; font-size: 17px; margin: 8px 0; line-height: 1.3; }
.blog-card-body h2 a { color: var(--soil-black); }
.blog-card-body p { font-size: 13px; color: #6b6a5e; margin-bottom: 10px; }
.blog-card-more { font-size: 12.5px; font-weight: 600; color: var(--leaf-deep); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}
