/* ==========================================================================
   GLOW & GROW E-COMMERCE STYLESHEET
   Technologies: CSS Custom Properties, Responsive Grid, Flexbox Layouts
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR PALETTE & GLOBAL VARIABLES
   -------------------------------------------------------------------------- */
:root {
  --gg-cream: #FAF8F5;
  --gg-green: #1B4332;
  --gg-green-dark: #143326;
  --gg-beige: #EFECE6;
  --gg-gold: #C5A059;
  --gg-text: #22252A;
  --gg-muted: #6C757D;
  --gg-white: #FFFFFF;
  --gg-border: #E5E0D8;
  --gg-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  --gg-transition: all 0.3s ease-in-out;
}

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY & GENERAL BASE STYLES
   -------------------------------------------------------------------------- */
body {
  background-color: var(--gg-cream);
  color: var(--gg-text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gg-green);
  font-weight: 700;
}

a {
  color: var(--gg-green);
  text-decoration: none;
  transition: var(--gg-transition);
}

a:hover {
  color: var(--gg-gold);
}

/* --------------------------------------------------------------------------
   3. BUTTONS & UI INTERACTION COMPONENTS
   -------------------------------------------------------------------------- */
.btn-gg-primary {
  background-color: var(--gg-green);
  color: var(--gg-white);
  border: 1px solid var(--gg-green);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--gg-transition);
}

.btn-gg-primary:hover {
  background-color: var(--gg-green-dark);
  border-color: var(--gg-green-dark);
  color: var(--gg-white);
}

.btn-gg-outline {
  background-color: transparent;
  color: var(--gg-green);
  border: 1px solid var(--gg-green);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--gg-transition);
}

.btn-gg-outline:hover {
  background-color: var(--gg-green);
  color: var(--gg-white);
}

.btn-gg-gold {
  background-color: var(--gg-gold);
  color: var(--gg-white);
  border: 1px solid var(--gg-gold);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--gg-transition);
}

.btn-gg-gold:hover {
  background-color: #b08d4b;
  border-color: #b08d4b;
  color: var(--gg-white);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION & ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.announcement-bar {
  background-color: var(--gg-green);
  color: var(--gg-cream);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  text-align: center;
  letter-spacing: 0.5px;
}

.navbar-gg {
  background-color: var(--gg-cream);
  border-bottom: 1px solid var(--gg-border);
  padding: 0.8rem 0;
}

.navbar-gg .navbar-brand {
  font-size: 1.6rem;
  color: var(--gg-green);
}

.navbar-gg .nav-link {
  color: var(--gg-text);
  font-weight: 500;
  margin: 0 0.4rem;
}

.navbar-gg .nav-link:hover,
.navbar-gg .nav-link.active {
  color: var(--gg-green);
  font-weight: 700;
}

.cart-icon-wrap {
  position: relative;
  display: inline-block;
}

.cart-badge-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: var(--gg-gold);
  color: var(--gg-white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   5. HERO & HOME PAGE CARDS
   -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(rgba(27, 67, 50, 0.75), rgba(20, 51, 38, 0.8)),
    url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: var(--gg-white);
  padding: 6rem 0;
  border-radius: 0 0 24px 24px;
}

.hero-section h1 {
  color: var(--gg-white);
  font-size: 3rem;
}

.category-card {
  background-color: var(--gg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gg-border);
  box-shadow: var(--gg-shadow);
  transition: var(--gg-transition);
  text-align: center;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--gg-gold);
}

.category-card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. PRODUCT CARD & CATALOG GRID
   -------------------------------------------------------------------------- */
.product-card {
  background: var(--gg-white);
  border-radius: 12px;
  border: 1px solid var(--gg-border);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--gg-transition);
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background-color: var(--gg-beige);
}

.product-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--gg-green);
  color: var(--gg-white);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  color: var(--gg-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.3rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 70