/*
Theme Name: Zurafia KuaraCore
Theme URI: https://zurafia.com/
Author: Divine Design LLC
Author URI: https://kuarafine.com/
Description: Custom standalone WooCommerce + Elementor marketplace theme for Zurafia.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: zurafia-kuaracore
*/

:root{
  --z-green:#0f5b3a;
  --z-green-deep:#0b3f2b;
  --z-orange:#ef8a15;
  --z-gold:#f2a71b;
  --z-sand:#f4eee5;
  --z-cream:#fffaf3;
  --z-ink:#1b2521;
  --z-muted:#66736d;
  --z-border:#e8e8e4;
  --z-white:#ffffff;
  --z-radius:16px;
  --z-shadow:0 12px 32px rgba(15,91,58,.08);
  --z-max:1440px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--z-ink);background:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.site-shell{max-width:var(--z-max);margin:0 auto;padding:0 24px}
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-bottom:1px solid var(--z-border)}
.z-topbar{display:grid;grid-template-columns:220px 1fr auto;gap:24px;align-items:center;padding:14px 0}
.z-brand img{max-height:58px;width:auto}
.z-search{display:flex;border:1px solid #dfe4df;border-radius:999px;overflow:hidden;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.03)}
.z-search select,.z-search input{border:0;background:transparent;padding:14px 16px;font:inherit;outline:0}
.z-search select{border-right:1px solid var(--z-border);max-width:170px}
.z-search input{flex:1;min-width:0}
.z-search button{border:0;background:var(--z-orange);color:#fff;width:58px;font-size:20px;cursor:pointer}
.z-actions{display:flex;gap:16px;align-items:center;font-size:14px}
.z-actions a{display:flex;gap:8px;align-items:center;white-space:nowrap}
.z-nav{background:var(--z-green-deep);color:#fff}
.z-nav .site-shell{display:flex;gap:26px;align-items:center;min-height:48px;overflow-x:auto}
.z-nav a{font-weight:700;font-size:14px;white-space:nowrap;opacity:.96}
.z-nav a:hover{color:#ffd27a}
.site-main{min-height:60vh}
.site-footer{margin-top:70px;background:var(--z-green-deep);color:#fff;padding:54px 0 22px}
.z-footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:34px}
.z-footer-title{font-size:14px;text-transform:uppercase;letter-spacing:.12em;color:#ffd27a;margin-bottom:12px}
.z-footer-links{display:grid;gap:8px;color:#dce8e2;font-size:14px}
.z-footer-bottom{margin-top:36px;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);font-size:13px;color:#c9d8d1}

/* Elementor guardrails */
.elementor .e-con{--container-max-width:var(--z-max)}
.elementor .e-con.z-row{flex-direction:row;flex-wrap:nowrap}
.elementor .e-con.z-wrap{flex-wrap:wrap}
.elementor .e-con.z-grow>.e-con-inner,.elementor .e-con.z-grow{flex-grow:1}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{margin:22px 0;color:var(--z-muted);font-size:14px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:14px;border:1px solid var(--z-border);border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(0,0,0,.04);transition:.2s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--z-shadow)}
.woocommerce ul.products li.product img{border-radius:10px;margin-bottom:12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;font-weight:700;padding:0;margin:0 0 8px}
.woocommerce ul.products li.product .price{color:var(--z-green-deep);font-weight:800}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--z-orange)!important;color:#fff!important;border-radius:10px!important;padding:12px 18px!important;font-weight:800!important}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--z-green)!important}
.single-product div.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:42px}
.single-product div.product .summary{margin:0!important}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--z-green-deep);font-size:28px;font-weight:800}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1}
.woocommerce-cart table.cart,.woocommerce-checkout-review-order-table{border-radius:12px;overflow:hidden}

/* Marketplace / Dokan-friendly */
.dokan-store-wrap,.dokan-dashboard-wrap{max-width:var(--z-max);margin:32px auto;padding:0 24px}
.dokan-store-sidebar,.dokan-dashboard-menu{border-radius:14px;overflow:hidden}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active,.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover{background:var(--z-green)!important}

@media(max-width:1100px){
  .z-topbar{grid-template-columns:180px 1fr}.z-actions{display:none}
  .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:768px){
  .site-shell{padding:0 16px}
  .z-topbar{grid-template-columns:1fr;gap:12px}.z-brand{text-align:center}.z-brand img{max-height:46px}.z-search select{display:none}
  .z-nav .site-shell{gap:18px}
  .z-footer-grid{grid-template-columns:1fr 1fr}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .single-product div.product{grid-template-columns:1fr}
  .elementor .e-con.z-row{flex-direction:column}
}
@media(max-width:480px){.woocommerce ul.products{grid-template-columns:1fr}.z-footer-grid{grid-template-columns:1fr}}
