/*
 Theme Name:   GBM Beauty
 Theme URI:    https://gbmbeauty.com
 Description:  Thème enfant Astra pour GBM Beauty E-Commerce
 Author:       Infinity Gates
 Author URI:   https://infinitygates.com
 Template:     astra
 Version:      1.0.0
 Text Domain:  gbm-theme
*/

/* ============================================
   GBM DESIGN SYSTEM — Extracted from Figma
   ============================================ */

:root {
  /* === Colors === */
  --gbm-black: #1A1A1A;
  --gbm-black-deep: #0D0D0D;
  --gbm-charcoal: #333333;
  --gbm-gray: #666666;
  --gbm-gray-light: #F5F5F5;
  --gbm-white: #FFFFFF;
  --gbm-gold: #D4AF37;
  --gbm-gold-light: #E8C967;
  --gbm-red: #C41E3A;

  /* === Typography === */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  /* === Spacing === */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* === Layout === */
  --container-max: 1440px;
  --header-height: 104px;
  --announcement-h: 36px;
  --border-radius: 0px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gbm-black);
  background-color: var(--gbm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gbm-black);
}

h1 {
  font-size: clamp(36px, 5vw, 72px);
}

h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-family: var(--font-body);
  font-weight: 600;
}

a {
  color: var(--gbm-black);
  text-decoration: none;
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gbm-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-2xl);
}

@media (max-width: 768px) {
  .gbm-container {
    padding: 0 var(--space-md);
  }
}

/* === Buttons === */
.gbm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.gbm-btn-primary {
  background-color: var(--gbm-black);
  color: var(--gbm-white);
  border-color: var(--gbm-black);
}

.gbm-btn-primary:hover {
  background-color: var(--gbm-gold);
  border-color: var(--gbm-gold);
  color: var(--gbm-black);
}

.gbm-btn-outline {
  background-color: transparent;
  color: var(--gbm-white);
  border-color: var(--gbm-white);
}

.gbm-btn-outline:hover {
  background-color: var(--gbm-white);
  color: var(--gbm-black);
}

.gbm-btn-gold {
  background-color: var(--gbm-gold);
  color: var(--gbm-black);
  border-color: var(--gbm-gold);
}

.gbm-btn-gold:hover {
  background-color: var(--gbm-gold-light);
  border-color: var(--gbm-gold-light);
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.gbm-announcement-bar {
  width: 100%;
  height: var(--announcement-h);
  background-color: var(--gbm-black-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.gbm-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: var(--container-max);
  width: 100%;
  padding: 0 var(--space-lg);
}

.gbm-announcement-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--gbm-white);
  letter-spacing: 0.5px;
  text-align: center;
}

.gbm-announcement-arrow {
  background: none;
  border: none;
  color: var(--gbm-white);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.gbm-announcement-arrow:hover {
  opacity: 1;
}

/* ============================================
   HEADER (2-ROW)
   ============================================ */
.gbm-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--gbm-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.gbm-header.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Visibility Toggles */
.gbm-desktop-header {
  display: block !important;
}

.gbm-mobile-header {
  display: none !important;
}

@media (max-width: 991px) {
  .gbm-desktop-header {
    display: none !important;
  }

  .gbm-mobile-header {
    display: block !important;
  }

  /* Homepage Transparent Header (Mobile Only) */
  .home .gbm-header:not(.scrolled) {
    background-color: transparent !important;
    border-bottom: none !important;
    position: absolute;
  }

  .home .gbm-header:not(.scrolled) .gbm-mobile-logo a,
  .home .gbm-header:not(.scrolled) .gbm-mobile-icon-btn {
    color: var(--gbm-white) !important;
  }

  .home .gbm-header:not(.scrolled) .gbm-menu-toggle span {
    background-color: var(--gbm-white) !important;
  }
}

/* Header Rows */
.gbm-header-row {
  width: 100%;
}

.gbm-header-row .gbm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
}

