/* ═══════════════════════════════════════════════════════════
   GadgetGuideUSA — Global Sitewide Styles
   Colors: Orange #F47B20 + Dark Gray #4A4A4A
   NO gradients — solid colors only
   ═══════════════════════════════════════════════════════════ */
:root {
    --gg-white:       #FFFFFF;
    --gg-offwhite:    #F8F8F9;
    --gg-light:       #F1F2F4;
    --gg-light2:      #E3E5E8;
    --gg-orange:      #F47B20;
    --gg-orange-soft: rgba(244,123,32,0.08);
    --gg-orange-dark: #D96A15;
    --gg-gray:        #4A4A4A;
    --gg-text:        #2D2D2D;
    --gg-text2:       #636363;
    --gg-text3:       #9A9A9A;
    --gg-border:      #E5E5E5;
    --gg-shadow-sm:   0 1px 3px rgba(0,0,0,0.04);
    --gg-shadow:      0 4px 16px rgba(0,0,0,0.06);
    --gg-radius:      10px;
    --gg-radius-sm:   6px;
    --gg-font:        'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --gg-font-display:'Plus Jakarta Sans', 'DM Sans', sans-serif;
    --gg-max-w:       1240px;
}

.gg-container { max-width: var(--gg-max-w); margin: 0 auto; padding: 0 20px; width: 90%; }
.gg-accent { color: var(--gg-orange); }

/* ═══ TOPBAR ═══ */
.gg-topbar { background: var(--gg-offwhite); border-bottom: 1px solid var(--gg-border); padding: 5px 0; font-size: 12px; color: var(--gg-text2); font-family: var(--gg-font); }
.gg-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.gg-topbar-left { display: flex; gap: 18px; align-items: center; }
.gg-topbar-item { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 400; }
.gg-topbar-item svg { opacity: 0.45; flex-shrink: 0; }
.gg-topbar-right { display: flex; gap: 14px; align-items: center; }
.gg-topbar-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--gg-orange-dark); }

/* ═══ HEADER ═══ */
.gg-header { position: sticky; top: 0; z-index: 1000; background: var(--gg-white); border-bottom: 1px solid var(--gg-border); transition: box-shadow 0.3s; font-family: var(--gg-font); }
.gg-header.scrolled { box-shadow: var(--gg-shadow); }
.gg-header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.gg-logo { display: flex; align-items: center; gap: 8px; font-family: var(--gg-font-display); font-weight: 600; font-size: 18px; text-decoration: none !important; color: var(--gg-text) !important; }
.gg-logo-icon { width: 32px; height: 32px; border-radius: 7px; background: var(--gg-orange); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #fff; }
.gg-logo-img { max-height: 38px; width: auto; }

.gg-nav { display: flex; align-items: center; }
.gg-nav-list { display: flex; gap: 1px; list-style: none; margin: 0; padding: 0; }
.gg-nav-list > li { position: relative; }
.gg-nav-list > li > a { display: block; padding: 6px 13px; border-radius: 5px; font-size: 13px; font-weight: 500; color: var(--gg-text2); transition: all 0.2s; white-space: nowrap; text-decoration: none !important; }
.gg-nav-list > li > a:hover, .gg-nav-list > li.current-menu-item > a, .gg-nav-list > li.current_page_item > a { color: var(--gg-orange); background: var(--gg-orange-soft); }

.gg-nav-list li .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--gg-white); border: 1px solid var(--gg-border); border-radius: var(--gg-radius-sm); padding: 5px 0; min-width: 180px; box-shadow: var(--gg-shadow); z-index: 100; list-style: none; margin: 0; }
.gg-nav-list li:hover > .sub-menu { display: block; }
.gg-nav-list .sub-menu li a { display: block; padding: 7px 16px; font-size: 12.5px; color: var(--gg-text2); transition: all 0.2s; text-decoration: none !important; }
.gg-nav-list .sub-menu li a:hover { color: var(--gg-orange); background: var(--gg-orange-soft); }

.gg-header-actions { display: flex; gap: 5px; align-items: center; }
.gg-icon-btn { width: 36px; height: 36px; border-radius: var(--gg-radius-sm); display: flex; align-items: center; justify-content: center; background: transparent; color: var(--gg-text2); border: 1px solid transparent; cursor: pointer; transition: all 0.2s; position: relative; }
.gg-icon-btn:hover { background: var(--gg-offwhite); color: var(--gg-text); border-color: var(--gg-border); }
.gg-cart-count { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--gg-orange); color: #fff; font-size: 9px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

