/* GardenGear — Arboreal Editorial : main.css v1.0.0
   Premium Editorial design system for outdoor product reviews. */

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root{
  /* colors */
  --gg-surface:#faf9f7;
  --gg-surface-dim:#dadad8;
  --gg-surface-bright:#faf9f7;
  --gg-surface-container-lowest:#ffffff;
  --gg-surface-container-low:#f4f3f1;
  --gg-surface-container:#efeeec;
  --gg-surface-container-high:#e9e8e6;
  --gg-surface-container-highest:#e3e2e0;
  --gg-on-surface:#1a1c1b;
  --gg-on-surface-variant:#424844;
  --gg-inverse-surface:#2f3130;
  --gg-inverse-on-surface:#f1f1ef;
  --gg-outline:#727974;
  --gg-outline-variant:#c1c8c2;
  --gg-surface-tint:#456555;
  --gg-primary:#042418;
  --gg-on-primary:#ffffff;
  --gg-primary-container:#1b3a2c;
  --gg-on-primary-container:#83a492;
  --gg-inverse-primary:#accebb;
  --gg-secondary:#426920;
  --gg-on-secondary:#ffffff;
  --gg-secondary-container:#bfee95;
  --gg-on-secondary-container:#466d24;
  --gg-tertiary:#341800;
  --gg-on-tertiary:#ffffff;
  --gg-tertiary-container:#4f2c0a;
  --gg-on-tertiary-container:#c69268;
  --gg-error:#ba1a1a;
  --gg-on-error:#ffffff;
  --gg-error-container:#ffdad6;
  --gg-on-error-container:#93000a;
  --gg-background:#faf9f7;
  --gg-on-background:#1a1c1b;
  --gg-surface-variant:#e3e2e0;
  --gg-surface-white:#ffffff;
  --gg-border-subtle:#e5e3e0;
  --gg-text-main:#2d2d2d;
  --gg-text-muted:#5c5c5c;

  --gg-badge-best-overall:#1b3a2c;
  --gg-badge-best-budget:#4f772d;
  --gg-badge-best-premium:#b5835a;
  --gg-cons-icon:#9c8b78; /* desaturated ochre, not red */

  /* radius */
  --gg-radius-sm:0.25rem;
  --gg-radius:0.5rem;
  --gg-radius-md:0.75rem;
  --gg-radius-lg:1rem;
  --gg-radius-xl:1.5rem;
  --gg-radius-full:9999px;

  /* spacing */
  --gg-content-max:760px;
  --gg-content-min:680px;
  --gg-gutter:24px;
  --gg-margin-desktop:64px;
  --gg-margin-mobile:20px;
  --gg-stack-sm:8px;
  --gg-stack-md:16px;
  --gg-stack-lg:32px;
  --gg-section-gap:80px;

  /* shadow */
  --gg-shadow-card:0px 4px 20px rgba(27,58,44,0.04);
}

/* ------------------------------------------------------------------ */
/* Reset & base                                                        */
/* ------------------------------------------------------------------ */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--gg-background);
  color:var(--gg-text-main);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:16px;
  line-height:26px;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
ul,ol{margin:0;padding:0;}
li{list-style:none;}
button{font-family:inherit;cursor:pointer;}
input,textarea{font-family:inherit;}
table{border-collapse:collapse;width:100%;}

h1,h2,h3,h4,h5,h6{
  font-family:'Hanken Grotesk',sans-serif;
  color:var(--gg-primary);
  margin:0 0 var(--gg-stack-md);
  font-weight:600;
}

.gg-display-lg{font-size:48px;font-weight:700;line-height:56px;letter-spacing:-0.02em;}
.gg-headline-lg{font-size:32px;font-weight:600;line-height:40px;}
.gg-headline-md{font-size:24px;font-weight:600;line-height:32px;}
.gg-body-lg{font-family:'Inter',sans-serif;font-size:18px;font-weight:400;line-height:30px;}
.gg-body-md{font-family:'Inter',sans-serif;font-size:16px;font-weight:400;line-height:26px;}
.gg-label-md{font-family:'Inter',sans-serif;font-size:14px;font-weight:600;line-height:20px;letter-spacing:0.05em;text-transform:uppercase;}
.gg-quote{font-family:'Hanken Grotesk',sans-serif;font-size:22px;font-weight:400;line-height:34px;font-style:italic;}

@media (max-width:640px){
  .gg-display-lg{font-size:36px;line-height:42px;}
}

/* ------------------------------------------------------------------ */
/* Layout                                                               */
/* ------------------------------------------------------------------ */
.gg-container{
  max-width:1280px;
  margin:0 auto;
  padding:0 var(--gg-margin-desktop);
}
@media (max-width:900px){
  .gg-container{padding:0 var(--gg-margin-mobile);}
}

