/* Urban DFC storefront — cream & OLIVE GREEN design system (gold accents logo se match karte hain)
   NOTE: variable names (--choco, --choco-dark) purane hi rakhe hain taaki poore project me
   class names / var() references badalne na padein — sirf unki VALUE ab olive green hai.
   Theme color badalna ho to bas yahi 2 lines edit karo. */
:root{
  --choco:#556b2f;        /* main theme color: dark olive green (nav, buttons, headings) */
  --choco-dark:#3d4f1f;   /* deeper olive: header top, announce bar, footer, newsletter */
  --cream:#faf6ef; --cream-2:#f3ece0;
  --gold:#c9a06a; --gold-dark:#a97f45; --accent:#b3402a;
  --text:#3e4532;         /* body text: neutral dark olive-grey (pehle brown tha) */
}
*{box-sizing:border-box}
body{font-family:'Poppins',sans-serif;background:var(--cream);color:var(--text);margin:0;overflow-x:hidden}
h1,h2,h3,h4,h5,.logo,.section-title,.product-title{font-family:'Fraunces',serif;font-optical-sizing:auto}
a{text-decoration:none;color:inherit}
img{max-width:100%}

/* Announcement bar */
.announce-bar{background:#17310a;color:#e8ecd6;font-size:.8rem;padding:.45rem 0;letter-spacing:.4px}
.announce-bar i{color:var(--gold);margin-right:4px}

/* Header */
/* Header top area ab dark olive hai — transparent gold logo ka glow dark background pe hi
   achha dikhta hai (white pe fade ho jata). Neeche nav bar thoda lighter olive (--choco). */
.site-header{background:#17310a;border-bottom:1px solid rgba(201,160,106,.25)}
.logo{font-size:2rem;font-weight:800;color:var(--choco);letter-spacing:0}
.logo span{color:var(--gold-dark)}
/* Image logo: height fix, width auto (ratio 780:180 maintain). Search box ko jagah kam milegi — ok. */
.logo-brand{display:block;line-height:0}
.logo-img{height:78px;width:auto;max-width:100%;display:block}
@media (max-width:1199.98px){.logo-img{height:66px}}
@media (max-width:991.98px){.logo-img{height:60px}}        /* tablet/mobile: search neeche alag line me */
@media (max-width:575.98px){.logo-img{height:50px}}        /* chhote phone: icons ke saath fit ho jaye */
@media (max-width:374.98px){.logo-img{height:38px}}
.search-bar{display:flex;border:2px solid var(--gold);border-radius:50px;overflow:hidden;background:#fff}
.search-bar input{flex:1;min-width:0;border:0;padding:.55rem 1.1rem;outline:none;font-size:.9rem}
.search-bar button{flex:none;background:var(--gold);color:var(--choco-dark);border:0;padding:0 1.2rem}
.search-bar button:hover{background:var(--gold-dark)}
.header-icons{display:flex;gap:1.4rem;align-items:center}
.hicon{color:#f0e6d8;font-size:.9rem;display:flex;align-items:center;gap:.4rem;position:relative}
.hicon i{font-size:1.3rem}
.hicon:hover{color:var(--gold)}
.cart-badge{position:absolute;top:-7px;left:12px;background:var(--accent);color:#fff;font-size:.65rem;border-radius:50px;padding:1px 6px}

/* Main nav */
.main-nav{background:var(--choco);border-top:1px solid rgba(255,255,255,.06);position:sticky;top:0;z-index:1020}
.nav-menu{display:flex;list-style:none;margin:0;padding:0;flex-wrap:nowrap;overflow-x:auto}
.nav-menu>li{position:relative}
.nav-menu a{color:#f0e6d8;padding:.8rem 1.05rem;display:block;white-space:nowrap;font-size:.9rem;transition:.2s}
.nav-menu a:hover{color:var(--gold)}
.sale-link{color:var(--gold)!important;font-weight:600}
.sub-menu{display:none;position:absolute;background:#fff;min-width:220px;list-style:none;padding:.4rem 0;border-radius:0 0 10px 10px;box-shadow:0 12px 30px rgba(0,0,0,.18);z-index:1030}
.sub-menu a{color:var(--choco);padding:.5rem 1.2rem}
.sub-menu .divider{border-top:1px solid #eee;margin-top:.3rem;padding-top:.3rem}
.has-sub:hover .sub-menu{display:block}

/* ===== Mobile navigation (below 992px = Bootstrap "lg") ===== */
.nav-toggle{display:none;width:100%;background:transparent;border:0;color:#f0e6d8;padding:.75rem 0;font-size:.95rem;align-items:center;justify-content:space-between;cursor:pointer}
.nav-toggle i.bi-list{font-size:1.4rem;vertical-align:middle;margin-right:.4rem}
.nav-toggle-arrow{transition:transform .25s}
.nav-toggle[aria-expanded="true"] .nav-toggle-arrow{transform:rotate(180deg)}
@media (max-width: 991.98px){
  .nav-toggle{display:flex}                 /* show hamburger */
  .nav-menu{
    display:none;                           /* menu hidden until button is tapped */
    flex-direction:column;                  /* vertical list instead of side-scroll */
    overflow-x:visible;
    max-height:calc(100vh - 60px);          /* long menu = scroll up/down, never sideways */
    overflow-y:auto;
    border-top:1px solid rgba(255,255,255,.12);
  }
  .nav-menu.open{display:flex}
  .nav-menu>li{border-bottom:1px solid rgba(255,255,255,.08)}
  .nav-menu>li:last-child{border-bottom:0}
  .nav-menu a{white-space:normal;padding:.85rem .25rem}
}

/* Hero */
.hero-section img{max-height:480px;object-fit:cover}
.hero-title{font-size:3rem;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.hero-sub{color:#f5e9d5;text-shadow:0 1px 8px rgba(0,0,0,.5)}

/* Sections */
.section{padding:3rem 0}
.section-tinted{background:var(--cream-2)}
.section-dark{background:#17310a}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.6rem}
.section-title{font-size:1.9rem;font-weight:700;color:var(--choco);position:relative;padding-bottom:.4rem}
.section-title::after{content:'';position:absolute;left:0;bottom:0;width:55px;height:3px;background:var(--gold)}
.text-center.section-title::after{left:50%;transform:translateX(-50%)}
.section-link{color:var(--gold-dark);font-size:.9rem}
.text-gold{color:var(--gold)!important}

/* Category tiles */
.cat-tile{display:block;background:#fff;border-radius:14px;overflow:hidden;text-align:center;padding:1.1rem .6rem;box-shadow:0 3px 12px rgba(61,79,31,.08);transition:.25s;height:100%}
.cat-tile:hover{transform:translateY(-5px);box-shadow:0 10px 24px rgba(61,79,31,.16)}
.cat-tile img{width:110px;height:110px;object-fit:cover;border-radius:50%;margin:0 auto .7rem}
.cat-tile-name{font-weight:600;color:var(--choco);font-size:.92rem}
.cat-tile-count{font-size:.75rem;color:#9b8a79}

/* Product cards */
.product-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px rgba(61,79,31,.07);transition:.25s;height:100%;display:flex;flex-direction:column}
.product-card:hover{transform:translateY(-5px);box-shadow:0 12px 28px rgba(61,79,31,.15)}
.pc-img{position:relative;display:block;background:var(--cream-2)}
.pc-img img{aspect-ratio:1;object-fit:cover;width:100%}
.badge-sale{position:absolute;top:10px;left:10px;background:var(--accent);color:#fff;font-size:.68rem;font-weight:600;padding:3px 9px;border-radius:50px}
.badge-oos{position:absolute;top:10px;right:10px;background:#555;color:#fff;font-size:.68rem;padding:3px 9px;border-radius:50px}
.pc-body{padding:.9rem;display:flex;flex-direction:column;gap:.3rem;flex:1}
.pc-brand{font-size:.7rem;text-transform:uppercase;letter-spacing:1px;color:var(--gold-dark);font-weight:600}
.pc-name{color:var(--choco);font-weight:500;font-size:.92rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pc-name:hover{color:var(--gold-dark)}
.pc-rating{color:var(--gold);font-size:.8rem}
.pc-rating span{color:#9b8a79}
.pc-price{margin-top:auto}
.pc-price span{font-weight:600;color:var(--accent);font-size:1.05rem}
.pc-price del{color:#b3a795;font-size:.85rem;margin-right:.4rem}

/* Buttons */
.btn-choco{background:var(--choco);color:#fff;border:none}
.btn-choco:hover{background:var(--gold-dark);color:#fff}
.btn-outline-choco{border:1.5px solid var(--choco);color:var(--choco);background:transparent}
.btn-outline-choco:hover{background:var(--choco);color:#fff}
.btn-gold{background:var(--gold);color:var(--choco-dark);border:none;font-weight:600}
.btn-gold:hover{background:var(--gold-dark);color:#fff}

/* Promo strip */
.promo-strip{background:linear-gradient(90deg,#efe0c8,#e6cfa4);padding:1.6rem 0}
.promo-strip>div>div{display:flex;flex-direction:column;padding:.4rem 1.2rem}
.promo-strip i{font-size:1.5rem;color:var(--gold-dark)}
.promo-strip strong{color:var(--choco)}
.promo-strip span{font-size:.78rem;color:#7a6a58}

/* Testimonials / newsletter */
.testimonial-card{background:#fff;border-radius:14px;padding:1.5rem;height:100%;box-shadow:0 3px 12px rgba(61,79,31,.07)}
.testimonial-card .stars{color:var(--gold)}
.testimonial-card p{font-size:.92rem}
.testimonial-card span{color:#9b8a79;font-size:.82rem;margin-left:.5rem}
.newsletter{background:#17310a;color:#efe2cf;padding:3.5rem 0;text-align:center}
.newsletter h2{color:var(--gold)}
.newsletter-form{display:flex;max-width:480px;margin:1rem auto 0;border-radius:50px;overflow:hidden}
.newsletter-form input{flex:1;border:0;padding:.7rem 1.2rem;outline:none}

/* Footer */
.site-footer{background:#17310a;color:#dde3c8}
.footer-logo{display:inline-block;line-height:0}
.footer-logo-img{height:72px;width:auto;max-width:100%}      /* footer logo: header se thoda chhota */
@media (max-width:575.98px){.footer-logo-img{height:56px}}
.site-footer h6{color:var(--gold);text-transform:uppercase;letter-spacing:1px;font-size:.8rem;margin-bottom:1rem}
.site-footer ul{list-style:none;padding:0}
.site-footer ul li{margin-bottom:.55rem}
.site-footer ul a:hover{color:var(--gold)}
.footer-text{font-size:.9rem}
.footer-social a{display:inline-flex;width:38px;height:38px;border:1px solid #7a8f52;border-radius:50%;align-items:center;justify-content:center;margin-right:.5rem;color:var(--gold)}
.footer-social a:hover{background:var(--gold);color:var(--choco-dark)}
.footer-contact i{color:var(--gold);margin-right:.5rem}
.footer-bottom{border-top:1px solid #55692f;padding:1.1rem 0;text-align:center;font-size:.82rem}

/* Shop / listing */
.page-title{color:var(--choco);margin-bottom:1.4rem}
.filter-card{background:#fff;border-radius:14px;padding:1.3rem;box-shadow:0 3px 12px rgba(61,79,31,.07)}
.result-count{font-size:.85rem;color:#9b8a79;margin-bottom:1rem}
.category-hero{background:linear-gradient(135deg,var(--choco),#6b8238);color:#eef2dd;border-radius:16px;padding:2.2rem;margin-bottom:1.4rem}
.category-hero h1{color:var(--gold)}
.subcat-pills{display:flex;gap:.6rem;flex-wrap:wrap}
.subcat-pill{background:#fff;border:1.5px solid #e2d5c2;border-radius:50px;padding:.4rem 1rem;font-size:.85rem;color:var(--choco)}
.subcat-pill span{color:var(--gold-dark);font-size:.75rem}
.subcat-pill:hover{border-color:var(--gold);background:var(--cream)}
.empty-state{text-align:center;padding:3rem 1rem;color:#9b8a79}
.empty-state i{font-size:3rem;color:var(--gold)}
.pagination-nav{margin-top:2rem}
.page-link{color:var(--choco)}
.page-item.active .page-link{background:var(--choco);border-color:var(--choco)}

/* Product page */
.product-gallery .main-img{border-radius:16px;box-shadow:0 6px 24px rgba(61,79,31,.12);width:100%;aspect-ratio:1;object-fit:cover}
.img-zoom-wrap{position:relative}
.zoom-pane{position:absolute;inset:0;border-radius:16px;background-repeat:no-repeat;opacity:0;pointer-events:none;transition:opacity .15s ease}
@media (hover:hover) and (pointer:fine){.img-zoom-wrap:hover .main-img{cursor:zoom-in}}
.thumbs{display:flex;gap:.6rem;margin-top:.8rem}
.thumbs .thumb{width:70px;height:70px;object-fit:cover;border-radius:10px;cursor:pointer;border:2px solid transparent}
.thumbs .thumb:hover{border-color:var(--gold)}
.product-title{font-size:1.7rem;color:var(--choco)}
.product-price .now{font-size:1.9rem;font-weight:600;color:var(--accent)}
.product-price del{color:#b3a795;margin:0 .7rem}
.product-price .save{background:#e7f5e9;color:#217a3a;font-size:.75rem;padding:3px 9px;border-radius:50px}
.product-desc{font-size:.95rem;line-height:1.7}
.stock-info.in{color:#217a3a}.stock-info.out{color:var(--accent)}
.cart-form{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.2rem 0}
.qty-box{display:inline-flex;align-items:center;border:1.5px solid var(--choco);border-radius:50px;overflow:hidden}
.qty-box button{border:0;background:var(--cream-2);width:38px;height:38px;font-size:1.1rem;color:var(--choco)}
.qty-box input{width:52px;text-align:center;border:0;outline:none;font-weight:600}
.product-meta{background:var(--cream-2);border-radius:12px;padding:1rem 1.2rem;font-size:.88rem}
.product-meta i{color:var(--gold-dark);margin-right:.5rem}
.review{border-bottom:1px solid #eadfd0;padding:1rem 0}
.review-head{display:flex;gap:1rem;align-items:center}
.review-head .stars{color:var(--gold)}
.star-input{display:flex;flex-direction:row-reverse;gap:2px}
.star-input input{display:none}
.star-input label{font-size:1.4rem;color:#d9c9b2;cursor:pointer}
.star-input input:checked~label,.star-input label:hover,.star-input label:hover~label{color:var(--gold)}

/* Cart / checkout / summary */
.cart-table{display:flex;flex-direction:column;gap:1rem}
.cart-row{display:flex;align-items:center;gap:1rem;background:#fff;border-radius:14px;padding:.8rem;box-shadow:0 3px 12px rgba(61,79,31,.06);flex-wrap:wrap}
.cart-img img{width:70px;height:70px;object-fit:cover;border-radius:10px}
.cart-info{flex:1;min-width:150px;display:flex;flex-direction:column}
.cart-name{color:var(--choco);font-weight:500;font-size:.95rem}
.cart-price{color:var(--accent);font-weight:600}
.cart-line{font-weight:600;color:var(--choco)}
.cart-rm{border:0;background:none;color:var(--accent);font-size:1.1rem}
.summary-card{background:#fff;border-radius:14px;padding:1.4rem;box-shadow:0 3px 12px rgba(61,79,31,.08);position:sticky;top:20px}
.summary-line{display:flex;justify-content:space-between;padding:.35rem 0;font-size:.92rem}
.summary-total{display:flex;justify-content:space-between;border-top:2px dashed #e0d3c0;margin-top:.6rem;padding-top:.7rem;font-weight:700;font-size:1.15rem;color:var(--choco)}
.summary-item{display:flex;align-items:center;gap:.7rem;padding:.45rem 0;border-bottom:1px solid #f2ead9;font-size:.88rem}
.summary-item img{width:46px;height:46px;object-fit:cover;border-radius:8px}
.summary-item div{flex:1}
.si-name{display:block;color:var(--choco);font-weight:500}
.coupon-box{display:flex;gap:.5rem;margin:1rem 0}
.checkout-card{border:0;border-radius:14px;box-shadow:0 3px 12px rgba(61,79,31,.07)}
.payment-option{border:1.5px solid #e0d3c0;border-radius:12px;padding:1rem;margin-bottom:.8rem}
.payment-option input{margin-right:.6rem}
.payment-option span{display:block;color:#9b8a79;font-size:.85rem;margin-left:1.5rem}

/* Auth / account */
.auth-section{display:flex;justify-content:center}
.auth-card{background:#fff;border-radius:16px;box-shadow:0 8px 30px rgba(61,79,31,.12);padding:2.2rem;max-width:440px;width:100%;margin:0 auto}
.auth-card h2{color:var(--choco)}
.auth-links{display:flex;justify-content:space-between;margin-top:1.1rem;font-size:.88rem}
.auth-links a{color:var(--gold-dark)}
.account-menu{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px rgba(61,79,31,.07)}
.am-user{display:flex;gap:.7rem;align-items:center;background:var(--choco);color:#fff;padding:1.1rem}
.am-user i{font-size:2rem;color:var(--gold)}
.am-user small{display:block;color:#dde3c8}
.account-menu a{display:block;padding:.75rem 1.2rem;color:var(--text);border-bottom:1px solid #f4ece0;font-size:.92rem}
.account-menu a i{margin-right:.6rem;color:var(--gold-dark)}
.account-menu a:hover,.account-menu a.active{background:var(--cream-2);color:var(--choco)}
.dash-card{background:#fff;border-radius:14px;padding:1.3rem;display:flex;gap:1rem;align-items:center;box-shadow:0 3px 12px rgba(61,79,31,.07)}
.dash-card i{font-size:2rem;color:var(--gold-dark)}
.dash-card h3{margin:0;color:var(--choco)}
.status-badge{padding:4px 12px;border-radius:50px;font-size:.75rem;font-weight:600}
.status-pending{background:#fff3cd;color:#8a6d00}
.status-confirmed,.status-processing{background:#e7f0ff;color:#1d4f9c}
.status-shipped{background:#ece9ff;color:#5a48b8}
.status-delivered{background:#e7f5e9;color:#217a3a}
.status-cancelled{background:#fdeaea;color:#b3402a}
.page-content{max-width:900px}

/* Responsive */
@media (max-width: 576px){
  .section{padding:2rem 0}
  .hero-title{font-size:1.8rem}
  .cart-row{gap:.6rem}
}