.gg-menu-toggle { display: none; }
.gg-hamburger { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.gg-hamburger span { height: 2px; background: currentColor; border-radius: 2px; transition: all 0.3s; }
.gg-menu-toggle.active .gg-hamburger span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.gg-menu-toggle.active .gg-hamburger span:nth-child(2) { opacity: 0; }
.gg-menu-toggle.active .gg-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.gg-search-overlay { display: none; padding: 12px 0; background: var(--gg-offwhite); border-top: 1px solid var(--gg-border); }
.gg-search-overlay.active { display: block; }
.gg-search-form { display: flex; gap: 8px; }
.gg-search-input { flex: 1; padding: 10px 14px; border-radius: var(--gg-radius-sm); background: var(--gg-white); border: 1px solid var(--gg-border); color: var(--gg-text); font-size: 13px; font-family: var(--gg-font); outline: none; transition: border-color 0.3s; }
.gg-search-input:focus { border-color: var(--gg-orange); }
.gg-search-input::placeholder { color: var(--gg-text3); }
.gg-search-submit { width: 42px; border-radius: var(--gg-radius-sm); background: var(--gg-orange); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.gg-search-submit:hover { background: var(--gg-orange-dark); }

.gg-mobile-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: var(--gg-white); z-index: 999; overflow-y: auto; padding: 16px 20px; border-top: 1px solid var(--gg-border); }
.gg-mobile-nav.active { display: block; }
.gg-mobile-nav-list { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0; }
.gg-mobile-nav-list li a { display: block; padding: 11px 13px; border-radius: var(--gg-radius-sm); font-size: 14px; font-weight: 500; color: var(--gg-text2); transition: all 0.2s; text-decoration: none !important; }
.gg-mobile-nav-list li a:hover { color: var(--gg-orange); background: var(--gg-orange-soft); }
.gg-mobile-nav-list .sub-menu { padding-left: 14px; list-style: none; margin: 0; }
.gg-mobile-nav-list .sub-menu li a { font-size: 13px; padding: 9px 13px; }

/* ═══ FOOTER ═══ */
.gg-footer { padding: 50px 0 0; background: var(--gg-offwhite); border-top: 1px solid var(--gg-border); font-family: var(--gg-font); color: var(--gg-text2); }
.gg-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.gg-footer-logo { margin-bottom: 12px; display: inline-flex; }
.gg-footer-about { font-size: 12.5px; color: var(--gg-text2); line-height: 1.6; max-width: 260px; margin-bottom: 12px; }
.gg-footer-address { font-size: 11.5px; color: var(--gg-text3); line-height: 1.7; }
.gg-footer-address strong { color: var(--gg-text); font-size: 11.5px; font-weight: 600; }
.gg-footer-address a { color: var(--gg-orange); text-decoration: none; }
.gg-footer-heading { font-family: var(--gg-font-display); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gg-text); margin-bottom: 12px; }
.gg-toggle-icon { display: none; }
.gg-footer-links { list-style: none; margin: 0; padding: 0; }
.gg-footer-links li { margin-bottom: 7px; }
.gg-footer-links a { font-size: 12.5px; color: var(--gg-text2); text-decoration: none; transition: color 0.2s; }
.gg-footer-links a:hover { color: var(--gg-orange); }
.gg-footer-payments { display: flex; justify-content: center; align-items: center; padding: 18px 0; border-top: 1px solid var(--gg-border); }
.gg-pay-icon { padding: 4px 12px; border-radius: 5px; background: var(--gg-white); border: 1px solid var(--gg-border); font-size: 10.5px; font-weight: 600; color: var(--gg-text2); }
.gg-footer-bottom { text-align: center; padding: 14px 0; border-top: 1px solid var(--gg-border); }
.gg-footer-bottom p { font-size: 11.5px; color: var(--gg-text3); margin: 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) { .gg-nav { display: none; } .gg-menu-toggle { display: flex; } .gg-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .gg-topbar { display: none; }
    .gg-footer-grid { grid-template-columns: 1fr; gap: 0; }
    .gg-footer-brand { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gg-border); }
    .gg-footer-col { border-bottom: 1px solid var(--gg-border); }
    .gg-footer-heading { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 12px 0; margin-bottom: 0; }
    .gg-toggle-icon { display: flex; transition: transform 0.3s; }
    .gg-footer-heading.open .gg-toggle-icon { transform: rotate(180deg); }
    .gg-footer-links { display: none; padding-bottom: 12px; }
    .gg-footer-links.open { display: block; }
    .gg-hide-mobile { display: none !important; }
}

.gg-footer-payments { display: flex; justify-content: center; align-items: center; padding: 18px 0; border-top: 1px solid var(--gg-border); }
.gg-payment-strip { display: block; max-width: 60%; width: min(200px, 80%); height: auto; object-fit: contain; }
