/*
Theme Name: Gridline
Theme URI: https://example.com/gridline
Author: Your Studio
Author URI: https://example.com
Description: Custom WooCommerce theme for a digital products marketplace (website templates, AI tools, software, license keys, effect bundles, services). Built from the Gridline design mockup.
Version: 1.5.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gridline
Tags: e-commerce, custom-colors, one-column, two-columns, right-sidebar

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

:root{
  --ink:#0A1120;
  --ink-2:#111B30;
  --blue:#2F5FFF;
  --blue-deep:#1739C7;
  --sky:#5FC3F0;
  --sky-soft:#DCF0FB;
  --white:#FFFFFF;
  --frost:#F5F8FC;
  --text:#0F1B33;
  --muted:#5B6B8C;
  --line:rgba(15,32,64,0.10);
  --line-dark:rgba(255,255,255,0.12);
  --glass-bg:rgba(255,255,255,0.58);
  --glass-bg-dark:rgba(255,255,255,0.06);
  --glass-border:rgba(255,255,255,0.7);
  --glass-border-dark:rgba(255,255,255,0.14);
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 14px 34px -16px rgba(15,32,64,0.22);
  --ff-display:'Space Grotesk',sans-serif;
  --ff-body:'Inter',sans-serif;
  --ff-mono:'JetBrains Mono',monospace;
}
*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;}
body{font-family:var(--ff-body);color:var(--text);background:var(--frost);-webkit-font-smoothing:antialiased;}
img,svg{display:block;max-width:100%;}
button{font-family:inherit;cursor:pointer;}
input,select,textarea{font-family:inherit;font-size:14px;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
h1,h2,h3,h4{font-family:var(--ff-display);font-weight:600;line-height:1.15;letter-spacing:-0.01em;}
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 20px;}

/* ============ GLASS + GRID SIGNATURE ============ */
.grid-canvas{
  background-image:radial-gradient(circle, rgba(95,195,240,0.45) 1px, transparent 1.4px);
  background-size:24px 24px;
}
.grid-canvas--dark{
  background-image:radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1.4px);
  background-size:24px 24px;
}
.glass{
  background:var(--glass-bg);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid var(--glass-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.glass-dark{
  background:var(--glass-bg-dark);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid var(--glass-border-dark);
  border-radius:var(--radius);
}

/* ============ BUTTONS ============ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:12px;font-weight:600;font-size:14px;border:1px solid transparent;transition:transform .15s, box-shadow .15s, background .15s;white-space:nowrap;}
.btn:active{transform:translateY(1px);}
.btn--primary{background:var(--blue);color:#fff;box-shadow:0 10px 22px -8px rgba(47,95,255,0.55);}
.btn--primary:hover{background:var(--blue-deep);}
.btn--outline{background:rgba(255,255,255,0.5);border-color:rgba(15,32,64,0.16);color:var(--text);}
.btn--outline:hover{border-color:var(--blue);color:var(--blue);}
.btn--ghost-dark{background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.18);color:#fff;}
.btn--ghost-dark:hover{background:rgba(255,255,255,0.16);}
.btn--sm{padding:8px 14px;font-size:12.5px;border-radius:9px;}
.btn--block{width:100%;}
.btn--icon{padding:10px;border-radius:10px;}

.eyebrow{font-family:var(--ff-mono);font-size:11px;letter-spacing:0.1em;text-transform:uppercase;color:var(--blue);display:flex;align-items:center;gap:8px;margin-bottom:10px;}
.eyebrow::before{content:"";width:16px;height:1px;background:var(--blue);}

.badge{font-family:var(--ff-mono);font-size:10.5px;letter-spacing:.03em;padding:4px 8px;border-radius:6px;font-weight:500;}
.badge--new{background:rgba(47,95,255,0.12);color:var(--blue-deep);}
.badge--sale{background:rgba(255,255,255,0.9);color:#D1483F;}
.badge--best{background:rgba(95,195,240,0.18);color:#0E6FA0;}

/* ============ HEADER ============ */
.site-header{position:relative;z-index:20;}
.header-top{background:var(--ink);color:#B9C5E0;font-family:var(--ff-mono);font-size:11.5px;text-align:center;padding:8px 12px;letter-spacing:.02em;}
.header-top strong{color:var(--sky);}
.header-main{background:rgba(245,248,252,0.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);position:sticky;top:0;}
.header-main .container{display:flex;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px;gap:16px;}
.logo{display:flex;align-items:center;gap:9px;font-family:var(--ff-display);font-size:19px;font-weight:700;letter-spacing:-0.02em;}
.logo-mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,var(--blue),var(--sky));display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.main-nav{display:none;gap:28px;font-size:14px;font-weight:500;}
.main-nav ul{display:flex;gap:28px;}
.nav-link{color:var(--text);opacity:.8;position:relative;padding:4px 0;}
.nav-link:hover{opacity:1;color:var(--blue);}
.header-actions{display:flex;align-items:center;gap:8px;}
.search-box{display:none;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 12px;min-width:200px;}
.search-box input{border:none;outline:none;font-size:13px;width:100%;background:transparent;}
.icon-btn{width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;}
.icon-btn:hover{border-color:var(--blue);}
.cart-count{position:absolute;top:-6px;right:-6px;background:var(--blue);color:#fff;font-size:10px;font-family:var(--ff-mono);width:17px;height:17px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.nav-toggle{display:flex;}
.mobile-nav{display:none;flex-direction:column;padding:10px 20px 18px;gap:2px;border-top:1px solid var(--line);background:var(--frost);}
.mobile-nav ul{display:flex;flex-direction:column;}
.site-header.nav-open .mobile-nav{display:flex;}
.mobile-nav a{padding:11px 4px;font-size:14.5px;font-weight:500;border-bottom:1px solid var(--line);display:block;}

@media (min-width:900px){
  .main-nav{display:flex;}
  .search-box{display:flex;}
  .nav-toggle{display:none;}
  .mobile-nav{display:none !important;}
}

/* ============ HERO ============ */
.hero{position:relative;overflow:hidden;padding:56px 0 60px;}
.hero-bg{position:absolute;inset:0;background:linear-gradient(180deg,var(--frost) 0%, var(--sky-soft) 120%);}
.hero .container{position:relative;display:flex;flex-direction:column;gap:38px;}
.hero-title{font-size:34px;line-height:1.08;margin-bottom:16px;}
.hero-title span{color:var(--blue);}
.hero-sub{font-size:15.5px;color:var(--muted);max-width:480px;line-height:1.6;margin-bottom:26px;}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:30px;}
.hero-trust{display:flex;gap:18px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);font-family:var(--ff-mono);}
.hero-trust span{display:flex;align-items:center;gap:6px;}
.hero-visual{position:relative;height:320px;border-radius:20px;overflow:hidden;}
.hero-visual .grid-canvas{position:absolute;inset:0;}
.hero-visual .glow{position:absolute;width:280px;height:280px;background:radial-gradient(circle,rgba(47,95,255,0.35),transparent 70%);top:-40px;right:-40px;}
.floating-card{position:absolute;padding:16px;width:190px;}
.fc-1{top:20px;left:6%;transform:rotate(-4deg);}
.fc-2{bottom:24px;right:6%;transform:rotate(3deg);}
.fc-3{top:44%;left:38%;transform:translate(-50%,-50%) rotate(-1deg);width:170px;}
.fc-title{font-family:var(--ff-mono);font-size:10.5px;color:var(--blue-deep);margin-bottom:8px;}
.fc-bars{display:flex;flex-direction:column;gap:6px;}
.fc-bars div{height:6px;border-radius:4px;background:rgba(47,95,255,0.25);}
.fc-bars div:nth-child(1){width:90%;}
.fc-bars div:nth-child(2){width:60%;background:rgba(95,195,240,0.5);}
.fc-bars div:nth-child(3){width:75%;}

@media (min-width:900px){
  .hero{padding:76px 0 84px;}
  .hero .container{flex-direction:row;align-items:center;}
  .hero-copy{flex:1;max-width:480px;}
  .hero-title{font-size:44px;}
  .hero-visual{flex:1;height:420px;}
}

/* ============ STATS ============ */
.stats-bar{background:var(--ink);}
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:rgba(255,255,255,0.08);}
.stat{background:var(--ink);padding:22px 16px;text-align:center;}
.stat b{display:block;font-family:var(--ff-display);font-size:24px;color:#fff;margin-bottom:4px;}
.stat span{font-size:11.5px;color:#8FA0C4;font-family:var(--ff-mono);}
@media (min-width:620px){.stats-grid{grid-template-columns:repeat(4,1fr);}}

/* ============ SECTION SHELL ============ */
.section{padding:52px 0;}
.section--tight{padding:40px 0;}
.section--dark{background:var(--ink);color:#fff;}
.section-head{margin-bottom:30px;max-width:560px;}
.section-head h2{font-size:26px;margin-bottom:8px;}
.section-head p{color:var(--muted);font-size:14.5px;line-height:1.6;}
.section--dark .section-head p{color:#9FADCB;}
.section-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;}

/* ============ CATEGORY GRID ============ */
.cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
.cat-card{padding:20px 16px;display:flex;flex-direction:column;gap:12px;transition:transform .2s;}
.cat-card:hover{transform:translateY(-3px);}
.cat-icon{width:42px;height:42px;border-radius:11px;background:linear-gradient(135deg,var(--blue),var(--sky));display:flex;align-items:center;justify-content:center;}
.cat-card h4{font-size:15px;}
.cat-card span{font-size:12px;color:var(--muted);font-family:var(--ff-mono);}
@media (min-width:620px){.cat-grid{grid-template-columns:repeat(3,1fr);}}
@media (min-width:980px){.cat-grid{grid-template-columns:repeat(6,1fr);}}

/* ============ PRODUCT GRID / CARD ============ */
.product-grid{display:grid;grid-template-columns:1fr;gap:18px;}
@media (min-width:620px){.product-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:980px){.product-grid{grid-template-columns:repeat(4,1fr);}}
/* Safety net: WooCommerce's own woocommerce_product_loop_start()/_end()
   print a <ul class="products"> around every product card. This theme's
   templates call wc_get_template_part('content','product') directly
   instead (no such wrapper), so .product-grid's children are the cards
   themselves and the grid-template-columns above works correctly. If any
   plugin hook ever reintroduces that <ul> wrapper, display:contents makes
   it disappear from the layout so the grid still distributes the actual
   cards into columns instead of collapsing to a single column. */
.product-grid > ul.products{display:contents;list-style:none;margin:0;padding:0;}
.product-grid > ul.products > li.product{display:contents;}
.product-card{overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;}
.product-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -18px rgba(15,32,64,0.3);}
.thumb{position:relative;height:150px;display:flex;align-items:flex-end;justify-content:space-between;padding:12px;overflow:hidden;background:linear-gradient(135deg,#2F5FFF,#5FC3F0);}
.thumb::after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle, rgba(255,255,255,0.35) 1px, transparent 1.4px);background-size:16px 16px;}
.thumb-code{font-family:var(--ff-mono);font-size:10px;color:rgba(255,255,255,0.85);position:relative;z-index:1;}
.thumb-glyph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:.9;}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.p-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1;}
.p-title{font-size:14.5px;font-weight:600;font-family:var(--ff-body);}
.p-cat{font-size:11.5px;color:var(--muted);font-family:var(--ff-mono);}
.rating{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);}
.stars{color:#F5A623;letter-spacing:1px;font-size:12px;}
.price-row{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:6px;}
.price-row .price,.price-row ins{font-family:var(--ff-mono);font-weight:500;font-size:16px;color:var(--text);text-decoration:none;}
.price-row del{font-family:var(--ff-mono);font-size:12px;color:var(--muted);text-decoration:line-through;margin-right:6px;}
.badge-row{position:absolute;top:10px;left:10px;display:flex;gap:6px;z-index:1;}
.product-card .add_to_cart_button,.product-card .button{padding:8px 14px;font-size:12.5px;border-radius:9px;background:var(--blue);color:#fff;font-weight:600;border:none;}
.product-card .add_to_cart_button:hover{background:var(--blue-deep);}

/* ============ FEATURES / REVIEWS / SUPPORT ============ */
.features-grid,.reviews-grid,.support-grid{display:grid;grid-template-columns:1fr;gap:14px;}
@media (min-width:620px){.features-grid{grid-template-columns:repeat(2,1fr);}.reviews-grid{grid-template-columns:repeat(2,1fr);}.support-grid{grid-template-columns:repeat(3,1fr);}}
@media (min-width:980px){.features-grid{grid-template-columns:repeat(4,1fr);}.reviews-grid{grid-template-columns:repeat(3,1fr);}}
.feature-card{padding:22px;}
.feature-icon{width:38px;height:38px;border-radius:10px;background:rgba(47,95,255,0.12);color:var(--blue-deep);display:flex;align-items:center;justify-content:center;margin-bottom:12px;font-size:17px;}
.feature-card h4{font-size:15px;margin-bottom:8px;}
.feature-card p{font-size:13px;color:var(--muted);line-height:1.6;}
.review-card{padding:20px;}
.review-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.avatar{width:36px;height:36px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0;}
.review-name{font-size:13.5px;font-weight:600;}
.review-date{font-size:11.5px;color:var(--muted);}
.review-stars{margin-bottom:8px;color:#F5A623;font-size:13px;}
.review-text{font-size:13px;color:var(--text);opacity:.85;line-height:1.6;}
.support-card{padding:22px;color:#fff;}
.support-card h4{margin-bottom:8px;font-size:15px;}
.support-card p{font-size:12.5px;color:#9FADCB;line-height:1.6;margin-bottom:14px;}

/* ============ ACCORDION / FAQ ============ */
.accordion-item{border-bottom:1px solid var(--line-dark);padding:14px 0;}
.accordion-q{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:13.5px;font-weight:600;color:#fff;}
.accordion-a{display:none;font-size:13px;color:#9FADCB;line-height:1.6;margin-top:10px;}
.accordion-item.open .accordion-a{display:block;}
.accordion-item.open .plus{transform:rotate(45deg);}
.plus{transition:transform .15s;display:inline-block;}

/* ============ NEWSLETTER ============ */
.newsletter{display:flex;flex-direction:column;gap:18px;justify-content:space-between;align-items:flex-start;padding:30px;margin:52px 0;}
.newsletter h3{font-size:19px;margin-bottom:6px;}
.newsletter p{font-size:13px;color:var(--muted);}
.newsletter-form{display:flex;gap:10px;width:100%;flex-wrap:wrap;}
.newsletter-form input{flex:1;min-width:180px;border:1px solid var(--line);border-radius:10px;padding:11px 14px;font-size:13px;outline:none;}
@media (min-width:820px){.newsletter{flex-direction:row;align-items:center;}.newsletter-form{width:auto;}}

/* ============ BREADCRUMB ============ */
.breadcrumb{font-size:12.5px;color:var(--muted);padding:18px 0;}
.breadcrumb a{color:var(--muted);}
.breadcrumb a:hover{color:var(--blue);}
.breadcrumb b{color:var(--text);}

/* ============ SHOP ============ */
.shop-layout{display:flex;flex-direction:column;gap:22px;padding-bottom:60px;}
.filter-panel{padding:20px;display:flex;flex-direction:column;gap:22px;height:fit-content;}
.filter-title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-bottom:10px;color:var(--text);}
.checkbox-row{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:13px;}
.checkbox-row .n{color:var(--muted);font-family:var(--ff-mono);font-size:11px;}
.price-range input[type=range]{width:100%;}
.range-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);font-family:var(--ff-mono);margin-top:4px;}
.tag-pill{display:inline-block;background:#fff;border:1px solid var(--line);border-radius:20px;padding:5px 10px;font-size:11px;margin:3px 4px 0 0;}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;margin-bottom:18px;flex-wrap:wrap;gap:10px;}
.shop-cat-section{margin-bottom:44px;}
.shop-cat-section:last-child{margin-bottom:0;}
.shop-cat-section h2{font-size:20px;}
.result-count{font-size:12.5px;color:var(--muted);}
.shop-toolbar select{border:1px solid var(--line);border-radius:9px;padding:8px 10px;font-size:12.5px;}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:30px;}
.page-num{width:34px;height:34px;border-radius:9px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:13px;background:#fff;}
.page-num.active,.page-num:hover{background:var(--blue);color:#fff;border-color:var(--blue);}
@media (min-width:900px){.shop-layout{flex-direction:row;align-items:flex-start;}.filter-panel{width:260px;flex-shrink:0;position:sticky;top:90px;}.shop-main{flex:1;}}

/* ============ SINGLE PRODUCT ============ */
.product-layout{display:flex;flex-direction:column;gap:28px;padding-bottom:20px;padding-top:6px;}
.gallery-main{height:320px;border-radius:var(--radius);}
.gallery-thumbs{display:flex;gap:10px;margin-top:12px;}
.thumb-sm{width:64px;height:64px;border-radius:10px;flex-shrink:0;cursor:pointer;opacity:.6;}
.thumb-sm.active{opacity:1;outline:2px solid var(--blue);}

/* Real WooCommerce product gallery markup (woocommerce_show_product_images,
   enabled via add_theme_support wc-product-gallery-zoom/lightbox/slider in
   functions.php) — restyled to match the mockup's rounded gallery-main /
   gallery-thumbs look, since WooCommerce's own gallery stylesheet is
   disabled site-wide in favor of this theme's CSS. */
.woocommerce-product-gallery{position:relative;}
.woocommerce-product-gallery__wrapper{margin:0;border-radius:var(--radius);overflow:hidden;background:linear-gradient(135deg,#2F5FFF,#5FC3F0);}
.woocommerce-product-gallery__image{margin:0;}
.woocommerce-product-gallery__image a{display:block;height:320px;}
.woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:cover;display:block;}
.woocommerce-product-gallery__trigger{position:absolute;top:14px;right:14px;z-index:2;width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,0.85);display:flex;align-items:center;justify-content:center;font-size:0;}
.woocommerce-product-gallery__trigger::before{content:"⤢";font-size:15px;}
.flex-control-thumbs{display:flex;gap:10px;margin-top:12px;list-style:none;padding:0;flex-wrap:wrap;}
.flex-control-thumbs li{width:64px;height:64px;flex-shrink:0;}
.flex-control-thumbs li img{width:100%;height:100%;object-fit:cover;border-radius:10px;cursor:pointer;opacity:.6;transition:opacity .15s;}
.flex-control-thumbs li img.flex-active,.flex-control-thumbs li img:hover{opacity:1;outline:2px solid var(--blue);}
@media (min-width:900px){.woocommerce-product-gallery__image a{height:400px;}}
.info-col h1{font-size:24px;margin-bottom:10px;}
.desc-p{font-size:14px;color:var(--muted);line-height:1.65;margin:14px 0;}
.price-block{display:flex;align-items:center;gap:10px;margin-bottom:18px;}
.price-block .price,.price-block ins{font-family:var(--ff-mono);font-size:26px;font-weight:600;text-decoration:none;}
.price-block del{font-family:var(--ff-mono);font-size:15px;color:var(--muted);text-decoration:line-through;}
.qty-row{margin-bottom:16px;}
.stepper{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden;}
.stepper button{width:34px;height:34px;background:#fff;border:none;font-size:16px;}
.stepper input{width:42px;text-align:center;border:none;background:#fff;font-size:14px;}
.buy-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px;}
.trust-row{display:flex;flex-direction:column;gap:10px;padding:16px;margin-bottom:26px;}
.trust-item{display:flex;align-items:center;gap:10px;font-size:12.5px;}
.trust-item .dot{width:8px;height:8px;border-radius:50%;background:var(--sky);flex-shrink:0;}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow-x:auto;}
.tab-btn{padding:11px 16px;font-size:13px;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap;background:transparent;border-top:none;border-left:none;border-right:none;}
.tab-btn.active{color:var(--blue);border-color:var(--blue);}
.tab-panel{display:none;font-size:13.5px;color:var(--text);opacity:.85;line-height:1.75;}
.tab-panel.active{display:block;}
.tab-panel ul{padding-left:2px;}
.tab-panel li{padding:5px 0;display:flex;gap:8px;}
.rating-summary{display:flex;flex-direction:column;gap:20px;margin-bottom:24px;}
.rb-big{text-align:center;padding:22px;}
.rb-big .num{font-family:var(--ff-display);font-size:40px;}
.rb-rows{display:flex;flex-direction:column;gap:8px;}
.rb-row{display:flex;align-items:center;gap:10px;font-family:var(--ff-mono);font-size:11px;color:var(--muted);}
.rb-track{flex:1;height:6px;background:var(--line);border-radius:4px;overflow:hidden;}
.rb-fill{height:100%;background:var(--sky);}
@media (min-width:900px){.product-layout{flex-direction:row;gap:44px;}.gallery-col{flex:1;}.info-col{flex:1;}.gallery-main{height:400px;}.rating-summary{flex-direction:row;}.rb-big{flex:0 0 180px;}}

/* ============ CART ============ */
.cart-page-layout{display:flex;flex-direction:column;gap:24px;padding-bottom:60px;}
.cart-list{display:flex;flex-direction:column;gap:12px;}
.cart-row{display:flex;gap:14px;padding:14px;align-items:center;}
.cart-thumb{width:64px;height:64px;border-radius:10px;flex-shrink:0;}
.cart-row-info{flex:1;min-width:0;}
.cart-row-info h4{font-size:13.5px;margin-bottom:3px;}
.cart-row-info span{font-size:11.5px;color:var(--muted);font-family:var(--ff-mono);}
.cart-row-right{display:flex;align-items:center;gap:14px;}
.cart-price{font-family:var(--ff-mono);font-weight:500;font-size:14px;}
.remove-btn{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;color:#D1483F;font-size:14px;}
.coupon-row{display:flex;gap:10px;padding:16px;}
.coupon-row input{flex:1;border:1px solid var(--line);border-radius:9px;padding:10px 12px;font-size:13px;outline:none;}
.cart-summary{padding:22px;height:fit-content;}
.summary-row{display:flex;justify-content:space-between;font-size:13.5px;padding:8px 0;color:var(--muted);}
.summary-row.total{border-top:1px solid var(--line);margin-top:8px;padding-top:14px;font-size:16px;font-weight:600;color:var(--text);font-family:var(--ff-mono);}
@media (min-width:820px){.cart-page-layout{flex-direction:row;align-items:flex-start;}.cart-main{flex:1;}.cart-summary{width:300px;flex-shrink:0;position:sticky;top:90px;}}

/* ============ CHECKOUT (CSS re-skin over WooCommerce shortcode markup) ============ */
.checkout-steps{display:flex;align-items:center;gap:10px;padding:22px 0;font-family:var(--ff-mono);font-size:12px;flex-wrap:wrap;}
.step{display:flex;align-items:center;gap:8px;color:var(--muted);}
.step .num{width:22px;height:22px;border-radius:50%;background:var(--line);display:flex;align-items:center;justify-content:center;font-size:11px;}
.step.active{color:var(--blue-deep);font-weight:600;}
.step.active .num{background:var(--blue);color:#fff;}
.step.done .num{background:var(--sky);color:#fff;}
.step-sep{width:20px;height:1px;background:var(--line);}
.woocommerce-checkout .col2-set{display:flex;flex-direction:column;gap:24px;}
.woocommerce-checkout form.checkout{padding:24px;border-radius:var(--radius);}
.form-row{margin-bottom:14px;}
.form-row input,.form-row select,.form-row textarea{border:1px solid var(--line);border-radius:10px;padding:11px 13px;font-size:13px;outline:none;background:#fff;width:100%;}
.form-row label{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px;color:var(--text);}
.woocommerce-checkout #order_review{padding:22px;border-radius:var(--radius);}
@media (min-width:900px){.woocommerce-checkout .col2-set{flex-direction:row;}}
/* Classic checkout's own form-row-first/-last/-wide layout (WooCommerce's
   long-standing default markup) — replicated here since this theme
   disables WooCommerce's bundled stylesheet. Single column on narrow
   screens, First/Last name side-by-side from 600px up. Also applies to
   the Edit Account / Addresses forms in My Account, which use the same
   markup convention. */
@media (min-width:600px){
  .form-row-first,
  .form-row-last{width:48%;}
  .form-row-first{float:left;clear:both;}
  .form-row-last{float:right;}
  .form-row-wide{clear:both;}
}
.woocommerce-Addresses,.woocommerce-account .woocommerce-MyAccount-content form{max-width:520px;}
.woocommerce-account .woocommerce-MyAccount-content .button{margin-top:6px;}

/* ============ ACCOUNT ============ */
.account-layout{display:flex;flex-direction:column;gap:24px;padding-bottom:60px;}
.account-nav{padding:14px;display:flex;flex-direction:row;gap:6px;overflow-x:auto;height:fit-content;}
.account-nav a{padding:10px 14px;border-radius:9px;font-size:13px;font-weight:500;white-space:nowrap;color:var(--muted);}
.account-nav a.active{background:var(--blue);color:#fff;}
.account-welcome{padding:22px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;}
.dash-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px;}
.dash-stat{padding:18px;}
.dash-stat b{display:block;font-family:var(--ff-display);font-size:22px;}
.dash-stat span{font-size:11.5px;color:var(--muted);font-family:var(--ff-mono);}
table{width:100%;border-collapse:collapse;font-size:13px;}
th{text-align:left;font-family:var(--ff-mono);font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);padding:10px 12px;border-bottom:1px solid var(--line);}
td{padding:13px 12px;border-bottom:1px solid var(--line);}
.status-chip{font-family:var(--ff-mono);font-size:10.5px;padding:4px 9px;border-radius:6px;background:rgba(95,195,240,0.18);color:#0E6FA0;}
.status-chip.done{background:rgba(47,95,255,0.12);color:var(--blue-deep);}
.download-row{display:flex;align-items:center;justify-content:space-between;padding:14px;margin-bottom:10px;}
.download-row h4{font-size:13.5px;margin-bottom:3px;}
.download-row span{font-size:11.5px;color:var(--muted);font-family:var(--ff-mono);}
.table-wrap{overflow-x:auto;}
@media (min-width:820px){.account-layout{flex-direction:row;align-items:flex-start;}.account-nav{flex-direction:column;width:220px;flex-shrink:0;position:sticky;top:90px;}.account-main{flex:1;}.dash-stats{grid-template-columns:repeat(4,1fr);}}

/* ============ FOOTER ============ */
.site-footer{background:var(--ink);color:#9FADCB;padding:56px 0 0;}
.footer-grid{display:grid;grid-template-columns:1fr;gap:32px;padding-bottom:36px;}
.footer-brand p{font-size:12.5px;line-height:1.7;margin-top:12px;max-width:280px;}
.footer-col h5{color:#fff;font-size:13px;margin-bottom:14px;font-family:var(--ff-display);}
.footer-col a{display:block;font-size:12.5px;padding:5px 0;color:#9FADCB;}
.footer-col a:hover{color:var(--sky);}
.footer-bottom{border-top:1px solid var(--line-dark);padding:18px 20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:11.5px;max-width:1180px;margin:0 auto;}
.payment-icons{display:flex;gap:8px;}
.pay-chip{background:rgba(255,255,255,0.08);border-radius:6px;padding:4px 8px;font-family:var(--ff-mono);font-size:10px;}
@media (min-width:820px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;}}

/* ============ WOOCOMMERCE CORE CLASS COMPATIBILITY ============ */
/* We disable WooCommerce's bundled stylesheet (functions.php) and restyle
   its default markup/classes directly, so core features (variations,
   quantity inputs, notices, tabs, tables) keep working and look on-brand. */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews{
  list-style:none;background:#fff;border:1px solid var(--line);border-left:4px solid var(--blue);
  border-radius:10px;padding:14px 18px;margin-bottom:20px;font-size:13.5px;
}
.woocommerce-error{border-left-color:#D1483F;}
.star-rating{color:#F5A623;font-size:13px;letter-spacing:1px;overflow:hidden;position:relative;height:1em;line-height:1;width:5.4em;}
.star-rating::before{content:"☆☆☆☆☆";position:absolute;top:0;left:0;}
.star-rating span{overflow:hidden;position:absolute;top:0;left:0;height:100%;}
.star-rating span::before{content:"★★★★★";position:absolute;top:0;left:0;color:#F5A623;}
.summary .price{font-family:var(--ff-mono);font-size:26px;font-weight:600;display:block;margin-bottom:14px;}
.summary .price ins{text-decoration:none;}
.summary .price del{font-size:15px;color:var(--muted);margin-right:8px;}
.summary .product_title{font-size:24px;margin-bottom:10px;}
.summary .woocommerce-product-details__short-description{font-size:14px;color:var(--muted);line-height:1.65;margin:14px 0;}
.quantity{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-right:10px;}
.quantity .qty{width:52px;text-align:center;border:none;padding:9px 4px;font-size:14px;}
.single_add_to_cart_button,.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:12px;
  font-weight:600;font-size:14px;border:none;background:var(--blue);color:#fff !important;
  box-shadow:0 10px 22px -8px rgba(47,95,255,0.55);
}
.single_add_to_cart_button:hover{background:var(--blue-deep);}
.woocommerce-tabs{margin-top:12px;}
.woocommerce-tabs ul.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow-x:auto;list-style:none;padding:0;}
.woocommerce-tabs ul.tabs li{padding:0;}
.woocommerce-tabs ul.tabs li a{display:block;padding:11px 16px;font-size:13px;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap;}
.woocommerce-tabs ul.tabs li.active a{color:var(--blue);border-color:var(--blue);}
.woocommerce-tabs .panel{font-size:13.5px;line-height:1.75;color:var(--text);opacity:.9;}
.related.products,.upsells.products{margin-top:52px;}
.related.products h2,.upsells.products h2{font-size:22px;margin-bottom:20px;font-family:var(--ff-display);}
.related.products ul.products,.upsells.products ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:18px;}
@media (min-width:620px){.related.products ul.products,.upsells.products ul.products{grid-template-columns:repeat(2,1fr);}}
@media (min-width:980px){.related.products ul.products,.upsells.products ul.products{grid-template-columns:repeat(4,1fr);}}
table.shop_table{width:100%;border-collapse:collapse;font-size:13px;background:#fff;border-radius:var(--radius);overflow:hidden;}
table.shop_table th{text-align:left;font-family:var(--ff-mono);font-size:11px;text-transform:uppercase;color:var(--muted);padding:12px;border-bottom:1px solid var(--line);}
table.shop_table td{padding:14px 12px;border-bottom:1px solid var(--line);}
/* WooCommerce's native My Account pages (Orders, Downloads, Addresses —
   this theme doesn't override those with custom templates) mark their
   tables shop_table_responsive and already render a data-title attribute
   on every cell for exactly this purpose. Re-implemented here since
   WooCommerce's bundled stylesheet (which normally provides this) is
   disabled theme-wide in favor of this file. */
@media (max-width:699px){
  .shop_table_responsive thead{display:none;}
  .shop_table_responsive tr{display:block;}
  .shop_table_responsive tr td{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:right;}
  .shop_table_responsive tr td::before{content:attr(data-title);float:left;font-weight:600;font-size:11.5px;color:var(--muted);text-align:left;}
}
.woocommerce-Price-amount{font-family:var(--ff-mono);}
.select2-container .select2-selection--single{height:44px;border:1px solid var(--line) !important;border-radius:10px !important;display:flex;align-items:center;padding:0 10px;}

/* Native WooCommerce widgets recommended in the README (Filter Products by
   Category / Price / Rating) — added to the "Shop Sidebar" widget area, so
   the filter panel matches the mockup's checkbox-row look with zero extra
   plugins/CSS work required from the site owner. */
.filter-widget{margin-bottom:4px;}
.filter-widget .product-categories,
.filter-widget .woocommerce-widget-layered-nav-list{list-style:none;padding:0;margin:0;}
.filter-widget .product-categories li,
.filter-widget .woocommerce-widget-layered-nav-list__item{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:13px;}
.filter-widget .product-categories li a,
.filter-widget .woocommerce-widget-layered-nav-list__item a{display:flex;align-items:center;gap:8px;color:var(--text);}
.filter-widget .product-categories li.chosen a{color:var(--blue-deep);font-weight:600;}
.filter-widget .count{color:var(--muted);font-family:var(--ff-mono);font-size:11px;}
.filter-widget .price_slider{margin:6px 2px 16px;}
.filter-widget .price_slider_amount{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;}
.filter-widget .price_slider_amount .button{padding:8px 14px;font-size:12px;border-radius:9px;background:var(--blue);color:#fff;border:none;font-weight:600;}
.filter-widget .price_slider_amount .price_label{font-size:11.5px;color:var(--muted);font-family:var(--ff-mono);}
.filter-widget .ui-slider{position:relative;height:4px;background:var(--line);border-radius:4px;}
.filter-widget .ui-slider-range{position:absolute;height:100%;background:var(--blue);border-radius:4px;}
.filter-widget .ui-slider-handle{position:absolute;top:50%;width:16px;height:16px;margin-top:-8px;margin-left:-8px;background:#fff;border:2px solid var(--blue);border-radius:50%;cursor:pointer;outline:none;}

/* Checkout: payment method list + place-order button (classic
   [woocommerce_checkout] shortcode — see README note on classic vs. blocks). */
.woocommerce-checkout ul.payment_methods{list-style:none;padding:0;margin:0;border-top:1px solid var(--line);}
.woocommerce-checkout ul.payment_methods li.wc_payment_method{padding:13px 0;border-bottom:1px solid var(--line);font-size:13.5px;}
.woocommerce-checkout ul.payment_methods li.wc_payment_method label{font-weight:600;margin-left:8px;}
.woocommerce-checkout .payment_box{margin:10px 0 0 24px;font-size:12.5px;color:var(--muted);background:var(--frost);border-radius:10px;padding:12px 14px;}
.woocommerce-checkout #place_order{width:100%;margin-top:16px;padding:14px 20px;}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font-size:12px;color:var(--muted);margin:14px 0;}

/* "Support" / "Live chat" links (Tawk.to trigger — see theme.js). */
.js-open-livechat{cursor:pointer;}

/* Hide the product short-description snippet that the WooCommerce
   Cart/Checkout Blocks show under each line item's name in the Order
   Summary — the design only needs the product name, quantity and price
   there, matching the mockup's cart/checkout rows. Selectors cover the
   current and recent WooCommerce Blocks class names; harmless no-ops if a
   future WooCommerce version renames them. */
.wc-block-components-order-summary-item__description,
.wc-block-components-product-metadata__description,
.wc-block-cart-item__description,
.wc-block-components-summary-placeholder + .wc-block-components-product-metadata,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata__description{
	display:none !important;
}

/* My Account layout (default WooCommerce navigation/content wrapper classes) */
.woocommerce-account .shop-main-wrap{display:flex;flex-direction:column;gap:24px;padding-bottom:60px;}
.woocommerce-MyAccount-navigation{background:var(--glass-bg);backdrop-filter:blur(14px);border:1px solid var(--glass-border);border-radius:var(--radius);padding:14px;height:fit-content;}
.woocommerce-MyAccount-navigation ul{display:flex;flex-direction:row;gap:6px;overflow-x:auto;list-style:none;}
.woocommerce-MyAccount-navigation li{white-space:nowrap;}
.woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;border-radius:9px;font-size:13px;font-weight:500;color:var(--muted);}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--blue);color:#fff;}
.woocommerce-MyAccount-content{flex:1;}
@media (min-width:820px){
  .woocommerce-account .shop-main-wrap{flex-direction:row;align-items:flex-start;}
  .woocommerce-MyAccount-navigation{width:220px;flex-shrink:0;position:sticky;top:90px;}
  .woocommerce-MyAccount-navigation ul{flex-direction:column;}
}

/* Misc */
.mt-section{margin-top:52px;}
.center-text{text-align:center;margin:0 auto;}
.screen-reader-text{position:absolute;left:-9999px;}

/* ============ About / Contact page-hero band ============ */
.page-hero{position:relative;overflow:hidden;padding:48px 0 40px;}
.page-hero .grid-canvas{position:absolute;inset:0;opacity:.5;}
.page-hero-inner{position:relative;max-width:640px;}
.page-hero h1{font-size:32px;line-height:1.12;margin-bottom:14px;}
.page-hero p{color:var(--muted);font-size:15px;line-height:1.65;}
@media (min-width:900px){.page-hero{padding:64px 0 52px;}.page-hero h1{font-size:40px;}}

/* Our story block */
.story-block{max-width:720px;font-size:14.5px;line-height:1.8;color:var(--text);}
.story-block p{margin-bottom:16px;}
.story-block ul{list-style:disc;margin:0 0 16px;padding-left:20px;}
.story-block li{margin-bottom:6px;}
.story-block strong{color:var(--text);}

/* ============ Privacy / legal page ============ */
.policy-updated{font-family:var(--ff-mono);font-size:12.5px;color:var(--muted);margin:2px 0 10px;}
.policy-layout{display:grid;grid-template-columns:1fr;gap:26px;padding:8px 0 64px;align-items:start;}
.policy-toc{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:#fff;}
.policy-toc h4{font-family:var(--ff-mono);font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;}
.policy-toc ol{list-style:none;counter-reset:policy-toc;display:flex;flex-direction:column;gap:2px;}
.policy-toc li{counter-increment:policy-toc;}
.policy-toc a{display:flex;gap:10px;padding:7px 6px;border-radius:8px;font-size:13px;color:var(--muted);transition:background .15s,color .15s;}
.policy-toc a::before{content:counter(policy-toc,decimal-leading-zero);font-family:var(--ff-mono);font-size:12px;color:var(--sky);flex-shrink:0;}
.policy-toc a:hover{background:var(--frost);color:var(--text);}
.policy h2,.policy-block h2{font-size:19px;display:flex;align-items:baseline;gap:10px;scroll-margin-top:96px;}
.policy-block h2 .num{font-family:var(--ff-mono);font-size:13px;color:var(--blue);font-weight:500;}
.policy-block{padding-bottom:30px;margin-bottom:30px;border-bottom:1px solid var(--line);}
.policy-block:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0;}
.policy-block p{color:var(--muted);margin-top:12px;font-size:14px;line-height:1.75;}
.policy-block ul{margin:12px 0 0;padding-left:20px;list-style:disc;color:var(--muted);font-size:14px;line-height:1.7;display:flex;flex-direction:column;gap:6px;}
.policy-block strong{color:var(--text);font-weight:600;}
.policy-callout{background:var(--frost);border:1px solid var(--line);border-radius:11px;padding:14px 16px;margin-top:14px;font-size:13px;color:var(--muted);}
.policy-callout strong{color:var(--text);}
@media (min-width:900px){
	.policy-layout{grid-template-columns:250px 1fr;gap:48px;}
	.policy-toc{position:sticky;top:90px;}
}

/* Team grid */
.team-grid{display:grid;grid-template-columns:1fr;gap:14px;}
@media (min-width:620px){.team-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:980px){.team-grid{grid-template-columns:repeat(4,1fr);}}
.team-card{padding:22px;text-align:center;}
.team-photo{width:84px;height:84px;border-radius:50%;overflow:hidden;margin:0 auto 14px;background:var(--blue);}
.team-photo img{width:100%;height:100%;object-fit:cover;}
.team-photo-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--ff-display);font-size:26px;}
.team-card h4{font-size:15px;margin-bottom:2px;}
.team-role{display:block;font-size:11.5px;font-family:var(--ff-mono);color:var(--blue-deep);margin-bottom:10px;}
.team-card p{font-size:12.5px;color:var(--muted);line-height:1.6;}

/* Contact page */
.contact-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-bottom:44px;}
@media (min-width:620px){.contact-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:980px){.contact-grid{grid-template-columns:repeat(4,1fr);}}
.contact-card{padding:20px;}
.contact-card .feature-icon{margin-bottom:12px;}
.contact-card h4{font-size:14.5px;margin-bottom:6px;}
.contact-card p,.contact-card a{font-size:13px;color:var(--muted);line-height:1.6;word-break:break-word;}
.contact-card a{color:var(--blue-deep);font-weight:500;}

.contact-layout{display:flex;flex-direction:column;gap:32px;}
@media (min-width:980px){.contact-layout{flex-direction:row;}.contact-form-col{flex:1.3;}.contact-map-col{flex:1;}}

.contact-form{padding:26px;}
.contact-form .form-row{margin-bottom:14px;}
.contact-form label{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px;color:var(--text);}
.contact-form input[type=text],.contact-form input[type=email],.contact-form textarea{
  width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 13px;font-size:13.5px;outline:none;background:#fff;
}
.contact-form textarea{resize:vertical;min-height:130px;}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--blue);}
.contact-hp-field{position:absolute;left:-9999px;top:-9999px;}
.form-notice{padding:12px 14px;border-radius:10px;font-size:13px;margin-bottom:16px;}
.form-notice--success{background:rgba(47,95,255,0.1);color:var(--blue-deep);}
.form-notice--error{background:rgba(209,72,63,0.12);color:#B23A31;}

.contact-map{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);height:100%;min-height:280px;}
.contact-map iframe{width:100%;height:100%;min-height:280px;border:0;display:block;}
.contact-map-placeholder{height:100%;min-height:280px;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--muted);font-size:13px;background:var(--frost);}

/* Footer social icons */
.footer-social{display:flex;gap:8px;margin-top:16px;}
.footer-social a{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,0.08);border:1px solid var(--line-dark);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#fff;}
.footer-social a:hover{background:var(--blue);border-color:var(--blue);}
