/*
 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 — Rose & Burgundy Beauty === */
  --gbm-black: #2C1A2E;
  --gbm-black-deep: #1A0F1C;
  --gbm-charcoal: #4A3350;
  --gbm-gray: #7A6B80;
  --gbm-gray-light: #FDF5F7;
  --gbm-white: #FFFBFC;
  --gbm-gold: #C07090;
  --gbm-gold-light: #E8A0B8;
  --gbm-red: #8B2252;

  /* === New Accent Colors === */
  --gbm-rose: #D4728C;
  --gbm-rose-light: #F2D0DB;
  --gbm-burgundy: #6B1D3A;
  --gbm-cream: #FFF5F0;
  --gbm-rose-gold: #B76E79;

  /* === 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: 12px;
  --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 RESPONSIVE)
   ============================================ */
.gbm-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--gbm-white);
  border-bottom: 1px solid rgba(44, 26, 46, 0.08);
  transition: var(--transition);
}

.gbm-header.scrolled {
  background-color: rgba(255, 251, 252, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(44, 26, 46, 0.08);
}

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

.gbm-header-row .gbm-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  box-sizing: border-box;
}

/* Row 1 — Brand Bar (3-Column Balanced Grid) */
.gbm-header-row-1 {
  height: 64px;
  border-bottom: 1px solid rgba(44, 26, 46, 0.05);
}

.gbm-header-row-1 .gbm-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}

.gbm-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.gbm-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  text-align: center;
}

.gbm-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  justify-self: end;
}

/* 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: 7px 18px;
  font-family: var(--font-body);
  font-size: 11px;
  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-burgundy);
  color: var(--gbm-white);
}

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

/* Logo */
.gbm-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gbm-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.gbm-logo-main {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gbm-burgundy);
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.3s ease;
}

.gbm-logo-sub {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gbm-charcoal);
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
  opacity: 0.9;
  white-space: nowrap;
}

.gbm-logo-link:hover .gbm-logo-main {
  color: var(--gbm-rose);
}

/* Visibility helpers */
.gbm-desktop-only {
  display: flex;
}

.gbm-currency-picker-mobile {
  display: none;
}

/* Mobile Currency Pill Button */
.gbm-currency-pill-btn {
  background: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gbm-currency-pill-btn:hover {
  transform: scale(1.03);
}

.gbm-currency-pill-btn .gbm-current-flag {
  font-size: 14px;
  line-height: 1;
}

.gbm-currency-pill-btn .gbm-current-curr {
  font-size: 11px;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}

.gbm-currency-pill-btn .gbm-curr-arrow {
  stroke: #111111;
}

/* Hamburger Toggle Button */
.gbm-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.gbm-burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--gbm-black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gbm-menu-toggle.active .gbm-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.gbm-menu-toggle.active .gbm-burger-bar:nth-child(2) {
  opacity: 0;
}

.gbm-menu-toggle.active .gbm-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.gbm-mobile-back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

/* Mobile Search Bar (Always visible on mobile right below the header bar) */
.gbm-mobile-search-bar {
  display: none;
  padding: 4px 16px 14px 16px;
  background: transparent;
  box-sizing: border-box;
  width: 100%;
}

.gbm-mobile-search-form {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, rgba(32, 10, 18, 0.92) 0%, rgba(76, 16, 32, 0.92) 50%, rgba(32, 10, 18, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  height: 46px;
  padding: 0 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-sizing: border-box;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gbm-mobile-search-form:focus-within {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 114, 140, 0.25), 0 4px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(90deg, rgba(40, 12, 22, 0.95) 0%, rgba(88, 18, 36, 0.95) 50%, rgba(40, 12, 22, 0.95) 100%);
}

.gbm-mobile-search-icon {
  position: absolute;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  pointer-events: none;
}

.gbm-mobile-search-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.gbm-mobile-search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  padding: 0 34px;
}

.gbm-mobile-search-input::placeholder {
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-weight: 400;
}

/* Currency & Country Selector */
.gbm-currency-picker-wrap {
  position: relative;
}

.gbm-currency-btn,
.gbm-currency-pill-btn {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', var(--font-body), sans-serif;
}

.gbm-currency-btn .gbm-current-flag,
.gbm-currency-pill-btn .gbm-current-flag {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.gbm-curr-opt span,
.gbm-curr-chip {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
}

.gbm-currency-btn:hover {
  border-color: var(--gbm-rose);
  color: var(--gbm-rose);
}

.gbm-curr-arrow {
  transition: transform 0.25s ease;
}

.gbm-currency-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--gbm-white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(44, 26, 46, 0.14);
  border: 1px solid rgba(44, 26, 46, 0.08);
  z-index: 99999;
  min-width: 160px;
  padding: 6px 0;
}

.gbm-curr-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--gbm-black);
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background 0.2s ease;
}

