/*
Theme Name: DOLLAR MART Approved
Theme URI: https://dollarmart.pk/
Author: OpenAI
Description: DOLLAR MART premium dark-yellow WooCommerce theme based on approved HTML previews.
Version: 1.0.0
Text Domain: dollarmart-approved
Requires at least: 6.0
Requires PHP: 7.4
*/

:root{
  --yellow:#ffd21f;--yellow2:#f3be00;--black:#0a0b0d;--panel:#111317;--panel2:#171a1f;
  --cream:#f5f1e8;--text:#f6f7f8;--muted:#90959e;--line:#272b31;--red:#ef3340;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--black);color:var(--text)}
a{text-decoration:none;color:inherit}
img{display:block;width:100%;height:100%;object-fit:cover}
.shell{width:min(1480px,calc(100% - 48px));margin:auto}
.top{background:#050607;border-bottom:1px solid #17191d;font-size:12px}
.top .shell{display:flex;justify-content:space-between;padding:10px 0;color:#c9ccd1}
.top b{color:var(--yellow)}
header{background:rgba(10,11,13,.96);backdrop-filter:blur(16px);position:sticky;top:0;z-index:50;border-bottom:1px solid #1d2025}
.hmain{display:grid;grid-template-columns:320px 1fr 220px;gap:24px;align-items:center;padding:14px 0}
.logo img{height:56px;width:auto;max-width:310px;object-fit:contain}
.search{height:48px;display:flex;background:#121418;border:1px solid #2c3036;border-radius:999px;overflow:hidden}
.search input{flex:1;background:transparent;border:0;color:#fff;padding:0 18px;outline:none}
.search button{border:0;background:var(--yellow);color:#111;padding:0 22px;font-weight:800}
.actions{display:flex;justify-content:flex-end;gap:10px}
.ico{width:42px;height:42px;border-radius:50%;border:1px solid #30343a;display:grid;place-items:center;background:#111317}
.ico.cart{background:var(--yellow);color:#111;border-color:var(--yellow)}
.nav{border-top:1px solid #181b20;overflow:auto}
.nav .shell{height:50px;display:flex;align-items:center;gap:26px;font-size:12px;font-weight:800;white-space:nowrap}
.nav .all{background:#fff;color:#111;padding:10px 16px;border-radius:999px}
.nav .hot{color:var(--yellow)}
.hero{padding:24px 0 26px}
.hero-grid{display:grid;grid-template-columns:1.45fr .72fr;gap:18px}
.hero-main{height:690px;border-radius:30px;overflow:hidden;position:relative;background:
linear-gradient(90deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.78) 38%,rgba(0,0,0,.08) 78%),
url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?auto=format&fit=crop&w=1800&q=90') center/cover}
.hero-copy{position:absolute;left:58px;top:50%;transform:translateY(-50%);max-width:680px}
.kicker{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:900;color:var(--yellow)}
.hero h1{font-size:92px;line-height:.86;letter-spacing:-5px;margin:14px 0 18px}
.hero h1 span{color:var(--yellow)}
.hero p{max-width:560px;color:#c3c7cd;font-size:16px;line-height:1.75}
.buttons{display:flex;gap:12px;margin-top:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:999px;font-size:12px;font-weight:900}
.btn.yellow{background:var(--yellow);color:#111}
.btn.dark{background:#1b1e23;border:1px solid #343840}
.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:18px}
.side-card{border-radius:30px;overflow:hidden;position:relative}
.side-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.85))}
.side-copy{position:absolute;z-index:2;left:26px;bottom:24px}
.side-copy small{font-size:10px;color:#ddd;text-transform:uppercase;letter-spacing:1.2px}
.side-copy h3{font-size:34px;line-height:1;margin:6px 0}
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:0 0 72px}
.trust-card{display:flex;gap:13px;align-items:center;background:#111317;border:1px solid #20242a;border-radius:18px;padding:20px}
.mark{width:42px;height:42px;border-radius:13px;background:#1c1f24;display:grid;place-items:center;color:var(--yellow)}
.trust-card b{font-size:12px;display:block}.trust-card span{display:block;font-size:11px;color:#7f858e;margin-top:3px}
.section{padding:78px 0}
.section.light{background:var(--cream);color:#111}
.headrow{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}
.headrow h2{font-size:52px;line-height:.92;letter-spacing:-2px;margin:6px 0 0}
.headrow p{max-width:500px;font-size:13px;line-height:1.7;color:#858a92}
.bento{display:grid;grid-template-columns:1.2fr .8fr .8fr;grid-template-rows:300px 300px;gap:16px}
.bento-card{border-radius:24px;overflow:hidden;position:relative;background:#15181c}
.bento-card.big{grid-row:1/3}
.bento-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.82))}
.bento-copy{position:absolute;z-index:2;left:24px;bottom:22px}
.bento-copy small{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#ddd}
.bento-copy h3{font-size:30px;line-height:.98;margin:6px 0 0}
.bento-card.big .bento-copy h3{font-size:44px}
.bento-card.yellow{background:var(--yellow)}
.bento-card.yellow:after{display:none}.bento-card.yellow .bento-copy{color:#111}.bento-card.yellow .bento-copy small{color:#665400}
.value{background:var(--yellow);color:#111}
.value-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.value-item{padding:24px 28px;border-right:1px solid rgba(0,0,0,.16)}
.value-item:last-child{border-right:0}
.value-item small{font-size:10px;text-transform:uppercase;opacity:.65}
.value-item strong{display:block;font-size:25px;margin-top:4px}
.products{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}
.product{background:#fff;color:#111;border-radius:18px;overflow:hidden;border:1px solid #e6e0d5;transition:.25s}
.product:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(0,0,0,.12)}
.pimg{aspect-ratio:1/1;background:#eee;position:relative}
.badge{position:absolute;top:10px;left:10px;background:#111;color:#fff;border-radius:999px;padding:7px 9px;font-size:9px;font-weight:900}
.pbody{padding:14px}
.pbody small{font-size:9px;color:#999;text-transform:uppercase;letter-spacing:.7px;font-weight:800}
.product h3{font-size:13px;line-height:1.45;min-height:39px;margin:7px 0}
.stars{font-size:10px;color:#d99e00}
.price{display:flex;align-items:center;gap:7px;margin-top:7px}
.price strong{font-size:15px}.price del{font-size:11px;color:#999}
.product button{width:100%;border:0;background:#111;color:#fff;border-radius:9px;padding:10px;margin-top:11px;font-size:10px;font-weight:900}
.editorial{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.editorial-card{height:520px;border-radius:26px;overflow:hidden;position:relative}
.editorial-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.86))}
.editorial-copy{position:absolute;z-index:2;left:30px;bottom:28px;right:30px}
.editorial-copy h3{font-size:42px;line-height:.96;margin:8px 0 12px}
.newsletter{background:var(--yellow);color:#111;border-radius:28px;padding:44px 48px;display:grid;grid-template-columns:1fr 520px;gap:30px;align-items:center}
.newsletter h2{font-size:42px;margin:0}.newsletter p{color:#675500;font-size:13px}
.email{background:#fff;border-radius:12px;padding:5px;display:flex}.email input{flex:1;border:0;outline:none;padding:0 14px}.email button{border:0;background:#111;color:#fff;border-radius:9px;padding:12px 20px;font-weight:900}
footer{background:#070809;border-top:1px solid #17191d;padding:58px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:42px}
.footer-logo{height:64px;width:auto;max-width:310px;object-fit:contain}
footer p,footer a{font-size:12px;line-height:1.9;color:#7f858d}
footer h4{font-size:12px;margin:0 0 12px}
.bottom{border-top:1px solid #1e2126;margin-top:36px;padding-top:18px;display:flex;justify-content:space-between;color:#5f646c;font-size:11px}

.pagehero{padding:34px 0 18px}
.pagehero-box{height:340px;border-radius:28px;overflow:hidden;position:relative;background:
linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.24)),
url('https://images.unsplash.com/photo-1607083206968-13611e3d76db?auto=format&fit=crop&w=1700&q=90') center/cover}
.pagehero-copy{position:absolute;left:44px;bottom:42px}.pagehero h1{font-size:64px;margin:6px 0 0;letter-spacing:-3px}
.breadcrumb{padding:18px 0 0;font-size:11px;color:#8c929a}
.shop-layout{display:grid;grid-template-columns:260px 1fr;gap:24px}
.sidebar{background:#111317;border:1px solid #20242a;border-radius:18px;padding:18px;height:max-content}
.filter{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #262a30}
.filter h4{font-size:11px;margin:0 0 10px}.check{display:flex;justify-content:space-between;font-size:11px;color:#9da2aa;margin:8px 0}
.shop-products{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.sort{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.sort select{background:#111317;color:#fff;border:1px solid #2a2e34;border-radius:10px;padding:10px 12px}
.product-main{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;padding:28px 0 70px}
.gallery{display:grid;grid-template-columns:90px 1fr;gap:14px}.thumbs{display:grid;gap:10px}
.thumb{aspect-ratio:1;border-radius:12px;overflow:hidden;border:1px solid #2a2d33}
.mainimg{aspect-ratio:1;border-radius:22px;overflow:hidden}
.product-info h1{font-size:48px;line-height:.95;margin:10px 0}
.product-info .desc{font-size:14px;line-height:1.75;color:#a3a8af}
.bigprice{font-size:34px;font-weight:800;margin:18px 0}.bigprice del{font-size:18px;color:#777;margin-left:8px}
.stock{color:#7fdaa0;font-size:12px;margin:14px 0}
.option{border-top:1px solid #24282e;padding-top:16px;margin-top:18px}
.swatches{display:flex;gap:8px;margin-top:10px}.swatch{background:#111317;color:#fff;border:1px solid #2d3137;border-radius:10px;padding:9px 13px}
.buy{display:grid;grid-template-columns:110px 1fr;gap:10px;margin-top:20px}.qty{background:#111317;border:1px solid #2d3137;border-radius:10px;display:grid;place-items:center}.add{border:0;background:#fff;color:#111;border-radius:10px;font-weight:900}.buy-now{width:100%;border:0;background:var(--yellow);color:#111;border-radius:10px;height:50px;margin-top:10px;font-weight:900}
.delivery{border:1px solid #24282e;border-radius:14px;overflow:hidden;margin-top:20px}.delivery div{padding:14px 16px;border-bottom:1px solid #24282e}.delivery div:last-child{border-bottom:0}

@media(max-width:1050px){
  .hmain{grid-template-columns:250px 1fr 100px}.actions .ico:not(.cart){display:none}
  .hero-grid{grid-template-columns:1fr}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:none}.side-card{height:320px}
  .bento{grid-template-columns:1fr 1fr;grid-template-rows:auto}.bento-card.big{grid-row:auto;min-height:440px}
  .products{grid-template-columns:repeat(3,1fr)}.shop-products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:720px){
  .shell{width:calc(100% - 20px)}
  .hmain{grid-template-columns:1fr auto;grid-template-areas:"logo actions" "search search";gap:10px}
  .logo{grid-area:logo}.actions{grid-area:actions}.search{grid-area:search}.logo img{height:42px;max-width:220px}
  .hero-main{height:590px;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.86) 55%,#070809),url('https://images.unsplash.com/photo-1607082349566-187342175e2f?auto=format&fit=crop&w=900&q=90') center/cover}
  .hero-copy{left:22px;right:22px;bottom:24px;top:auto;transform:none}.hero h1{font-size:56px;letter-spacing:-2.5px}
  .hero-side{grid-template-columns:1fr}.trust{grid-template-columns:1fr 1fr}
  .section{padding:58px 0}.headrow{display:block}.headrow h2{font-size:38px}.bento{grid-template-columns:1fr}.bento-card,.bento-card.big{min-height:310px}
  .value-grid{grid-template-columns:1fr 1fr}.products,.shop-products{grid-template-columns:repeat(2,1fr);gap:10px}
  .editorial{grid-template-columns:1fr}.newsletter{grid-template-columns:1fr;padding:30px 24px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}
  .shop-layout,.product-main{grid-template-columns:1fr}.sidebar{display:none}.gallery{grid-template-columns:1fr}.thumbs{grid-template-columns:repeat(4,1fr);grid-row:2}
}

.premium-footer{margin-top:0;background:#070809;border-top:1px solid #1b1e22}
.footer-news{background:#0f1114;border-bottom:1px solid #1e2228}
.footer-news .shell{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;padding:34px 0}
.footer-news h3{margin:4px 0 6px;font-size:30px;letter-spacing:-1px}
.footer-news p{margin:0;color:#8e949d;font-size:12px;line-height:1.6}
.footer-subscribe{display:flex;background:#fff;border-radius:12px;padding:5px}
.footer-subscribe input{flex:1;border:0;outline:none;padding:0 14px}
.footer-subscribe button{border:0;background:var(--yellow);color:#111;border-radius:9px;padding:12px 20px;font-weight:900}
.footer-main{padding:52px 0 24px}
.footer-topgrid{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr 1fr;gap:34px}
.footer-brandbox{max-width:360px}
.footer-brandbox .footer-logo{height:70px;width:auto;max-width:320px;object-fit:contain}
.footer-brandbox p{color:#8b9098;font-size:12px;line-height:1.8;margin:16px 0}
.footer-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.footer-badge{padding:8px 10px;border-radius:999px;background:#121419;border:1px solid #24282e;color:#bfc3c9;font-size:10px}
.footer-col h4{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#fff;margin:0 0 14px}
.footer-col a{display:block;color:#868c95;font-size:12px;line-height:2}
.footer-col a:hover{color:var(--yellow)}
.footer-support{margin-top:34px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.footer-support-card{background:#101216;border:1px solid #20242a;border-radius:14px;padding:16px}
.footer-support-card b{display:block;font-size:11px;margin-bottom:4px}
.footer-support-card span{font-size:10px;color:#747a83}
.footer-pay{margin-top:30px;padding-top:20px;border-top:1px solid #1d2025;display:flex;justify-content:space-between;align-items:center;gap:20px}
.footer-pay-left{display:flex;gap:8px;flex-wrap:wrap}
.paypill{background:#111317;border:1px solid #24282e;border-radius:8px;padding:8px 10px;font-size:10px;color:#b7bbc1}
.footer-social{display:flex;gap:8px}
.social{width:34px;height:34px;border-radius:50%;border:1px solid #292d33;display:grid;place-items:center;color:#cfd2d6}
.footer-bottomline{margin-top:20px;padding-top:16px;border-top:1px solid #1c1f24;display:flex;justify-content:space-between;gap:20px;color:#5f646c;font-size:10px}
@media(max-width:1050px){
  .footer-topgrid{grid-template-columns:1.4fr repeat(2,1fr)}
  .footer-brandbox{grid-row:span 2}
  .footer-support{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .footer-news .shell{grid-template-columns:1fr}
  .footer-topgrid{grid-template-columns:1fr 1fr}
  .footer-brandbox{grid-column:1/-1;grid-row:auto;max-width:none}
  .footer-support{grid-template-columns:1fr 1fr}
  .footer-pay,.footer-bottomline{flex-direction:column;align-items:flex-start}
}
@media(max-width:480px){
  .footer-topgrid{grid-template-columns:1fr}
  .footer-brandbox{grid-column:auto}
  .footer-support{grid-template-columns:1fr}
}


/* WooCommerce integration */
body.woocommerce, body.woocommerce-page { background:var(--black); color:var(--text); }
.woocommerce .woocommerce-breadcrumb{color:#8c929a;font-size:11px;padding:18px 0 0;margin:0}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:14px;margin:0!important;padding:0!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff!important;color:#111!important;border-radius:18px;overflow:hidden;border:1px solid #e6e0d5;padding-bottom:12px}
.woocommerce ul.products li.product a img{width:100%!important;aspect-ratio:1/1;object-fit:cover;margin:0!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.45!important;min-height:39px;padding:0 14px!important;margin:10px 0 6px!important;color:#111}
.woocommerce ul.products li.product .price{padding:0 14px;color:#111!important}
.woocommerce ul.products li.product .star-rating{margin:0 14px 8px}
.woocommerce ul.products li.product .button{display:block!important;margin:11px 14px 0!important;width:calc(100% - 28px)!important;background:#111!important;color:#fff!important;border-radius:9px!important;text-align:center!important;font-size:10px!important;font-weight:900!important}
.woocommerce .woocommerce-ordering select{background:#111317;color:#fff;border:1px solid #2a2e34;border-radius:10px;padding:10px 12px}
.woocommerce .woocommerce-result-count{color:#9da2aa}
.woocommerce div.product{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;padding:28px 0 70px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product .product_title{font-size:48px;line-height:.95;margin:10px 0}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:34px!important;color:#fff!important}
.woocommerce div.product form.cart .button{background:var(--yellow)!important;color:#111!important;border-radius:10px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#111317!important;border-color:#2d3137!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:#fff!important}
.woocommerce div.product .woocommerce-tabs .panel{color:#a3a8af}
.woocommerce table.shop_table{border-color:#2d3137;background:#111317;color:#fff;border-radius:14px;overflow:hidden}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:#24282e}
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-account .woocommerce-MyAccount-content{background:#111317;border:1px solid #20242a;border-radius:16px;padding:20px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single{background:#111317!important;color:#fff!important;border:1px solid #2b2f35!important;border-radius:10px!important;padding:10px}
.woocommerce .button,.woocommerce button.button,.woocommerce input.button{background:var(--yellow)!important;color:#111!important;border-radius:10px!important}
.woocommerce-error,.woocommerce-info,.woocommerce-message{background:#171a1f;color:#fff;border-top-color:var(--yellow)}
.woocommerce-info::before,.woocommerce-message::before{color:var(--yellow)}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0 0 20px;display:flex;gap:8px;flex-wrap:wrap}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;background:#171a1f;border:1px solid #292d33;border-radius:999px}
@media(max-width:1050px){.woocommerce ul.products{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:720px){.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.woocommerce div.product{grid-template-columns:1fr}}