/* Row 1 — Brand Bar */
.gbm-header-row-1 {
  height: 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.gbm-header-row-1 .gbm-header-inner {
  height: 60px;
}

/* FOR YOU / SALON PRO Toggle */
.gbm-mode-toggle {
  display: inline-flex;
  border-radius: 30px;
  border: 1.5px solid var(--gbm-black);
  overflow: hidden;
  background: var(--gbm-white);
}

.gbm-mode-btn {
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gbm-black);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.gbm-mode-btn.active {
  background-color: var(--gbm-black);
  color: var(--gbm-white);
}

.gbm-mode-btn:hover:not(.active) {
  background-color: var(--gbm-gray-light);
  color: var(--gbm-black);
}

/* Logo (centered in row 1) */
.gbm-logo {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--gbm-black);
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.gbm-header-row-1 .gbm-header-inner {
  position: relative;
}

.gbm-logo a {
  color: inherit;
}

.gbm-logo a:hover {
  color: var(--gbm-gold);
}

/* Row 2 — Navigation Bar */
.gbm-header-row-2 {
  height: 48px;
  background: var(--gbm-gray-light);
}

.gbm-header-row-2 .gbm-header-inner {
  height: 48px;
}

/* "More Beautiful" tagline */
.gbm-tagline span {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: var(--gbm-black);
}

/* Navigation */
.gbm-nav {
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {

  .gbm-nav,
  .gbm-tagline {
    display: none;
  }

  /* --- Mobile Header Styling (Clean & Transparent Home) --- */
  .gbm-mobile-header {
    padding: 10px 0;
    width: 100%;
  }

  /* Homepage Overrides */
  .home .gbm-header:not(.scrolled) {
    background-color: transparent !important;
    border-bottom: none !important;
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 1000;
  }

  .home .gbm-header:not(.scrolled) .gbm-mobile-header {
    background-color: transparent !important;
  }

  .gbm-mobile-header-row-1 {
    display: flex;
    align-items: center;
    padding: 0 15px;
    width: 100%;
    min-height: 32px;
  }

  .gbm-mobile-mode-toggle-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }

  .gbm-mobile-mode-toggle {
    display: flex;
    background: #FFFFFF;
    border-radius: 25px;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  }

  .gbm-mobile-mode-toggle a {
    padding: 3px 8px;
    font-size: 7px;
    font-weight: 400;
    border-radius: 20px;
    color: #888;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }

  .gbm-mobile-mode-toggle a.active {
    background: #27A860;
    color: #FFF;
  }

  .gbm-mobile-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }

  .gbm-mobile-logo a {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
    color: var(--gbm-black);
    white-space: nowrap;
    text-transform: none;
    letter-spacing: -0.5px;
  }

  .home .gbm-header:not(.scrolled) .gbm-mobile-logo a {
    color: #FFFFFF !important;
  }

  .gbm-mobile-icons-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .gbm-mobile-icons {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .gbm-mobile-icon-btn {
    color: var(--gbm-black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .home .gbm-header:not(.scrolled) .gbm-mobile-icon-btn {
    color: #FFFFFF !important;
  }

  .gbm-mobile-icon-btn svg {
    width: 22px;
    height: 22px;
  }

  .gbm-mobile-icon-btn .gbm-cart-count {
    position: absolute;
    top: -5px !important;
    right: -5px !important;
    width: 14px !important;
    height: 14px !important;
    background-color: var(--gbm-gold) !important;
    color: var(--gbm-black) !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .gbm-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }

  .gbm-menu-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--gbm-black);
  }

  .home .gbm-header:not(.scrolled) .gbm-menu-toggle span {
    background-color: #FFFFFF !important;
  }

  .gbm-mobile-header-row-2 {
    margin-top: 12px;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: center;
  }

  .gbm-mobile-search-input-wrap {
    width: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    padding: 7px 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .gbm-mobile-search-input-wrap svg {
    color: #FFFFFF !important;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    opacity: 0.9;
  }

  .gbm-mobile-search-input-wrap input {
    height: auto;
    max-width: 300px;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    font-size: 14px;
    color: #FFFFFF !important;
    outline: none;
    padding: 0;
    text-align: center;
  }

  .gbm-mobile-search-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.8);
  }

  .home .gbm-header:not(.scrolled) .gbm-mobile-search-input-wrap {
    border-color: #e0e0e0 !important;
    background: rgba(0, 0, 0, 0.2) !important;
  }

  .home .gbm-header:not(.scrolled) .gbm-mobile-search-input-wrap svg {
    color: #FFFFFF !important;
  }

  .home .gbm-header:not(.scrolled) .gbm-mobile-search-input-wrap input {
    color: #FFFFFF !important;
  }

  .gbm-mobile-search-input-wrap input::placeholder {
    color: var(--gbm-gray);
  }

  .home .gbm-header:not(.scrolled) .gbm-mobile-search-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }

  /* Announcement Bar Mobile */
  .gbm-announcement-bar {
    height: 30px !important;
    background-color: #FFFFFF !important;
    position: relative;
    z-index: 1002;
  }

  .gbm-announcement-text {
    color: #000000 !important;
    font-size: 8px !important;
  }

  .gbm-announcement-arrow {
    color: #000 !important;
  }
}

