/*
Theme Name: Karak Chai Ashton
Theme URI: https://example.com/
Author: OpenAI
Description: Custom cream, chocolate and gold WooCommerce theme for Karak Chai Ashton.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: karak-chai-ashton
*/

:root{--brown:#2a140b;--brown2:#4b2410;--gold:#e6a91b;--cream:#fff5e4;--paper:#fffaf1;--ink:#25150e;--muted:#806b5c;--red:#9f1e16}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,92%);margin:auto}
.topbar{background:#1c0d07;color:#f8e8ca;font-size:13px;padding:8px 0}.topbar .container{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}
.site-header{background:var(--brown);color:white;position:sticky;top:0;z-index:50;box-shadow:0 3px 18px #0002}.head-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:14px 0}.brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-size:29px;font-weight:bold;line-height:1}.brand small{display:block;text-align:center;font-size:15px;letter-spacing:5px;font-weight:normal;margin-top:5px}.cup{font-size:40px;color:var(--gold)}.main-nav{display:flex;align-items:center;gap:28px;font-weight:700}.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--gold)}.header-actions{display:flex;align-items:center;gap:16px}.cart-link,.btn{background:var(--gold);color:#201006;padding:11px 19px;border-radius:30px;font-weight:800;display:inline-flex;align-items:center;gap:8px}.menu-toggle{display:none;background:none;border:1px solid #9a7957;color:white;border-radius:8px;padding:8px 12px}
.hero{background:linear-gradient(90deg,rgba(31,14,7,.96),rgba(39,17,7,.72)),url('assets/images/hero-food.png') center/cover no-repeat;color:white;padding:78px 0 86px;min-height:410px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:35px}.eyebrow{color:var(--gold);font-weight:800;text-transform:uppercase;letter-spacing:2px}.hero h1{font: bold clamp(38px,5vw,66px)/1.05 Georgia,serif;margin:12px 0;color:#fff4df}.hero h1 span{color:var(--gold)}.hero p{font-size:18px;color:#f6e8d5;max-width:550px}.hero .btn{margin-top:12px;background:var(--gold);font-size:17px}.hero-note{font-size:13px;color:#ead5b5;margin-top:18px}
.section{padding:54px 0}.section-head{text-align:center;margin-bottom:30px}.section-head h2{font: bold 34px Georgia,serif;margin:0;color:var(--brown)}.section-head h2 span{color:#c78313}.section-head p{color:var(--muted);margin:8px 0 0}
.category-strip{background:var(--cream);border:1px solid #f0dfc7;border-radius:18px;padding:18px;display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-top:-35px;position:relative;box-shadow:0 7px 20px #3d1c0d12}.cat{background:#fffaf1;border-radius:12px;text-align:center;padding:15px 7px;font-weight:800;color:var(--brown);border:1px solid #f1e1cd;transition:.2s}.cat:hover{transform:translateY(-3px);border-color:var(--gold)}.cat-icon{display:block;font-size:27px;margin-bottom:5px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{background:white;border:1px solid #efdfca;border-radius:16px;overflow:hidden;box-shadow:0 5px 16px #43200e0c;display:flex;flex-direction:column}.product-card img{width:100%;height:190px;object-fit:cover;background:#f2e4d0}.product-card .product-info{padding:15px;display:flex;flex-direction:column;flex:1}.product-card h3{font: bold 19px Georgia,serif;color:var(--brown);margin:0 0 7px}.price{color:var(--red);font-weight:800;font-size:18px;margin-bottom:12px}.product-card .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--brown2)!important;color:white!important;border-radius:24px!important;padding:10px 16px!important;font-weight:700!important;border:0!important}.product-card .button{margin-top:auto;align-self:flex-start}
.benefits{background:var(--cream);border-top:1px solid #eedcc3;border-bottom:1px solid #eedcc3;padding:25px 0}.benefit-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.benefit{display:flex;align-items:center;gap:12px;color:var(--brown)}.benefit b{display:block}.benefit span{font-size:26px;color:#8b4a18}
.site-footer{background:var(--brown);color:#f8ead6;padding:45px 0 18px;margin-top:40px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:30px}.site-footer h3{color:var(--gold);font: bold 20px Georgia,serif;margin:0 0 12px}.site-footer a{display:block;margin:5px 0;color:#f8ead6}.site-footer a:hover{color:var(--gold)}.copyright{border-top:1px solid #68442e;margin-top:30px;padding-top:15px;font-size:13px;color:#d9c4aa;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.page-title{background:var(--brown);color:white;padding:45px 0}.page-title h1{font: bold 38px Georgia,serif;margin:0}.content-area{padding:40px 0;min-height:350px}.woocommerce ul.products li.product{background:white;border:1px solid #efdfca;border-radius:14px;padding:12px;overflow:hidden}.woocommerce ul.products li.product img{border-radius:10px}.woocommerce div.product div.images img{border-radius:14px}.woocommerce div.product .product_title{font-family:Georgia,serif;color:var(--brown)}.woocommerce span.onsale{background:var(--red)}.woocommerce .quantity .qty{border:1px solid #d9c5ae;border-radius:8px;padding:8px}.woocommerce-message,.woocommerce-info{border-top-color:var(--gold)}.woocommerce-message:before,.woocommerce-info:before{color:var(--gold)}
@media(max-width:900px){.main-nav{gap:15px}.product-grid{grid-template-columns:repeat(2,1fr)}.category-strip{grid-template-columns:repeat(4,1fr)}.benefit-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.topbar .container{justify-content:center}.head-inner{flex-wrap:wrap}.brand{font-size:23px}.cup{font-size:32px}.menu-toggle{display:block}.main-nav{display:none;flex-direction:column;align-items:stretch;width:100%;gap:0;padding:8px 0}.main-nav.open{display:flex}.main-nav a{padding:12px;border-top:1px solid #553321}.header-actions{margin-left:auto}.hero{padding:55px 0 75px;min-height:0}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:43px}.category-strip{grid-template-columns:repeat(2,1fr);margin-top:-25px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card img{height:135px}.product-card .product-info{padding:11px}.product-card h3{font-size:16px}.benefit-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.section{padding:38px 0}.section-head h2{font-size:28px}}


/* v3 image reliability + responsive WooCommerce pages */
.hero{background-image:linear-gradient(90deg,rgba(31,14,7,.94),rgba(39,17,7,.62)),url('assets/images/hero-food.png');background-position:center;background-size:cover}
.hero-grid{min-height:300px}
.product-card img,.woocommerce ul.products li.product img{display:block;width:100%;height:210px;object-fit:cover;object-position:center;background:#f0e2cf}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important}
.woocommerce div.product div.images,.woocommerce div.product div.summary{margin-bottom:30px}
.woocommerce table.shop_table{border-collapse:separate;border-spacing:0;border:1px solid #ead8c2;border-radius:14px;overflow:hidden;background:#fff}
.woocommerce table.shop_table th{background:#f8ecd9;color:var(--brown);padding:14px}
.woocommerce table.shop_table td{padding:14px;vertical-align:middle}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #payment,.woocommerce-checkout form.checkout_coupon,.woocommerce form.login,.woocommerce form.register,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{background:#fff;border:1px solid #efdfca;border-radius:14px;padding:20px}
.woocommerce-cart .cart-collaterals .cart_totals{width:42%;padding:22px}
.woocommerce .input-text,.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{border:1px solid #ddc9b0;border-radius:8px;padding:12px;max-width:100%}
.woocommerce form .form-row{margin-bottom:16px}
.woocommerce-checkout #payment{background:#fff8ed}
.woocommerce-checkout #payment div.payment_box{background:#f5e7d2}
.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#f5e7d2}
.woocommerce .col2-set,.woocommerce-page .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:24px}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.woocommerce-MyAccount-navigation li a{display:block;padding:10px 12px;border-bottom:1px solid #f0e2d1;color:var(--brown);font-weight:700}
.woocommerce-MyAccount-navigation li.is-active a{color:#a66b0d}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:#fff8ed;border-radius:10px;border-top-width:3px;padding:1em 1.5em 1em 3.5em}
.woocommerce .quantity .qty{width:75px}
.woocommerce div.product form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.woocommerce div.product form.cart .button{min-height:42px}
@media(max-width:900px){
 .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .woocommerce-cart .cart-collaterals .cart_totals{width:100%}
 .woocommerce-account .woocommerce{grid-template-columns:1fr}
}
@media(max-width:600px){
 .hero{background-position:62% center;padding:48px 0 65px}
 .hero-grid{min-height:0}
 .hero h1{font-size:clamp(34px,10vw,46px)}
 .hero p{font-size:16px}
 .head-inner{gap:10px}
 .header-actions .cart-link{font-size:12px;padding:9px 12px}
 .brand{font-size:20px}
 .brand small{font-size:11px;letter-spacing:3px}
 .product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .product-card img,.woocommerce ul.products li.product img{height:135px}
 .woocommerce ul.products li.product{padding:8px}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important}
 .woocommerce ul.products li.product .price{font-size:15px}
 .woocommerce table.shop_table_responsive tr td,.woocommerce-page table.shop_table_responsive tr td{display:flex;justify-content:space-between;gap:12px;text-align:right}
 .woocommerce table.shop_table_responsive tr td:before,.woocommerce-page table.shop_table_responsive tr td:before{font-weight:700;color:var(--brown)}
 .woocommerce-cart table.cart td.actions .coupon{display:flex;gap:8px;flex-wrap:wrap}
 .woocommerce-cart table.cart td.actions .coupon .input-text{width:55%!important}
 .woocommerce-cart .cart-collaterals .cart_totals{float:none;width:100%}
 .woocommerce .col2-set,.woocommerce-page .col2-set{grid-template-columns:1fr}
 .woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{padding:14px}
 .woocommerce-checkout #payment ul.payment_methods{padding:12px}
 .site-footer{padding:32px 0 16px}
}