.gg-reading-column{
  max-width:var(--gg-content-max);
  min-width:0;
  width:100%;
  margin:0 auto;
}

.gg-section{padding-block:var(--gg-section-gap);}
@media (max-width:640px){
  .gg-section{padding-block:calc(var(--gg-section-gap) / 2);}
}

.gg-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:var(--gg-gutter);
  max-width:1280px;
  margin:0 auto;
  align-items:start;
}
@media (max-width:960px){
  .gg-layout{grid-template-columns:1fr;}
}

/* ------------------------------------------------------------------ */
/* Header / Nav                                                        */
/* ------------------------------------------------------------------ */
.gg-header{
  background:var(--gg-surface-container-lowest);
  border-bottom:1px solid var(--gg-border-subtle);
  position:sticky;
  top:0;
  z-index:50;
}
.gg-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
  max-width:1280px;
  margin:0 auto;
  padding:0 var(--gg-margin-desktop);
}
@media (max-width:900px){
  .gg-header__inner{padding:0 var(--gg-margin-mobile);height:64px;}
}
.gg-logo{
  font-family:'Hanken Grotesk',sans-serif;
  font-weight:700;
  font-size:22px;
  color:var(--gg-primary);
  letter-spacing:-0.01em;
}
.gg-logo span{color:var(--gg-badge-best-budget);}

.gg-nav{display:flex;gap:32px;}
.gg-nav a{
  font-family:'Inter',sans-serif;
  font-size:14px;
  font-weight:600;
  color:var(--gg-on-surface-variant);
  letter-spacing:0.02em;
  text-transform:uppercase;
  padding:8px 0;
  border-bottom:2px solid transparent;
  transition:border-color .15s ease, color .15s ease;
}
.gg-nav a:hover,.gg-nav a.current-menu-item{
  color:var(--gg-primary);
  border-bottom-color:var(--gg-badge-best-premium);
}
@media (max-width:900px){
  .gg-nav{display:none;}
}

.gg-header__search{
  display:flex;align-items:center;gap:16px;
}
.gg-icon-btn{
  width:36px;height:36px;border-radius:var(--gg-radius-full);
  display:inline-flex;align-items:center;justify-content:center;
  background:transparent;border:1px solid var(--gg-border-subtle);
  color:var(--gg-on-surface);
}

/* Mobile bottom nav */
.gg-bottom-nav{
  display:none;
  position:fixed;bottom:0;left:0;right:0;
  background:var(--gg-surface-container-lowest);
  border-top:1px solid var(--gg-border-subtle);
  z-index:50;
  padding:8px 0 calc(8px + env(safe-area-inset-bottom));
}
.gg-bottom-nav__inner{
  display:flex;justify-content:space-around;
}
.gg-bottom-nav a{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  font-size:11px;font-weight:600;color:var(--gg-on-surface-variant);
  text-transform:uppercase;letter-spacing:.03em;
}
.gg-bottom-nav svg{width:20px;height:20px;}
@media (max-width:900px){
  .gg-bottom-nav{display:block;}
  body{padding-bottom:64px;}
}

/* ------------------------------------------------------------------ */
/* Hero / Front page                                                   */
/* ------------------------------------------------------------------ */
.gg-hero{
  background:var(--gg-surface-container-low);
  border-bottom:1px solid var(--gg-border-subtle);
  padding-block:var(--gg-section-gap);
}
.gg-hero__eyebrow{
  color:var(--gg-badge-best-budget);
  margin-bottom:var(--gg-stack-sm);
}
.gg-hero__title{margin-bottom:var(--gg-stack-md);max-width:820px;}
.gg-hero__sub{color:var(--gg-text-muted);max-width:620px;}

.gg-section-heading{
  display:flex;align-items:baseline;justify-content:space-between;
  margin-bottom:var(--gg-stack-lg);
  border-bottom:1px solid var(--gg-border-subtle);
  padding-bottom:var(--gg-stack-md);
}
.gg-section-heading h2{margin:0;}
.gg-section-heading a{color:var(--gg-badge-best-budget);font-weight:600;font-size:14px;}

.gg-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--gg-gutter);
}
@media (max-width:960px){
  .gg-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .gg-grid{grid-template-columns:1fr;}
}