.gbm-mobile-back {
  display: none;
}

@media (max-width: 991px) {
  .gbm-mobile-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: auto;
  }
}



.gbm-nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.gbm-nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gbm-black);
  position: relative;
  padding: 4px 0;
}

.gbm-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--gbm-gold);
  transition: width 0.3s ease;
}

.gbm-nav-links a:hover::after,
.gbm-nav-links a.active::after {
  width: 100%;
}

/* Search area (right side of row 2) */
.gbm-header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gbm-search-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gbm-black);
}

.gbm-search-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.gbm-search-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: var(--gbm-black);
  color: var(--gbm-white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 20px;
  transition: var(--transition);
}

.gbm-search-btn:hover {
  background-color: var(--gbm-gold);
  color: var(--gbm-black);
}

/* Header Icons */
.gbm-header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gbm-header-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gbm-black);
  cursor: pointer;
  transition: var(--transition);
}

.gbm-header-icon:hover {
  color: var(--gbm-gold);
}

.gbm-header-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.gbm-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background-color: var(--gbm-gold);
  color: var(--gbm-black);
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.gbm-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.gbm-menu-toggle span {
  width: 24px;
  height: 1.5px;
  background-color: var(--gbm-black);
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.gbm-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  margin-top: 0;
  overflow: hidden;
  background-color: var(--gbm-black);
}

.gbm-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.gbm-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.gbm-hero-slide.active {
  opacity: 1;
}

.gbm-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.gbm-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0.1) 100%);
}

.gbm-hero-content {
  position: absolute;
  top: 50%;
  left: var(--space-3xl);
  transform: translateY(-50%);
  max-width: 550px;
  color: var(--gbm-white);
  z-index: 2;
}

.gbm-hero-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gbm-gold);
  margin-bottom: var(--space-sm);
}

.gbm-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  color: var(--gbm-white);
  margin-bottom: var(--space-md);
}

.gbm-hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
  max-width: 420px;
}

/* Hero Dots */
.gbm-hero-dots {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.gbm-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.gbm-hero-dot.active {
  background-color: var(--gbm-gold);
  transform: scale(1.2);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.gbm-products-section {
  padding: var(--space-3xl) 0;
}

.gbm-products-grid {
  display: grid;
  gap: 24px;
  margin-bottom: var(--space-xl);
}

.gbm-products-grid.gbm-carousel-mode {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  padding-bottom: 10px;
}

.gbm-products-grid.gbm-carousel-mode::-webkit-scrollbar {
  display: none;
}

.gbm-products-grid.gbm-carousel-mode .gbm-product-card-figma {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .gbm-products-grid.gbm-carousel-mode .gbm-product-card-figma {
    flex: 0 0 calc(50% - 12px);
    min-width: 250px;
  }
}

@media (max-width: 600px) {
  .gbm-products-grid.gbm-carousel-mode .gbm-product-card-figma {
    flex: 0 0 100%;
    min-width: 280px;
  }
}

.gbm-section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.gbm-section-header h2 {
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.gbm-section-header p {
  color: var(--gbm-gray);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.gbm-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gbm-product-card {
  position: relative;
  overflow: hidden;
  background: var(--gbm-white);
  transition: var(--transition);
}

.gbm-product-card:hover {
  box-shadow: var(--shadow-hover);
}

.gbm-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #fff;
}

.gbm-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gbm-product-card:hover .gbm-product-image img {
  transform: scale(1.05);
}

.gbm-product-actions {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  display: flex;
  gap: 8px;
  transition: var(--transition);
}

.gbm-product-card:hover .gbm-product-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.gbm-product-action-btn {
  width: 40px;
  height: 40px;
  background: var(--gbm-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.gbm-product-action-btn:hover {
  background: var(--gbm-gold);
  color: var(--gbm-black);
}

.gbm-product-action-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.gbm-product-info {
  padding: var(--space-sm) 4px;
  text-align: center;
}

.gbm-product-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--gbm-black);
  margin-bottom: 4px;
}

.gbm-product-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--gbm-charcoal);
}

.gbm-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--gbm-gold);
  color: var(--gbm-black);
  z-index: 2;
}

