/*
Theme Name: GadgetDai Store
Theme URI: https://gadgetdai.com
Description: GADGETDAI store look (Nepal flag red and blue) as a Blocksy child theme, styled for WooCommerce.
Author: GadgetDai
Template: blocksy
Version: 1.0.0
Text Domain: gadgetdai-store
*/

:root{
  --flag-red:#DC143C; --flag-blue:#003893;
  --gd-bg:#F6F7FA; --gd-surface:#FFFFFF; --gd-ink:#101A33; --gd-muted:#566079; --gd-line:#E0E4EE;
  --gd-accent:#DC143C; --gd-accent-soft:#FDE8EC; --gd-band:#003893; --gd-band-ink:#FFFFFF; --gd-band-muted:#C3D1F0;
  --gd-ok:#178A57; --gd-ok-soft:#E3F5EC; --gd-warn:#A86700; --gd-warn-soft:#FFF3D6;
  --gd-shadow:0 1px 2px rgba(16,26,51,.06),0 8px 24px rgba(16,26,51,.06);
  --gd-display:"Bricolage Grotesque","Trebuchet MS",system-ui,sans-serif;
  --gd-body:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
  --gd-r:10px;

  /* Map onto Blocksy's palette so every Blocksy option uses the store colours */
  --theme-palette-color-1:#DC143C;
  --theme-palette-color-2:#B5102F;
  --theme-palette-color-3:#566079;
  --theme-palette-color-4:#101A33;
  --theme-palette-color-5:#E0E4EE;
  --theme-palette-color-6:#EEF1F6;
  --theme-palette-color-7:#F6F7FA;
  --theme-palette-color-8:#FFFFFF;
  --theme-button-border-radius:999px;
}

body{background:var(--gd-bg);color:var(--gd-ink);font-family:var(--gd-body);font-size:15px;line-height:1.55}
h1,h2,h3,h4,.site-title,.woocommerce-loop-product__title,.product_title{font-family:var(--gd-display)!important;letter-spacing:-.01em}
.price,.amount,.woocommerce-Price-amount{font-variant-numeric:tabular-nums}
:focus-visible{outline:2px solid var(--gd-accent);outline-offset:2px}

/* Logo: GADGET in ink, DAI in red */
.site-title a{font-weight:800;letter-spacing:-.03em;color:var(--gd-ink)}
.gd-logo-dai{color:var(--gd-accent)}

/* Top strip */
.gd-strip{background:var(--gd-band);color:var(--gd-band-muted);font-size:12.5px}
.gd-strip .gd-wrap{display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;padding:6px 16px;max-width:1290px;margin:0 auto}
.gd-strip b{color:var(--gd-band-ink);font-weight:600}
.gd-strip a{color:var(--gd-band-ink)}

/* Buttons: pill, flag red */
.button,button.button,.wp-element-button,.ct-button,input[type=submit],.woocommerce a.button,.woocommerce button.button{
  border-radius:999px!important;font-weight:700}
.single_add_to_cart_button,.checkout-button,#place_order{background:var(--gd-accent)!important;color:#fff!important}

/* Section headings with the Nepal flag pennant */
.gd-sec-h{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;margin:0 0 14px}
.gd-sec-h::before{content:"";flex:none;width:12px;height:16px;background:var(--gd-accent);clip-path:polygon(0 0,100% 46%,38% 46%,100% 100%,0 100%)}

/* Product cards */
.woocommerce ul.products li.product,.wc-block-grid__product{
  background:var(--gd-surface);border:1px solid var(--gd-line);border-radius:var(--gd-r);overflow:hidden;
  transition:border-color .15s,box-shadow .15s;padding-bottom:14px}
.woocommerce ul.products li.product:hover{border-color:#b9c0d0;box-shadow:var(--gd-shadow)}
.woocommerce ul.products li.product .ct-media-container,.woocommerce ul.products li.product figure{background:var(--gd-bg)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--gd-body)!important;font-weight:600;font-size:14.5px;line-height:1.3;padding:0 14px}
.woocommerce ul.products li.product .price{padding:0 14px;font-size:17px;font-weight:700;color:var(--gd-ink)}
.woocommerce ul.products li.product .price del{font-size:12.5px;color:var(--gd-muted);font-weight:400}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{margin:8px 14px 0}
.onsale{background:var(--gd-accent)!important;border-radius:999px!important}

/* Official / Expected price pill */
.gd-pill{display:inline-block;font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:999px;margin:8px 14px 2px}
.gd-pill.official{background:var(--gd-ok-soft);color:var(--gd-ok)}
.gd-pill.expected{background:var(--gd-warn-soft);color:var(--gd-warn)}
.summary .gd-pill{margin:0 0 10px}

/* Trust bar */
.gd-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--gd-line);border:1px solid var(--gd-line);border-top:3px solid var(--flag-blue);border-radius:var(--gd-r);overflow:hidden;margin:24px 0}
.gd-trust div{background:var(--gd-surface);padding:14px 16px}
.gd-trust b{display:block;font-size:14px}
.gd-trust span{font-size:12.5px;color:var(--gd-muted)}
@media (max-width:760px){.gd-trust{grid-template-columns:1fr 1fr}}

/* Hero band */
.gd-hero{background:var(--gd-band);color:var(--gd-band-ink);border-radius:16px;padding:32px 28px;position:relative;overflow:hidden;margin:20px 0}
.gd-hero::after{content:"";position:absolute;right:-60px;top:-60px;width:260px;height:260px;border-radius:50%;border:40px solid rgba(255,255,255,.05)}
.gd-hero .gd-eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.gd-hero h1{color:#fff;font-size:clamp(28px,4vw,44px);line-height:1.05;margin:10px 0;font-weight:800}
.gd-hero p{color:var(--gd-band-muted);max-width:42ch;margin:0 0 18px}
.gd-hero .gd-btn{display:inline-block;background:var(--gd-accent);color:#fff;border-radius:999px;padding:11px 22px;font-weight:700;text-decoration:none}

/* Watch & Shop: vertical video cards */
.gd-vrow{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(170px,22vw,220px);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.gd-vcard{scroll-snap-align:start;position:relative;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#101A33;color:#fff;box-shadow:var(--gd-shadow)}
.gd-vcard img.gd-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}
.gd-vcard .gd-vplay{position:absolute;inset:0;display:grid;place-items:center;font-size:42px;text-decoration:none;color:#fff}
.gd-vcard .gd-vfoot{position:absolute;left:0;right:0;bottom:0;padding:12px;background:linear-gradient(transparent,rgba(0,0,0,.85))}
.gd-vcard .gd-vfoot b{display:block;font-size:13.5px;line-height:1.25}
.gd-vcard .gd-vfoot span{font-size:12px;opacity:.85}
.gd-vcard .gd-vbuy{display:inline-block;margin-top:8px;background:var(--gd-accent);color:#fff;border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:700;text-decoration:none}

/* WhatsApp floating button */
.gd-wa{position:fixed;right:16px;bottom:16px;z-index:99;background:#25D366;color:#fff;border-radius:999px;padding:12px 16px;font-weight:700;text-decoration:none;box-shadow:var(--gd-shadow)}
@media (max-width:560px){.gd-wa{padding:12px 14px;font-size:13px}}

/* Payment strip in footer */
.gd-pay{font-size:12.5px;color:var(--gd-muted);text-align:center;padding:10px 16px}
