/*
Theme Name: GeGeD Premium
Theme URI: https://tokogeged.com/
Author: GeGeD
Description: Premium, responsive storefront presentation theme for TokoGeGeD. Business logic is intentionally delegated to custom GeGeD modules/plugins.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: geged-premium
License: GPL-2.0-or-later
*/

:root{
  --gg-primary:#111827;
  --gg-primary-2:#1f2937;
  --gg-accent:#ff5a1f;
  --gg-accent-2:#ff7a45;
  --gg-bg:#f6f7f9;
  --gg-card:#ffffff;
  --gg-text:#111827;
  --gg-muted:#6b7280;
  --gg-border:#e5e7eb;
  --gg-success:#0f9d58;
  --gg-radius:18px;
  --gg-shadow:0 10px 30px rgba(17,24,39,.08);
  --gg-max:1320px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--gg-bg);color:var(--gg-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select{font:inherit}
.gg-container{width:min(calc(100% - 32px),var(--gg-max));margin-inline:auto}
.gg-topbar{background:#0b1220;color:#dbe3ef;font-size:13px}
.gg-topbar .gg-container{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.gg-topbar-links{display:flex;gap:18px;flex-wrap:wrap}
.gg-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--gg-border)}
.gg-header-main{min-height:76px;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
.gg-logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:25px;letter-spacing:-.04em}
.gg-logo-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--gg-accent),#ff9a62);display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(255,90,31,.25)}
.gg-search{position:relative}
.gg-search input{width:100%;height:46px;border:1px solid var(--gg-border);border-radius:14px;padding:0 50px 0 16px;background:#f8fafc;outline:none}
.gg-search input:focus{border-color:#cbd5e1;box-shadow:0 0 0 4px rgba(255,90,31,.08)}
.gg-search button{position:absolute;right:5px;top:5px;height:36px;width:40px;border:0;border-radius:10px;background:var(--gg-primary);color:#fff;cursor:pointer}
.gg-actions{display:flex;align-items:center;gap:8px}
.gg-icon-btn{width:44px;height:44px;border:1px solid var(--gg-border);background:#fff;border-radius:13px;display:grid;place-items:center;cursor:pointer;position:relative}
.gg-badge{position:absolute;right:-3px;top:-5px;background:var(--gg-accent);color:#fff;font-size:10px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;display:grid;place-items:center}
.gg-account{display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid var(--gg-border);border-radius:13px;background:#fff;font-weight:700}
.gg-nav{border-top:1px solid #f1f3f5}
.gg-nav-inner{min-height:48px;display:flex;align-items:center;gap:8px;overflow:auto;scrollbar-width:none}
.gg-nav-inner::-webkit-scrollbar{display:none}
.gg-nav a{white-space:nowrap;padding:9px 13px;border-radius:10px;font-size:14px;font-weight:700}
.gg-nav a:hover{background:#f3f4f6}
.gg-cat{background:var(--gg-primary);color:#fff}
.gg-cat:hover{background:#202a3a!important}
.gg-hero{padding:26px 0}
.gg-hero-grid{display:grid;grid-template-columns:1.45fr .55fr;gap:18px}
.gg-hero-main,.gg-hero-side{border-radius:24px;overflow:hidden;min-height:330px;position:relative}
.gg-hero-main{background:radial-gradient(circle at 75% 25%,rgba(255,255,255,.24),transparent 34%),linear-gradient(135deg,#111827,#273449)}
.gg-hero-main-content{padding:46px;max-width:670px;color:#fff}
.gg-eyebrow{font-size:13px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#ffb08e}
.gg-hero h1{font-size:clamp(34px,5vw,62px);line-height:1.02;letter-spacing:-.055em;margin:12px 0 18px}
.gg-hero p{color:#dbe3ef;max-width:570px;font-size:17px}
.gg-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:13px;background:var(--gg-accent);color:#fff;font-weight:800;border:0}
.gg-cta:hover{background:var(--gg-accent-2)}
.gg-cta.secondary{background:#fff;color:var(--gg-primary);margin-left:8px}
.gg-hero-side{background:#fff;border:1px solid var(--gg-border);padding:24px;box-shadow:var(--gg-shadow)}
.gg-hero-side h3{margin:0 0 10px;font-size:20px}
.gg-benefit{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #eef0f3}
.gg-benefit:last-child{border-bottom:0}
.gg-benefit-icon{width:38px;height:38px;border-radius:11px;background:#fff1eb;color:var(--gg-accent);display:grid;place-items:center;font-weight:900;flex:0 0 auto}
.gg-section{padding:22px 0}
.gg-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.gg-section-head h2{margin:0;font-size:28px;letter-spacing:-.04em}
.gg-section-head p{margin:4px 0 0;color:var(--gg-muted)}
.gg-link{font-weight:800;color:var(--gg-accent);white-space:nowrap}
.gg-categories{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.gg-category{background:#fff;border:1px solid var(--gg-border);border-radius:18px;padding:18px 12px;text-align:center;transition:.2s;box-shadow:0 2px 10px rgba(17,24,39,.025)}
.gg-category:hover{transform:translateY(-3px);box-shadow:var(--gg-shadow)}
.gg-category-icon{width:54px;height:54px;margin:0 auto 10px;border-radius:16px;background:#f3f4f6;display:grid;place-items:center;font-size:24px}
.gg-category strong{font-size:14px}
.gg-products{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.gg-product{background:#fff;border:1px solid var(--gg-border);border-radius:18px;overflow:hidden;position:relative;transition:.2s}
.gg-product:hover{transform:translateY(-3px);box-shadow:var(--gg-shadow)}
.gg-product-media{aspect-ratio:1/1;background:#f3f4f6;position:relative}
.gg-product-media img{width:100%;height:100%;object-fit:cover}
.gg-wish{position:absolute;right:10px;top:10px;width:36px;height:36px;border:0;border-radius:11px;background:rgba(255,255,255,.92);cursor:pointer}
.gg-product-body{padding:14px}
.gg-product-brand{font-size:11px;color:var(--gg-muted);font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.gg-product-title{margin:4px 0 8px;font-weight:750;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gg-rating{font-size:12px;color:#f59e0b}
.gg-price{font-size:19px;font-weight:900;margin-top:8px}
.gg-old{font-size:12px;color:#9ca3af;text-decoration:line-through;margin-left:5px;font-weight:500}
.gg-promo{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.gg-promo-card{min-height:190px;border-radius:22px;padding:28px;color:#fff;position:relative;overflow:hidden}
.gg-promo-card:first-child{background:linear-gradient(135deg,#ff5a1f,#ff8b5e)}
.gg-promo-card:last-child{background:linear-gradient(135deg,#172033,#3a4a65)}
.gg-promo-card h3{font-size:27px;letter-spacing:-.04em;margin:0 0 8px}
.gg-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gg-trust-card{background:#fff;border:1px solid var(--gg-border);border-radius:18px;padding:20px}
.gg-trust-card strong{display:block;margin-bottom:5px}
.gg-trust-card span{font-size:13px;color:var(--gg-muted)}
.gg-footer{margin-top:45px;background:#0b1220;color:#dbe3ef}
.gg-footer-main{padding:46px 0;display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:32px}
.gg-footer h4{color:#fff;margin:0 0 12px}
.gg-footer p,.gg-footer a{color:#aeb9c9;font-size:14px}
.gg-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.gg-footer-bottom{border-top:1px solid #1d2939;padding:16px 0;color:#8996a8;font-size:13px}
.gg-mobile-bottom{display:none}
.gg-page{padding:30px 0 50px}
.gg-card{background:#fff;border:1px solid var(--gg-border);border-radius:20px;padding:24px}
.gg-breadcrumb{font-size:13px;color:var(--gg-muted);margin-bottom:18px}
.gg-video{position:relative;aspect-ratio:16/9;background:#111827;border-radius:18px;overflow:hidden}
.gg-video iframe{width:100%;height:100%;border:0}
.gg-skeleton{background:linear-gradient(90deg,#f0f1f3 25%,#e8eaed 37%,#f0f1f3 63%);background-size:400% 100%;animation:gg-shimmer 1.3s infinite}
@keyframes gg-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(max-width:1100px){
  .gg-products{grid-template-columns:repeat(4,1fr)}
  .gg-categories{grid-template-columns:repeat(4,1fr)}
  .gg-header-main{grid-template-columns:auto 1fr auto}
  .gg-account{display:none}
}
@media(max-width:820px){
  .gg-topbar{display:none}
  .gg-header-main{grid-template-columns:auto 1fr auto;gap:10px;min-height:66px}
  .gg-logo{font-size:20px}
  .gg-logo-mark{width:34px;height:34px;border-radius:10px}
  .gg-search input{height:42px}
  .gg-actions{gap:5px}
  .gg-icon-btn{width:40px;height:40px}
  .gg-nav{display:none}
  .gg-hero{padding:12px 0}
  .gg-hero-grid{grid-template-columns:1fr}
  .gg-hero-main{min-height:350px}
  .gg-hero-main-content{padding:30px 24px}
  .gg-hero-side{min-height:auto}
  .gg-products{grid-template-columns:repeat(2,1fr);gap:10px}
  .gg-categories{grid-template-columns:repeat(3,1fr);gap:8px}
  .gg-category{padding:13px 7px}
  .gg-category-icon{width:46px;height:46px}
  .gg-promo{grid-template-columns:1fr}
  .gg-trust{grid-template-columns:1fr 1fr}
  .gg-footer-main{grid-template-columns:1fr 1fr}
  .gg-mobile-bottom{position:fixed;z-index:1200;left:0;right:0;bottom:0;height:62px;background:rgba(255,255,255,.97);border-top:1px solid var(--gg-border);display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom);backdrop-filter:blur(12px)}
  .gg-mobile-bottom a{display:grid;place-items:center;align-content:center;gap:2px;font-size:11px;font-weight:800}
  .gg-mobile-bottom span{font-size:19px;line-height:1}
  body{padding-bottom:68px}
}
@media(max-width:520px){
  .gg-container{width:min(calc(100% - 20px),var(--gg-max))}
  .gg-header-main{grid-template-columns:auto 1fr auto}
  .gg-search{grid-column:1/-1;grid-row:2;padding-bottom:10px}
  .gg-header-main{padding-top:8px}
  .gg-hero h1{font-size:38px}
  .gg-hero-main-content{padding:25px 20px}
  .gg-cta.secondary{margin-left:0;margin-top:8px}
  .gg-section-head h2{font-size:23px}
  .gg-categories{grid-template-columns:repeat(3,1fr)}
  .gg-trust{grid-template-columns:1fr}
  .gg-footer-main{grid-template-columns:1fr}
}