/* ============================================
   FEATURED BANNER ("Made to Be Worn")
   ============================================ */
.gbm-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.gbm-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gbm-banner-content {
  position: absolute;
  top: 50%;
  right: var(--space-3xl);
  transform: translateY(-50%);
  text-align: right;
  color: var(--gbm-white);
}

.gbm-banner-content h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-style: italic;
  color: var(--gbm-white);
  margin-bottom: var(--space-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.gbm-footer {
  background-color: var(--gbm-black);
  color: var(--gbm-white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.gbm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.gbm-footer-logo {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--gbm-white);
  margin-bottom: var(--space-sm);
}

.gbm-footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gbm-white);
  margin-bottom: var(--space-md);
}

.gbm-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gbm-footer ul li {
  margin-bottom: 10px;
}

.gbm-footer ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.gbm-footer ul a:hover {
  color: var(--gbm-gold);
}

.gbm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.gbm-footer-social {
  display: flex;
  gap: var(--space-sm);
}

.gbm-footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.gbm-footer-social a:hover {
  border-color: var(--gbm-gold);
  color: var(--gbm-gold);
}

.gbm-footer-social svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .gbm-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gbm-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gbm-hero-content {
    left: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .gbm-header-row-1 {
    height: 70px;
  }

  .gbm-header-row-2 {
    display: none;
  }

  .gbm-menu-toggle {
    display: flex;
    order: 3;
  }

  .gbm-header-row-1 .gbm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
    position: relative;
  }

  .gbm-mode-toggle {
    display: none;
  }

  /* Hide on mobile to save space, or make it very small */

  .gbm-logo {
    position: static;
    transform: none;
    font-size: 20px;
    letter-spacing: 2px;
    order: 2;
    margin: 0 auto;
    flex: 1;
    text-align: center;
  }

  .gbm-header-icons {
    order: 1;
    gap: 8px;
  }

  .gbm-header-icon {
    width: 32px;
    height: 32px;
  }

  .gbm-header-icon svg {
    width: 18px;
    height: 18px;
  }

  .gbm-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gbm-hero {
    min-height: 450px;
    max-height: 600px;
  }

  .gbm-hero-content {
    left: var(--space-md);
    max-width: 90%;
    text-align: center;
  }

  .gbm-hero-title {
    font-size: 36px;
  }

  .gbm-banner-content {
    right: var(--space-md);
  }

  .gbm-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .gbm-products-grid {
    grid-template-columns: 1fr;
  }

  .gbm-hero-title {
    font-size: 32px;
  }

  .gbm-made-content h2 {
    font-size: 42px !important;
  }
}

/* === Section Grids (Desktop) === */
.gbm-made-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  align-items: center;
  gap: var(--space-xl);
}

.gbm-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gbm-trending-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gbm-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.gbm-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.gbm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

/* === Section Grids (Responsive) === */
@media (max-width: 1024px) {
  .gbm-made-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gbm-made-img-right {
    display: none;
  }

  .gbm-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gbm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .gbm-made-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gbm-made-content {
    padding: var(--space-md) 0;
  }

  .gbm-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gbm-story-grid {
    grid-template-columns: 1fr;
  }

  .gbm-trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .gbm-footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gbm-trending-carousel .gbm-product-card-figma {
    flex: 0 0 85%;
  }
}

@media (max-width: 480px) {
  .gbm-categories-grid {
    grid-template-columns: 1fr;
  }

  .gbm-footer-brand {
    text-align: center;
  }

  .gbm-footer-social {
    justify-content: center;
  }

  .gbm-footer-logo-wrap img {
    margin: 0 auto;
  }
}


/* === Mobile Menu Overlay === */
/* === Mobile Menu Design Refined === */
.gbm-mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--gbm-white);
  z-index: 10000;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.gbm-mobile-menu > * {
  flex-shrink: 0;
}

.gbm-mobile-menu.open {
  left: 0;
}

.gbm-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gbm-mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Header Section */
.gbm-mobile-menu-header {
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #F5F5F5;
}

.gbm-mobile-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gbm-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #EEE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.gbm-user-avatar svg {
  width: 24px;
  height: 24px;
}