/* ------------------------------------------------------------------ */
/* Post / Product Card                                                 */
/* ------------------------------------------------------------------ */
.gg-card{
  background:var(--gg-surface-white);
  border:1px solid var(--gg-border-subtle);
  border-radius:var(--gg-radius);
  overflow:hidden;
  box-shadow:var(--gg-shadow-card);
  display:flex;flex-direction:column;
}
.gg-card__media{position:relative;aspect-ratio:4/3;background:var(--gg-surface-container);overflow:hidden;}
.gg-card__media img{width:100%;height:100%;object-fit:cover;}
.gg-card__body{padding:var(--gg-stack-lg) var(--gg-stack-lg) var(--gg-stack-lg);display:flex;flex-direction:column;gap:var(--gg-stack-sm);flex:1;}
.gg-card__meta{color:var(--gg-text-muted);font-size:13px;}
.gg-card__title{font-size:24px;line-height:32px;font-weight:600;margin:0;}
.gg-card__title a:hover{color:var(--gg-surface-tint);}
.gg-card__excerpt{color:var(--gg-text-muted);flex:1;}
.gg-card__cta{margin-top:var(--gg-stack-sm);}

/* Product Badges */
.gg-badge{
  position:absolute;top:12px;left:12px;
  font-family:'Inter',sans-serif;font-size:12px;font-weight:600;
  letter-spacing:0.05em;text-transform:uppercase;
  color:#fff;padding:5px 10px;border-radius:var(--gg-radius-sm);
  z-index:2;
}
.gg-badge--overall{background:var(--gg-badge-best-overall);}
.gg-badge--budget{background:var(--gg-badge-best-budget);}
.gg-badge--premium{background:var(--gg-badge-best-premium);}