.gbm-curr-opt:hover,
.gbm-curr-opt.active {
  background-color: var(--gbm-rose-light);
  color: var(--gbm-burgundy);
}

.gbm-curr-divider {
  border-top: 1px solid rgba(44, 26, 46, 0.06);
  margin: 4px 0;
}

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

.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);
  border-radius: 50%;
  text-decoration: none;
}

.gbm-header-icon:hover {
  color: var(--gbm-rose);
  background: var(--gbm-rose-light);
}

.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;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background-color: var(--gbm-burgundy);
  color: var(--gbm-white);
  font-size: 9px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gbm-white);
  box-sizing: border-box;
}

/* Row 2 — Navigation Bar */
.gbm-header-row-2 {
  height: 48px;
  background: var(--gbm-gray-light);
  border-bottom: 1px solid rgba(44, 26, 46, 0.05);
}

.gbm-header-row-2 .gbm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

/* "More Beautiful" tagline */
.gbm-tagline span {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: var(--gbm-black);
  white-space: nowrap;
}

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

.gbm-nav-links {
  display: flex;
  list-style: none;
  gap: clamp(14px, 1.8vw, 28px);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.gbm-nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--gbm-black);
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.gbm-nav-links a:hover {
  color: var(--gbm-rose);
}

.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-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gbm-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.gbm-search-toggle:hover {
  color: var(--gbm-rose);
}

.gbm-search-toggle svg {
  width: 18px;
  height: 18px;
}

.gbm-search-form {
  display: flex;
  align-items: center;
  background: var(--gbm-white);
  border-radius: 20px;
  padding: 2px 8px;
  border: 1px solid rgba(44, 26, 46, 0.15);
}

.gbm-search-input {
  border: none;
  background: none;
  padding: 4px 8px;
  outline: none;
  font-size: 12px;
  font-family: var(--font-body);
  width: 140px;
  color: var(--gbm-black);
}

.gbm-search-submit {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--gbm-gray);
  display: flex;
  align-items: center;
}

.gbm-search-submit:hover {
  color: var(--gbm-rose);
}