.gbm-user-text {
  display: flex;
  flex-direction: column;
}

.gbm-user-greeting {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
}

.gbm-user-login-link {
  font-size: 13px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.gbm-mobile-menu-close {
  background: none;
  border: none;
  color: #000;
  padding: 5px;
  cursor: pointer;
}

.gbm-mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

/* Navigation List */
.gbm-mobile-nav {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.gbm-mobile-nav li a {
  display: flex;
  align-items: center;
  padding: 14px 25px;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.gbm-mobile-nav li a:active {
  background: #F9F9F9;
}

/* Submenu Logic (Drilldown) */
.gbm-mobile-submenu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gbm-mobile-nav.submenu-open>li:not(.active-dropdown) {
  display: none !important;
}

.gbm-mobile-nav.submenu-open>li.active-dropdown>.gbm-submenu-toggle {
  display: none !important;
}

.gbm-mobile-nav.submenu-open>li.active-dropdown>.gbm-mobile-submenu {
  display: block;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.gbm-nav-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.gbm-nav-icon svg {
  width: 20px;
  height: 20px;
}

.gbm-nav-label {
  flex: 1;
}

.gbm-nav-arrow {
  color: #BBB;
}

.gbm-nav-arrow svg {
  width: 16px;
  height: 16px;
}

/* Secondary Links */
.gbm-mobile-secondary {
  padding: 20px 0;
  border-top: 1px solid #F5F5F5;
  display: flex;
  flex-direction: column;
}

.gbm-mobile-secondary a {
  display: flex;
  align-items: center;
  padding: 10px 25px;
  color: #000;
  font-size: 14px;
  text-decoration: none;
}

/* Promo Banner */
.gbm-mobile-menu-promo {
  margin: 20px;
  background: #FFF5F5;
  border-radius: 12px;
  padding: 15px;
}

.gbm-promo-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gbm-promo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gbm-promo-icon img {
  width: 100%;
  height: auto;
}

.gbm-promo-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gbm-promo-title {
  font-size: 14px;
  font-weight: 800;
  color: #1A1A1A;
}

.gbm-promo-desc {
  font-size: 15px;
  color: #1A1A1A;
}

.gbm-promo-btn {
  background: #000;
  color: #FFF !important;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
}

/* Footer Section */
.gbm-mobile-menu-footer {
  padding: 20px 25px 40px;
  border-top: 1px solid #F5F5F5;
}

.gbm-footer-label {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 15px;
}

.gbm-mobile-socials {
  display: flex;
  gap: 20px;
}

.gbm-mobile-socials a {
  color: #333;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gbm-mobile-socials a img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.gbm-mobile-socials a:hover {
  transform: translateY(-2px);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce ul.products li.product a img {
  border-radius: var(--border-radius);
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gbm-charcoal);
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce input.button {
  background-color: var(--gbm-black) !important;
  color: var(--gbm-white) !important;
  border-radius: var(--border-radius) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  padding: 12px 32px !important;
  transition: var(--transition) !important;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  background-color: var(--gbm-gold) !important;
  color: var(--gbm-black) !important;
}

.woocommerce .quantity .qty {
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--gbm-gold) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--gbm-gold) !important;
}

/* ============================================
   ORDER RECEIVED (THANK YOU) PAGE
   ============================================ */
.woocommerce-order-received .gbm-container {
  padding-top: 60px;
  padding-bottom: 100px;
}

.woocommerce-thankyou-order-received {
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 40px;
  font-family: var(--font-body);
}

.woocommerce-thankyou-order-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  padding: 30px;
  background: #F9F9F9;
  border-radius: 16px;
  margin-bottom: 60px;
}

.woocommerce-thankyou-order-details li {
  font-size: 13px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

.woocommerce-thankyou-order-details li strong {
  display: block;
  font-size: 18px;
  color: #1A1A1A;
  margin-top: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-order-details {
  margin-bottom: 80px;
}

.woocommerce-order-details__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #000;
}

.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #EEE;
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
  padding: 24px;
  border: 1px solid #EEE;
  text-align: left;
}

.woocommerce-table--order-details th {
  background: #FDFDFD;
  font-weight: 700;
  color: #333;
}

.woocommerce-table--order-details td {
  font-size: 16px;
  color: #444;
}

.woocommerce-table--order-details .product-name a {
  color: var(--gbm-gold);
  text-decoration: none;
  font-weight: 600;
}

.woocommerce-customer-details {
  background: #fff;
  border: 1px solid #EEE;
  padding: 40px;
  border-radius: 20px;
}

.woocommerce-column__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid #EEE;
  padding-bottom: 15px;
}

/* ============================================
   SHOPPING BAG (CART) RESPONSIVE
   ============================================ */
.gbm-cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

.gbm-cart-item-row {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.gbm-cart-item-image-box {
  width: 160px;
  height: 160px;
  background: #F9F9F9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gbm-cart-item-main {
  flex: 1;
}

.gbm-cart-item-qty-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  min-width: 180px;
}

.gbm-cart-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 48px;
}