/* CTA button */
.gg-cta{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--gg-badge-best-premium);
  color:#fff;
  font-family:'Inter',sans-serif;font-weight:600;font-size:15px;
  padding:12px 22px;border-radius:var(--gg-radius);
  border:none;transition:background .15s ease, transform .1s ease;
}
.gg-cta:hover{background:#a06f47;color:#fff;}
.gg-cta:active{transform:translateY(1px);}
.gg-cta svg{width:16px;height:16px;flex-shrink:0;}
.gg-cta--block{display:flex;width:100%;justify-content:center;}

/* Pros / Cons */
.gg-pros-cons{
  display:flex;gap:var(--gg-gutter);
  background:var(--gg-surface-container-low);
  border:1px solid var(--gg-border-subtle);
  border-radius:var(--gg-radius);
  padding:var(--gg-stack-lg);
  margin:var(--gg-stack-lg) 0;
}
.gg-pros-cons__col{flex:1;min-width:0;}
.gg-pros-cons__col h4{
  font-family:'Inter',sans-serif;font-size:14px;font-weight:600;
  letter-spacing:.05em;text-transform:uppercase;margin-bottom:var(--gg-stack-md);
  color:var(--gg-on-surface-variant);
}
.gg-pros-cons__col ul{display:flex;flex-direction:column;gap:var(--gg-stack-sm);}
.gg-pros-cons__col li{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:24px;}
.gg-pros-cons__col li svg{width:20px;height:20px;flex-shrink:0;margin-top:2px;}
.gg-pros .li-icon,.gg-pros svg{color:var(--gg-badge-best-budget);}
.gg-pros li svg{color:var(--gg-badge-best-budget);}
.gg-cons li svg{color:var(--gg-cons-icon);}
@media (max-width:640px){
  .gg-pros-cons{flex-direction:column;}
}

/* Comparison table */
.entry-content table,.gg-compare-table{
  width:100%;background:var(--gg-surface-white);
  border:1px solid var(--gg-border-subtle);border-radius:var(--gg-radius);
  overflow:hidden;font-size:15px;
}
.entry-content table th,.gg-compare-table th{
  background:var(--gg-surface);
  color:var(--gg-primary);
  text-align:left;padding:12px 16px;
  font-family:'Inter',sans-serif;font-weight:600;font-size:13px;
  letter-spacing:.03em;text-transform:uppercase;
  border-bottom:1px solid var(--gg-border-subtle);
}
.entry-content table td,.gg-compare-table td{
  padding:12px 16px;border-bottom:1px solid var(--gg-border-subtle);
  color:var(--gg-text-main);
}
.entry-content table tr:hover td,.gg-compare-table tr:hover td{
  background:rgba(27,58,44,0.02);
}
.entry-content table tr:last-child td{border-bottom:none;}
@media (max-width:640px){
  .gg-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
}

/* ------------------------------------------------------------------ */
/* Single review article                                               */
/* ------------------------------------------------------------------ */
.gg-breadcrumb{
  font-size:13px;color:var(--gg-text-muted);
  display:flex;gap:6px;align-items:center;flex-wrap:wrap;
  margin-bottom:var(--gg-stack-lg);
}
.gg-breadcrumb a:hover{color:var(--gg-surface-tint);}

.gg-article-header{margin-bottom:var(--gg-stack-lg);}
.gg-category-pill{
  display:inline-block;background:var(--gg-secondary-container);
  color:var(--gg-on-secondary-container);
  font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;
  padding:4px 10px;border-radius:var(--gg-radius-sm);margin-bottom:var(--gg-stack-md);
}
.gg-article-meta{
  display:flex;align-items:center;gap:12px;color:var(--gg-text-muted);
  font-size:14px;margin-top:var(--gg-stack-md);
}
.gg-article-meta img{width:28px;height:28px;border-radius:var(--gg-radius-full);}

.gg-disclosure{
  display:flex;gap:12px;background:var(--gg-surface-container-low);
  border:1px solid var(--gg-border-subtle);border-left:4px solid var(--gg-badge-best-premium);
  border-radius:var(--gg-radius);padding:var(--gg-stack-md) var(--gg-stack-lg);
  color:var(--gg-text-muted);font-size:14px;line-height:22px;
  margin:var(--gg-stack-lg) 0;
}
.gg-disclosure strong{color:var(--gg-on-surface);}

.entry-content{font-size:18px;line-height:30px;color:var(--gg-text-main);}
.entry-content > *{margin-bottom:var(--gg-stack-lg);}
.entry-content h2{font-size:32px;line-height:40px;margin-top:var(--gg-stack-lg);}
.entry-content h3{font-size:24px;line-height:32px;}
.entry-content blockquote{
  font-family:'Hanken Grotesk',sans-serif;font-size:22px;font-weight:400;line-height:34px;font-style:italic;
  border-left:3px solid var(--gg-badge-best-premium);
  padding-left:var(--gg-stack-lg);color:var(--gg-primary-container);margin:var(--gg-stack-lg) 0;
}
.entry-content figure{margin:0;}
.entry-content img{border-radius:var(--gg-radius);}

.gg-featured-image{border-radius:var(--gg-radius-md);overflow:hidden;margin-bottom:var(--gg-stack-lg);box-shadow:var(--gg-shadow-card);}

/* Sidebar */
.gg-sidebar{display:flex;flex-direction:column;gap:var(--gg-stack-lg);}
.gg-widget{
  background:var(--gg-surface-white);border:1px solid var(--gg-border-subtle);
  border-radius:var(--gg-radius);padding:var(--gg-stack-lg);
}
.gg-widget h3{font-size:16px;text-transform:uppercase;letter-spacing:.05em;font-weight:600;margin-bottom:var(--gg-stack-md);}
.gg-widget ul{display:flex;flex-direction:column;gap:var(--gg-stack-sm);}
.gg-widget li a{font-size:14px;color:var(--gg-text-muted);}
.gg-widget li a:hover{color:var(--gg-surface-tint);}
.gg-search-form{display:flex;border:1px solid var(--gg-border-subtle);border-radius:var(--gg-radius);overflow:hidden;}
.gg-search-form input[type="search"]{border:none;padding:10px 14px;flex:1;background:var(--gg-surface-white);font-size:14px;}
.gg-search-form button{border:none;background:var(--gg-primary);color:#fff;padding:0 16px;}

/* ------------------------------------------------------------------ */
/* Topic hub pages                                                     */
/* ------------------------------------------------------------------ */
.gg-topic-hero{
  background:var(--gg-primary);color:var(--gg-inverse-on-surface);
  padding-block:64px;
}
.gg-topic-hero h1{color:#fff;}
.gg-topic-hero p{color:var(--gg-on-primary-container);max-width:640px;}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */
.gg-footer{
  background:var(--gg-primary);color:var(--gg-inverse-on-surface);
  margin-top:var(--gg-section-gap);
  padding-block:56px;
}
.gg-footer__grid{
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:var(--gg-gutter);
  max-width:1280px;margin:0 auto;padding:0 var(--gg-margin-desktop);
}
@media (max-width:900px){
  .gg-footer__grid{grid-template-columns:1fr;padding:0 var(--gg-margin-mobile);gap:var(--gg-stack-lg);}
}
.gg-footer h4{
  font-size:13px;text-transform:uppercase;letter-spacing:.05em;
  color:var(--gg-inverse-primary);margin-bottom:var(--gg-stack-md);
}
.gg-footer p,.gg-footer li a{color:var(--gg-on-primary-container);font-size:14px;line-height:22px;}
.gg-footer li{margin-bottom:6px;}
.gg-footer__bottom{
  max-width:1280px;margin:40px auto 0;padding:24px var(--gg-margin-desktop) 0;
  border-top:1px solid rgba(255,255,255,0.1);
  color:var(--gg-on-primary-container);font-size:13px;
}
@media (max-width:900px){
  .gg-footer__bottom{padding:24px var(--gg-margin-mobile) 0;}
}

/* Utility */
.gg-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}
.gg-mt-lg{margin-top:var(--gg-stack-lg);}