/* ============================================
   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: var(--gbm-gray-light);
}

.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: 991px) {
  :root {
    --header-height: 0px;
  }

  /* Le header entier est transparent et flotte par-dessus le hero */
  .gbm-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    z-index: 1000 !important;
  }

  /* Remove any WordPress admin bar offset on mobile/frontend */
  #wpadminbar {
    display: none !important;
  }

  html,
  body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .gbm-header.scrolled {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }

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

  /* Row 1 : Menu avec effet de flou (frosted glass) */
  .gbm-header-row-1 {
    height: 62px;
    background: rgba(18, 10, 16, 0.45) !important;
    background-color: rgba(18, 10, 16, 0.45) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    z-index: 10001 !important;
  }

  .gbm-header-row-1 .gbm-header-inner {
    height: 62px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: transparent !important;
    position: relative !important;
    z-index: 10001 !important;
  }

  .gbm-header-left {
    justify-self: start;
    display: flex;
    align-items: center;
  }

  .gbm-desktop-only {
    display: none !important;
  }

  .gbm-currency-picker-mobile {
    display: block !important;
    position: relative;
    z-index: 10002 !important;
  }

  .gbm-currency-picker-mobile .gbm-currency-pill-btn {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }

  .gbm-currency-picker-mobile .gbm-currency-dropdown {
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    background: #ffffff !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 14px !important;
    z-index: 999999 !important;
    min-width: 170px !important;
  }

  .gbm-header-center {
    justify-self: center;
    text-align: center;
  }

  .gbm-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
  }

  .gbm-logo-main {
    font-size: 26px !important;
    color: #ffffff !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .gbm-logo-sub {
    font-size: 7.5px !important;
    color: #ffffff !important;
    letter-spacing: 1.2px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-top: 3px !important;
    line-height: 1 !important;
    opacity: 0.95 !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  .gbm-header-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    justify-self: end !important;
  }

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

  .gbm-header-icon-account {
    display: flex !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    margin-right: -5px;
  }

  .gbm-header-icon-account svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 1.8 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  }

  .gbm-header-icon-cart {
    display: flex !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    position: relative !important;
  }

  .gbm-header-icon-cart svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 1.8 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  }

  .gbm-cart-count {
    position: absolute !important;
    top: -4px !important;
    right: -6px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 3px !important;
    background-color: #F3BE12 !important;
    color: #111111 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid rgba(0, 0, 0, 0.4) !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }

  .gbm-menu-toggle {
    display: flex !important;
    border: none !important;
    background: none !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    gap: 5px !important;
    cursor: pointer !important;
  }

  .gbm-burger-bar {
    background-color: #ffffff !important;
    width: 20px !important;
    height: 2.2px !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease !important;
  }

  .gbm-menu-toggle.active .gbm-burger-bar:nth-child(1) {
    transform: translateY(7.2px) rotate(45deg) !important;
  }

  .gbm-menu-toggle.active .gbm-burger-bar:nth-child(2) {
    opacity: 0 !important;
  }

  .gbm-menu-toggle.active .gbm-burger-bar:nth-child(3) {
    transform: translateY(-7.2px) rotate(-45deg) !important;
  }

  /* Row 2 : Barre de recherche avec arrière-plan 100% transparent */
  .gbm-mobile-search-bar {
    display: block !important;
    padding: 2px 16px 14px 16px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .gbm-mobile-search-form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(90deg, rgba(30, 8, 14, 0.75) 0%, rgba(70, 15, 28, 0.75) 50%, rgba(30, 8, 14, 0.75) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 999px !important;
    height: 46px !important;
    padding: 0 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  .gbm-mobile-search-form:focus-within {
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2) !important;
  }

  .gbm-mobile-search-icon {
    position: absolute !important;
    left: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    pointer-events: none !important;
  }

  .gbm-mobile-search-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
  }

  .gbm-mobile-search-input {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 15px !important;
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 0 34px !important;
  }

  .gbm-mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.9) !important;
    opacity: 0.9 !important;
    text-align: center !important;
    font-weight: 400 !important;
  }
}

@media (max-width: 768px) {

  .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 & Drawer === */
.gbm-mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 26, 46, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gbm-mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}

.gbm-mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--gbm-white);
  z-index: 9999;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 4px 0 24px rgba(44, 26, 46, 0.15);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

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

/* RTL (Arabic) Mobile Menu & Dropdown fixes */
html[dir="rtl"] .gbm-mobile-menu {
  left: auto;
  right: -100%;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(44, 26, 46, 0.15);
}

html[dir="rtl"] .gbm-mobile-menu.open {
  right: 0;
  left: auto;
}

html[dir="rtl"] .gbm-currency-picker-mobile .gbm-currency-dropdown {
  right: 0 !important;
  left: auto !important;
}