.gbm-qty-btn-minus,
.gbm-qty-btn-plus {
  width: 48px;
  height: 100%;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  color: #000;
}

.gbm-qty-input {
  width: 50px;
  height: 100%;
  text-align: center;
  -moz-appearance: textfield;
  border: none;
  border-left: 1px solid #F0F0F0;
  border-right: 1px solid #F0F0F0;
  font-weight: 700;
  background: none;
}

.gbm-cart-sidebar {
  background: #fff;
  border: 1px solid #F2F2F2;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
}

@media (max-width: 1024px) {
  .gbm-cart-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .gbm-cart-item-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
  }

  .gbm-cart-item-image-box {
    width: 80px;
    height: 80px;
  }

  .gbm-cart-item-main {
    width: calc(100% - 100px);
    flex: none;
  }

  .gbm-cart-item-qty-price {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F0F0F0;
    padding-top: 16px;
    min-width: 0;
  }

  .gbm-cart-sidebar {
    padding: 24px;
  }
}

/* ============================================
   CHECKOUT PAGE (Figma-Accurate & Responsive)
   ============================================ */
.gbm-checkout-page {
  padding-top: 40px;
  padding-bottom: 100px;
}

.gbm-checkout-page .gbm-page-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

/* Steps */
.gbm-checkout-steps {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.gbm-step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gbm-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F0F0F0;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.gbm-step.active .gbm-step-num {
  background: #1A1A1A;
  color: #FFF;
}

.gbm-step-label {
  font-size: 15px;
  font-weight: 600;
  color: #888;
}

.gbm-step.active .gbm-step-label {
  color: #1A1A1A;
}

.gbm-step-line {
  flex: 1;
  height: 1px;
  background: #EEE;
  max-width: 100px;
}

/* Layout */
.gbm-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.gbm-checkout-section {
  background: #FFF;
  border: 1px solid #F0F0F0;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.gbm-checkout-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1A1A1A;
}

/* Summary Sidebar */
.gbm-checkout-summary-inner {
  background: #F9F9F9;
  border-radius: 24px;
  padding: 40px;
  position: sticky;
  top: 100px;
}

.gbm-summary-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.gbm-order-item {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.gbm-order-item-image {
  width: 70px;
  height: 70px;
  background: #FFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.gbm-order-item-image img {
  max-width: 80%;
  max-height: 80%;
}

.gbm-order-item-qty {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: #1A1A1A;
  color: #FFF;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gbm-order-item-info {
  flex: 1;
}

.gbm-order-item-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.gbm-order-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.gbm-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 16px;
  color: #000;
}

.gbm-summary-total {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 800;
  color: #1A1A1A;
}

.gbm-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #AAA;
  margin-top: 24px;
}

/* Responsive Checkout */
@media (max-width: 1024px) {
  .gbm-checkout-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gbm-checkout-summary-inner {
    position: static;
  }
}

@media (max-width: 768px) {
  .gbm-checkout-page .gbm-page-title {
    font-size: 36px;
  }

  .gbm-checkout-section {
    padding: 24px;
  }

  .gbm-checkout-steps {
    overflow-x: auto;
    padding-bottom: 15px;
  }

  .gbm-step-label {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .woocommerce-thankyou-order-details {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============================================
   GLOBAL OVERRIDES (User Requests)
   ============================================ */
#ast-scroll-top {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

#ast-scroll-top:hover {
  background-color: #333333 !important;
}

.gbm-carousel-arrow svg {
  stroke: #000000 !important;
}

.gbm-mobile-promos,
.gbm-mobile-find-finish,
.gbm-mobile-shop-look,
.gbm-mobile-footer {
  display: none;
}