/*
 * Gadget Showroom theme (Gadget & Gear style). Loaded after the base
 * theme.css, which still styles checkout, tracking and the cart drawer.
 */
:root {
    --brand: #f26b21; --brand-hover: #d9560f; --brand-soft: #fff1e8;
    --accent: #f26b21; --accent-hover: #d9560f; --accent-soft: #fff1e8;
    --green: #f26b21; --green-soft: #fff1e8;
    --gg-black: #111111; --gg-bg: #f7f7f7; --gg-orange: #f26b21; --gg-pink: #e5175f;
    --surface: #f7f7f7; --border: #ececec; --radius: 12px;
}
.gg-body { background: var(--gg-bg); }
.gg-hide { display: none !important; }
.gg-mobile { display: none !important; }

/* Header */
.gg-header { position: sticky; top: 0; z-index: 50; }
.gg-top { background: #1d1d1d; }
.gg-top-row { display: flex; align-items: center; gap: 18px; height: 66px; }
.gg-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: 0 0 auto; }
.gg-logo img { height: 40px; width: auto; }
.gg-logo b { font-size: 22px; font-weight: 900; letter-spacing: -.5px; color: #fff; }
.gg-since { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .3px; }
.gg-search { flex: 1; max-width: 480px; display: flex; background: #fff; border-radius: 30px; overflow: hidden; margin-left: 10px; }
.gg-search input { flex: 1; border: 0; padding: 11px 20px; font: inherit; font-size: 14.5px; outline: none; }
.gg-search button { border: 0; background: none; padding: 0 18px; color: var(--gg-orange); cursor: pointer; }
.gg-offers { color: var(--gg-orange); font-weight: 600; text-decoration: none; white-space: nowrap; }
.gg-pill { background: #2a2a2a; color: #fff; border-radius: 6px; padding: 9px 14px; font-size: 14px; text-decoration: none; white-space: nowrap; }
.gg-cart { position: relative; width: 40px; height: 40px; background: #2a2a2a; color: #fff; border: 0; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gg-cart span { position: absolute; top: -6px; right: -6px; background: var(--gg-orange); border-radius: 50%; min-width: 18px; height: 18px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.gg-user { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.gg-avatar { width: 38px; height: 38px; border-radius: 6px; background: #2a2a2a; display: flex; align-items: center; justify-content: center; }
.gg-icon { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; display: inline-flex; }
.gg-nav { background: #000; }
.gg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.gg-nav li { position: static; }
.gg-nav li > a { display: block; padding: 12px 12px; color: #fff; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.gg-nav li > a:hover, .gg-nav li > a.on { color: var(--gg-orange); }
.gg-mega { position: absolute; left: 0; right: 0; background: #fff; box-shadow: 0 16px 30px rgba(0, 0, 0, .12); padding: 18px 0; opacity: 0; visibility: hidden; transition: .18s; z-index: 60; }
.gg-mega .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 20px; }
.gg-mega a { color: #333; text-decoration: none; padding: 6px 0; font-size: 14px; }
.gg-mega a:hover { color: var(--gg-orange); }
.gg-nav li:hover .gg-mega, .gg-nav li:focus-within .gg-mega { opacity: 1; visibility: visible; }

/* Hero */
.gg-hero { position: relative; min-height: 440px; background: #111; overflow: hidden; }
.gg-hero .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.gg-hero .hero-slide.active { opacity: 1; position: relative; min-height: 440px; }
.gg-hero .hero-slide img { width: 100%; height: 440px; object-fit: cover; display: block; }
.gg-hero .gg-hero-slide.active { display: flex; align-items: center; color: #fff; padding: 40px 0; }
.gg-hero .gg-hero-slide .container { width: 100%; }
.gg-hero-slide h1, .gg-hero-slide h2 { font-size: 46px; font-weight: 800; line-height: 1.1; max-width: 640px; margin-bottom: 14px; letter-spacing: -.5px; }
.gg-hero-slide p { font-size: 17px; max-width: 540px; opacity: .9; margin-bottom: 24px; }
.gg-hero-btn { display: inline-block; background: #fff; color: #111; border-radius: 30px; padding: 12px 28px; font-weight: 700; text-decoration: none; }
.gg-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.gg-dots .slider-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); padding: 0; cursor: pointer; }
.gg-dots .slider-dot.active { background: var(--gg-orange); width: 26px; border-radius: 5px; }

.gg-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding: 22px 0; }
.gg-trust div { display: flex; align-items: center; gap: 10px; padding: 0 22px; font-size: 15px; border-right: 1px solid #e3e3e3; }
.gg-trust div:last-child { border-right: 0; }
.gg-trust span { font-size: 22px; color: var(--gg-orange); }

/* Sections */
.gg-section { padding-top: 26px; padding-bottom: 10px; }
.gg-h2 { text-align: center; font-size: 26px; font-weight: 600; color: #222; margin-bottom: 22px; }
.gg-left { text-align: left; margin: 0; }
.gg-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.gg-row-head a { color: var(--gg-orange); font-weight: 600; text-decoration: none; }
.gg-carousel { position: relative; }
.gg-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.gg-track::-webkit-scrollbar { display: none; }
.gg-track > * { scroll-snap-align: start; }
.gg-arrow { position: absolute; top: 45%; z-index: 3; width: 34px; height: 34px; border-radius: 4px; border: 1px solid #ddd; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.gg-prev { left: -14px; }
.gg-next { right: -14px; }
.gg-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

/* Card */
.gg-card { position: relative; background: #fff; border-radius: 14px; padding: 18px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .05); transition: box-shadow .2s, transform .2s; }
.gg-card:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.gg-ribbon { position: absolute; top: 0; left: 0; width: 72px; height: 72px; overflow: hidden; background: linear-gradient(135deg, var(--gg-pink) 50%, transparent 50%); color: #fff; font-size: 8.5px; font-weight: 800; line-height: 1.1; padding: 9px 0 0 4px; text-align: left; transform-origin: 0 0; border-top-left-radius: 14px; z-index: 2; }
.gg-out { position: absolute; top: 12px; right: 12px; background: #6b7280; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.gg-card-img { display: block; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 12px; }
.gg-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.gg-card:hover .gg-card-img img { transform: scale(1.06); }
.gg-card h3 { font-size: 15px; font-weight: 500; line-height: 1.35; min-height: 40px; margin-bottom: 10px; }
.gg-card h3 a { color: #333; text-decoration: none; }
.gg-save { border: 1px solid var(--gg-orange); color: var(--gg-orange); background: var(--brand-soft); border-radius: 4px; font-size: 11.5px; font-weight: 600; padding: 2px 12px; margin-bottom: 10px; }
.gg-price { display: flex; gap: 8px; align-items: baseline; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.gg-now { color: var(--gg-orange); font-weight: 700; font-size: 16.5px; }
.gg-old { color: #999; text-decoration: line-through; font-size: 12.5px; }
.gg-card .var-pills { justify-content: center; margin-bottom: 10px; }
.gg-buy { margin-top: auto; width: 100%; border: 1px solid var(--gg-orange); color: var(--gg-orange); background: #fff; border-radius: 30px; padding: 9px; font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.gg-buy:hover:not(:disabled) { background: var(--gg-orange); color: #fff; }
.gg-buy:disabled { opacity: .5; cursor: not-allowed; }

.gg-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.gg-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #333; text-decoration: none; font-size: 14.5px; text-align: center; }
.gg-cat-ring { width: 110px; height: 110px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); font-size: 34px; font-weight: 800; color: var(--gg-orange); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.gg-cat-ring img { width: 70%; height: 70%; object-fit: contain; }
.gg-cat:hover .gg-cat-ring { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(242, 107, 33, .22); }

.gg-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; background: #fff; border-radius: 18px; padding: 30px 36px; margin-bottom: 18px; text-decoration: none; color: #111; transition: box-shadow .2s; }
.gg-offer:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.gg-offer h3 { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.gg-offer-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.gg-offer-tags span { border: 1.5px solid var(--gg-orange); border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 13.5px; }
.gg-offer-tags span:first-child { background: #111; color: #fff; border-color: #111; }
.gg-offer-price { font-size: 30px; font-weight: 800; color: var(--gg-orange); margin-bottom: 12px; }
.gg-offer-btn { display: inline-block; background: #111; color: #fff; border-radius: 30px; padding: 10px 22px; font-weight: 700; }
.gg-offer img { width: 100%; max-height: 280px; object-fit: contain; }

/* Listing & product */
.gg-crumb { font-size: 15px; color: #666; margin-bottom: 16px; }
.gg-crumb a { color: #555; text-decoration: none; }
.gg-crumb-now { color: var(--gg-orange); }
.gg-list-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.gg-list-head h1 { font-size: 24px; }
.gg-empty { background: #fff; border-radius: 12px; padding: 30px; text-align: center; }
.gg-empty a { color: var(--gg-orange); font-weight: 700; }
.gg-pd { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; background: #fff; border-radius: 14px; padding: 26px; }
.gg-pd-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: start; }
.gg-pd-gallery > .gg-pd-main:first-child { grid-column: span 2; }
.gg-pd-thumbs { display: grid; gap: 10px; }
.gg-pd-thumbs button { width: 80px; height: 80px; border: 1px solid #eee; border-radius: 6px; background: #fff; padding: 6px; cursor: pointer; }
.gg-pd-thumbs button.active { border-color: var(--gg-orange); }
.gg-pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gg-pd-main { position: relative; border: 1px solid #f0f0f0; border-radius: 6px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 18px; }
.gg-pd-main .gg-ribbon { width: 90px; height: 90px; font-size: 10px; border-top-left-radius: 6px; }
.gg-pd-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gg-warranty { grid-column: span 2; display: flex; gap: 12px; align-items: center; border: 1px solid #f9c9ab; background: var(--brand-soft); border-radius: 6px; padding: 12px 16px; margin-top: 4px; }
.gg-warranty span { font-size: 24px; color: var(--gg-orange); }
.gg-warranty b { display: block; }
.gg-warranty small { color: #666; font-size: 12.5px; }
.gg-pd-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.gg-brand { font-weight: 900; letter-spacing: 1px; font-size: 14px; }
.gg-compare { border: 1px solid #ddd; background: #fff; border-radius: 4px; padding: 6px 12px; font: inherit; font-size: 13.5px; cursor: pointer; }
.gg-compare.is-on { border-color: var(--gg-orange); color: var(--gg-orange); }
.gg-pd-info h1 { font-size: 26px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.gg-status { color: #666; font-size: 14.5px; margin-bottom: 14px; }
.gg-status span { color: #555; margin-right: 14px; }
.gg-status b { font-weight: 500; color: #333; }
.gg-pd-price { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.gg-big { color: var(--gg-orange); font-size: 26px; font-weight: 800; }
.gg-pd-price .gg-old { margin-left: 8px; font-size: 15px; }
.gg-wa-btn { background: #25d366; color: #fff; border-radius: 4px; padding: 7px 14px; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.gg-bullets { padding-left: 20px; margin-bottom: 16px; line-height: 1.9; font-size: 15px; color: #333; }
.gg-short { color: #444; margin-bottom: 16px; }
.gg-opts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.gg-opts > span { font-weight: 700; }
.gg-opts .var-pill { border-radius: 6px; padding: 8px 14px; border: 1.5px solid #ddd; }
.gg-opts .var-pill.active { border-color: var(--gg-orange); color: #111; background: #fff; }
.gg-qty-row { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; font-size: 14.5px; }
.gg-qty { display: flex; align-items: center; gap: 6px; }
.gg-qty button { width: 34px; height: 34px; border: 0; background: #eef0f4; border-radius: 4px; font-size: 18px; cursor: pointer; }
.gg-qty input { width: 40px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 18px; -moz-appearance: textfield; }
.gg-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.gg-pay-box { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #eee; padding: 14px; cursor: pointer; }
.gg-pay-box.is-on, .gg-pay-box:has(input:checked) { border-color: var(--gg-orange); }
.gg-pay-box input { accent-color: var(--gg-orange); margin-top: 4px; }
.gg-pay-box b { display: block; color: var(--gg-orange); font-size: 18px; }
.gg-pay-box small { display: block; font-weight: 600; font-size: 13px; }
.gg-pay-box em { font-style: normal; font-size: 12px; color: #777; }
.gg-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gg-add, .gg-now-btn { border: 0; padding: 13px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.gg-add { background: #e9e9e9; color: #333; }
.gg-now-btn { background: var(--gg-orange); color: #fff; }
.gg-add:disabled, .gg-now-btn:disabled { opacity: .5; cursor: not-allowed; }
.gg-pd-bottom { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-top: 24px; align-items: start; }
.gg-tabs { display: flex; gap: 26px; border-bottom: 1px solid #e5e5e5; margin-bottom: 16px; }
.gg-tabs a { padding: 12px 2px; color: #333; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.gg-tabs a.on, .gg-tabs a:hover { color: var(--gg-orange); border-bottom-color: var(--gg-orange); }
.gg-box { background: #fff; border-radius: 12px; padding: 22px; margin-bottom: 16px; scroll-margin-top: 130px; }
.gg-box h2 { font-size: 19px; margin-bottom: 12px; }
.gg-spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.gg-spec th, .gg-spec td { padding: 12px 14px; border-bottom: 1px solid #f0f0f0; text-align: left; }
.gg-spec th { width: 34%; color: #666; font-weight: 500; background: #fafafa; }
.gg-desc { white-space: pre-line; line-height: 1.75; color: #333; }
.gg-similar { background: #fff; border-radius: 12px; padding: 18px; }
.gg-similar h2 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.gg-sim { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid #f0f0f0; text-decoration: none; color: #333; font-size: 14px; }
.gg-sim img { width: 64px; height: 64px; object-fit: contain; }
.gg-sim b { display: block; color: var(--gg-orange); margin-top: 4px; }

.gg-chat { position: fixed; right: 22px; bottom: 26px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--gg-orange); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(242, 107, 33, .45); }
.gg-body .floating-cart-tab { display: none !important; }

/* Footer */
.gg-footer { background: #000; color: #ccc; margin-top: 40px; padding-top: 40px; }
.gg-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.gg-footer h4 { color: #fff; font-size: 19px; margin: 18px 0 12px; }
.gg-footer ul { list-style: none; padding: 0; margin: 0; }
.gg-footer li a { color: #ddd; text-decoration: none; line-height: 2.2; font-size: 14.5px; }
.gg-footer li a:hover { color: var(--gg-orange); }
.gg-footer p { font-size: 14px; line-height: 1.7; }
.gg-hotline { display: inline-block; border: 1.5px solid var(--gg-orange); color: var(--gg-orange); border-radius: 8px; padding: 10px 16px; font-size: 22px; font-weight: 800; text-decoration: none; }
.gg-wa { display: inline-block; margin-top: 10px; background: var(--gg-orange); color: #fff; padding: 9px 18px; text-decoration: none; font-weight: 700; }
.gg-copy { border-top: 1px solid #222; margin-top: 30px; padding: 18px 15px; font-size: 13.5px; }

@media (max-width: 1100px) {
    .gg-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
    .gg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gg-pill { display: none; }
}

@media (max-width: 860px) {
    .gg-mobile { display: inline-flex !important; }
    .gg-desktop { display: none !important; }
    .gg-top-row { height: auto; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .gg-logo b { font-size: 18px; }
    .gg-since { font-size: 12px; }
    .gg-cart { margin-left: auto; }
    .gg-search { order: 5; flex-basis: 100%; max-width: none; margin-left: 0; }
    .gg-nav { display: none; }
    .gg-hero, .gg-hero .hero-slide.active { min-height: 260px; }
    .gg-hero .hero-slide img { height: 260px; }
    .gg-hero-slide h1, .gg-hero-slide h2 { font-size: 26px; }
    .gg-hero-slide p { font-size: 14px; }
    .gg-trust { justify-content: flex-start; gap: 10px 0; padding: 14px 10px; }
    .gg-trust div { padding: 0 10px; font-size: 12.5px; border-right: 0; width: 50%; }
    .gg-trust span { font-size: 17px; }
    .gg-h2 { font-size: 20px; margin-bottom: 14px; }
    .gg-track { grid-auto-columns: 62%; gap: 10px; }
    .gg-arrow { display: none; }
    .gg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gg-card { padding: 12px 10px; }
    .gg-card h3 { font-size: 13.5px; }
    .gg-ribbon { width: 60px; height: 60px; font-size: 7px; }
    .gg-cats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .gg-cat-ring { width: 82px; height: 82px; font-size: 26px; }
    .gg-cat { font-size: 13px; }
    .gg-offer { grid-template-columns: 1fr; padding: 20px; }
    .gg-offer h3 { font-size: 19px; }
    .gg-offer img { order: -1; max-height: 180px; }
    .gg-pd { grid-template-columns: 1fr; padding: 14px; gap: 18px; }
    .gg-pd-gallery { grid-template-columns: 1fr; }
    .gg-pd-thumbs { grid-auto-flow: column; justify-content: start; order: 2; }
    .gg-pd-thumbs button { width: 62px; height: 62px; }
    .gg-warranty { grid-column: auto; }
    .gg-pd-info h1 { font-size: 20px; }
    .gg-pay { grid-template-columns: 1fr; }
    .gg-pd-bottom { grid-template-columns: 1fr; }
    .gg-tabs { gap: 16px; overflow-x: auto; }
    .gg-chat { bottom: 82px; right: 14px; width: 48px; height: 48px; }
    .gg-footer-grid { grid-template-columns: 1fr 1fr; padding-bottom: 70px; }
}