.gbm-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(44, 26, 46, 0.08);
}

.gbm-mobile-drawer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gbm-burgundy);
}

.gbm-mobile-menu-close {
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--gbm-gray-light, #FDF5F7) !important;
  border: 1px solid rgba(44, 26, 46, 0.1) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  color: var(--gbm-black, #2C1A2E) !important;
  transition: var(--transition);
}

.gbm-mobile-menu-close svg {
  width: 20px !important;
  height: 20px !important;
  stroke: var(--gbm-black, #2C1A2E) !important;
  display: block !important;
}

.gbm-mobile-menu-close:hover {
  background: var(--gbm-rose-light, #F2D0DB) !important;
  color: var(--gbm-rose, #D4728C) !important;
}

.gbm-mobile-drawer-search {
  margin: 16px 0;
}

.gbm-mobile-drawer-search form {
  display: flex;
  align-items: center;
  background: var(--gbm-gray-light);
  border-radius: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(44, 26, 46, 0.08);
}

.gbm-mobile-drawer-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--gbm-black);
}

.gbm-mobile-drawer-search button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gbm-gray);
  padding: 4px;
  display: flex;
  align-items: center;
}

.gbm-mobile-mode-wrap {
  margin-bottom: 16px;
}

.gbm-mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.gbm-mobile-nav li {
  border-bottom: 1px solid rgba(44, 26, 46, 0.05);
}

.gbm-mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gbm-black);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.gbm-mobile-nav a:hover {
  color: var(--gbm-rose);
  padding-left: 6px;
}

.gbm-badge-new {
  font-size: 10px;
  background: var(--gbm-burgundy);
  color: var(--gbm-white);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.gbm-mobile-user-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(44, 26, 46, 0.08);
  border-bottom: 1px solid rgba(44, 26, 46, 0.08);
}

.gbm-mobile-user-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gbm-black);
  text-decoration: none;
  transition: color 0.2s ease;
}

.gbm-mobile-user-link:hover {
  color: var(--gbm-rose);
}

.gbm-mobile-currency-section {
  padding-top: 16px;
  margin-top: auto;
}

.gbm-mobile-currency-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gbm-gray);
  margin-bottom: 10px;
}

.gbm-mobile-currency-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gbm-curr-chip {
  padding: 6px 10px;
  border: 1px solid rgba(44, 26, 46, 0.12);
  background: var(--gbm-gray-light);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gbm-black);
  cursor: pointer;
  transition: var(--transition);
}

.gbm-curr-chip:hover,
.gbm-curr-chip.active {
  background: var(--gbm-rose);
  color: var(--gbm-white);
  border-color: var(--gbm-rose);
}

@media (max-width: 480px) {
  :root {
    --header-height: 114px;
  }

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

  .gbm-header-row-1 .gbm-header-inner {
    height: 58px;
    padding: 0 10px;
  }

  .gbm-logo-main {
    font-size: 22px !important;
    letter-spacing: 1.5px !important;
  }

  .gbm-logo-sub {
    font-size: 6.5px !important;
    letter-spacing: 1px !important;
  }

  .gbm-currency-pill-btn {
    padding: 5px 9px;
    gap: 4px;
  }

  .gbm-currency-pill-btn .gbm-current-flag {
    font-size: 13px;
  }

  .gbm-currency-pill-btn .gbm-current-curr {
    font-size: 10px;
  }

  .gbm-header-right {
    gap: 10px !important;
  }

  .gbm-menu-toggle {
    width: 26px !important;
    height: 26px !important;
  }

  .gbm-mobile-search-bar {
    padding: 2px 10px 10px 10px !important;
  }

  .gbm-mobile-search-form {
    height: 42px !important;
  }

  .gbm-mobile-search-input {
    font-size: 14px !important;
  }

  .gbm-announcement-text {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ============================================
   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: #666;
}

.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;
  }
}