﻿/* =====================================================
   DiscGame — UI 2.0 (design layer)
   Loaded after store.css. Safe override layer.
   ===================================================== */

:root{
    --dg-ink:#0f172a;
    --dg-muted:#64748b;
    --dg-bg:#f5f7fc;
    --dg-soft:#eef2f9;
    --dg-line:#e3e8f3;
    --dg-accent:#2f6bff;
    --dg-accent-dark:#1b4fe0;
    --dg-sale:#e11d48;
    --dg-radius:12px;
    --dg-container:1240px;
    --dg-dark:#0a1120;
    --dg-dark-2:#111c33;
    --dg-cyan:#22d3ee;
    --dg-shadow:0 18px 40px -26px rgba(15,23,42,.45);
    --dg-shadow-lg:0 30px 60px -34px rgba(15,23,42,.55);
}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--dg-bg);color:var(--dg-ink);font-size:15px;line-height:1.85}
::selection{background:rgba(47,107,255,.18);color:#0b1220}
:focus-visible{outline:2px solid var(--dg-accent);outline-offset:2px;border-radius:6px}
.gmb-container{padding-inline:18px}
a{transition:color .18s ease}
img{transition:opacity .2s ease}

/* ---------- Buttons ---------- */
.gmb-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,.wp-element-button,.single_add_to_cart_button{
    border-radius:11px;
    background:linear-gradient(135deg,var(--dg-accent),#4f8cff);
    box-shadow:0 10px 22px -14px rgba(47,107,255,.95);
    transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.gmb-btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce input.button:hover,.single_add_to_cart_button:hover{
    filter:brightness(1.04);
    transform:translateY(-1px);
    box-shadow:0 16px 28px -16px rgba(47,107,255,.9);
}
.gmb-btn-outline{background:#fff;color:var(--dg-accent)!important;box-shadow:inset 0 0 0 1px #cddaf8;border-radius:11px}
.gmb-btn-outline:hover{background:#f3f7ff}

/* ---------- Top bar ---------- */
.gmb-topbar{background:#070c17;color:#8ea3c6;border-bottom:1px solid rgba(255,255,255,.06);font-size:12.5px}
.gmb-topbar-inner{padding-top:8px;padding-bottom:8px}
.gmb-topbar-links a{color:#c9d7ef}
.gmb-topbar-links a:hover{color:#fff}
.gmb-topbar-icon{display:inline-flex;align-items:center;margin-inline-end:4px;color:var(--dg-cyan)}
.gmb-topbar-text{display:flex;align-items:center;gap:6px}

/* ---------- Header ---------- */
.gmb-header{
    background:radial-gradient(120% 180% at 100% 0%,#182a52 0%,#0d1628 46%,#0a1120 100%);
    border-bottom:1px solid rgba(120,150,220,.16);
    box-shadow:0 12px 34px -24px rgba(2,8,23,.9);
}
.gmb-header .gmb-container{position:relative}
.gmb-header-inner{gap:18px;padding:14px 0}
.gmb-logo-name{color:#fff;font-size:23px;letter-spacing:-.4px}
.gmb-logo-accent{background:linear-gradient(120deg,#6ea8ff,#22d3ee);-webkit-background-clip:text;background-clip:text;color:transparent}
.gmb-logo-icon{display:inline-flex;color:var(--dg-cyan)}
.gmb-logo-text:hover .gmb-logo-name{color:#fff}
.gmb-logo-wrap img{max-height:42px}

/* Search */
.gmb-search-wrap{max-width:560px}
.gmb-search-form{
    display:flex;align-items:center;gap:6px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(148,178,236,.22);
    border-radius:999px;padding:5px 6px 5px 5px;
    transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.gmb-search-form:focus-within{
    background:rgba(255,255,255,.1);
    border-color:rgba(110,168,255,.7);
    box-shadow:0 0 0 4px rgba(47,107,255,.18);
}
.gmb-search-icon{display:inline-flex;align-items:center;color:#9db4d6;margin-inline-start:10px}
.gmb-search-input{
    background:transparent;border:0;color:#f2f6ff;font-size:14px;padding:8px 2px;
    border-radius:999px;box-shadow:none!important;
}
.gmb-search-input::placeholder{color:#93a6c8}
.gmb-search-input:focus{outline:0;border:0}
.gmb-search-btn{
    border:0;border-radius:999px;padding:9px 20px;font-weight:700;font-size:13.5px;
    background:linear-gradient(135deg,#2f6bff,#2bb8e8);color:#fff;
    box-shadow:0 8px 18px -12px rgba(34,211,238,.9);
    transition:filter .18s ease;
}
.gmb-search-btn:hover{filter:brightness(1.06)}

.gmb-search-results{
    top:calc(100% + 8px);padding:8px;border:1px solid var(--dg-line);border-radius:16px;
    background:#fff;box-shadow:0 24px 50px -24px rgba(15,23,42,.45);display:none;
}
.gmb-search-results.show{display:block}
.gmb-search-result-item{display:flex;align-items:center;gap:12px;padding:8px;border-radius:12px;color:var(--dg-ink)}
.gmb-search-result-item:hover{background:#f4f7fe;color:var(--dg-ink)}
.gmb-search-result-thumb{width:46px;height:46px;border-radius:9px;object-fit:contain;background:#f2f5fc;flex:none}
.gmb-search-result-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.gmb-search-result-title{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gmb-search-result-price{font-size:12.5px;font-weight:700;color:var(--dg-accent)}
.gmb-search-loading,.gmb-search-no-results{padding:14px;text-align:center;color:var(--dg-muted);font-size:13px}

/* Header actions */
.gmb-header-action{color:#dbe6fb;border-radius:10px;padding:8px 10px;transition:background .18s ease,color .18s ease}
.gmb-header-action:hover{background:rgba(255,255,255,.08);color:#fff}
.gmb-cart-count{background:linear-gradient(135deg,#2f6bff,#22d3ee);box-shadow:0 0 0 2px #0d1628;font-weight:700}
.gmb-mobile-toggle span{background:#e6eefc}

/* Nav */
.gmb-nav{border-top:1px solid rgba(255,255,255,.07)}
.gmb-nav ul{gap:6px 22px;padding:9px 0 11px}
.gmb-nav a,.gmb-platform-nav summary{color:#b9c9e6;font-size:13.5px;font-weight:500;position:relative}
.gmb-nav a:hover,.gmb-platform-nav summary:hover{color:#fff}
.gmb-nav-menu > li > a::after{
    content:"";position:absolute;inset-inline:0;bottom:-11px;height:2px;border-radius:2px;
    background:linear-gradient(90deg,#2f6bff,#22d3ee);transform:scaleX(0);transition:transform .2s ease;
}
.gmb-nav-menu > li:hover > a::after,.gmb-nav-menu > li.current-menu-item > a::after{transform:scaleX(1)}
.gmb-nav .sub-menu,.gmb-nav .gmb-platform-submenu{
    background:#111c33;border:1px solid rgba(148,178,236,.18);border-radius:14px;
    box-shadow:0 24px 44px -22px rgba(2,8,23,.85);padding:8px;
}
.gmb-nav .sub-menu a,.gmb-nav .gmb-platform-submenu a{color:#c7d5ee;border-radius:9px;padding:8px 12px;display:block}
.gmb-nav .sub-menu a:hover,.gmb-nav .gmb-platform-submenu a:hover{background:rgba(47,107,255,.18);color:#fff}

/* ---------- Sections ---------- */
.gmb-main{background:var(--dg-bg)}
.gmb-section{padding:46px 0}
.gmb-section-title{
    font-size:21px;font-weight:800;letter-spacing:-.2px;margin-bottom:20px;
    padding-inline-start:14px;position:relative;display:flex;flex-direction:column;
}
.gmb-section-title::before{
    content:"";position:absolute;inset-inline-start:0;top:6px;bottom:6px;width:4px;border-radius:4px;
    background:linear-gradient(180deg,#2f6bff,#22d3ee);
}
.gmb-section-title small{font-weight:400;font-size:12.5px;color:var(--dg-muted);margin-top:2px}
.gmb-section-cta{text-align:center;margin-top:26px}

/* ---------- Hero ---------- */
.gmb-hero{
    position:relative;overflow:hidden;color:#fff;
    background:
        radial-gradient(85% 130% at 12% 10%,rgba(47,107,255,.5) 0%,rgba(47,107,255,0) 55%),
        radial-gradient(70% 120% at 92% 90%,rgba(34,211,238,.28) 0%,rgba(34,211,238,0) 60%),
        linear-gradient(120deg,#0a1120 0%,#132048 52%,#0a1120 100%);
}
.gmb-hero::before{
    content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
    background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
                     linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
    background-size:52px 52px;
    mask-image:radial-gradient(120% 90% at 80% 0%,#000 20%,transparent 75%);
    -webkit-mask-image:radial-gradient(120% 90% at 80% 0%,#000 20%,transparent 75%);
}
.gmb-hero-slide{position:relative;z-index:1;padding:clamp(38px,6vw,80px) 0;background-size:cover;background-position:center}
.gmb-hero-content{max-width:640px}
.gmb-hero-subtitle{
    display:inline-flex;align-items:center;gap:8px;padding:6px 14px;margin-bottom:16px;
    border-radius:999px;background:rgba(34,211,238,.12);border:1px solid rgba(34,211,238,.35);
    color:#8fe9f7;font-size:13px;font-weight:600;
}
.gmb-hero-title{color:#fff;font-size:clamp(26px,4.2vw,44px);font-weight:900;line-height:1.35;letter-spacing:-.5px;margin-bottom:14px}
.gmb-hero .gmb-btn-large{
    margin-top:10px;padding:13px 30px;font-size:15px;border-radius:12px;
    background:linear-gradient(135deg,#2f6bff,#22b8e6);box-shadow:0 18px 34px -18px rgba(34,184,230,.9);
}
.gmb-hero-dots{display:flex;position:absolute;bottom:22px;inset-inline-start:50%;transform:translateX(50%);gap:8px;z-index:2}
.gmb-hero-dot{width:26px;height:6px;border-radius:99px;border:0;background:rgba(255,255,255,.28);cursor:pointer;padding:0;transition:background .2s,width .2s}
.gmb-hero-dot.active{background:linear-gradient(90deg,#6ea8ff,#22d3ee);width:38px}
.gmb-hero-controls{display:flex;position:absolute;bottom:20px;inset-inline-end:24px;gap:8px;z-index:2}
.gmb-hero-prev,.gmb-hero-next{
    width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.25);
    background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;cursor:pointer;
    backdrop-filter:blur(6px);transition:background .18s ease;
}
.gmb-hero-prev:hover,.gmb-hero-next:hover{background:rgba(47,107,255,.55)}

/* Platform chips */
.gmb-platform-list{gap:8px;margin:0 0 26px}
.gmb-platform-list a{
    padding:9px 18px;border-radius:999px;border:1px solid #dbe4f5;background:#fff;
    font-weight:700;font-size:13px;color:#334155;box-shadow:0 6px 16px -14px rgba(15,23,42,.6);
    transition:transform .18s ease,border-color .18s ease,color .18s ease;
}
.gmb-platform-list a:hover{transform:translateY(-2px);border-color:#b9cdf7;color:var(--dg-accent)}

/* ---------- Product cards ---------- */
body.woocommerce ul.products{gap:18px}
body.woocommerce ul.products li.product,.gmb-product-card{
    background:#fff;border:1px solid var(--dg-line);border-radius:16px;padding:10px;
    box-shadow:0 1px 2px rgba(16,24,40,.04);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
body.woocommerce ul.products li.product:hover,.gmb-product-card:hover{
    transform:translateY(-6px);border-color:#cddcfb;box-shadow:var(--dg-shadow);
}
.gmb-wc-product-image,.gmb-product-image{
    border-radius:12px;overflow:hidden;background:linear-gradient(180deg,#f8faff,#edf2fd);
}
body.woocommerce ul.products li.product .gmb-wc-product-image img,
.gmb-product-image img{padding:6px;transition:transform .3s ease}
body.woocommerce ul.products li.product:hover .gmb-wc-product-image img,
.gmb-product-card:hover .gmb-product-image img{transform:scale(1.035)}
.gmb-wc-product-info{gap:6px;padding:10px 4px 2px}
.gmb-wc-product-cat{
    align-self:flex-start;font-size:11px;font-weight:600;color:#3b6fd4;
    background:#eef4ff;border:1px solid #dbe7ff;border-radius:99px;padding:1px 9px;
}
.gmb-wc-product-title{font-size:13.5px;font-weight:600;line-height:1.75;margin:2px 0 0}
.gmb-wc-product-title a{
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
    color:#1e293b;min-height:2.6em;
}
.gmb-wc-product-title a:hover{color:var(--dg-accent)}
.gmb-wc-product-price,.gmb-product-price{font-size:15px;font-weight:800;color:#0b1a35;margin-top:auto}
.gmb-wc-product-price .price,.gmb-product-price .price{font-size:15px;font-weight:800;color:#0b1a35}
.gmb-wc-product-price del,.gmb-product-price del{color:#94a3b8;font-size:12px;font-weight:500}
.gmb-wc-product-price ins,.gmb-product-price ins{color:#0b1a35;text-decoration:none}
.gmb-wc-product-bottom{padding-top:10px}
.gmb-wc-product-bottom .gmb-btn{width:100%;padding:9px 12px;font-size:12.5px;border-radius:10px;gap:7px}
.gmb-out-of-stock{display:block;text-align:center;padding:9px;border-radius:10px;background:#f4f6fb;color:#94a3b8;font-size:12.5px;font-weight:600}

.gmb-sale-badge,span.onsale{
    border-radius:99px;padding:3px 10px;font-size:11px;font-weight:800;letter-spacing:.2px;
    background:linear-gradient(135deg,#e11d48,#f43f5e);box-shadow:0 6px 14px -8px rgba(225,29,72,.9);
    top:10px;inset-inline-start:10px;z-index:2;
}
.gmb-new-badge{background:linear-gradient(135deg,#0891b2,#22d3ee);box-shadow:0 6px 14px -8px rgba(8,145,178,.9);border-radius:99px;top:10px;inset-inline-end:10px;inset-inline-start:auto}
.gmb-wc-quick-actions,.gmb-product-actions{top:auto;bottom:10px;inset-inline-end:10px}
.gmb-wc-quick-btn,.gmb-quick-action{
    width:34px;height:34px;border-radius:10px;display:grid;place-items:center;
    background:rgba(255,255,255,.92);color:#1e293b;border:1px solid var(--dg-line);
    box-shadow:0 8px 18px -12px rgba(15,23,42,.7);backdrop-filter:blur(4px);
}
.gmb-wc-quick-btn:hover,.gmb-quick-action:hover{background:var(--dg-accent);color:#fff;border-color:var(--dg-accent)}
.gmb-wc-rating{font-size:11.5px;color:#94a3b8}
.gmb-wc-stars .star-rating{font-size:11px}

/* ---------- Archive / category ---------- */
body.woocommerce.archive .gmb-main > .content-area{padding-top:20px;padding-bottom:56px}
.gmb-breadcrumb{
    font-size:12.5px;color:#8b9bb5;margin-bottom:14px;
    display:flex;align-items:center;flex-wrap:wrap;gap:4px;
}
.gmb-breadcrumb a{color:#64748b}
.gmb-breadcrumb a:hover{color:var(--dg-accent)}

.dg-archive-hero{
    position:relative;overflow:hidden;border-radius:22px;color:#fff;
    padding:clamp(24px,3.4vw,40px);
    margin-bottom:20px;
    background:
        radial-gradient(90% 140% at 100% 0%,rgba(47,107,255,.55) 0%,rgba(47,107,255,0) 58%),
        radial-gradient(70% 120% at 0% 100%,rgba(34,211,238,.25) 0%,rgba(34,211,238,0) 60%),
        linear-gradient(120deg,#0a1120 0%,#15224a 55%,#0a1120 100%);
    box-shadow:0 26px 50px -34px rgba(10,17,32,.85);
}
.dg-archive-hero::before{
    content:"";position:absolute;inset:0;pointer-events:none;opacity:.55;
    background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
                     linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
    background-size:46px 46px;
    mask-image:radial-gradient(110% 100% at 90% 0%,#000 10%,transparent 72%);
    -webkit-mask-image:radial-gradient(110% 100% at 90% 0%,#000 10%,transparent 72%);
}
.dg-archive-hero-inner{position:relative;z-index:1;display:flex;align-items:center;gap:28px;justify-content:space-between}
.dg-archive-hero-body{min-width:0;max-width:720px}
.dg-archive-eyebrow{
    display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;
    color:#8fe9f7;background:rgba(34,211,238,.12);border:1px solid rgba(34,211,238,.32);
    padding:4px 12px;border-radius:99px;margin-bottom:12px;
}
.dg-archive-hero h1{
    color:#fff;font-size:clamp(22px,3.2vw,34px);font-weight:900;letter-spacing:-.4px;
    margin:0 0 8px;line-height:1.35;
}
.dg-archive-hero-desc{color:#b7c6e2;font-size:13.5px;margin:0;max-width:62ch;line-height:1.9}
.dg-archive-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.dg-archive-stats span{
    display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#dbe6fb;
    background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);
    padding:5px 12px;border-radius:99px;
}
.dg-archive-stats b{color:#fff}
.dg-archive-hero-art{
    flex:none;width:150px;height:150px;display:grid;place-items:center;
    border-radius:24px;background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.14);color:#9fd8ff;overflow:hidden;
}
.dg-archive-hero-art img{width:100%;height:100%;object-fit:contain;padding:12px}
.dg-archive-hero-art .gmb-icon{width:78px;height:78px;opacity:.85}
.dg-archive-hero--search .dg-archive-hero-art{display:none}
.dg-archive-hero--search .dg-archive-hero-body{max-width:none}

.dg-shop-bar{
    display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
    background:#fff;border:1px solid var(--dg-line);border-radius:16px;
    padding:10px 16px;margin:0 0 18px;box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.dg-shop-count{margin:0;color:#64748b;font-size:12.5px}
.dg-shop-count b{color:#0f172a;font-weight:800}
.dg-shop-bar .woocommerce-ordering{margin:0;float:none}
.dg-shop-bar .woocommerce-ordering select{
    min-height:40px;padding:8px 14px;border:1px solid #dbe4f5;border-radius:10px;
    background-color:#f8faff;font:inherit;font-size:12.5px;color:#334155;max-width:100%;
}
.woocommerce-products-header,.gmb-page-header{margin-bottom:0}

/* Pagination */
.woocommerce-pagination{margin-top:28px}
.woocommerce-pagination ul{border:0;display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.woocommerce-pagination ul li{border:0;margin:0;overflow:visible}
.woocommerce-pagination ul li a,.woocommerce-pagination ul li span{
    display:grid;place-items:center;min-width:40px;height:40px;padding:0 10px;
    border:1px solid var(--dg-line);border-radius:11px;background:#fff;color:#334155;
    font-size:13px;font-weight:600;
}
.woocommerce-pagination ul li a:hover{background:#f2f6ff;border-color:#c7d8fa;color:var(--dg-accent)}
.woocommerce-pagination ul li span.current{
    background:linear-gradient(135deg,#2f6bff,#22b8e6);border-color:transparent;color:#fff;
    box-shadow:0 10px 20px -14px rgba(47,107,255,.9);
}

/* Empty state */
.woocommerce-no-products-found,.gmb-no-results{
    background:#fff;border:1px dashed #cfdcef;border-radius:18px;padding:40px 24px;text-align:center;color:var(--dg-muted);
}

/* ---------- Single product ---------- */
.gmb-wc-single-wrap{padding:22px 0 56px}
.gmb-wc-single-grid{grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);gap:26px;align-items:start}
.gmb-wc-main-image{
    padding:18px;border:1px solid var(--dg-line);border-radius:18px;background:#fff;
    box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.gmb-wc-main-image img{width:100%;max-height:480px;object-fit:contain}
.gmb-wc-thumbnails{gap:8px;margin-top:12px}
.gmb-wc-thumb{width:64px;height:64px;border-radius:10px;border:1px solid var(--dg-line);background:#f8faff;padding:4px;transition:border-color .18s ease,transform .18s ease}
.gmb-wc-thumb:hover{transform:translateY(-2px)}
.gmb-wc-thumb.active{border-color:var(--dg-accent);box-shadow:0 0 0 3px rgba(47,107,255,.14)}

.gmb-wc-single-summary{
    background:#fff;border:1px solid var(--dg-line);border-radius:18px;
    padding:22px 24px;box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.gmb-wc-single-summary > *{margin-bottom:14px}
.gmb-wc-single-summary .product_title{
    font-size:clamp(19px,2.2vw,25px);font-weight:800;line-height:1.65;letter-spacing:-.2px;margin-bottom:10px;
}
.gmb-wc-single-summary .woocommerce-product-rating{margin-bottom:6px}
.gmb-wc-single-summary .price{
    display:inline-flex;align-items:baseline;gap:8px;flex-wrap:wrap;
    background:linear-gradient(135deg,#eef4ff,#f8fbff);
    border:1px solid #dbe7ff;border-radius:14px;padding:10px 16px;
    font-size:26px;font-weight:900;color:#12306b;
}
.gmb-wc-single-summary .price del{font-size:14px;color:#94a3b8;font-weight:500}
.gmb-wc-single-summary .price ins{color:#12306b;text-decoration:none}
.gmb-wc-single-summary .woocommerce-product-details__short-description{color:#475569;font-size:13.5px;line-height:2}
.gmb-wc-single-summary form.cart{gap:10px;margin-top:4px}
.gmb-wc-single-summary .quantity .qty{
    min-height:48px;max-width:78px;border:1px solid #dbe4f5;border-radius:11px;background:#f8faff;font-weight:700;
}
.gmb-wc-single-summary .single_add_to_cart_button{
    flex:1;min-width:200px;min-height:48px;font-size:15px;font-weight:800;border-radius:12px;
}
.gmb-wc-single-summary .product_meta,
.gmb-wc-single-tabs .product_meta{display:none!important}

/* Hide product SKU, categories and tags on the frontend (any template) */
.single-product .product_meta,
.woocommerce .product_meta,
.product_meta .sku_wrapper,
.product_meta .tagged_as{display:none!important}

/* Single extras (added by theme) */
.dg-stock-badge{
    display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;
    padding:5px 12px;border-radius:99px;width:fit-content;
    background:#ecfdf5;color:#047857;border:1px solid #b7efd6;
}
.dg-stock-badge svg{width:15px;height:15px}
.dg-stock-badge.out{background:#fef2f2;color:#b91c1c;border-color:#fecaca}
.dg-product-cats{display:flex;flex-wrap:wrap;gap:6px;font-size:12px}
.dg-product-cats a{
    padding:3px 11px;border-radius:99px;background:#f1f5fd;border:1px solid #e0e9fa;
    color:#3b5f9e;font-weight:600;
}
.dg-product-cats a:hover{background:#e6efff;color:var(--dg-accent)}
.dg-trust-row{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
    padding-top:14px;border-top:1px dashed #e2e8f5;
}
.dg-trust-row > div{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;color:#64748b}
.dg-trust-row .gmb-icon{color:#3b6fd4;width:22px;height:22px}
.dg-trust-row b{font-size:11.5px;color:#1e293b;font-weight:700}
.dg-trust-row span{font-size:10.5px;color:#94a3b8}

/* Tabs */
.gmb-wc-single-tabs{margin-top:30px}
.woocommerce-tabs ul.tabs{
    display:flex;flex-wrap:wrap;gap:6px;padding:6px;margin:0 0 14px;
    list-style:none;border:1px solid var(--dg-line);border-radius:14px;background:#fff;
}
.woocommerce-tabs ul.tabs::before,.woocommerce-tabs ul.tabs::after{display:none}
.woocommerce-tabs ul.tabs li{
    margin:0;padding:0;border:0;background:none;border-radius:10px;
}
.woocommerce-tabs ul.tabs li a{
    display:block;padding:9px 18px;border-radius:10px;color:#475569;font-size:13px;font-weight:600;
}
.woocommerce-tabs ul.tabs li.active{background:linear-gradient(135deg,#0f172a,#1e2f56)}
.woocommerce-tabs ul.tabs li.active a{color:#fff}
.woocommerce-tabs ul.tabs li a:hover{color:var(--dg-accent)}
.woocommerce-tabs ul.tabs li.active a:hover{color:#fff}
.woocommerce-Tabs-panel{
    background:#fff;border:1px solid var(--dg-line);border-radius:16px;padding:24px;
    color:#475569;font-size:13.5px;line-height:2;
}
.woocommerce-Tabs-panel h2{font-size:17px;margin-bottom:12px}
.woocommerce-Tabs-panel table.shop_attributes{width:100%;border-collapse:collapse}
.woocommerce-Tabs-panel table.shop_attributes th,.woocommerce-Tabs-panel table.shop_attributes td{
    border-bottom:1px solid var(--dg-line);padding:9px 10px;text-align:start;
}
.related.products{margin-top:36px}
.related.products > h2{font-size:19px;font-weight:800;margin-bottom:16px}
.woocommerce #reviews #comments ol.commentlist li img.avatar{border-radius:50%;border:0;padding:0;width:44px}

/* ---------- Cart / checkout / account ---------- */
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{padding-top:22px;padding-bottom:48px}
.woocommerce table.shop_table{
    border:1px solid var(--dg-line)!important;border-radius:14px;overflow:hidden;background:#fff;
}
.woocommerce table.shop_table th{background:#f7f9fe;font-size:12.5px;color:#475569}
.woocommerce table.shop_table td{font-size:13px}
.woocommerce-cart table.cart img{width:64px;border-radius:8px}
.woocommerce .cart_totals,.woocommerce-checkout #order_review,
.woocommerce-checkout form.checkout{border-radius:14px}
.woocommerce .cart_totals h2{font-size:17px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
    border:1px solid #dbe4f5;border-radius:10px;padding:10px 12px;background:#fbfcff;
}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{
    border-color:var(--dg-accent);background:#fff;outline:0;box-shadow:0 0 0 3px rgba(47,107,255,.12);
}
.woocommerce-MyAccount-navigation ul{background:#fff!important;border:1px solid var(--dg-line)!important;border-radius:14px!important;padding:8px!important}
.woocommerce-MyAccount-navigation a{border-radius:9px!important}
.woocommerce-MyAccount-navigation li.is-active a{background:linear-gradient(135deg,#eef4ff,#f6faff)!important;color:var(--dg-accent)!important;font-weight:700}
.woocommerce-MyAccount-content{border-radius:14px!important;background:#fff}
.woocommerce-message,.woocommerce-info,.woocommerce-error{
    border-radius:12px;background:#f3f7ff;border:1px solid #dbe7ff;border-inline-start:4px solid var(--dg-accent);
    font-size:13px;
}
.woocommerce-error{border-inline-start-color:#e11d48;background:#fff5f6;border-color:#fbd5db}
.woocommerce-info{border-inline-start-color:#0891b2;background:#f0fbff;border-color:#c9eefa}

/* Auth card */
.gmb-auth-card{border-radius:18px;box-shadow:var(--dg-shadow);border-color:var(--dg-line)}
.gmb-auth-side{background:radial-gradient(120% 140% at 100% 0%,#1b2f5e,#0d1628 70%);color:#dbe6fb}
.gmb-auth-side h2,.gmb-auth-side h3,.gmb-auth-side p,.gmb-auth-side strong{color:#e8f1ff}
.gmb-auth-brand{color:#fff}
.gmb-auth-features .gmb-icon{color:var(--dg-cyan)}
.gmb-auth-tab{border-color:var(--dg-line);border-radius:9px;font-size:13px;font-weight:600}
.gmb-auth-tab.active{background:linear-gradient(135deg,#2f6bff,#3f7dff);border-color:transparent;box-shadow:0 10px 20px -14px rgba(47,107,255,.9)}

/* ---------- Features / why / CTA ---------- */
.gmb-features-bar{padding:22px 0;background:#fff;border-bottom:0;border-top:1px solid var(--dg-line)}
.gmb-features{gap:14px}
.gmb-feature{
    padding:14px;border:1px solid var(--dg-line);border-radius:14px;background:#fbfcff;gap:12px;
}
.gmb-feature-icon{
    display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;
    background:linear-gradient(135deg,#eaf1ff,#f4f9ff);color:#2f6bff;
}
.gmb-feature h4{font-size:13px;font-weight:800;margin-bottom:1px}
.gmb-feature p{font-size:11.5px;color:#8494ad;margin:0}
.gmb-why-grid{gap:16px}
.gmb-why-card{
    padding:22px;border:1px solid var(--dg-line);border-radius:16px;background:#fff;
    box-shadow:0 1px 2px rgba(16,24,40,.04);transition:transform .2s ease,box-shadow .2s ease;
}
.gmb-why-card:hover{transform:translateY(-4px);box-shadow:var(--dg-shadow)}
.gmb-why-icon{
    display:grid;place-items:center;width:52px;height:52px;border-radius:14px;margin-bottom:12px;
    background:linear-gradient(135deg,#eef4ff,#f5faff);color:#2f6bff;
}
.gmb-why-card h3{font-size:15px;font-weight:800;margin-bottom:6px}
.gmb-why-card p{font-size:12.5px;color:#64748b;margin:0;line-height:1.9}
.gmb-cta{
    background:radial-gradient(90% 140% at 15% 0%,rgba(47,107,255,.55),transparent 55%),
               radial-gradient(70% 120% at 90% 100%,rgba(34,211,238,.3),transparent 60%),
               linear-gradient(120deg,#0a1120,#132048 60%,#0a1120);
    padding:46px 0;border-radius:0;
}
.gmb-cta h2{font-size:24px;font-weight:900}
.gmb-cta p{color:#b7c6e2;font-size:14px}
.gmb-cta .gmb-btn{background:#fff;color:#0f172a!important;box-shadow:0 16px 30px -18px rgba(0,0,0,.8)}

/* ---------- Footer ---------- */
.gmb-footer{background:linear-gradient(180deg,#0a1120,#0d1628);border-top:1px solid rgba(255,255,255,.08);color:#9fb0cd;padding-top:0}
.gmb-footer .gmb-features-bar{background:transparent;border-top:0;border-bottom:1px solid rgba(255,255,255,.08);padding:24px 0}
.gmb-footer .gmb-feature{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.09)}
.gmb-footer .gmb-feature h4{color:#fff}
.gmb-footer .gmb-feature p{color:#93a6c8}
.gmb-footer .gmb-feature-icon{background:rgba(47,107,255,.18);color:#8fc0ff}
.gmb-footer-widgets{padding:34px 0 6px}
.gmb-footer-col{min-width:0}
.gmb-footer-widget-title{color:#fff;font-size:14px;font-weight:800;margin-bottom:12px}
.gmb-footer-links a{color:#a9bad6;font-size:12.5px}
.gmb-footer-links a:hover{color:#fff}
.gmb-footer-links .gmb-icon{color:#6f8bb8;margin-inline-end:2px}
.gmb-footer-logo{margin-bottom:10px}
.gmb-footer-logo .gmb-logo-name{color:#fff}
.gmb-footer-about-text{color:#93a6c8;font-size:12.5px;line-height:2}
.gmb-social{display:flex;gap:8px;margin-top:14px}
.gmb-social-link{
    display:grid;place-items:center;width:34px;height:34px;border-radius:10px;
    background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#c7d5ee;
}
.gmb-social-link:hover{background:var(--dg-accent);color:#fff;border-color:transparent}
.gmb-enamad-box{display:block}
.gmb-enamad-text{font-size:11.5px;color:#93a6c8}
.gmb-enamad-logo img{max-width:92px;border-radius:8px;background:#fff;padding:4px}
.gmb-footer-copyright{
    border-top:1px solid rgba(255,255,255,.08);color:#7f92b3;font-size:12px;margin-top:26px;padding:16px 0;
}
.gmb-back-top{
    display:grid;place-items:center;position:fixed;inset-inline-start:18px;bottom:18px;z-index:60;
    width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.14);
    background:#0f1c34;color:#dbe6fb;cursor:pointer;opacity:0;visibility:hidden;
    transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s;
    box-shadow:0 16px 30px -18px rgba(0,0,0,.9);
}
.gmb-back-top.show{opacity:1;visibility:visible;transform:none}
.gmb-back-top:hover{background:var(--dg-accent)}
.gmb-toast{
    position:fixed;inset-inline-start:50%;bottom:24px;transform:translate(-50%,20px);
    background:#0f1c34;color:#fff;padding:11px 20px;border-radius:12px;font-size:13px;
    box-shadow:0 20px 40px -20px rgba(0,0,0,.8);opacity:0;visibility:hidden;z-index:90;
    transition:opacity .2s ease,transform .2s ease,visibility .2s;
}
.gmb-toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
    .gmb-wc-single-grid{grid-template-columns:minmax(0,1fr);gap:18px}
    .gmb-wc-main-image img{max-height:420px}
    body.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:860px){
    .dg-archive-hero-art{display:none}
    .dg-archive-hero-inner{gap:0}
    .dg-trust-row{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:768px){
    .gmb-header{position:sticky;top:0}
    .gmb-header-inner{padding:10px 0;gap:10px}
    .gmb-search-wrap{order:3;flex-basis:100%;max-width:none}
    .gmb-search-form{padding:4px}
    .gmb-search-btn{padding:8px 16px}
    .gmb-nav{background:#0b1426}
    .gmb-nav ul{padding:8px 0}
    .gmb-nav a{padding:6px 0;display:block}
    .gmb-nav-menu > li > a::after{display:none}
    .gmb-hero-slide{padding:34px 0 46px}
    .gmb-hero-controls{display:none}
    .gmb-hero-dots{bottom:14px}
    body.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    body.woocommerce ul.products li.product{padding:8px;border-radius:14px}
    .gmb-wc-product-title{font-size:12.5px}
    .gmb-wc-product-price .price{font-size:13.5px}
    .gmb-section{padding:32px 0}
    .gmb-section-title{font-size:18px}
    .dg-archive-hero{border-radius:16px;padding:20px}
    .dg-archive-hero-desc{font-size:12.5px}
    .dg-shop-bar{padding:8px 12px;gap:8px}
    .gmb-wc-single-summary{padding:18px}
    .gmb-wc-single-summary .price{font-size:21px}
    .gmb-wc-single-summary .single_add_to_cart_button{min-width:0}
    .woocommerce-tabs ul.tabs{overflow-x:auto;flex-wrap:nowrap}
    .woocommerce-tabs ul.tabs li a{padding:8px 14px;white-space:nowrap}
    .woocommerce-Tabs-panel{padding:16px}
    .dg-trust-row{gap:4px}
    .gmb-toast{inset-inline:16px;inset-inline-start:16px;transform:translateY(12px);text-align:center}
    .gmb-toast.show{transform:none}
}
@media (max-width:420px){
    .gmb-logo-name{font-size:20px}
    .gmb-wc-product-bottom .gmb-btn{font-size:11.5px;padding:8px 6px}
    .gmb-wc-product-cat{font-size:10px;padding:0 7px}
    .dg-archive-stats span{font-size:11px;padding:4px 9px}
}

@media (prefers-reduced-motion:reduce){
    *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
    html{scroll-behavior:auto}
}
