/* Button Loading Spinner */
.gl-spinnerr {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: gl-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}


@keyframes gl-pulse {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.gl-loading-text {
  vertical-align: middle;
}

.gl-add-to-cart-btn.gl-loading {
  position: relative;
  pointer-events: none;
}

/* RTL Support */
[dir="rtl"] .gl-spinnerr {
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .gl-page-spinner {
  animation: gl-spin-reverse 1s linear infinite;
}

@keyframes gl-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes gl-spin {
  to {
    transform: rotate(360deg);
  }
}

.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 6px;
}
.user-dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}
.user-dropdown-menu {
  position: absolute;
  z-index: 20;
  min-width: 220px;
  top: 36px;
  left: 0;
  right: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  opacity: 0;
  transform: translateY(10px);
}
[dir="ltr"] .user-dropdown-menu {
  left: auto;
  right: 0;
}
.user-dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.user-dropdown-menu .p-5 {
  padding: 20px;
}
.user-dropdown-menu .grid {
  gap: 10px;
}
.user-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #222;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}
.user-dropdown-menu a:hover {
  background: #f5f5f5;
}
.user-dropdown-menu p {
  margin: 0;
}
.user-dropdown-menu .text-xl {
  font-size: 1.25rem;
  font-weight: bold;
}
.user-dropdown-menu .text-sm {
  font-size: 0.95rem;
  color: #666;
}
.user-dropdown-menu .border {
  border-top: 1px solid #eee;
}
.user-dropdown-menu .lang-section {
  padding: 12px 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 8px 0;
}
.user-dropdown-menu .lang-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
}
.user-dropdown-menu .lang-buttons {
  display: flex;
  gap: 8px;
}
.user-dropdown-menu .lang-btn {
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  background: white;
  color: #333;
}
.user-dropdown-menu .lang-btn:hover {
  background: #f8f8f8;
  border-color: #999;
}
.user-dropdown-menu .lang-btn.active {
  background: #e3f2fd;
  border-color: #2196f3;
  color: #1976d2;
}

/* ===================================================================
   Glamour Theme → Bagisto Bridge CSS
   
   This file is specifically designed for Bagisto's Blade + Tailwind
   storefront. It maps Glamour's --gl-* CSS variables to Bagisto's 
   existing class structure.
   
   DO NOT include CSS resets or base element styles that conflict 
   with Bagisto's compiled Tailwind classes.
   
   Source of truth: theme.json → ThemeConfigReader → :root variables
   This file ONLY uses var(--gl-*) — no hardcoded colors.
   =================================================================== */

/* ── ICON FONT PROTECTION ─────────────────────────────────────────── 
   Bagisto uses a custom icon font called "bagisto-shop".
   These rules ensure our theme NEVER breaks the icon font.         */

[class^="icon-"],
[class*=" icon-"],
[class^="icon-"]::before,
[class*=" icon-"]::before {
  font-family: "bagisto-shop" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* ── TYPOGRAPHY ────────────────────────────────────────────────────── */
#app {
  color: var(--gl-text);
}

body {
  font-family: var(--gl-font-body) !important;
  background-color: var(--gl-bg) !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

[dir="rtl"] body {
  font-family: var(--gl-font-arabic, var(--gl-font-body)) !important;
}

/* h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--gl-font-heading) !important;
    color: var(--gl-heading) !important;
    line-height: 1.2;
} */

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
  font-family: var(--gl-font-arabic, var(--gl-font-heading)) !important;
}

p,
li,
td,
th,
span:not([class*="icon-"]):not([class*="rounded-full"]) {
  font-family: inherit;
}

/* ── HEADER ────────────────────────────────────────────────────────── */

header,
header.sticky {
  background-color: var(--gl-header-bg, var(--gl-bg)) !important;
  box-shadow: var(--gl-shadow-sm) !important;
  transition: box-shadow var(--gl-transition) !important;
}

.gl-header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--gl-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* ── PRIMARY BUTTONS ───────────────────────────────────────────────── */

.primary-button,
button.primary-button,
a.primary-button {
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-light)
  ) !important;
  border-color: var(--gl-primary) !important;
  color: #fff !important;
  border-radius: var(--gl-radius-full) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: all var(--gl-transition) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
  padding: 12px 28px !important;
}

.primary-button:hover,
button.primary-button:hover,
a.primary-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--gl-shadow-hover) !important;
  filter: brightness(1.05) !important;
}

/* ── SECONDARY BUTTONS ─────────────────────────────────────────────── */

.secondary-button,
button.secondary-button {
  border: 2px solid var(--gl-primary) !important;
  color: var(--gl-primary) !important;
  background: transparent !important;
  border-radius: var(--gl-radius-full) !important;
  font-weight: 600 !important;
  transition: all var(--gl-transition) !important;
  padding: 10px 26px !important;
}

.secondary-button:hover,
button.secondary-button:hover {
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-light)
  ) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* ── BAGISTO "navyBlue" → THEME PRIMARY ────────────────────────────── */

.bg-navyBlue {
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-dark)
  ) !important;
}

.text-navyBlue,
.hover\:text-navyBlue:hover {
  color: var(--gl-primary) !important;
}

.border-navyBlue,
.hover\:border-navyBlue:hover {
  border-color: var(--gl-primary) !important;
}

/* Bagisto uses bg-[#F1EADF] for some sections */
.bg-\[\#F1EADF\] {
  background-color: var(--gl-secondary) !important;
}

/* ── LINKS ─────────────────────────────────────────────────────────── */
/* 
a:not([class*="icon-"]):not([class*="text-white"]):not(.primary-button):not(.secondary-button) {
    transition: color var(--gl-transition-fast) !important;
} */

/* a:not([class*="icon-"]):not([class*="text-white"]):not(.primary-button):not(.secondary-button):hover {
    color: var(--gl-primary-dark) !important;
} */

/* ── PRODUCT CARDS ─────────────────────────────────────────────────── */

.product-card {
  border-radius: var(--gl-radius) !important;
  border: 1px solid var(--gl-border) !important;
  transition: all var(--gl-transition) !important;
  overflow: hidden !important;
  background: var(--gl-bg) !important;
}

.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--gl-shadow-lg) !important;
  border-color: var(--gl-primary-light) !important;
}

.product-card img {
  transition: transform var(--gl-transition-slow) !important;
}

.product-card:hover img {
  transform: scale(1.06) !important;
}

/* Product price — use accent (gold) for sale prices */
.product-card .line-through {
  color: var(--gl-subheading-light) !important;
}

/* ── SEARCH ────────────────────────────────────────────────────────── */

input[type="search"],
input[name="query"],
input[name="term"] {
  border: 1px solid var(--gl-border) !important;
  transition:
    border-color var(--gl-transition-fast),
    box-shadow var(--gl-transition-fast) !important;
  padding: 10px 20px !important;
}

/* input[type="search"]:focus,
input[name="query"]:focus,
input[name="term"]:focus {
  border-color: var(--gl-primary) !important;
  box-shadow: 0 0 0 4px var(--gl-secondary) !important;
  outline: none !important;
} */

/* ── FORM INPUTS ───────────────────────────────────────────────────── */

/* input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="search"]):not([name="query"]):not([name="term"]):not([class*="icon-"]),
select,
textarea {
    border-radius: var(--gl-radius-sm) !important;
    transition: border-color var(--gl-transition-fast) !important;
}

input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([class*="icon-"]):focus,
select:focus,
textarea:focus {
    border-color: var(--gl-primary) !important;
    box-shadow: 0 0 0 3px var(--gl-secondary) !important;
    outline: none !important;
} */

/* ── STAR RATINGS ──────────────────────────────────────────────────── */

[class*="text-amber"],
[class*="text-yellow"] {
  color: var(--gl-accent) !important;
}

/* ── CART / BADGE ──────────────────────────────────────────────────── */

span.absolute.rounded-full {
  background-color: var(--gl-primary) !important;
  font-size: 0.65rem !important;
}

/* ── PAGINATION ────────────────────────────────────────────────────── */

nav [aria-current="page"],
.pagination .active {
  background-color: var(--gl-primary) !important;
  border-color: var(--gl-primary) !important;
  color: #fff !important;
}

/* ── BREADCRUMBS ───────────────────────────────────────────────────── */

nav[aria-label="breadcrumb"] a:hover,
.breadcrumbs a:hover {
  color: var(--gl-primary) !important;
}

/* ── ACCORDIONS / DROPDOWNS ────────────────────────────────────────── */

details[open] summary,
.accordion-open {
  color: var(--gl-primary) !important;
}

/* ── SCROLLBAR ─────────────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gl-bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--gl-primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gl-primary);
}

/* ── SELECTION ─────────────────────────────────────────────────────── */



/* ── SMOOTH SCROLL ─────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth !important;
}

/* ── WISHLIST ──────────────────────────────────────────────────────── */

.icon-heart-fill {
  color: var(--gl-primary) !important;
}

/* ── CATEGORY SIDEBAR ──────────────────────────────────────────────── */

.sidebar .active,
.sidebar a.active {
  color: var(--gl-primary) !important;
  font-weight: 600 !important;
}

/* ── TABS ──────────────────────────────────────────────────────────── */

[role="tab"][aria-selected="true"],
.tab-active {
  border-bottom-color: var(--gl-primary) !important;
  color: var(--gl-primary) !important;
}

/* ── NOTIFICATION / FLASH MESSAGES ─────────────────────────────────── */

.alert-success,
[class*="bg-green"] {
  background-color: var(--gl-success) !important;
}

/* ===================================================================
   SECTION REDESIGNS — Premium Styles
   =================================================================== */

/* ── COMMON SECTION UTILITIES ── */
.gl-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.gl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.gl-section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gl-heading {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  color: var(--gl-heading) !important;
  letter-spacing: -0.02em;
}

.gl-subtitle {
  font-size: 1.1rem !important;
  color: var(--gl-subheading-light) !important;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .gl-section {
    padding: 60px 0;
  }

  .gl-heading {
    font-size: 2rem !important;
  }
}

/* ── GLOBAL UI COMPONENTS ── */

.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.gl-btn-lg {
  padding: 16px 42px;
  font-size: 1.15rem;
  border-radius: 50px;
}

.gl-btn-md {
  padding: 12px 32px;
  font-size: 1rem;
  border-radius: 40px;
}

.gl-btn-primary {
  background: linear-gradient(
    135deg,
    var(--gl-primary, #e91e63),
    var(--gl-primary-dark, #c2185b)
  );
  color: #ffffff !important;
  box-shadow: 0 8px 20px var(--gl-box-shadow-light);
  letter-spacing: 0.5px;
}

.gl-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px var(--gl-box-shadow);
  background: linear-gradient(
    135deg,
    var(--gl-primary-light, #f06292),
    var(--gl-primary, #e91e63)
  );
}

.gl-btn-outline {
  background: transparent;
  border: 2px solid var(--gl-primary, #e91e63);
  color: var(--gl-primary, #e91e63) !important;
}

.gl-btn-outline:hover {
  background: var(--gl-primary, #e91e63);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--gl-box-shadow-light);
}

.gl-input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--gl-radius, 8px);
  transition: all 0.3s ease;
  border: 1px solid var(--gl-border, #e5e7eb);
  padding: 14px 20px;
  background: #ffffff;
  color: var(--gl-subheading, #1f2937);
}

.gl-input:focus {
  outline: none;
  border-color: var(--gl-primary, #e91e63);
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

/* ── HERO BANNER (.gl-hero) ── */
.gl-hero {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--gl-bg-alt, #fafafa);
  overflow: hidden;
}

.gl-hero--small {
  min-height: 400px;
}

.gl-hero--medium {
  min-height: 500px;
}

.gl-hero--large {
  min-height: 650px;
}

.gl-hero--fullscreen {
  min-height: 100vh;
}

.gl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.gl-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  padding: 0 24px;
}

.gl-hero__container--left {
  justify-content: flex-start;
  text-align: left;
}

.gl-hero__container--center {
  justify-content: center;
  text-align: center;
}

.gl-hero__container--right {
  justify-content: flex-end;
  text-align: right;
}

[dir="rtl"] .gl-hero__container--left {
  justify-content: flex-end;
  text-align: right;
}

[dir="rtl"] .gl-hero__container--right {
  justify-content: flex-start;
  text-align: left;
}

.gl-hero__content {
  max-width: 800px;
  color: #ffffff;
  padding: 48px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--gl-radius, 12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease;
}

.gl-hero__content:hover {
  transform: translateY(-5px);
}

.gl-hero__subtitle {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
  color: var(--gl-accent, #d4af37);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

[dir="rtl"] .gl-hero__subtitle {
  font-family: var(--gl-font-arabic);
}

.gl-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-family: var(--gl-font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 32px;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.gl-hero__actions {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .gl-hero__content {
    padding: 32px 24px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
  }
}

/* ── FAQ ACCORDION (.gl-faq-section) ── */
.gl-faq-section {
  background: linear-gradient(
    180deg,
    var(--gl-bg) 0%,
    rgba(249, 168, 212, 0.05) 100%
  );
}

.gl-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.gl-faq-item {
  background: #fff;
  border-radius: var(--gl-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--gl-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.gl-faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(233, 30, 99, 0.2);
  transform: translateY(-2px);
}

.gl-faq-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--gl-heading);
  transition: all 0.3s ease;
  outline: none;
}

[dir="rtl"] .gl-faq-toggle {
  text-align: right;
}

.gl-faq-q-text {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--gl-font-heading);
  padding-right: 20px;
}

[dir="rtl"] .gl-faq-q-text {
  padding-right: 0;
  padding-left: 20px;
  font-family: var(--gl-font-arabic);
}

.gl-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gl-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gl-subheading-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-faq-item:hover .gl-faq-icon {
  background: var(--gl-faq-accent, #e91e63);
  color: #fff;
}

.gl-faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-faq-content-inner {
  padding: 0 24px 24px;
  color: var(--gl-subheading);
  line-height: 1.7;
  font-size: 1rem;
  transform: translateY(-10px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active State */
.gl-faq-item.active {
  border-color: var(--gl-faq-accent, #e91e63);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(233, 30, 99, 0.02)
  );
}

[dir="rtl"] .gl-faq-item.active {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1),
    rgba(233, 30, 99, 0.02)
  );
}

.gl-faq-item.active .gl-faq-toggle {
  color: var(--gl-faq-accent, #e91e63);
}

.gl-faq-item.active .gl-faq-icon {
  background: var(--gl-faq-accent, #e91e63);
  color: #fff;
  transform: rotate(45deg);
}

.gl-faq-item.active .gl-faq-content {
  max-height: 500px;
  opacity: 1;
}

.gl-faq-item.active .gl-faq-content-inner {
  transform: translateY(0);
}

/* ── TESTIMONIALS (.gl-testimonials) ── */
.gl-testimonials {
  background: #f8fafc;
}

.gl-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gl-testimonial-card {
  background: #ffffff;
  border-radius: var(--gl-radius);
  padding: 30px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gl-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.gl-testimonial-stars {
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.gl-star.filled {
  color: #f59e0b;
}

.gl-testimonial-text {
  font-size: 1.05rem;
  color: var(--gl-subheading);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.gl-testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.gl-testimonial-avatar,
.gl-testimonial-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.gl-testimonial-avatar-placeholder {
  background: linear-gradient(
    135deg,
    var(--gl-primary-light),
    var(--gl-primary)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.gl-testimonial-name {
  font-weight: 600;
  color: var(--gl-heading);
  font-size: 1rem;
}

/* ── BRANDS CAROUSEL (.gl-brands-section) ── */
.gl-brands-section {
  padding: 80px 0;
  border-top: 1px solid var(--gl-border);
  border-bottom: 1px solid var(--gl-border);
  overflow: hidden;
}

.gl-brands-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  gap: 40px;
}

.gl-brands-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: clamp(30px, 6vw, 80px);
  min-width: 100%;
  animation: gl-marquee var(--scroll-speed, 30s) linear infinite;
  will-change: transform;
}

[dir="rtl"] .gl-brands-track {
  animation-direction: reverse;
}

.gl-brands-marquee:hover .gl-brands-track {
  animation-play-state: paused;
}

.gl-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 160px;
  transition: all 0.3s ease;
  opacity: 0.6;
  filter: grayscale(100%);
}

.gl-brand-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.gl-brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gl-brand-item.placeholder {
  font-family: var(--gl-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gl-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.3;
}

@keyframes gl-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - clamp(30px, 6vw, 80px)));
  }
}

/* ── BEAUTY TIPS (.gl-beauty-tips) ── */
.gl-beauty-tips {
  background-color: var(--gl-bg);
}

.gl-tips-grid {
  display: grid;
  grid-template-columns: repeat(var(--article-count, 3), 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .gl-tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.gl-tip-card {
  background: #ffffff;
  border-radius: var(--gl-radius);
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.6);
  height: 100%;
}

.gl-tip-card-link-wrap {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gl-tip-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gl-tip-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.gl-tip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gl-tip-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--gl-primary-light),
    var(--gl-bg-alt)
  );
}

.gl-tip-card:hover .gl-tip-card-image img {
  transform: scale(1.05);
}

.gl-tip-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gl-tip-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gl-heading);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.gl-tip-card:hover .gl-tip-card-title {
  color: var(--gl-primary);
}

.gl-tip-card-excerpt {
  color: var(--gl-subheading);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.gl-tip-read-more {
  font-family: var(--gl-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gl-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

[dir="rtl"] .gl-tip-read-more {
  font-family: var(--gl-font-arabic);
}

.gl-tip-card:hover .gl-tip-read-more {
  gap: 12px;
}

/* ── INSTAGRAM FEED (.gl-instagram-section) ── */
.gl-instagram-section {
  background-color: var(--gl-bg);
}

.gl-instagram-handle {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--gl-primary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  font-family: var(--gl-font-heading);
  transition: color 0.3s ease;
}

.gl-instagram-handle:hover {
  color: var(--gl-primary-dark);
  text-decoration: underline;
}

.gl-instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.gl-instagram-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--gl-radius);
  display: block;
  background-color: var(--gl-bg-alt);
}

.gl-instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #fff;
}

.gl-instagram-item:hover img {
  transform: scale(1.1);
}

.gl-instagram-item:hover .gl-instagram-overlay {
  opacity: 1;
}

.gl-instagram-overlay svg {
  transform: translateY(15px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-instagram-item:hover .gl-instagram-overlay svg {
  transform: translateY(0) scale(1);
}

/* ── TRUST BADGES (.gl-trust-badges-section) ── */
.gl-trust-badges-section {
  background-color: var(--gl-bg);
  padding: 60px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.4);
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.gl-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .gl-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

@media (max-width: 640px) {
  .gl-trust-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.gl-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border-radius: var(--gl-radius);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gl-trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.gl-trust-icon {
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gl-primary-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.gl-trust-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gl-trust-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gl-heading);
  margin: 0 0 4px 0;
}

.gl-trust-subtitle {
  font-size: 0.9rem;
  color: var(--gl-subheading);
  margin: 0;
  line-height: 1.4;
}

/* ── IMAGE GALLERY (.gl-gallery) ── */
.gl-gallery {
  background-color: var(--gl-bg);
  padding: 80px 0;
}

.gl-gallery__header {
  text-align: center;
  margin-bottom: 40px;
}

.gl-gallery__grid {
  display: grid;
  grid-template-columns: repeat(var(--gl-gallery-cols, 3), 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 991px) {
  .gl-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .gl-gallery__grid {
    grid-template-columns: 1fr;
  }
}

.gl-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--gl-radius);
  aspect-ratio: 1;
  /* Default grid makes them square */
}

/* Pseudo-masonry effect by making every 3rd and 4th item taller */
.gl-gallery__grid--masonry .gl-gallery__item:nth-child(n) {
  aspect-ratio: 3/4;
}

.gl-gallery__grid--masonry .gl-gallery__item:nth-child(3n + 1) {
  aspect-ratio: 4/3;
}

.gl-gallery__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.gl-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-gallery__hover {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: white;
  font-size: 2rem;
}

.gl-gallery__hover span {
  transform: scale(0.5);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-gallery__item:hover .gl-gallery__img {
  transform: scale(1.08);
}

.gl-gallery__item:hover .gl-gallery__hover {
  opacity: 1;
}

.gl-gallery__item:hover .gl-gallery__hover span {
  transform: scale(1);
}

.gl-gallery__empty {
  text-align: center;
  padding: 60px 0;
  background: var(--gl-bg-alt);
  border-radius: var(--gl-radius);
  color: var(--gl-subheading-light);
}

/* Lightbox */
.gl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 40px;
}

.gl-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gl-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--gl-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-lightbox.active .gl-lightbox__img {
  transform: scale(1);
}

.gl-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

[dir="rtl"] .gl-lightbox__close {
  right: auto;
  left: 20px;
}

.gl-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── HERO BANNER (.gl-hero) ── */
.gl-hero {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  background-color: var(--gl-bg-alt);
  /* Fallback */
  overflow: hidden;
}

.gl-hero--small {
  min-height: 400px;
}

.gl-hero--medium {
  min-height: 500px;
}

.gl-hero--large {
  min-height: 600px;
}

.gl-hero--fullscreen {
  min-height: 100vh;
}

@media (max-width: 768px) {
  .gl-hero--small,
  .gl-hero--medium,
  .gl-hero--large {
    min-height: 400px;
  }
}

.gl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gl-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.gl-hero__container--left {
  text-align: left;
  display: flex;
  justify-content: flex-start;
}

.gl-hero__container--center {
  text-align: center;
  display: flex;
  justify-content: center;
}

.gl-hero__container--right {
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

[dir="rtl"] .gl-hero__container--left {
  text-align: right;
  justify-content: flex-start;
}

[dir="rtl"] .gl-hero__container--right {
  text-align: left;
  justify-content: flex-end;
}

.gl-hero__content {
  max-width: 700px;
  color: #ffffff;
}

.gl-hero__subtitle {
  display: inline-block;
  font-family: var(--gl-font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[dir="rtl"] .gl-hero__subtitle {
  font-family: var(--gl-font-arabic);
}

.gl-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 32px;
  color: #ffffff;
}

.gl-hero__actions {
  margin-top: 32px;
}

/* ── Hero Banner compatibility (maps Liquid template non-BEM classes) ── */
.gl-hero.height-small {
  min-height: 400px;
}

.gl-hero.height-medium {
  min-height: 500px;
}

.gl-hero.height-fullscreen {
  min-height: 100vh;
}

@media (max-width: 768px) {
  .gl-hero.height-small,
  .gl-hero.height-medium {
    min-height: 400px;
  }
}

.gl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gl-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #ffffff;
  padding: 2rem;
}

.gl-hero-content.align-left {
  text-align: left;
}

.gl-hero-content.align-center {
  text-align: center;
  margin: 0 auto;
}

.gl-hero-content.align-right {
  text-align: right;
  margin-left: auto;
}

[dir="rtl"] .gl-hero-content.align-left {
  text-align: right;
}

[dir="rtl"] .gl-hero-content.align-right {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.gl-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 32px;
  color: #ffffff;
  animation: glamFadeUp 0.8s ease both;
}

.gl-hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  animation: glamFadeUp 0.8s 0.2s ease both;
}

.gl-hero-content .gl-btn {
  animation: glamFadeUp 0.8s 0.4s ease both;
}

@keyframes glamFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── VIDEO BANNER (.gl-video-banner) ── */
.gl-video-banner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background-color: var(--gl-bg-dark, #1a1a2e);
}

.gl-video-banner--small {
  min-height: 480px;
}

.gl-video-banner--medium {
  min-height: 550px;
}

.gl-video-banner--large {
  min-height: 700px;
}

.gl-video-banner--fullscreen {
  min-height: 100vh;
}

@media (max-width: 768px) {
  .gl-video-banner--small,
  .gl-video-banner--medium,
  .gl-video-banner--large {
    min-height: 450px;
  }
}

.gl-video-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.05);
  /* Avoids harsh edges on some screens */
  opacity: 0.9;
}

.gl-video-banner__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.gl-video-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.gl-video-banner__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
  padding: 0 24px;
}

.gl-video-banner__subtitle {
  display: inline-block;
  font-family: var(--gl-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 24px;
  color: var(--gl-accent, #d4af37);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

[dir="rtl"] .gl-video-banner__subtitle {
  font-family: var(--gl-font-arabic);
}

.gl-video-banner__heading {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  font-family: var(--gl-font-heading);
  line-height: 1.1;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.gl-video-banner__actions {
  margin-top: 32px;
}

/* ── CATEGORY CARDS (.gl-categories-section) ── */
.gl-categories-section {
  padding: 80px 0;
}

.gl-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.gl-category-card {
  position: relative;
  display: block;
  height: 350px;
  border-radius: var(--gl-radius);
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.gl-category-card__image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gl-category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-category-card:hover .gl-category-card__img {
  transform: scale(1.08);
}

.gl-category-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gl-bg-alt), #f8f9fa);
}

.gl-category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.8) 0%,
    rgba(26, 26, 46, 0) 60%
  );
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.gl-category-card:hover .gl-category-card__overlay {
  opacity: 0.95;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.9) 0%,
    rgba(26, 26, 46, 0.2) 100%
  );
}

.gl-category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  color: #ffffff;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gl-category-card:hover .gl-category-card__content {
  transform: translateY(0);
}

.gl-category-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #ffffff;
}

.gl-category-card__count {
  font-size: 0.85rem;
  opacity: 0.8;
  display: block;
  transition: opacity 0.3s ease;
}

.gl-categories-actions {
  text-align: center;
  margin-top: 48px;
}

/* ── PROMOTIONS BANNER (.gl-promo-section) ── */
.gl-promo-section {
  padding: 0;
  overflow: hidden;
}

.gl-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
  align-items: center;
  border-radius: var(--gl-radius, 16px);
  overflow: hidden;
  margin: 60px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  .gl-promo-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.gl-promo-content {
  padding: 80px 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.1)
  );
  backdrop-filter: blur(8px);
}

[dir="rtl"] .gl-promo-content {
  text-align: right;
}

@media (max-width: 991px) {
  .gl-promo-content {
    padding: 50px 30px;
  }

  [dir="rtl"] .gl-promo-content {
    text-align: center;
  }
}

.gl-promo-badge {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(
    135deg,
    var(--gl-primary, #e91e63),
    var(--gl-primary-dark, #c2185b)
  );
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px var(--gl-box-shadow-light);
}

.gl-promo-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  font-family: var(--gl-font-heading);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--gl-heading);
}

.gl-promo-subtitle {
  font-size: 1.2rem;
  color: var(--gl-subheading);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 500px;
}

.gl-promo-image-col {
  height: 100%;
  width: 100%;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.gl-promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gl-promo-grid:hover .gl-promo-img {
  transform: scale(1.05);
}

.gl-promo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--gl-primary-light),
    var(--gl-bg-alt)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gl-primary);
}

.gl-newsletter-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.gl-newsletter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.98),
    rgba(233, 30, 99, 0.85)
  );
  z-index: 1;
}

.gl-newsletter-content {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 48px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--gl-radius, 16px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.gl-newsletter-title {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-family: var(--gl-font-heading);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gl-newsletter-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.gl-newsletter-form {
  width: 100%;
}

.gl-newsletter-input-group {
  display: flex;
  gap: 12px;
  position: relative;
}

@media (max-width: 576px) {
  .gl-newsletter-input-group {
    flex-direction: column;
    gap: 16px;
  }
}

.gl-newsletter-input-group .gl-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 18px 28px;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gl-newsletter-input-group .gl-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.gl-newsletter-input-group .gl-input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.gl-newsletter-input-group .gl-btn {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ── HEADER (.gl-header) & ANNOUNCEMENT ── */
.gl-announcement {
  background-color: var(--gl-primary);
  color: var(--gl-subheading);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 8px 0;
  position: relative;
  z-index: 101;
  overflow: hidden;
}

.gl-announcement .gl-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.gl-announcement-close {
  background: none;
  border: none;
  color: #fff;
  position: absolute;
  right: 15px;
  /* RTL adjustment handled below */
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.8;
}

[dir="rtl"] .gl-announcement-close {
  right: auto;
  left: 15px;
}

.gl-header {
  background-color: var(--gl-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

.gl-header--sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.gl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.gl-logo {
  text-decoration: none;
  color: var(--gl-heading);
  display: flex;
  align-items: center;
}

.gl-logo__img {
  max-height: 48px;
  width: auto;
}

.gl-logo__text {
  font-family: var(--gl-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

[dir="rtl"] .gl-logo__text {
  font-family: var(--gl-font-arabic);
}

.gl-nav {
  display: none;
}

@media (min-width: 992px) {
  .gl-nav {
    display: block;
  }
}

.gl-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gl-nav__link {
  font-family: var(--gl-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gl-subheading);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

[dir="rtl"] .gl-nav__link {
  font-family: var(--gl-font-arabic);
}

.gl-nav__link:hover,
.gl-nav__link--active {
  color: var(--gl-primary);
}

.gl-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gl-header-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gl-heading);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  padding: 4px;
}

.gl-header-action-btn:hover {
  color: var(--gl-primary);
}

.gl-lang-link {
  color: var(--gl-subheading);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gl-lang-link--active {
  color: var(--gl-primary);
}

.gl-lang-separator {
  color: rgba(0, 0, 0, 0.2);
}

.gl-cart-btn {
  position: relative;
}

.gl-cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gl-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="rtl"] .gl-cart-count {
  right: auto;
  left: -6px;
}

.gl-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  padding: 1px;
  background-color: var(--gl-heading);
  transition: all 0.3s ease;
}

/* ── NESTED DROPDOWN MENUS ──────────────────────────────────────── */
.gl-nav-has-children {
  position: relative;
}

.gl-nav-has-children > .gl-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.gl-nav-chevron {
  transition: transform 0.2s;
}

.gl-nav-has-children:hover > .gl-nav-link .gl-nav-chevron {
  transform: rotate(180deg);
}

.top-header {
  background: var(--gl-primary);
  padding: 8px 0px;
}

.contact-info {
  display: flex;
  gap: 6px;
  justify-content: center;
  font-size: 14px;
  color: var(--gl-subheading);
  align-items: center;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gl-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--gl-bg, #fff);
  border: 1px solid var(--gl-border, #e5e7eb);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 8px;
  z-index: 100;
  list-style: none;
  margin: 0;
}

[dir="rtl"] .gl-nav-dropdown {
  left: auto;
  right: 0;
}

.gl-nav-has-children:hover > .gl-nav-dropdown {
  display: block;
}

.gl-nav-dropdown li {
  margin: 0;
}

.gl-nav-dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--gl-subheading, #374151);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}

.gl-nav-dropdown-link:hover {
  background: var(--gl-bg-alt, #f3f4f6);
  color: var(--gl-primary, #6d28d9);
}

/* ── Mobile sub-menus (accordion) ── */
@media (max-width: 767px) {
  .gl-nav-dropdown {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    background: transparent;
  }

  [dir="rtl"] .gl-nav-dropdown {
    padding: 0 1rem 0 0;
  }

  .gl-nav-has-children.open > .gl-nav-dropdown {
    display: block;
  }

  .gl-nav-has-children.open > .gl-nav-link .gl-nav-chevron {
    transform: rotate(180deg);
  }
}

/* ── FOOTER (.gl-footer) ── */

.gl-footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 60px;
}

.gl-footer-grid--1-cols {
  grid-template-columns: 1fr;
}

.gl-footer-grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.gl-footer-grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gl-footer-grid--4-cols {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media (max-width: 991px) {
  .gl-footer-grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .gl-footer-grid--4-cols,
  .gl-footer-grid--3-cols,
  .gl-footer-grid--2-cols {
    grid-template-columns: 1fr;
  }
}

.gl-footer__logo {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
}

.gl-footer .footer-description {
  font-size: 16px;
  font-weight: 400;
  color: var(--gl-heading);
  opacity: 0.6;
}

.gl-footer .menus_title {
  font-size: 16px;
  font-weight: bold;
  color: var(--gl-heading);
  margin-bottom: 16px;
}

.gl-footer .gl-footer-links li a {
  font-size: 16px;
  font-weight: 400;
  color: var(--gl-heading) !important;
  opacity: 0.6;
  margin-bottom: 8px;
}

.gl-footer .gl-footer-links li a:hover {
  color: var(--gl-primary);
  opacity: 1;
}

.gl-footer__logo-text {
  font-family: var(--gl-font-heading);
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
}

[dir="rtl"] .gl-footer__logo-text {
  font-family: var(--gl-font-arabic);
}

.gl-footer__tagline {
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 300px;
}

.gl-footer__social {
  display: flex;
  gap: 16px;
}

.gl-footer__social a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.gl-footer__social a:hover {
  color: #fff;
  background: var(--gl-primary);
}

.gl-footer__heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 24px 0;
  font-family: var(--gl-font-heading);
}

[dir="rtl"] .gl-footer__heading {
  font-family: var(--gl-font-arabic);
}

.gl-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gl-footer__menu li {
  margin-bottom: 12px;
}

.gl-footer__menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.gl-footer__menu a:hover {
  color: var(--gl-primary);
}

.gl-footer-bottom {
  padding: 24px 0;
  background-color: var(--gl-primary);
}

.gl-footer-bottom .footer-copy-right {
  font-size: 14px;
  color: var(--gl-subheading);
  font-weight: 400;
}

.gl-footer-C {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 575px) {
  .gl-footer-bottom__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

.gl-footer__copyright {
  font-size: 0.85rem;
}

.gl-footer__payments {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ── BREADCRUMB (.gl-breadcrumb-wrapper) ── */
.gl-breadcrumb-wrapper {
  background-color: var(--gl-bg-alt);
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gl-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.gl-breadcrumb__item {
  display: flex;
  align-items: center;
}

.gl-breadcrumb__link {
  color: var(--gl-subheading);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.gl-breadcrumb__link:hover {
  color: var(--gl-primary);
}

.gl-breadcrumb__icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.gl-breadcrumb__separator {
  color: rgba(0, 0, 0, 0.3);
  margin: 0 10px;
  display: flex;
  align-items: center;
}

.gl-breadcrumb__text--active {
  color: var(--gl-heading);
  font-weight: 600;
}

[dir="rtl"] .gl-breadcrumb {
  font-family: var(--gl-font-arabic);
}

/* ── PRODUCT GRID PAGE (.gl-category-layout) ── */
.gl-product-grid-section {
  padding: 60px 0;
}

.gl-category-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .gl-category-layout {
    grid-template-columns: 1fr;
  }
}

/* ── FILTER SIDEBAR ── */
.gl-filter-sidebar {
  background: #fff;
  border-radius: var(--gl-radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 100px;
}

.gl-filter-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.gl-filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.gl-filter-group__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--gl-heading);
}

.gl-filter-group__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

.gl-filter-group__list::-webkit-scrollbar {
  width: 6px;
}

.gl-filter-group__list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.gl-filter-option {
  margin-bottom: 12px;
}

.gl-filter-option:last-child {
  margin-bottom: 0;
}

.gl-filter-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--gl-subheading);
  transition: color 0.2s ease;
}

.gl-filter-label:hover {
  color: var(--gl-primary);
}

.gl-filter-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gl-primary);
  cursor: pointer;
}

.gl-filter-count {
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
  margin-left: auto;
}

[dir="rtl"] .gl-filter-count {
  margin-left: 0;
  margin-right: auto;
}

/* ── TOOLBAR ── */
.gl-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 16px 24px;
  border-radius: var(--gl-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.gl-toolbar__count {
  font-size: 0.95rem;
  color: var(--gl-subheading);
  font-weight: 500;
}

.gl-select {
  padding: 10px 36px 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background-color: #fff;
  color: var(--gl-heading);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231a1a2e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: all 0.2s ease;
}

[dir="rtl"] .gl-select {
  padding: 10px 16px 10px 36px;
  background-position: left 16px center;
}

/* ── PAGINATION ── */
.gl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 60px;
}

.gl-pagination__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.gl-pagination__btn,
.gl-pagination__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--gl-heading);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.gl-pagination__btn:hover,
.gl-pagination__number:hover {
  background: var(--gl-primary-light);
  color: var(--gl-primary);
  border-color: transparent;
}

.gl-pagination__number--active {
  background: var(--gl-primary);
  color: #fff;
  border-color: transparent;
}

.gl-no-products {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: var(--gl-radius);
  color: var(--gl-subheading);
  font-size: 1.1rem;
}

/* ── PRODUCT DETAILS PAGE (.gl-product-detail-section) ── */
.gl-product-detail-section {
  padding: 60px 0;
}

.gl-product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
}

@media (max-width: 991px) {
  .gl-product-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── PRODUCT GALLERY ── */
.gl-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gl-product-gallery__main {
  position: relative;
  border-radius: var(--gl-radius);
  overflow: hidden;
  background: #f8f9fa;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gl-product-gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gl-bg-alt), #f0f0f0);
}

.gl-product-gallery__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

[dir="rtl"] .gl-product-gallery__badge {
  left: auto;
  right: 20px;
}

.gl-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
}

.gl-product-gallery__thumb {
  appearance: none;
  border: 2px solid transparent;
  background: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: all 0.2s ease;
}

.gl-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl-product-gallery__thumb:hover,
.gl-product-gallery__thumb--active {
  border-color: var(--gl-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ── PRODUCT INFO ── */
.gl-product-info__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--gl-heading);
  line-height: 1.2;
}

.gl-product-info__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.gl-price-current--lg {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gl-primary);
}

.gl-price-original--lg {
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.4);
  text-decoration: line-through;
}

.gl-product-info__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.gl-rating-link {
  color: var(--gl-subheading-light);
  font-size: 0.95rem;
  text-decoration: none;
}

.gl-rating-link:hover {
  color: var(--gl-primary);
  text-decoration: underline;
}

.gl-product-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--gl-bg-alt);
  border-radius: 8px;
}

.gl-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.gl-meta-label {
  color: var(--gl-subheading-light);
}

.gl-meta-value {
  color: var(--gl-heading);
  font-weight: 600;
}

.gl-product-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.gl-product-stock--in {
  color: #10b981;
}

.gl-product-stock--out {
  color: #ef4444;
}

.gl-product-info__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gl-subheading);
  margin-bottom: 32px;
}

.gl-product-info__divider {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 32px 0;
}

/* ── PRODUCT FORM (QTY & ADD TO CART) ── */
.gl-product-form__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.gl-qty-box {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  height: 50px;
  background: #fff;
  width: fit-content;
}

.gl-qty-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--gl-subheading);
  width: 40px;
  height: 100%;
  cursor: pointer;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

.gl-qty-btn:hover {
  color: var(--gl-primary);
}

.gl-qty-input {
  border: none;
  background: transparent;
  text-align: center;
  width: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gl-heading);
  -moz-appearance: textfield;
}

.gl-qty-input::-webkit-outer-spin-button,
.gl-qty-input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.gl-product-add-btn {
  flex: 1;
  min-width: 200px;
  font-size: 1.05rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.gl-product-wishlist-btn {
  width: 50px;
  padding: 0;
  display: flex;
  justify-content: center;
}

/* ── SOCIAL SHARE ── */
.gl-product-share {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gl-product-share__label {
  font-weight: 600;
  color: var(--gl-heading);
}

.gl-product-share__links {
  display: flex;
  gap: 12px;
}

.gl-product-share__links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gl-bg-alt);
  color: var(--gl-subheading);
  text-decoration: none;
  transition: all 0.3s ease;
}

.gl-product-share__links a:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ── PRODUCT TABS ── */
.gl-product-tabs-section {
  margin-top: 60px;
}

.gl-tabs-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gl-tabs-nav::-webkit-scrollbar {
  display: none;
}

.gl-tab-btn {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gl-subheading-light);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.gl-tab-btn:hover {
  color: var(--gl-primary);
}

.gl-tab-btn--active {
  color: var(--gl-heading);
  border-bottom-color: var(--gl-primary);
}

.gl-tab-panel {
  padding: 40px 0;
}

.gl-prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gl-subheading);
}

.gl-prose h3 {
  font-size: 1.25rem;
  color: var(--gl-heading);
  margin: 32px 0 16px;
}

/* ── SPECS TABLE ── */
.gl-product-specs {
  width: 100%;
  border-collapse: collapse;
}

.gl-product-specs tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gl-product-specs th {
  text-align: left;
  padding: 16px 0;
  width: 35%;
  color: var(--gl-heading);
  font-weight: 600;
}

[dir="rtl"] .gl-product-specs th {
  text-align: right;
}

.gl-product-specs td {
  padding: 16px 0;
  color: var(--gl-subheading);
}

/* ── REVIEWS ── */
.gl-review-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 24px 0;
}

.gl-review-item:last-child {
  border-bottom: none;
}

.gl-review-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gl-review-item__author {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gl-heading);
  margin: 0;
}

.gl-review-item__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gl-subheading);
  margin: 0;
}

.gl-no-reviews {
  color: var(--gl-subheading-light);
  font-style: italic;
}

/* ── COUNTDOWN BANNER (.gl-countdown-section) ── */
.gl-countdown-section {
  padding: 80px 0;
  position: relative;
  background-color: var(--gl-bg-alt);
  overflow: hidden;
}

.gl-countdown-section--has-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.gl-countdown-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.9) 0%,
    rgba(26, 26, 46, 0.7) 100%
  );
  z-index: 1;
}

.gl-countdown {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--gl-subheading);
}

.gl-countdown-section--has-bg .gl-countdown {
  color: #fff;
}

.gl-countdown__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.gl-countdown-section--has-bg .gl-countdown__heading {
  color: #fff;
}

.gl-countdown__subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.gl-countdown__timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gl-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--gl-radius);
  padding: 20px 16px;
  min-width: 100px;
}

.gl-countdown-section:not(.gl-countdown-section--has-bg) .gl-countdown__unit {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gl-countdown__number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.gl-countdown-section:not(.gl-countdown-section--has-bg) .gl-countdown__number {
  color: var(--gl-primary);
}

.gl-countdown__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.gl-countdown-section:not(.gl-countdown-section--has-bg) .gl-countdown__label {
  color: var(--gl-subheading-light);
}

.gl-countdown__sep {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 -4px;
  transform: translateY(-12px);
  opacity: 0.5;
}

.gl-countdown__timer--expired {
  opacity: 0.5;
  filter: grayscale(1);
}

@media (max-width: 576px) {
  .gl-countdown__timer {
    gap: 8px;
  }

  .gl-countdown__unit {
    min-width: 70px;
    padding: 12px 8px;
  }

  .gl-countdown__number {
    font-size: 1.8rem;
  }

  .gl-countdown__sep {
    font-size: 1.5rem;
  }
}

/* ── PRODUCTS SECTION (.gl-products-section) ── */
.gl-products-section {
  padding: 80px 0;
}

.gl-products-section__footer {
  text-align: center;
  margin-top: 48px;
}

/* ── CATEGORIES SECTION (.gl-categories-section) ── */
.gl-categories-section {
  padding: 80px 0;
}

.gl-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 48px;
}

.gl-category-card {
  position: relative;
  display: block;
  border-radius: var(--gl-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  text-decoration: none;
}

.gl-category-card__image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gl-category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gl-category-card:hover .gl-category-card__img {
  transform: scale(1.05);
}

.gl-category-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gl-bg-alt), #f0f0f0);
}

.gl-category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  z-index: 2;
  transition: background 0.3s ease;
}

.gl-category-card:hover .gl-category-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.gl-category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 3;
  color: #fff;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gl-category-card:hover .gl-category-card__content {
  transform: translateY(0);
}

[dir="rtl"] .gl-category-card__content {
  text-align: right;
}

.gl-category-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #fff;
}

.gl-category-card__count {
  font-size: 0.95rem;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gl-category-card__count::after {
  content: "→";
  transition: transform 0.3s ease;
}

[dir="rtl"] .gl-category-card__count::after {
  content: "←";
}

.gl-category-card:hover .gl-category-card__count::after {
  transform: translateX(5px);
}

[dir="rtl"] .gl-category-card:hover .gl-category-card__count::after {
  transform: translateX(-5px);
}

.gl-categories-section__footer {
  text-align: center;
}

/* ── PROMOTIONS BANNER (.gl-promo-section) ── */
.gl-promo-section {
  padding: 80px 0;
}

.gl-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: #fff;
  border-radius: var(--gl-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gl-promo-content {
  padding: 60px;
}

.gl-promo-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(233, 30, 99, 0.1);
  color: var(--gl-primary);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gl-promo-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
  color: var(--gl-heading);
}

.gl-promo-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gl-subheading);
  margin-bottom: 32px;
}

.gl-promo-image-col {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.gl-promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl-promo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gl-bg-alt), #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .gl-promo-grid {
    grid-template-columns: 1fr;
  }

  .gl-promo-content {
    padding: 40px 20px;
    order: 2;
  }

  .gl-promo-image-col {
    min-height: 300px;
    order: 1;
  }
}

/* ── IMAGE GALLERY (.gl-gallery) ── */
.gl-gallery {
  padding: 80px 0;
  background: var(--gl-bg);
}

.gl-gallery__header {
  margin-bottom: 40px;
}

.gl-gallery__grid {
  display: grid;
  gap: 20px;
}

/* ── MASONRY LAYOUT ── */
.gl-gallery__grid--masonry {
  columns: var(--gl-gallery-cols, 3);
  column-gap: 20px;
}

.gl-gallery__grid--masonry > * {
  break-inside: avoid;
  margin-bottom: 20px;
}

/* ── GRID LAYOUT ── */
.gl-gallery__grid--standard {
  grid-template-columns: repeat(var(--gl-gallery-cols, 3), 1fr);
}

.gl-gallery__item {
  position: relative;
  border-radius: var(--gl-radius);
  overflow: hidden;
  background: var(--gl-bg-alt);
}

.gl-gallery__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gl-gallery__grid--standard .gl-gallery__img {
  aspect-ratio: 1;
  object-fit: cover;
}

.gl-gallery__link {
  display: block;
  text-decoration: none;
  cursor: zoom-in;
  appearance: none;
  border: none;
  padding: 0;
  width: 100%;
  background: transparent;
}

.gl-gallery__hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
}

.gl-gallery__item:hover .gl-gallery__hover {
  opacity: 1;
}

.gl-gallery__item:hover .gl-gallery__img {
  transform: scale(1.05);
}

.gl-gallery__empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--gl-bg-alt);
  border-radius: var(--gl-radius);
  color: var(--gl-subheading-light);
}

/* ── LIGHTBOX (.gl-lightbox) ── */
.gl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gl-lightbox--active {
  opacity: 1;
  visibility: visible;
}

.gl-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gl-lightbox--active .gl-lightbox__img {
  transform: scale(1);
}

.gl-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

[dir="rtl"] .gl-lightbox__close {
  right: auto;
  left: 20px;
}

.gl-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .gl-gallery__grid--masonry,
  .gl-gallery__grid--standard {
    columns: 2;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gl-gallery__grid--masonry,
  .gl-gallery__grid--standard {
    columns: 1;
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   ANIMATIONS & PERFORMANCE
   =================================================================== */

.gl-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.gl-animate-fade-up {
  animation: gl-fade-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
  will-change: opacity, transform;
}

@keyframes gl-fade-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── FAQ SECTION (.gl-faq-section) ── */
.gl-faq-section {
  padding: 80px 0;
}

.gl-faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gl-faq-item {
  background: #fff;
  border-radius: var(--gl-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}

.gl-faq-item.active {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.gl-faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--gl-heading);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

[dir="rtl"] .gl-faq-toggle {
  text-align: right;
}

.gl-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gl-subheading);
  transition: all 0.3s ease;
  margin-left: 15px;
}

[dir="rtl"] .gl-faq-icon {
  margin-left: 0;
  margin-right: 15px;
}

.gl-faq-item.active .gl-faq-toggle {
  color: var(--gl-faq-accent, var(--gl-primary));
}

.gl-faq-item.active .gl-faq-icon {
  background: var(--gl-faq-accent, var(--gl-primary));
  color: #fff;
  transform: rotate(45deg);
}

.gl-faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-faq-item.active .gl-faq-content {
  grid-template-rows: 1fr;
}

.gl-faq-content-inner {
  overflow: hidden;
  color: var(--gl-subheading);
  line-height: 1.7;
}

.gl-faq-content-inner p {
  padding: 0 30px 24px 30px;
  margin: 0;
}

/* ── QUICK VIEW POPUP ─────────────────────────────────────────────── */

.gl-quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 20px;
}

.gl-quick-view-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.gl-quick-view-category {
  font-size: 14px;
  font-weight: 700;
  color: var(--gl-heading);
}

.gl-quick-view-content {
  background: white;
  max-width: 900px;
  color: var(--gl-heading);
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gl-quick-view-overlay.is-active .gl-quick-view-content {
  transform: scale(1) translateY(0);
}

.gl-quick-view-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--gl-heading);
  opacity: 0.7;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  z-index: 10;
}

.gl-quick-view-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.gl-quick-view-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  padding: 40px;
}

@media (max-width: 768px) {
  .gl-quick-view-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 35px;
  }

  .gl-quick-view-close {
    top: 7px;
  }
}

.gl-quick-view-gallery {
  display: flex;
  gap: 16px;
  flex-direction: row-reverse;
  align-items: flex-start;
  height: 100%;
}

.gl-quick-view-main-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  height: 500px;
}

.gl-quick-view-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gl-quick-view-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 470px;
  overflow-y: auto;
  padding: 4px;
}

.gl-quick-view-thumbnails::-webkit-scrollbar {
  width: 1px;
}



.gl-quick-view-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.gl-quick-view-thumbnails::-webkit-scrollbar-thumb {
  background: var(--gl-primary);
  border-radius: 2px;
   display: none;
}

.gl-quick-view-thumbnail {
  flex-shrink: 0;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  opacity: 0.7;
}

.gl-quick-view-thumbnail.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .gl-quick-view-gallery {
    flex-direction: column;
    gap: 12px;
  }

  .gl-quick-view-main-image {
    height: 300px;
    width: 100%;
    display: block;
    flex: none;
  }

  .gl-quick-view-thumbnails {
    flex-direction: row;
    max-height: none;
    max-width: 300px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0;
  }

  .gl-quick-view-thumbnails::-webkit-scrollbar {
    height: 4px;
    width: auto;
  }
}

.gl-quick-view-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gl-quick-view-title {
  font-family: var(--gl-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gl-heading);
  margin: 0;
  line-height: 1.3;
}

.gl-quick-view-price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gl-quick-view-price .current {
  font-size: 20px;
  font-weight: 600;
  color: var(--gl-primary, #0f766e);
}

.gl-quick-view-price .original {
  font-size: 16px;
  color: #6b7280;
  text-decoration: line-through;
}

.gl-quick-view-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  overflow: visible;
}

.gl-quick-view-meta-detail {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--gl-heading);
  line-height: 1.4;
}

.gl-quick-view-meta-detail .in-stock {
  color: var(--gl-primary);
}

.gl-quick-view-meta-detail .out-of-stock {
  color: var(--gl-error, #dc2626);
}

.gl-quick-view-meta-detail strong {
  font-weight: 600;
}

.gl-quick-view-rating {
  text-align: right;
  display: flex !important;
  align-items: center;
}

.gl-quick-view-rating .gl-stars {
  display: flex;
  gap: 2px;
  font-size: 1rem;
  margin-bottom: 4px;
}

.gl-quick-view-rating .gl-star.filled {
  color: var(--gl-accent, #f59e0b);
}

.gl-quick-view-rating .gl-star {
  color: #d1d5db;
}

.gl-quick-view-reviews-link {
  font-size: 0.85rem;
  color: var(--gl-subheading-light, #6b7280);
  text-decoration: none;
  transition: color 0.2s ease;
}

.gl-quick-view-reviews-link:hover {
  color: var(--gl-primary, #e91e63);
}

.gl-quick-view-description p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.7;
  color: var(--gl-heading);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gl-quick-view-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gl-quick-view-actions .qtypr {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.qtypr .gl-product-quantity {
  margin-bottom: 0px;
  border: none;
}

.gl-quick-view-quantity {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.qtypr .gl-product-quantity button {
  width: 50px;
  border-radius: 0px !important;
}

.qtypr .gl-quick-view-price .current {
  font-size: 20px;
  font-weight: 700;
  color: var(--gl-heading);
}

.gl-product-quantity {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: white;
  max-width: 150px;
}

.gl-quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--gl-subheading);
}

.gl-quantity-btn:hover {
  background: var(--gl-bg-alt, #f9fafb);
  color: var(--gl-primary, #e91e63);
}

.gl-quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gl-quantity-input {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gl-subheading);
  background: transparent;
}

.gl-quick-view-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qtypr [dir="rtl"] .gl-product-quantity button:first-child,
.qtypr .gl-product-quantity button:first-child {
  border-radius: 0px !important;
}

.gl-quick-view-buttons .gl-btn-add-cart {
  background-color: var(--gl-subheading) !important;
  border: 1px solid var(--gl-primary);
  color: var(--gl-primary) !important;
  border-radius: 8px;
}

.gl-quick-view-buttons .btn-buy {
  background-color: var(--gl-primary) !important;
  color: var(--gl-subheading) !important;
  border-radius: 8px;
}

.gl-btn-add-cart {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  gap: 8px;
}

.gl-btn-add-cart:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gl-quick-view-share {
  position: relative;
  align-self: flex-start;
}

.gl-share-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0px;
  background: none;
  font-size: 0.9rem;
  color: var(--gl-heading);
  cursor: pointer;
  transition: all 0.2s ease;
}

.gl-share-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid var(--gl-border, #e5e7eb);
  border-radius: var(--gl-radius, 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 150px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.gl-share-dropdown.is-active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gl-share-trigger.is-active svg {
  transform: rotate(180deg);
}

.gl-share-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--gl-heading);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.share-rat {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
}

.gl-share-dropdown a:hover {
  background: var(--gl-bg-alt, #f9fafb);
}

.gl-share-dropdown a:first-child {
  border-radius: var(--gl-radius, 8px) var(--gl-radius, 8px) 0 0;
}

.gl-share-dropdown a:last-child {
  border-radius: 0 0 var(--gl-radius, 8px) var(--gl-radius, 8px);
}

@media (max-width: 768px) {
  .gl-quick-view-meta {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .gl-quick-view-rating {
    text-align: left;
  }

  .gl-quick-view-actions {
    gap: 16px;
  }

  .gl-quick-view-buttons {
    gap: 10px;
  }

  .gl-quick-view-share {
    align-self: flex-start;
  }

  .gl-product-quantity {
    max-width: 120px;
  }

  .gl-quantity-btn {
    width: 35px;
    height: 35px;
  }

  .gl-quantity-input {
    width: 40px;
    height: 35px;
    font-size: 0.9rem;
  }
}

.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--gl-radius, 8px);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 14px;
}

.gl-btn-primary {
  background: var(--gl-primary, #0f766e);
  color: white;
}

.gl-btn-primary:hover {
  background: var(--gl-primary, #0f766e);
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Search Popup Styles */
.gl-search-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.header-wrapper{
  display: flex;
  align-items: center;
  gap: 16px;
}

.gl-search-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gl-search-popup.active .gl-search-popup-overlay {
  opacity: 1;
}

.gl-search-popup-content {
  position: relative;
  top: 20%;
  transform: translateY(-20%);
  background: var(--gl-subheading);
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s ease;
  max-height: 80vh;
  overflow: hidden;
}

.gl-search-popup.active .gl-search-popup-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.gl-search-popup-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

@media (max-width: 768px) {
  .gl-search-popup-header {
    display: flex;
  }
}

.gl-search-popup-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-search-popup-close:hover {
  background: #f5f5f5;
}
.gl-search-popup-close:hover svg ,
.gl-search-clear-results:hover svg {
  color: red;
}

.gl-search-popup-close svg {
  width: 20px;
  height: 20px;
  color: var(--gl-heading);
  opacity: 0.6;
}

.gl-search-popup-content .gl-toolbar-search {
  display: block;
  padding: 24px 10px;
  width: 100%;
  max-width: 100%;
}

.gl-product-search-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
}

.gl-product-search-input:focus {
  border-color: var(--gl-primary) !important;
  background: #fff;
}

.gl-product-search-input::placeholder {
  color: var(--gl-heading);
  opacity: 0.8;
}

/* Search Results Styles */
.gl-search-results {
  overflow-y: auto;
}

.gl-search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--gl-subheading);
}

.gl-search-results-count {
  font-size: 13px;
  color: var(--gl-heading);
  font-weight: 500;
  opacity: 0.7;
}
.gl-search-results-count:hover {
  opacity: 1;
}


.gl-search-results-list {
  max-height: 300px;
  overflow-y: auto;
}

.gl-search-result-item {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}

.gl-search-result-item:hover {
  background: #f9f9f9;
}

.gl-search-result-item:last-child {
  border-bottom: none;
}

.gl-search-result-image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 12px;
  flex-shrink: 0;
}

.gl-search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl-search-result-info {
  flex: 1;
  min-width: 0;
}

.gl-search-result-name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gl-search-result-price {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.gl-search-result-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gl-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gl-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #f0f0f0;
  border-top: 2px solid var(--gl-primary, #222);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.gl-search-no-results {
  text-align: center;
  padding: 32px 24px;
  color: #666;
  font-size: 14px;
}

.gl-search-results-footer {
  padding: 12px 24px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  text-align: center;
}

.gl-search-view-all {
  display: inline-block;
  padding: 8px 16px;
  background: var(--gl-primary, #222);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.gl-search-view-all:hover {
  opacity: 0.9;
}

/* RTL Support */
[dir="rtl"] .gl-search-popup-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .gl-product-search-input {
  text-align: right;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .gl-search-popup {
    padding-top: 60px;
  }
  
  .gl-search-popup-content {
    width: 95%;
    max-width: none;
  }
  
  
  .gl-search-popup-header h3 {
    font-size: 16px;
  }
  
  .gl-toolbar-search {
    padding: 20px;
  }
  
  .gl-product-search-input {
    padding: 14px 16px;
    font-size: 15px;
  }
}
.gl-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--gl-bg); 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999; 
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.gl-page-loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.gl-loader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gl-logo-wrap img {
  max-width: 150px;
  height: auto;
  display: block;
  animation: gl-pulse 1.5s ease-in-out infinite;
}

.gl-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gl-heading, #e5e5e5);
  border-top-color: var(--gl-primary, #000000);
  border-radius: 50%;
  animation: gl-spin 0.8s linear infinite;
}

@keyframes gl-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes gl-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}


#scrollToTopBtn {
  position: fixed;
  bottom: 70px;
  left: 20px;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--gl-primary);
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#scrollToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollToTopBtn:hover { transform: translateY(-4px); }
.scroll-btn-inner { position: relative; width: 100%; height: 100%; }
.scroll-arrow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  color: var(--gl-subheading);
  z-index: 2;
  transition: transform 0.3s ease;
}
#scrollToTopBtn:hover .scroll-arrow { transform: translateY(-3px); }
.scroll-btn-circle { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.scroll-btn-path { fill: none; stroke: var(--gl-subheading); stroke-width: 4; stroke-linecap: round; opacity: 0.9; }


/* Pause animation on hover */
.gl-announcement:hover .header-marquee-content {
  animation-play-state: paused;
}
.gl-announcement {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.gl-announcement-wrapper {
  position: relative;
  width: max-content;
  display: flex;
  flex-direction: row;
}

.gl-announcement-content {
  display: flex;
  align-items: center;
  animation: announcement-marquee 9s linear infinite;
}

.gl-announcement:hover .gl-announcement-content {
  animation-play-state: paused;
}

.gl-announcement-text {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-inline-start: 40px;
  font-size: 14px;
  font-weight: 500;
}

@keyframes announcement-marquee {
  0% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(100%);
  }
}
.gl-footer__payments {
  display: flex;
  gap: 12px;
  align-items: center;
}

.gl-footer-payment {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.gl-footer-payment .payment-method-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  height: 32px;
  min-width: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.gl-footer-payment .payment-method-item img {
  max-height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 1;
}

.gl-footer-payment .payment-method-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e293b;
}


:root {
  /* Shadows (not theme-settable, never injected by ThemeConfigReader) */
  --gl-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --gl-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);

  /* Transitions (not theme-settable) */
  --gl-transition: 0.3s ease;
  --gl-transition-fast: 0.15s ease;
  --gl-transition-slow: 0.5s ease;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--gl-font-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--gl-font-body);
  background: var(--gl-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--gl-font-heading);
    color: var(--gl-heading);
    line-height: 1.2;
    font-weight: 700;
} */

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  /* font-family: inherit; */
}

/* ---- Utilities ---- */
.gl-container {
  max-width: var(--gl-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gl-section {
  padding: 2.5rem 0;
}

/* Section-scoped font and size overrides (set via inline style variables) */
.gl-section h1,
.gl-section h2,
.gl-section h3,
.gl-section h4 {
  font-family: var(--section-font-heading, var(--gl-font-heading));
}

.gl-section[style*="--section-heading-size"] h1,
.gl-section[style*="--section-heading-size"] h2,
.gl-section[style*="--section-heading-size"] h3,
.gl-section[style*="--section-heading-size"] h4 {
  font-size: var(--section-heading-size);
}

.gl-section[style*="--section-font-body"] p,
.gl-section[style*="--section-font-body"] span,
.gl-section[style*="--section-font-body"] li,
.gl-section[style*="--section-font-body"] a,
.gl-section[style*="--section-font-body"] label,
.gl-section[style*="--section-font-body"] input {
  font-family: var(--section-font-body, var(--gl-font-body));
}

.gl-section[style*="--section-body-size"] p,
.gl-section[style*="--section-body-size"] span,
.gl-section[style*="--section-body-size"] li,
.gl-section[style*="--section-body-size"] a {
  font-size: var(--section-body-size);
}

.gl-section-sm {
  padding: 3rem 0;
}

.gl-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gl-section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.gl-section-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gl-primary), var(--gl-accent));
  border-radius: 2px;
}

.gl-section-header p {
  color: var(--gl-subheading-light);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ---- Not Found (404) ---- */


.gl-404__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background: var(--gl-bg);
  border-radius: 2rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 24px 70px var(--gl-box-shadow-light);
  overflow: hidden;
}


.gl-404__card--rtl {
  direction: rtl;
}

.gl-404__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 36px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-light)
  );
  box-shadow: 0 10px 24px var(--gl-box-shadow);
}

.gl-404__title {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.gl-404__subtitle {
  color: var(--gl-subheading-light);
  font-size: 1.05rem;
  max-width: 52ch;
}

.gl-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.gl-404__visual {
  display: flex;
  justify-content: center;
}

.gl-404__image {
  width: min(100%, 420px);
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 20px 45px var(--gl-box-shadow-light);
}

.gl-404__shape {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 280px;
  border-radius: 45% 55% 62% 38% / 43% 50% 50% 57%;
  background: linear-gradient(
    145deg,
    var(--gl-primary-light),
    var(--gl-primary)
  );
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--gl-bg) 35%, transparent),
    0 18px 40px var(--gl-box-shadow);
}

@media (max-width: 900px) {
  .gl-404__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gl-404__subtitle {
    margin-inline: auto;
  }

  .gl-404__actions {
    justify-content: center;
  }

  .gl-404__shape {
    width: 220px;
    height: 220px;
  }
}

/* ---- Buttons ---- */
.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--gl-radius-full);
  transition: all var(--gl-transition);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gl-btn-primary {
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-light)
  );
  color: #fff;
  box-shadow: 0 4px 15px var(--gl-box-shadow-light);
}

.gl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
  color: #fff;
}

.gl-btn-outline {
  background: transparent;
  color: var(--gl-primary);
  border: 2px solid var(--gl-primary);
}

.gl-btn-outline:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: translateY(-2px);
}

.gl-btn-accent {
  background: linear-gradient(135deg, var(--gl-accent), var(--gl-accent-light));
  color: var(--gl-bg-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.gl-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* ---- Badges ---- */
.gl-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--gl-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gl-badge-primary {
  background: var(--gl-secondary);
  color: var(--gl-primary);
}

/* ---- Announcement Bar ---- */
[dir="rtl"] .gl-announcement-close {
  right: auto;
  left: 1rem;
}

/* ---- Header ---- */
.gl-header {
  background: var(--gl-bg);
  box-shadow: var(--gl-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--gl-transition);
}

.gl-header.is-scrolled {
  box-shadow: var(--gl-shadow-md);
}

.gl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.gl-logo {
  flex-shrink: 0;
}

.gl-logo img {
  height: 40px;
  width: auto;
}

.gl-logo-text {
  font-family: var(--gl-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gl-heading);
  letter-spacing: -0.02em;
}

.gl-logo-text span {
  color: var(--gl-primary);
}

.gl-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.gl-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gl-nav-item {
  list-style: none;
}

.gl-nav .gl-nav-item:hover .gl-nav-link {
  color: var(--gl-primary);
}
.gl-nav a {
  color: var(--gl-heading);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 0.25rem 0;
}

.gl-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gl-primary);
  transition: width var(--gl-transition);
}

.gl-nav a:hover::after,
.gl-nav a.active::after {
  width: 100%;
}

.gl-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.gl-header-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: var(--gl-heading);
  transition: all var(--gl-transition-fast);
  font-size: 1.2rem;
}

.gl-header-icon:hover {
  background: var(--gl-secondary);
  color: var(--gl-primary);
}

.gl-header-icon .gl-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--gl-primary);
  color: #fff;
  font-size: 0.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

[dir="rtl"] .gl-header-icon .gl-cart-count {
  right: auto;
  left: 0;
}

.gl-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  background: none;
}
.mobile-menu-header,
.gl-menu-toggle {
  display: none;
}
.gl-logo {
  display: flex;
}

.gl-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gl-heading);
  transition: all var(--gl-transition-fast);
  border-radius: 1px;
}

/* ---- Search Overlay ---- */
.gl-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--gl-transition);
}

.gl-search-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.gl-search-box {
  width: 90%;
  max-width: 600px;
  position: relative;
}

.gl-search-box input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.25rem;
  border: 2px solid var(--gl-primary);
  border-radius: var(--gl-radius-lg);
  background: var(--gl-bg);
  color: var(--gl-subheading);
  font-family: var(--gl-font-body);
  outline: none;
}

.gl-search-box input:focus {
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

/* ---- Hero Banner ---- */
.gl-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gl-bg-dark);
}

.gl-hero.height-small {
  min-height: 400px;
}

.gl-hero.height-medium {
  min-height: 500px;
}

.gl-hero.height-fullscreen {
  min-height: 100vh;
}

.gl-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.gl-hero:hover .gl-hero-bg {
  transform: scale(1.03);
}

.gl-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.3);
}

.gl-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 2rem;
}

.gl-hero-content.align-left {
  text-align: left;
}

.gl-hero-content.align-right {
  text-align: right;
}

[dir="rtl"] .gl-hero-content.align-left {
  text-align: right;
}

[dir="rtl"] .gl-hero-content.align-right {
  text-align: left;
}

.gl-hero-content h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: glamFadeUp 0.8s ease both;
}

.gl-hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  animation: glamFadeUp 0.8s 0.2s ease both;
}

.gl-hero-content .gl-btn {
  animation: glamFadeUp 0.8s 0.4s ease both;
}

@keyframes glamFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Product Cards ---- */
.gl-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gl-products-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gl-products-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gl-products-grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gl-offer-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

/* ---- Category Cards ---- */
.gl-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gl-category-card {
  position: relative;
  border-radius: var(--gl-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gl-category-card-image {
  position: absolute;
  inset: 0;
}

.gl-category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--gl-transition-slow);
}

.gl-category-card:hover .gl-category-card-image img {
  transform: scale(1.08);
}

.gl-category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(26, 26, 46, 0.7) 100%
  );
  transition: background var(--gl-transition);
}

.gl-category-card:hover .gl-category-card-overlay {
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(233, 30, 99, 0.6) 100%
  );
}

.gl-category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: #fff;
  z-index: 1;
}

.gl-category-card-content h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.gl-category-card-content span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---- Promotions Banner ---- */
.gl-promo {
  border-radius: var(--gl-radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 300px;
  position: relative;
}

.gl-promo-content {
  flex: 1;
  padding: 3rem;
  z-index: 1;
}

.gl-promo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.gl-promo-content p {
  font-size: 1.1rem;
  color: var(--gl-subheading-light);
  margin-bottom: 1.5rem;
}

.gl-promo-discount {
  display: inline-block;
  background: var(--gl-primary);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--gl-radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.gl-promo-image {
  flex: 0 0 45%;
  height: 100%;
}

.gl-promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Testimonials ---- */
.gl-testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gl-testimonial-card {
  background: var(--gl-bg);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  padding: 2rem;
  position: relative;
  transition: all var(--gl-transition);
}

.gl-testimonial-card:hover {
  box-shadow: var(--gl-shadow-md);
  border-color: var(--gl-secondary);
}

.gl-testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--gl-secondary);
  font-family: var(--gl-font-heading);
  line-height: 1;
}

[dir="rtl"] .gl-testimonial-card::before {
  right: auto;
  left: 1.5rem;
}

.gl-testimonial-stars {
  color: var(--gl-accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.gl-testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gl-subheading);
  margin-bottom: 1.5rem;
}

.gl-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gl-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gl-secondary);
}

.gl-testimonial-author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gl-heading);
}

.gl-testimonial-author-role {
  font-size: 0.8rem;
  color: var(--gl-subheading-light);
}

/* ---- Newsletter ---- */
.gl-newsletter {
  background: var(--gl-bg-dark);
  border-radius: var(--gl-radius-lg);
  padding: 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gl-newsletter::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -25%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(233, 30, 99, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.gl-newsletter h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.gl-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.gl-newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.gl-newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--gl-radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--gl-font-body);
  outline: none;
  transition: border-color var(--gl-transition-fast);
}

.gl-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.gl-newsletter-form input:focus {
  border-color: var(--gl-primary);
}

/* ---- Brands Carousel ---- */
.gl-brands {
  overflow: hidden;
  padding: 1rem 0;
}

.gl-brands-track {
  display: flex;
  gap: 3rem;
  animation: glamScroll var(--gl-brands-speed, 30s) linear infinite;
}

.gl-brands-track img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--gl-transition);
  flex-shrink: 0;
}

.gl-brands-track img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes glamScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .gl-brands-track {
  animation-direction: reverse;
}

/* ---- Instagram Feed ---- */
.gl-instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.gl-instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--gl-radius-sm);
  position: relative;
  cursor: pointer;
}

.gl-instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--gl-transition);
}

.gl-instagram-item:hover img {
  transform: scale(1.1);
}

.gl-instagram-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(233, 30, 99, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--gl-transition);
  color: #fff;
  font-size: 1.5rem;
}

.gl-instagram-item:hover .gl-instagram-item-overlay {
  opacity: 1;
}

/* ---- Beauty Tips ---- */
.gl-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gl-tip-card {
  border-radius: var(--gl-radius);
  overflow: hidden;
  background: var(--gl-bg);
  border: 1px solid var(--gl-border);
  transition: all var(--gl-transition);
}

.gl-tip-card:hover {
  box-shadow: var(--gl-shadow-md);
  transform: translateY(-4px);
}

.gl-tip-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.gl-tip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--gl-transition-slow);
}

.gl-tip-card:hover .gl-tip-card-image img {
  transform: scale(1.05);
}

.gl-tip-card-body {
  padding: 1.5rem;
}

.gl-tip-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gl-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gl-tip-card-title {
  font-family: var(--gl-font-heading);
  font-size: 1.15rem;
  color: var(--gl-heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.gl-tip-card-excerpt {
  font-size: 0.9rem;
  color: var(--gl-subheading-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gl-tip-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gl-primary);
}

/* ---- Trust Badges ---- */
.gl-trust-badges {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  text-align: center;
}

.gl-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
}

.gl-trust-badge-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.gl-trust-badge-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gl-heading);
}

.gl-trust-badge-subtitle {
  font-size: 0.8rem;
  color: var(--gl-subheading-light);
}
.gl-payment-methods-list{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ---- Product Detail ---- */
.gl-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.gl-product-gallery {
  position: sticky;
  top: 100px;
}

.gl-product-gallery-main {
  aspect-ratio: 1;
  border-radius: var(--gl-radius);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--gl-bg-alt);
}

.gl-product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gl-product-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
}

.gl-product-gallery-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--gl-radius-sm);
  border: 1px solid var(--gl-border);
  cursor: pointer;
  transition: border-color var(--gl-transition-fast);
}

.gl-product-gallery-thumbs img.active,
.gl-product-gallery-thumbs img:hover {
  border-color: var(--gl-primary);
}

.gl-product-info h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.gl-product-info-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.gl-product-info-price .current {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gl-primary);
}

.gl-product-info-price .original {
  font-size: 1.1rem;
  color: var(--gl-subheading-light);
  text-decoration: line-through;
}

.gl-product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gl-border);
}

.gl-product-meta span {
  font-size: 0.85rem;
  color: var(--gl-subheading-light);
}

.gl-product-meta strong {
  color: var(--gl-subheading);
  font-weight: 600;
}

.gl-product-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.gl-product-stock.in-stock {
  color: var(--gl-success);
}

.gl-product-stock.out-of-stock {
  color: var(--gl-error);
}

.gl-product-quantity {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.gl-product-quantity button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gl-border);
  background: var(--gl-bg);
  font-size: 1.25rem;
  color: var(--gl-heading);
  transition: all var(--gl-transition-fast);
}

.gl-product-quantity button:first-child {
  border-radius: var(--gl-radius-sm) 0 0 var(--gl-radius-sm);
}

.gl-product-quantity button:last-child {
  border-radius: 0 var(--gl-radius-sm) var(--gl-radius-sm) 0;
}

[dir="rtl"] .gl-product-quantity button:first-child {
  border-radius: 0 var(--gl-radius-sm) var(--gl-radius-sm) 0;
}

[dir="rtl"] .gl-product-quantity button:last-child {
  border-radius: var(--gl-radius-sm) 0 0 var(--gl-radius-sm);
}

.gl-product-quantity button:hover {
  border-color: var(--gl-primary);
  color: var(--gl-primary);
}

.gl-product-quantity input {
  width: 60px;
  height: 44px;
  border: 1px solid var(--gl-border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 1rem;
  font-family: var(--gl-font-body);
  outline: none;
}

.gl-product-add-to-cart {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gl-product-add-to-cart .gl-btn {
  flex: 1;
}

.gl-product-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gl-border);
}

.gl-product-share span {
  font-size: 0.85rem;
  color: var(--gl-subheading-light);
}

.gl-product-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gl-secondary);
  color: var(--gl-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--gl-transition-fast);
}

.gl-product-share a:hover {
  background: var(--gl-primary);
  color: #fff;
}

.gl-product-tabs {
  margin-top: 3rem;
}

.gl-product-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gl-border);
}

.gl-product-tabs-nav button {
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gl-subheading-light);
  background: none;
  position: relative;
  transition: color var(--gl-transition-fast);
}

.gl-product-tabs-nav button.active {
  color: var(--gl-primary);
}

.gl-product-tabs-nav button.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gl-primary);
}

.gl-product-tab-content {
  padding: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.gl-product-tab-content[hidden] {
  display: none;
}

/* ---- Breadcrumb ---- */
.gl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--gl-subheading-light);
  background-color: transparent;
  flex-wrap: wrap;
}

.gl-breadcrumb a {
   color: var(--gl-primary);
  transition: color var(--gl-transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.gl-breadcrumb .wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gl-breadcrumb a:hover {
   color: var(--gl-subheading-light);
}

.gl-breadcrumb .active {
  color: var(--gl-heading);
  font-weight: 600;
}

.gl-breadcrumb-separator {
  opacity: 0.5;
}

/* ---- Footer ---- */
.gl-footer {
  background: var(--gl-background_footer_color) !important;
  padding-top: 4rem;
}

.gl-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
}

.gl-footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.gl-footer-social {
  display: flex;
  gap: 8px;
}

.gl-footer-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--gl-primary);
  color: var(--gl-subheading);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--gl-transition-fast);
  background-color: var(--gl-primary);
}

.gl-footer-social a:hover {
  background: var(--gl-subheading);
  border-color: var(--gl-subheading);
  color: var(--gl-primary);
}

.gl-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: var(--gl-font-body);
}

.gl-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gl-footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.gl-footer-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gl-footer-payment {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gl-footer-payment img {
  height: 28px;
  opacity: 0.6;
}

/* ---- Cart ---- */
.gl-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.gl-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.gl-cart-table thead th {
  padding: 1rem;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gl-subheading-light);
  border-bottom: 1px solid var(--gl-border);
}

[dir="rtl"] .gl-cart-table thead th {
  text-align: right;
}

.gl-cart-table tbody td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--gl-border);
  vertical-align: middle;
}

.gl-cart-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gl-cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--gl-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.gl-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl-cart-summary {
  background: var(--gl-bg-alt);
  border-radius: var(--gl-radius);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.gl-cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.95rem;
}

.gl-cart-summary-row.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gl-heading);
  border-top: 1px solid var(--gl-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* ---- About / Contact / FAQ ---- */
.gl-about-hero {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--gl-secondary);
  border-radius: var(--gl-radius-lg);
  margin-bottom: 3rem;
}

.gl-about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.gl-about-hero p {
  font-size: 1.15rem;
  color: var(--gl-subheading-light);
  max-width: 600px;
  margin: 0 auto;
}

.gl-about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
}

.gl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.gl-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gl-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gl-heading);
  margin-bottom: 0.5rem;
}

.gl-form-group input,
.gl-form-group textarea,
.gl-form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-sm);
  font-size: 0.95rem;
  font-family: var(--gl-font-body);
  color: var(--gl-subheading);
  background: var(--gl-bg);
  outline: none;
  transition: border-color var(--gl-transition-fast);
}

.gl-form-group input:focus,
.gl-form-group textarea:focus,
.gl-form-group select:focus {
  border-color: var(--gl-primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.gl-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.gl-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gl-contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.gl-contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gl-secondary);
  color: var(--gl-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gl-contact-info-text h4 {
  font-size: 0.95rem;
  font-family: var(--gl-font-body);
  margin-bottom: 0.25rem;
}

.gl-contact-info-text p {
  font-size: 0.9rem;
  color: var(--gl-subheading-light);
}

.gl-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gl-faq-item {
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  overflow: hidden;
  transition: border-color var(--gl-transition-fast);
}

.gl-faq-item.is-open {
  border-color: var(--gl-primary);
}

.gl-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gl-heading);
  text-align: left;
  font-family: var(--gl-font-body);
}

[dir="rtl"] .gl-faq-question {
  text-align: right;
}

.gl-faq-icon {
  transition: transform var(--gl-transition-fast);
  font-size: 1.25rem;
  color: var(--gl-primary);
}

.gl-faq-item.is-open .gl-faq-icon {
  transform: rotate(45deg);
}

.gl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height var(--gl-transition),
    padding var(--gl-transition);
}

.gl-faq-item.is-open .gl-faq-answer {
  max-height: 500px;
}

.gl-faq-answer-content {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--gl-subheading-light);
  line-height: 1.7;
}

/* ---- Pagination ---- */
.gl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 3rem;
}

.gl-pagination a,
.gl-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gl-subheading);
  transition: all var(--gl-transition-fast);
}

.gl-pagination a:hover {
  background: var(--gl-secondary);
  color: var(--gl-primary);
}

.gl-pagination .active {
  background: var(--gl-primary);
  color: #fff;
}

/* ---- Filter Sidebar ---- */
.gl-category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
}

.gl-filter-sidebar {
  position: sticky;
  top: 100px;
}

.gl-filter-group {
  margin-bottom: 2rem;
}

.gl-filter-group h3 {
  font-size: 0.95rem;
  font-family: var(--gl-font-body);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gl-border);
}

.gl-filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--gl-subheading);
  transition: color var(--gl-transition-fast);
}

.gl-filter-option input[type="checkbox"] {
  accent-color: var(--gl-primary);
  width: 16px;
  height: 16px;
}

/* ---- Mobile Menu ---- */
.gl-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gl-bg);
  z-index: 3000;
  transform: translateX(-100%);
  transition: transform var(--gl-transition);
  overflow-y: auto;
  padding: 2rem;
}

[dir="rtl"] .gl-mobile-menu {
  transform: translateX(100%);
  left: auto;
  right: 0;
}

.gl-mobile-menu.is-active {
  transform: translateX(0);
}

.gl-mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gl-primary);
  color: var(--gl-subheading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

[dir="rtl"] .gl-mobile-menu-close {
  right: auto;
  left: 1rem;
}

.gl-mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gl-mobile-menu-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gl-heading);
  border-bottom: 1px solid var(--gl-border);
}
.gl-mobile-menu .gl-lang-dropdown-toggle {
  color: var(--gl-heading);
  margin-top: 26px;
  font-size: 18px;
}
/* ---- Animations ---- */
.gl-animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-skeleton {
  background: linear-gradient(
    90deg,
    var(--gl-subheading) 25%,
    var(--gl-bg-alt) 50%,
    var(--gl-subheading) 75%
  );
  background-size: 200% 100%;
  animation: glamSkeleton 1.5s infinite;
  border-radius: var(--gl-radius-sm);
}

.gl-product-card-price-skeleton {
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes glamSkeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ---- Language Switcher ---- */
.gl-lang-switch {
  display: flex;
  overflow: hidden;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  border: 1px solid var(--gl-primary);
  border-radius: 8px;
}

.gl-lang-switch a {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gl-heading);
  transition: all var(--gl-transition-fast);
}

.gl-lang-switch a.active {
  background: var(--gl-primary);
  color: var(--gl-subheading);
}

/* ---- Language Dropdown ---- */
.gl-lang-dropdown {
  position: relative;
  display: inline-block;
}

.gl-lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gl-subheading);
  background: transparent;
  border: 1px solid var(--gl-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--gl-transition-fast);
}

.gl-lang-dropdown-toggle:hover {
  background: var(--gl-muted);
}

.gl-lang-dropdown-toggle svg {
  transition: transform var(--gl-transition-fast);
}

.gl-lang-dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.gl-lang-dropdown-menu {
  position: absolute;
  top: 100%;
  margin-top: 4px;
  min-width: 120px;
  background: var(--gl-bg);
  border: 1px solid var(--gl-border);
  border-radius: 6px;
  box-shadow: var(--gl-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--gl-transition-fast);
  z-index: 99999;
}
[dir="ltr"] .gl-lang-dropdown-menu {
  left: -40px;
  right: auto;
}
[dir="rtl"] .gl-lang-dropdown-menu {
  right: -40px;
  left: auto;
}
@media (max-width: 768px) {
[dir="rtl"]  .gl-lang-dropdown-menu {
  right: 40px;
  left: auto;
  }
  [dir="ltr"] .gl-lang-dropdown-menu {
  left: 40px;
  right: auto;
}
}
.gl-lang-dropdown
  .gl-lang-dropdown-toggle[aria-expanded="true"]
  + .gl-lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gl-lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gl-heading);
  transition: all var(--gl-transition-fast);
}

.gl-lang-dropdown-item:hover {
  background: var(--gl-muted);
}

.gl-lang-dropdown-item.active {
  background: var(--gl-primary);
  color: var(--gl-subheading);
}

.gl-lang-dropdown-item svg {
  width: 16px;
  height: 16px;
}
.top-header .phone,
.top-header .mail {
  color: var(--gl-subheading);
}

.top-header .phone:hover,
.top-header .mail:hover {
  opacity: 0.9;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .gl-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gl-testimonials-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-product-detail {
    grid-template-columns: 1fr;
  }



  .gl-cart-layout {
    grid-template-columns: 1fr;
  }

  .gl-category-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --gl-font-size: 15px;
  }

  .gl-section {
    padding: 3rem 0;
  }

  .gl-section-header h2 {
    font-size: 1.75rem;
  }

  .gl-hero-content h1 {
    font-size: 2.25rem;
  }

  .gl-hero {
    min-height: 450px;
  }

  .gl-hero.height-fullscreen {
    min-height: 80vh;
  }

  .gl-logo,
  .gl-nav {
    display: none;
  }

  .gl-menu-toggle {
    display: flex;
  }
  .mobile-menu-header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
  }

  .top-header .gl-lang-dropdown {
    display: none;
  }
  .top-header-inner {
    justify-content: center;
  }
  .contact-info {
    gap: 8px;
  }
  .gl-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gl-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-tips-grid {
    grid-template-columns: 1fr;
  }

  .gl-testimonials-track {
    grid-template-columns: 1fr;
  }

  .gl-instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gl-contact-grid {
    grid-template-columns: 1fr;
  }



  .gl-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gl-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .gl-promo {
    flex-direction: column;
  }

  .gl-promo-content {
    padding: 2rem;
  }

  .gl-promo-image {
    flex: none;
    width: 100%;
    height: 250px;
  }

  .gl-newsletter {
    padding: 2.5rem 1.5rem;
  }

  .gl-newsletter-form {
    flex-direction: column;
  }

  /* Toolbar: stack vertically */
  .gl-toolbar {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .gl-toolbar-sort {
    width: 100%;
  }

  .gl-toolbar .gl-select {
    width: 100%;
  }

  /* Countdown timer: wrap on smaller screens */
  .gl-countdown__timer {
    flex-wrap: wrap;
  }

  .gl-countdown__unit {
    min-width: 65px;
    padding: 1rem;
  }

  .gl-countdown__number {
    font-size: 1.75rem;
  }

  /* Gallery grid: reduce columns */
  .gl-gallery__grid {
    --gl-gallery-cols: 2 !important;
  }

  .gl-gallery__grid--masonry {
    columns: 2 !important;
  }

  /* Video banner: scale down */
  .gl-video-banner__heading {
    font-size: 2rem;
  }

  .gl-video-banner__subtitle {
    font-size: 1rem;
  }

  .gl-video-banner--large {
    min-height: 350px;
  }

  .gl-video-banner--fullscreen {
    min-height: 70vh;
  }

  /* Product grid: force all column variants to 2 cols */
  .gl-products-grid,
  .gl-products-grid.cols-2,
  .gl-products-grid.cols-3,
  .gl-products-grid.cols-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Promo content heading */
  .gl-promo-content h2 {
    font-size: 1.75rem;
  }

  /* Cart table: stack items */
  .gl-cart-table thead {
    display: none;
  }

  .gl-cart-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gl-border);
  }

  .gl-cart-table tbody td {
    border: none;
    padding: 0.25rem 0;
  }
}

@media (max-width: 480px) {
  .gl-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gl-product-card-body {
    padding: 0.75rem;
  }

  .gl-product-card-title {
    font-size: 0.85rem;
  }

  .gl-product-card-price .current {
    font-size: 0.95rem;
  }

  .gl-categories-grid {
    grid-template-columns: 1fr;
  }

  .gl-instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-hero-content h1 {
    font-size: 1.75rem;
  }

  .gl-hero {
    min-height: 350px;
  }

  .gl-404 h1 {
    font-size: 5rem;
  }

  /* Gallery: single column */
  .gl-gallery__grid {
    --gl-gallery-cols: 1 !important;
  }

  .gl-gallery__grid--masonry {
    columns: 1 !important;
  }

  /* Countdown: even smaller */
  .gl-countdown__timer {
    gap: 0.5rem;
  }

  .gl-countdown__unit {
    min-width: 55px;
    padding: 0.75rem 0.5rem;
  }

  .gl-countdown__number {
    font-size: 1.5rem;
  }

  .gl-countdown__sep {
    font-size: 1.25rem;
  }

  /* Trust badges: single column */
  .gl-trust-badges {
    grid-template-columns: 1fr;
  }

  /* Product grid: all column variants to 2 cols */
  .gl-products-grid.cols-5,
  .gl-products-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Video banner */
  .gl-video-banner__heading {
    font-size: 1.5rem;
  }

  .gl-video-banner--medium {
    min-height: 250px;
  }

  .gl-video-banner--large {
    min-height: 280px;
  }

  .gl-video-banner--fullscreen {
    min-height: 60vh;
  }

  /* Section header */
  .gl-section-header h2 {
    font-size: 1.5rem;
  }

  /* Hero content subtitle */
  .gl-hero-content p {
    font-size: 1rem;
  }

  /* Btn */
  .gl-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ========================================================================
   GLAMOUR THEME v2.0 — New Section Styles
   ======================================================================== */

/* ---- Countdown Timer ---- */
.gl-countdown {
  padding: 4rem 0;
  text-align: center;
}

.gl-countdown__heading {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: inherit;
}

.gl-countdown__subtitle {
  opacity: 0.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.gl-countdown__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gl-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--gl-radius);
  padding: 1.25rem 1.5rem;
  min-width: 80px;
  backdrop-filter: blur(4px);
}

.gl-countdown__number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--gl-font-heading);
  line-height: 1;
}

.gl-countdown__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.gl-countdown__sep {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.5;
}

.gl-countdown__btn {
  display: inline-flex;
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  border-radius: var(--gl-radius-full);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--gl-transition);
}

.gl-countdown__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* ---- Video Banner ---- */
.gl-video-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-video-banner--medium {
  min-height: 400px;
}

.gl-video-banner--large {
  min-height: 600px;
}

.gl-video-banner--fullscreen {
  min-height: 100vh;
}

.gl-video-banner__video,
.gl-video-banner__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl-video-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gl-video-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.gl-video-banner__heading {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: glamFadeUp 0.8s ease both;
}

.gl-video-banner__subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  animation: glamFadeUp 0.8s 0.2s ease both;
}

.gl-btn--white {
  display: inline-flex;
  padding: 0.875rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gl-heading);
  font-weight: 600;
  border-radius: var(--gl-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--gl-transition);
  animation: glamFadeUp 0.8s 0.4s ease both;
  text-decoration: none;
}

.gl-btn--white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: var(--gl-heading);
}

/* ---- FAQ Accordion ---- */
.gl-faq {
  padding: 5rem 0;
}

.gl-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.gl-faq__item {
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--gl-transition);
}

.gl-faq__item:hover {
  border-color: var(--gl-primary-light);
}

.gl-faq__item.active {
  border-color: var(--gl-primary);
  box-shadow: var(--gl-shadow-sm);
}

.gl-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gl-heading);
  text-align: start;
  cursor: pointer;
  transition: color var(--gl-transition-fast);
  font-family: var(--gl-font-body);
}

.gl-faq__item.active .gl-faq__question {
  color: var(--faq-accent, var(--gl-primary));
}

.gl-faq__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gl-subheading-light);
  transition: transform var(--gl-transition);
  flex-shrink: 0;
}

.gl-faq__item.active .gl-faq__icon {
  transform: rotate(45deg);
  color: var(--faq-accent, var(--gl-primary));
}

.gl-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
}

.gl-faq__item.active .gl-faq__answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.gl-faq__answer p {
  color: var(--gl-subheading-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---- Image Gallery ---- */
.gl-gallery {
  padding: 5rem 0;
}

.gl-gallery__grid {
  display: grid;
  grid-template-columns: repeat(var(--gl-gallery-cols, 3), 1fr);
  gap: 1rem;
}

.gl-gallery__grid--masonry {
  columns: var(--gl-gallery-cols, 3);
  column-gap: 1rem;
  display: block;
}

.gl-gallery__grid--masonry .gl-gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gl-gallery__item {
  position: relative;
  border-radius: var(--gl-radius);
  overflow: hidden;
}

.gl-gallery__link {
  display: block;
  position: relative;
}

.gl-gallery__img {
  width: 100%;
  display: block;
  transition: transform var(--gl-transition-slow);
}

.gl-gallery__item:hover .gl-gallery__img {
  transform: scale(1.05);
}

.gl-gallery__hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--gl-transition);
  font-size: 2rem;
  color: #fff;
}

.gl-gallery__item:hover .gl-gallery__hover {
  opacity: 1;
}

.gl-gallery__empty {
  text-align: center;
  padding: 3rem;
  color: var(--gl-subheading-light);
}

/* Lightbox */
.gl-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.gl-lightbox.active {
  display: flex;
}

.gl-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--gl-transition-fast);
  z-index: 1;
}

[dir="rtl"] .gl-lightbox__close {
  right: auto;
  left: 1.5rem;
}

.gl-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gl-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--gl-radius);
  object-fit: contain;
}

/* ---- Blog Cards ---- */
.gl-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gl-blog-card {
  border-radius: var(--gl-radius);
  overflow: hidden;
  border: 1px solid var(--gl-border);
  background: var(--gl-bg);
  transition: all var(--gl-transition);
}

.gl-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gl-shadow-hover);
}

.gl-blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.gl-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--gl-transition-slow);
}

.gl-blog-card:hover .gl-blog-card__image img {
  transform: scale(1.05);
}

.gl-blog-card__body {
  padding: 1.5rem;
}

.gl-blog-card__category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gl-blog-card__title {
  font-size: 1.15rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

.gl-blog-card__title a {
  color: var(--gl-heading);
}

.gl-blog-card__title a:hover {
  color: var(--gl-primary);
}

.gl-blog-card__excerpt {
  color: var(--gl-subheading-light);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.gl-blog-card__meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gl-subheading-light);
  margin-bottom: 1rem;
}

.gl-blog-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gl-primary);
}

/* ---- Account Page ---- */
.gl-account__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.gl-account__sidebar {
  background: var(--gl-bg-alt);
  border-radius: var(--gl-radius);
  padding: 1.5rem;
  border: 1px solid var(--gl-border);
}

.gl-account__user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gl-border);
  margin-bottom: 1rem;
}

.gl-account__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-light)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gl-account__name strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gl-heading);
}

.gl-account__name small {
  font-size: 0.8rem;
  color: var(--gl-subheading-light);
}

.gl-account__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gl-account__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--gl-radius-sm);
  color: var(--gl-subheading);
  font-weight: 500;
  transition: all var(--gl-transition-fast);
  font-size: 0.9rem;
  text-decoration: none;
}

.gl-account__link:hover,
.gl-account__link.active {
  background: var(--gl-secondary);
  color: var(--gl-primary);
}

.gl-account__link--danger:hover {
  background: rgba(229, 57, 53, 0.08);
  color: var(--gl-error);
}

.gl-account__section-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gl-border);
}

.gl-orders-table table {
  width: 100%;
  border-collapse: collapse;
}

.gl-orders-table th {
  text-align: start;
}

.gl-orders-table th,
.gl-orders-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--gl-border);
  font-size: 0.9rem;
}

.gl-orders-table th {
  font-weight: 600;
  color: var(--gl-subheading-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Wishlist ---- */
.gl-wishlist__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.gl-product-card__remove {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gl-bg);
  color: var(--gl-error);
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0;
  transition: all var(--gl-transition-fast);
  box-shadow: var(--gl-shadow-sm);
  z-index: 2;
}

[dir="rtl"] .gl-product-card__remove {
  right: auto;
  left: 0.75rem;
}

.gl-product-card:hover .gl-product-card__remove {
  opacity: 1;
}

/* ---- Empty State ---- */
.gl-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.gl-empty-state--sm {
  padding: 2rem;
}

.gl-empty-state__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.gl-empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.gl-empty-state p {
  color: var(--gl-subheading-light);
  margin-bottom: 1.5rem;
}

/* ---- Page Layout ---- */
.gl-page {
  padding: 3rem 0 5rem;
}

.gl-page__header {
  margin-bottom: 2rem;
}

.gl-page__header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ---- Button variants ---- */
.gl-btn--primary {
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-light)
  );
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--gl-radius-full);
  transition: all var(--gl-transition);
  text-decoration: none;
  border: none;
  font-family: var(--gl-font-body);
  cursor: pointer;
}

.gl-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--gl-box-shadow-light);
  color: #fff;
}

.gl-btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ===================================================================
   v2.1 ADDITIONS — Missing CSS for Section Templates
   =================================================================== */

/* ---- Button Aliases (templates use single-dash, CSS had double-dash) ---- */
.gl-btn-primary {
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-light)
  );
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--gl-radius-full);
  transition: all var(--gl-transition);
  text-decoration: none;
  border: none;
  font-family: var(--gl-font-body);
  cursor: pointer;
  font-size: 0.95rem;
}

.gl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--gl-box-shadow-light);
  color: #fff;
}

.gl-btn-outline {
  background: transparent;
  color: var(--gl-primary);
  border: 2px solid var(--gl-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--gl-radius-full);
  transition: all var(--gl-transition);
  text-decoration: none;
  font-family: var(--gl-font-body);
  cursor: pointer;
  font-size: 0.95rem;
}

.gl-btn-outline:hover {
  background: var(--gl-primary);
  color: #fff;
}

.gl-btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.gl-badge-hot {
  padding: 0.25rem 0.5rem;
  border-radius: var(--gl-radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- FAQ Accordion ---- */
.gl-faq-section {
  padding: 4rem 0;
}

.gl-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.gl-faq-item {
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--gl-transition);
}

.gl-faq-item:hover {
  border-color: var(--gl-secondary);
}

.gl-faq-item.active {
  border-color: var(--gl-primary);
}

.gl-faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--gl-bg);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--gl-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gl-heading);
  transition: background-color var(--gl-transition-fast);
}

[dir="rtl"] .gl-faq-toggle {
  text-align: right;
}

.gl-faq-toggle:hover {
  background: var(--gl-bg-alt);
}

.gl-faq-item.active .gl-faq-toggle {
  background: var(--gl-secondary);
  color: var(--gl-primary);
}

.gl-faq-q-text {
  flex: 1;
}

.gl-faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gl-primary);
}

.gl-faq-item.active .gl-faq-icon {
  transform: rotate(45deg);
}

.gl-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.gl-faq-item.active .gl-faq-content {
  max-height: 500px;
}

.gl-faq-content-inner {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gl-subheading);
}

/* ---- Countdown Timer ---- */
.gl-countdown-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.gl-countdown-section.has-bg {
  background-size: cover;
  background-position: center;
}

.gl-countdown-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.6);
  z-index: 1;
}

.gl-countdown {
  position: relative;
  z-index: 2;
}

.gl-countdown-content {
  max-width: 600px;
  margin: 0 auto;
}

.gl-countdown-heading {
  font-family: var(--gl-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gl-heading);
  margin-bottom: 0.5rem;
}

.gl-countdown-section.has-bg .gl-countdown-heading,
.gl-countdown-section.has-bg .gl-countdown-subtitle {
  color: #fff;
}

.gl-countdown-subtitle {
  font-size: 1rem;
  color: var(--gl-subheading-light);
  margin-bottom: 2rem;
}

.gl-countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.gl-countdown-unit {
  background: var(--gl-bg);
  border-radius: var(--gl-radius);
  padding: 1rem 1.25rem;
  min-width: 80px;
  box-shadow: var(--gl-shadow-sm);
}

.gl-countdown-section.has-bg .gl-countdown-unit {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.gl-countdown-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gl-primary);
  font-family: var(--gl-font-heading);
  line-height: 1;
}

.gl-countdown-section.has-bg .gl-countdown-number {
  color: #fff;
}

.gl-countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gl-subheading-light);
  margin-top: 0.35rem;
}

.gl-countdown-section.has-bg .gl-countdown-label {
  color: rgba(255, 255, 255, 0.7);
}

.gl-countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gl-primary);
  line-height: 1;
}

.gl-countdown-actions {
  margin-top: 1.5rem;
}

/* ---- Categories Grid ---- */
.gl-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gl-category-card {
  border-radius: var(--gl-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
}

.gl-category-card-image {
  position: absolute;
  inset: 0;
}

.gl-category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--gl-transition);
}

.gl-category-card:hover .gl-category-card-image img {
  transform: scale(1.07);
}

.gl-category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 26, 46, 0.7) 0%, transparent 60%);
  z-index: 1;
}

.gl-category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  color: #fff;
}

.gl-category-card-content h3 {
  font-family: var(--gl-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.gl-category-card-content span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ---- Product Grid Layout ---- */
.gl-category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.gl-filter-sidebar {
  position: sticky;
  top: 100px;
  background: var(--gl-bg);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  padding: 1.5rem;
}

.gl-filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gl-border);
}

.gl-filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.gl-filter-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gl-heading);
  margin: 0;
}

.gl-filter-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gl-filter-option {
  margin-bottom: 0.5rem;
}

.gl-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gl-subheading);
}

.gl-filter-checkbox {
  accent-color: var(--gl-primary);
}

.gl-filter-count {
  color: var(--gl-subheading-light);
  font-size: 0.8rem;
}

.gl-filter-empty {
  color: var(--gl-subheading-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.gl-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gl-border);
}

.gl-toolbar-count {
  font-size: 0.9rem;
  color: var(--gl-subheading-light);
}

.gl-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-sm);
  font-size: 0.9rem;
  font-family: var(--gl-font-body);
  background: var(--gl-bg);
  color: var(--gl-subheading);
  outline: none;
  cursor: pointer;
}

.gl-select:focus {
  border-color: var(--gl-primary);
}

/* ---- Product Placeholder (Enhanced Skeleton) ---- */
.gl-product-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
background: linear-gradient(
  90deg,
  #f5f5f5 0%,
  #ececec 20%,
  #ffffff 50%,
  #ececec 80%,
  #f5f5f5 100%
);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--gl-radius-sm);
  position: relative;
  overflow: hidden;
}

/* Enhanced Product Card Skeleton */
.gl-product-card--loading .gl-product-card-image {
  position: relative;
}

.gl-product-card--loading .gl-product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gl-product-card--loading .gl-product-placeholder::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.gl-product-card--loading .gl-product-placeholder::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite 0.5s;
}

/* Skeleton body content */
.gl-product-card--loading .gl-product-card-body {
  padding: 1rem;
  background: var(--gl-subheading);
}

.gl-product-card--loading .gl-skeleton-absolute {
 background: linear-gradient(
  90deg,
  #efefef 0%,
  #d6d6d6 45%,
  #ffffff 50%,
  #d6d6d6 55%,
  #efefef 100%
);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--gl-radius-sm);
}
.gl-product-card--loading .gl-skeleton {
  background: linear-gradient(
  90deg,
  #f5f5f5 0%,
  #ececec 20%,
  #ffffff 50%,
  #ececec 80%,
  #f5f5f5 100%
);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--gl-radius-sm);
}

/* Skeleton title line */
.gl-product-card--loading .gl-skeleton-description {
  height: 1rem;
  margin-bottom: 0.5rem;
  width: 50%;
}
.gl-product-card--loading .gl-skeleton-title {
  height: 1rem;
  margin-bottom: 0.5rem;
  width: 85%;
}

/* Skeleton subtitle line */
.gl-product-card--loading .gl-skeleton-subtitle {
  height: 0.75rem;
  margin-bottom: 0.75rem;
  width: 60%;
}

/* Skeleton price lines */
.gl-product-card--loading .gl-skeleton-price {
  height: 1.25rem;
  width: 40%;
  margin-bottom: 0.5rem;
}

.gl-product-card--loading .gl-skeleton-price-original {
  height: 1rem;
  width: 25%;
  opacity: 0.6;
}

/* Skeleton button */
.gl-product-card--loading .gl-skeleton-button {
  height: 2.5rem;
  width: 90%;
  border-radius: 6px;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translate(-50%);
}

/* Skeleton rating stars */
.gl-product-card--loading .gl-skeleton-rating {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  position: absolute;
  bottom: 60px;
  width: 100%;
}

.gl-product-card--loading .gl-skeleton-star {
  width: 50px;
  height: 30px;
  border-radius: 8px;
}

/* Pulse animation for center icon */
@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(0.8);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ---- Section Header ---- */
.gl-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gl-section-header h2 {
  font-family: var(--gl-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gl-heading);
  margin-bottom: 0.5rem;
}

.gl-section-header p {
  color: var(--gl-subheading-light);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ---- Small Section (padding) ---- */
.gl-section-sm {
  padding: 2rem 0;
}

/* ---- Testimonial Avatar Placeholder ---- */
.gl-testimonial-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--gl-primary),
    var(--gl-primary-light)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Video Banner ---- */
.gl-video-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
}

.gl-video-banner--small {
  min-height: 300px;
}

.gl-video-banner--medium {
  min-height: 450px;
}

.gl-video-banner--large {
  min-height: 600px;
}

.gl-video-banner--fullscreen {
  min-height: 100vh;
}

/* ---- Pagination ---- */
.gl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gl-border);
}

.gl-pagination-list {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}

.gl-pagination-btn,
.gl-pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--gl-radius-sm);
  font-size: 0.9rem;
  color: var(--gl-subheading);
  text-decoration: none;
  transition: all var(--gl-transition-fast);
  border: 1px solid var(--gl-border);
  background: var(--gl-bg);
}

.gl-pagination-number.active,
.gl-pagination-btn:hover,
.gl-pagination-number:hover {
  background: var(--gl-primary);
  color: #fff;
  border-color: var(--gl-primary);
}

/* ---- Animation utilities ---- */
.gl-animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- v2.0 Responsive ---- */
@media (max-width: 768px) {
  .gl-countdown__timer {
    gap: 0.5rem;
  }

  .gl-countdown__unit {
    padding: 0.875rem 1rem;
    min-width: 60px;
  }

  .gl-countdown__number {
    font-size: 1.75rem;
  }

  .gl-video-banner__heading {
    font-size: 2rem;
  }

  .gl-video-banner--large {
    min-height: 400px;
  }

  .gl-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-gallery__grid--masonry {
    columns: 2;
  }

  .gl-blog__grid {
    grid-template-columns: 1fr;
  }

  .gl-account__grid {
    grid-template-columns: 1fr;
  }

  .gl-wishlist__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gl-countdown__timer {
    flex-wrap: wrap;
  }

  .gl-countdown__sep {
    display: none;
  }

  .gl-video-banner__heading {
    font-size: 1.5rem;
  }

  .gl-video-banner--large {
    min-height: 300px;
  }

  .gl-gallery__grid {
    grid-template-columns: 1fr;
  }

  .gl-gallery__grid--masonry {
    columns: 1;
  }

  .gl-wishlist__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   PRODUCT GRID — Dynamic Filter, Price Slider, Load More
   ======================================================================== */

/* ---- Filter sidebar header ---- */
.gl-filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.gl-filter-sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gl-heading);
  margin: 0;
}

.gl-clear-filters-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--gl-primary);
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--gl-font-body);
  transition: opacity var(--gl-transition-fast);
}

.gl-clear-filters-btn:hover {
  opacity: 0.7;
}

/* ---- Filter group skeleton ---- */
.gl-filter-skeleton-group {
  margin-bottom: 2rem;
}

.gl-filter-skeleton-title {
  height: 14px;
  width: 60%;
  border-radius: var(--gl-radius-sm);
  margin-bottom: 1rem;
}

.gl-filter-skeleton-option {
  height: 12px;
  width: 80%;
  border-radius: var(--gl-radius-sm);
  margin-bottom: 0.6rem;
}

/* ---- Filter "Show more" link ---- */
.gl-filter-show-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--gl-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--gl-font-body);
  text-decoration: underline;
  transition: opacity var(--gl-transition-fast);
}

.gl-filter-show-more:hover {
  opacity: 0.7;
}

/* ---- Dual-thumb price range slider ---- */
.gl-price-slider-wrap {
  padding: 0.5rem 0 1rem;
}

.gl-price-slider-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gl-subheading);
  margin-bottom: 1rem;
}

.gl-price-slider {
  position: relative;
  height: 6px;
  /* always LTR internally so range math is consistent */
  direction: ltr;
}

.gl-price-slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gl-subheading);
  border-radius: 2px;
  transform: translateY(-50%);
  pointer-events: none;
}

.gl-price-slider-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--gl-primary);
  border-radius: 2px;
  pointer-events: none;
}

.gl-price-slider input[type="range"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  outline: none;
  margin: 0;
  padding: 0;
}

.gl-price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gl-primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: all;
  transition: transform 0.1s;
}

.gl-price-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.gl-price-slider input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gl-primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: all;
}

/* In RTL locales, flip the display labels but keep the slider internal direction LTR */
[dir="rtl"] .gl-price-slider-values {
  flex-direction: row-reverse;
}

/* ---- No products empty state ---- */
.gl-no-products {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--gl-subheading-light);
  text-align: center;
}

.gl-no-products svg {
  opacity: 0.3;
  margin-bottom: 1rem;
}

.gl-no-products p {
  font-size: 1rem;
  margin: 0;
}

/* ---- Load More button ---- */
.gl-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.gl-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.5rem;
  border: 2px solid var(--gl-primary);
  background: transparent;
  color: var(--gl-primary);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--gl-font-body);
  border-radius: var(--gl-radius);
  cursor: pointer;
  transition: all var(--gl-transition-fast);
  letter-spacing: 0.03em;
}

.gl-load-more-btn:hover {
  background: var(--gl-primary);
  color: #fff;
}

.gl-load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---- Product grid loading state ---- */
#gl-products-grid[data-loading="true"] {
  opacity: 0.5;
  pointer-events: none;
}

/* ---- Product card skeleton (inside grid) ---- */
.gl-product-card-skeleton .gl-product-placeholder {
  height: 280px;
}

.gl-product-card-skeleton .gl-product-card-body {
  padding: 1rem;
}

.gl-product-card-skeleton .skeleton-line {
  height: 12px;
  border-radius: var(--gl-radius-sm);
  margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
  .gl-price-slider-wrap {
    padding: 0.25rem 0 0.75rem;
  }
}

/* ============================================================
   Product Spotlight Section
   ============================================================ */

.gl-product-spotlight .gl-spotlight-inner {
  transition: gap 0.3s;
}

@media (max-width: 768px) {
  .gl-product-spotlight .gl-spotlight-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .gl-product-spotlight .gl-spotlight-media,
  .gl-product-spotlight .gl-spotlight-details {
    order: unset !important;
  }
  .gl-offer-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.gl-spotlight-product-name {
  font-family: var(--section-font-heading, var(--gl-font-heading, inherit));
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--gl-subheading, inherit);
}

.gl-spotlight-product-sku {
  font-size: 0.75rem;
  color: var(--gl-muted, #9e8e95);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gl-spotlight-product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gl-spotlight-product-price .current {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gl-primary, #3d1aea);
}

.gl-spotlight-product-price .original {
  font-size: 1rem;
  color: var(--gl-muted, #9e8e95);
  text-decoration: line-through;
}

.gl-spotlight-product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.gl-spotlight-product-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gl-subheading-muted, #666);
  margin-bottom: 1.5rem;
  max-height: 4.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.gl-spotlight-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.gl-spotlight-skeleton > div {
  animation: gl-shimmer 1.4s ease-in-out infinite;
}

/* ============================================================
   Category Carousel Section
   ============================================================ */

.gl-category-carousel {
  position: relative;
}

.gl-category-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gl-category-carousel-title {
  font-family: var(--section-font-heading, var(--gl-font-heading, inherit));
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.gl-category-carousel-subtitle {
  font-size: 0.9rem;
  color: var(--gl-muted, #9e8e95);
  margin: 0;
}

.gl-category-carousel-viewall {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gl-cc-viewport {
  overflow: hidden;
  position: relative;
}

.gl-cc-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gl-cc-card {
  flex: 0 0 calc(25% - 1rem);
  min-width: 200px;
  max-width: 280px;
}

@media (max-width: 1024px) {
  .gl-cc-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 640px) {
  .gl-cc-card {
    flex: 0 0 calc(65% - 1rem);
  }
}

.gl-cc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gl-surface, #fff);
  border: 1px solid var(--gl-border, #e8e0e4);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    background 0.15s,
    box-shadow 0.15s;
  color: var(--gl-subheading, inherit);
}

.gl-cc-arrow:hover {
  background: var(--gl-primary, #3d1aea);
  color: #fff;
  border-color: var(--gl-primary, #3d1aea);
}

.gl-cc-arrow-prev {
  left: -20px;
}
.gl-cc-arrow-next {
  right: -20px;
}

[dir="rtl"] .gl-cc-arrow-prev {
  left: auto;
  right: -20px;
}
[dir="rtl"] .gl-cc-arrow-next {
  right: auto;
  left: -20px;
}

@media (max-width: 640px) {
  .gl-cc-arrow {
    display: none;
  }
}

.gl-cc-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.25rem;
}

.gl-cc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gl-border, #e8e0e4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}

.gl-cc-dot.active {
  background: var(--gl-primary, #3d1aea);
  transform: scale(1.3);
}

/* Marquee Animation */
.header-marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.header-marquee-content .gl-announcement-text {
  padding: 0 4rem;
  display: inline-block;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .header-marquee-content {
  animation: marquee-rtl 30s linear infinite;
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* Pause animation on hover */
.gl-announcement:hover .header-marquee-content {
  animation-play-state: paused;
}

  .all-catgories .categories-swiper {
    padding: 60px 0;
    overflow: hidden;
  }

  .all-catgories .swiper-wrapper {
    align-items: center;
  }

  .all-catgories .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
  }

  .all-catgories .category-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .all-catgories .category-card .categore-image {
    width: 150px;
    height: 150px;
  }
  .all-catgories .category-card .categore-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }

  .all-catgories .category-card .cate-name {
    font-size: 20px;
    font-weight: 500;
    color: var(--gl-heading);
    white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px; 
  text-align: center;
  }

  .all-catgories .swiper-button-next,
  .all-catgories .swiper-button-prev {
    color: var(--gl-heading);
    width: 40px;
    height: 40px;
    background: var(--gl-bg, #ffffff);
    border-radius: 50%;
    border: 1px solid var(--gl-border, #e5e7eb);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .all-catgories .swiper-button-next:after,
  .all-catgories .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
  }

   .all-catgories .swiper-pagination {
    bottom: 0;
    margin-top: 20px;
    position: relative;
    z-index: 10;
  }

  .all-catgories .swiper-pagination-bullet {
    background: #E8B3B9;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 4px;
  }

  .all-catgories .swiper-pagination-bullet-active {
    background: var(--gl-primary);
  }

    .all-catgories .swiper-button-next,
  .all-catgories .swiper-button-prev {
    color: var(--gl-primary);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
    position: absolute;
    top: 25px !important;
  }

  .all-catgories .swiper-button-next {
    left: 3px !important;
  }

  .all-catgories .swiper-button-prev {
    left: 60px !important;
    right: auto !important;
  }

  html[dir="ltr"] .all-catgories .swiper-button-next {
    right: 3px !important;
    left: auto !important;
  }

  html[dir="ltr"] .all-catgories .swiper-button-prev {
    right: 60px !important;
    left: auto !important;
  }

  .all-catgories svg{
    width: 20% !important;
  }
  .all-catgories .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
  }

@media (max-width: 768px) {
   .all-catgories .category-card .categore-image {
    width: 130px;
    height: 130px;
  }
  }

  .interactive-banners-grid {
    display: grid;
    gap: 16px;
  }

  .interactive-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
  }

  .interactive-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    z-index: 0;
  }

  .interactive-banner:hover::before {
    transform: scale(1.05);
  }

  .interactive-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .interactive-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .interactive-banner:hover .interactive-banner-overlay,
  .interactive-banner:hover .interactive-banner-content {
    opacity: 1;
  }
.interactive-banner-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
  .interactive-banner-title {
    color: var(--gl-subheading);
    font-size: 20px;
    font-weight: 700;
  }

  .interactive-banner-subtitle {
    color: var(--gl-subheading);
    font-size: 18px;
    font-weight: 500;
    text-align: start;
  }
  .interactive-banner-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
    background-color: var(--gl-primary);
    color: var(--gl-subheading);
  }
  .interactive-banner-btn:hover {
       color: var(--gl-subheading) !important;

  }

  /* 1 item */
  .interactive-banners-grid:has(.interactive-banner:nth-child(1)):not(:has(.interactive-banner:nth-child(2))) {
    grid-template-columns: 1fr;
  }
  .interactive-banners-grid:has(.interactive-banner:nth-child(1)):not(:has(.interactive-banner:nth-child(2))) .interactive-banner {
    height: 250px;
  }

  /* 2 items */
  .interactive-banners-grid:has(.interactive-banner:nth-child(2)):not(:has(.interactive-banner:nth-child(3))) {
    grid-template-columns: 1fr 1fr;
  }
  .interactive-banners-grid:has(.interactive-banner:nth-child(2)):not(:has(.interactive-banner:nth-child(3))) .interactive-banner {
    height: 250px;
  }

  /* 3 items */
  .interactive-banners-grid:has(.interactive-banner:nth-child(3)):not(:has(.interactive-banner:nth-child(4))) {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .interactive-banners-grid:has(.interactive-banner:nth-child(3)):not(:has(.interactive-banner:nth-child(4))) .interactive-banner {
    height: 250px;
  }

  /* 4 items */
  .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))) {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))) .interactive-banner:nth-child(4) {
    grid-column: span 3;
  }

  .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))) .interactive-banner:nth-child(1),
  .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))) .interactive-banner:nth-child(2),
  .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))) .interactive-banner:nth-child(3) {
    height: 250px;
  }
  .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))) .interactive-banner:nth-child(4) {
    height: 250px;
  }
  .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))) .interactive-banner:nth-child(4) .interactive-banner-content {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  /* 5 items */
  .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))) {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))) .interactive-banner:nth-child(5) {
    grid-column: span 2;
  }
  .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))) .interactive-banner:nth-child(1),
  .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))) .interactive-banner:nth-child(2),
  .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))) .interactive-banner:nth-child(3),
  .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))) .interactive-banner:nth-child(4),
  .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))) .interactive-banner:nth-child(5) {
    height: 250px;
  }

  /* 6 items */
  .interactive-banners-grid:has(.interactive-banner:nth-child(6)):not(:has(.interactive-banner:nth-child(7))) {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .interactive-banners-grid:has(.interactive-banner:nth-child(6)):not(:has(.interactive-banner:nth-child(7))) .interactive-banner {
    height: 250px;
  }

  /* Mobile */
  @media (max-width: 768px) {
    .interactive-banner-title {
      font-size: 20px;
    }
    .interactive-banner-overlay,
    .interactive-banner-content {
      opacity: 1;
    }
    .interactive-banners-grid,
    .interactive-banners-grid:has(.interactive-banner:nth-child(1)):not(:has(.interactive-banner:nth-child(2))),
    .interactive-banners-grid:has(.interactive-banner:nth-child(2)):not(:has(.interactive-banner:nth-child(3))),
    .interactive-banners-grid:has(.interactive-banner:nth-child(3)):not(:has(.interactive-banner:nth-child(4))),
    .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))),
    .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))),
    .interactive-banners-grid:has(.interactive-banner:nth-child(6)):not(:has(.interactive-banner:nth-child(7))) {
      grid-template-columns: 1fr;
    }

    .interactive-banners-grid .interactive-banner,
    .interactive-banners-grid:has(.interactive-banner:nth-child(3)):not(:has(.interactive-banner:nth-child(4))) .interactive-banner:nth-child(1),
    .interactive-banners-grid:has(.interactive-banner:nth-child(3)):not(:has(.interactive-banner:nth-child(4))) .interactive-banner:nth-child(2),
    .interactive-banners-grid:has(.interactive-banner:nth-child(3)):not(:has(.interactive-banner:nth-child(4))) .interactive-banner:nth-child(3),
    .interactive-banners-grid:has(.interactive-banner:nth-child(4)):not(:has(.interactive-banner:nth-child(5))) .interactive-banner,
    .interactive-banners-grid:has(.interactive-banner:nth-child(5)):not(:has(.interactive-banner:nth-child(6))) .interactive-banner,
    .interactive-banners-grid:has(.interactive-banner:nth-child(6)):not(:has(.interactive-banner:nth-child(7))) .interactive-banner {
      height: 230px !important;
      grid-row: auto !important;
      grid-column: auto !important;
    }
  }

.newsletter .newsletter-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    gap: 20px;
  }

.newsletter .main-text,
.newsletter .form-wrapper {
  grid-column: span 2;
}
  .newsletter .main-text{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .newsletter .main-text h2{
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    color: var(--gl-subheading);
    margin-bottom: 10px;
  }
  .newsletter .main-text p{
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--gl-subheading);
  }
  .newsletter .form-wrapper{
    width: 100%;
  }
  .newsletter .form-wrapper p.form-text ,
  .newsletter .apps p.apps-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--gl-subheading);
    margin-bottom: 20px;
   }
 .newsletter .gl-newsletter-form input{
    padding: 12px 20px;
    border-radius: 12px;
 }
 .newsletter .form-btn{
    border-radius: 12px;
    background-color:var(--gl-subheading);
    color: var(--gl-heading);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    padding: 12px 20px;
 }
 .newsletter .apps .app-store {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
 }
 @media (max-width: 768px) {
  .newsletter .newsletter-wrapper {
    grid-template-columns: 1fr;
  }
  .newsletter .newsletter-wrapper {
    gap: 20px;
    justify-items: start;
  }
  .newsletter .gl-newsletter-form {
    margin: 0;
    max-width: 100%;
  }
 }
.product-single {
  color: var(--gl-heading);
}

.product-single .product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.product-single .product-detail .product-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-single .product-detail .product-info h1 {
  font-size: 24px;
  font-weight: bold;
  color: var(--gl-heading);
}

.product-single .product-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-single .product-meta .product-meta-detail {
  display: flex;
  gap: 16px;
  color: var(--gl-heading);
  font-size: 14px;
}

.product-single .product-meta .product-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
  font-weight: 600;
}

.product-single .product-meta .product-stock.in-stock {
  color: var(--gl-primary);
}

.product-single .product-meta .product-stock.out-of-stock {
  color: var(--gl-heading);
  opacity: 0.8;
}

.product-single .product-meta .rating-product {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-single .add-to-wishlistt[aria-pressed="true"] {
  color: red;
}
.product-single .product-meta .rating-product a,
.product-single .product-share .share-label {
  font-size: 14px;
  opacity: 0.8;
  color: var(--gl-heading);
  font-weight: 500;
}

.product-single .product-meta .rating-product .product-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-single .product-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--gl-heading);
  transition: all 0.3s ease;
  text-decoration: none;
}

.product-single .product-share a:hover {
  background-color: var(--gl-primary);
  color: var(--gl-subheading);
  transform: translateY(-2px);
}

.product-single .product-share {
  position: relative;
}

.product-single .share-dropdown {
  position: absolute;
  top: 100%;
  left: -150px;
  margin-top: 8px;
  background: var(--gl-subheading);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 8px;
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
  animation: fadeIn 0.3s ease;
}

[dir="ltr"] .product-single .share-dropdown {
  right: -150px;
  left: auto !important;
}

.product-single .share-dropdown.active {
  display: flex;
}

.product-single .gl-badge {
  background-color: var(--gl-primary);
  color: var(--gl-subheading);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
}
.product-single .share-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: transparent;
  color: var(--gl-heading);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  width: 100%;
}

.product-single .share-dropdown a:hover {
  background: var(--gl-bg-alt);
  color: var(--gl-primary);
  transform: translateX(4px);
}

.product-single .share-trigger.active svg {
  transform: rotate(180deg);
}

.product-single .short_description {
  font-size: 16px;
  opacity: 0.8;
  font-weight: 400;
  color: var(--gl-heading);
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.product-single .short_description p {
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-single .read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gl-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-single .gl-select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gl-border);
  border-radius: 8px;
  background-color: var(--gl-bg);
  color: var(--gl-heading);
  font-size: 0.95rem;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  outline: none;
  background-image: none;
}

.product-single .gl-select:hover {
  border-color: var(--gl-primary);
}

.product-single .gl-select:focus {
  border-color: var(--gl-primary);
  box-shadow: 0 0 0 3px rgba(var(--gl-primary-rgb, 99, 102, 241), 0.12);
}

.product-single .gl-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #fff8fa;
}

[dir="rtl"] .gl-select {
  background-position: right 0.85rem center;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
}

.product-single .gl-product-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gl-border);
  border-radius: 8px;
  overflow: hidden;
  height: 45px;
  margin-bottom: 0px !important;
}

.product-single .gl-product-quantity button {
  width: 50px;
  height: 100%;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 18px;
  color: var(--gl-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.product-single .gl-product-quantity button:active {
  opacity: 0.7;
}

.product-single .gl-product-quantity input[type="number"] {
  width: 70px;
  height: 100%;
  border: none;
  border-inline: 1px solid var(--gl-border);
  background: white;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--gl-heading);
  outline: none;
  -moz-appearance: textfield;
}

.product-single
  .gl-product-quantity
  input[type="number"]::-webkit-outer-spin-button,
.product-single
  .gl-product-quantity
  input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.product-single .label-qty {
  font-size: 16px;
  font-weight: 700;
  color: var(--gl-heading);
  padding-inline: 10px;
}

.product-single .qty-price {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  align-items: center;
}

.product-single .gl-product-info-price {
  font-weight: 700;
  margin-bottom: 0px;
}

.product-single .gl-product-info-price .current,
.product-single .gl-product-info-price .original {
  font-size: 18px;
}

.product-single .gl-product-info-price .current {
  color: var(--gl-heading);
}

.product-single .gl-product-info-price .original {
  opacity: 0.7;
  color: var(--gl-primary);
}

.product-single .gl-product-add-to-cart .btn-buy {
  background-color: var(--gl-primary) !important;
  color: var(--gl-subheading) !important;
  border-radius: 8px;
}

.product-single .gl-product-add-to-cart .btn-addCart {
  background-color: var(--gl-subheading) !important;
  border: 1px solid var(--gl-primary);
  color: var(--gl-primary) !important;
  border-radius: 8px;
}

.product-single .gl-product-gallery {
  flex-direction: row-reverse;
}

.product-single .gl-product-gallery .gl-product-gallery-main {
  height: 650px;
  width: 100%;
}

.product-single .gl-product-gallery.has-multiple-images .gl-product-gallery-main {
  width: 430px;
}

.product-single .gl-product-gallery-thumbs {
  flex-direction: column;
  gap: 12px;
  height: 650px;
  overflow-y: scroll;
}
.product-single .gl-product-gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.product-single .gl-product-gallery-main img {
  object-fit: cover;
  object-position: top;
}

.product-single .gl-product-gallery-thumbs img {
  width: 120px;
  height: 120px;
}

.product-single .gl-variant-attribute {
  display: grid;
  gap: 0.4rem;
}

.product-single .gl-variant-label-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-single .gl-variant-label {
  font-weight: 600;
  color: var(--gl-heading);
}

.product-single .gl-variant-value {
  font-size: 0.9rem;
  color: var(--gl-subheading-light);
  font-weight: 400;
}

.product-single .gl-variant-swatch-box {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.product-single .gl-variant-disabled-text {
  font-size: 0.85rem;
  color: var(--gl-subheading-light);
}

.product-single .gl-variant-selected-label {
  font-size: 0.85rem;
  color: var(--gl-subheading-light);
  margin-inline-start: 4px;
  opacity: 0;
}

.product-single .gl-variant-color-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  padding: 2px;
  cursor: pointer;
  background: transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline 0.15s ease;
}

.product-single .gl-variant-color-btn[aria-pressed="true"] {
  outline: 2px solid var(--gl-primary);
}

.product-single .gl-variant-color-circle {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.product-single .gl-variant-image-swatch-box {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-single .gl-variant-image-label {
  display: grid;
  gap: 0.35rem;
  cursor: pointer;
}

.product-single .gl-variant-image-img {
  width: 54px;
  height: 54px;
  border: 1px solid var(--gl-border);
  border-radius: 10px;
  object-fit: cover;
}

.product-single .gl-variant-image-text {
  font-size: 0.8rem;
}

.product-single .gl-product-tabs-nav button.active {
  background-color: var(--gl-primary);
  color: var(--gl-subheading);
  border-top-right-radius: 8px;
}

.gl-product-tabs-nav {
  border-bottom: 1px solid var(--gl-primary);
}

.product-single .gl-product-tab-content {
  color: var(--gl-heading);
  padding-block: 24px;
  opacity: 0.8;
}

.product-single .gl-product-tabs-nav button {
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gl-heading);
  background-color: color-mix(in srgb, var(--gl-primary) 20%, transparent);
}

.product-single .gl-info-table {
  width: 100%;
  border-collapse: collapse;
}

.product-single .gl-info-row {
  border-bottom: 1px solid var(--gl-border);
}

.product-single .gl-info-label {
  padding: 0.75rem 1rem;
  text-align: start;
  font-weight: 600;
  width: 40%;
  color: var(--gl-heading);
}

.product-single .gl-info-value {
  padding: 0.75rem 1rem;
  color: var(--gl-heading);
}

.product-single .gl-info-row:nth-child(odd) {
  background-color: var(--gl-bg);
}

.product-single .gl-info-row:nth-child(even) {
  background-color: color-mix(in srgb, var(--gl-primary) 20%, transparent);
}

@media screen and (max-width: 768px) {
  .product-single .gl-product-gallery.has-multiple-images .gl-product-gallery-main {
    width: 100%;
    height: auto;
  }
  .product-single .gl-product-gallery {
    flex-direction: column;
  }

  .product-single .gl-product-gallery .gl-product-gallery-main {
    width: 100%;
    height: auto;
  }

  .product-single .gl-product-gallery-thumbs {
    flex-direction: row;
    overflow-x: auto;
    height: auto;
    margin-top: 12px;
  }

  .product-single .gl-product-gallery-thumbs img {
    width: 80px;
    height: 80px;
  }

  .product-single .gl-product-gallery {
    top: 0;
  }

  .product-single .qty-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }


}
@media (max-width: 1024px) {
    .product-single .product-detail {
    grid-template-columns: 1fr;
  }
}
.gl-product-gallery-main {
  position: relative;
}

.product-single .gl-gallery-zoom-btn {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gl-subheading);
  color: var(--gl-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.product-single .gl-gallery-zoom-btn:hover {
  background: var(--gl-subheading);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  color: var(--gl-primary);
  border-color: transparent;
}

.gl-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gl-lightbox.active {
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gl-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.gl-lightbox-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
}

.gl-lightbox.active .gl-lightbox-img-wrap {
  transform: scale(1);
  opacity: 1;
}

.gl-lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  user-select: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gl-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--gl-primary);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--gl-subheading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gl-lightbox-arrow {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--gl-primary);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--gl-subheading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin: 0 2rem;
}

.gl-lightbox-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .gl-lightbox-img-wrap img {
    max-width: 50vw;
  }
}



.gl-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.gl-payment-item {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 0.75rem;
  border: 1px solid var(--gl-border);
}

.gl-payment-logo {
  height: 40px;
  width: fit-content;
  object-fit: contain;
}

.gl-payment-title {
  font-size: 14px;
  color: var(--gl-heading);
  opacity: 0.8;
  margin: 0;
  line-height: 1.6;
}

.gl-payment-link {
  font-size: 13px;
  color: var(--gl-primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.gl-payment-link:hover {
  opacity: 0.8;
}
.gl-payment-section.desktop-only{
  display: grid;
}
.gl-payment-section.mobile-only{
  display: none;
}

@media (max-width: 768px) {
  .gl-payment-item {
    padding: 10px;
  }
  .gl-payment-title{
    font-size: 10px;
  }
  .gl-payment-section {
  padding-block: 0px;
}
.gl-payment-grid {
  gap: 8px;
}
.gl-payment-section.desktop-only{
  display: none;
}
.gl-payment-section.mobile-only{
  display: grid;
}
}


  .value-props-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    flex-wrap: wrap;
  }

  .value-prop-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .value-prop-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
  }

  .value-prop-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--gl-heading);
    margin: 0;
  }

  @media (max-width: 768px) {
    .value-props-grid {
      gap: 24px;
      grid-template-columns: 1fr 1fr;
    }
      .value-prop-title {
        font-size: 18px;
    }

  }


.G-category-cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow: hidden;
}

.G-category-cards-section .image-banner {
  display: block;
  width: 100%;
  height: 490px;
  object-fit: cover;
  border-radius: 8px;
  overflow: hidden;
}
.G-category-cards-section .image-banner img {
  width: 100%;
  height: 100%;
  transition:
    transform 0.4s ease,
    filter 0.3s ease;
}


.G-category-cards-section .category-title,
.G-category-cards-section .category-description {
  font-size: 20px;
  color: var(--gl-subheading);
  margin-bottom: 4px;
  width: fit-content;
  border-radius: 8px;
  font-weight: 600;
}
.G-category-cards-section .category-title {
  background-color: var(--gl-primary);
  padding: 11px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.G-category-cards-section .category-description {
  color: var(--gl-heading);
  margin-bottom: 20px;
}

.G-category-cards-section .categories {
  grid-column: span 2;
}

.G-category-cards-section .category-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.G-category-cards-section .category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--gl-border);
  padding-bottom: 12px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.G-category-cards-section .category-item:nth-last-child(-n + 2) {
  border-bottom: none;
}
.G-category-cards-section .category-item:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.G-category-cards-section .category-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.G-category-cards-section .category-item h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--gl-heading);
  margin-bottom: 4px;
}
.G-category-cards-section .category-item p {
  font-size: 14px;
  font-weight: 500;
  color: var(--gl-heading);
  opacity: 0.8;
  margin-bottom: 4px;
}
@media (max-width: 768px) {
  .G-category-cards-section {
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
  }
  .G-category-cards-section .categories{
    margin-top: 10px;
  }

  .G-category-cards-section .category-title,
  .G-category-cards-section .category-description {
    font-size: 14px;
    margin-bottom: 4px;
    width: fit-content;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 12px;
  }

  .G-category-cards-section .category-title {
    background-color: var(--gl-primary);
    padding: 6px 12px;
  }

  .G-category-cards-section .category-wrapper {
    grid-column: auto;
    grid-template-columns: repeat(1, 1fr);
  }
  .G-category-cards-section .image-banner {
    height: 250px;
  }
  .G-category-cards-section .image-banner img{
    
    object-fit: cover;
  }
}

.subtitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}
.faqs-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 4rem;
  margin-top: 2rem;
}
@media screen and (max-width: 768px) {
  .faqs-wrapper {
    grid-template-columns: 1fr;
  }
}
.faq-item {
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
}

.faq-item:hover {
  border-color: var(--gl-primary);
}

.faq-item.active {
  border-color: transparent;
}

.question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  transition: background-color var(--gl-transition-fast);
}

[dir="rtl"] .question {
  text-align: right;
}

.question-text {
  flex: 1;
}

.question-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gl-subheading);
  background-color: var(--gl-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: unset;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .answer {
  max-height: 500px;
}

.faq-content-inner {
  padding: 1.25rem 1.5rem;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  opacity: 0.8;
}

.gl-brands-section .main-title {
  text-align: center;
}

.brands-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 100%;
  flex-shrink: 0;
  gap: clamp(30px, 6vw, 80px);
}

.brands-track {
  animation: gl-marquee-ltr var(--scroll-speed, 30s) linear infinite;
}

[dir="rtl"] .brands-track {
  animation: gl-marquee-rtl var(--scroll-speed, 30s) linear infinite;
}

.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}

@keyframes gl-marquee-ltr {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes gl-marquee-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}


.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.brand-item:hover {
  transform: scale(1.05);
  opacity: 1;
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--gl-font-heading, Georgia, serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gl-heading);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .brands-track {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .brand-item {
    width: 120px;
    height: 60px;
  }

  .brands-track {
    gap: 25px;
  }
}

.cart-page {
  color: var(--gl-heading);
}

.gl-cart-table td,
.gl-cart-table thead th {
  color: var(--gl-heading);
}

.gl-cart-table thead th {
  border-bottom: 0;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.gl-cart-table tbody tr {
  border: 1px solid var(--gl-border);
  border-radius: 8px;
}

.gl-cart-table tbody td {
  border: 0;
  padding: 1rem;
  vertical-align: middle;
}

.gl-cart-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-page .gl-cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.gl-cart-item-info div a {
  font-size: 16px;
  font-weight: 500;
}

.gl-cart-summary {
  padding: 1rem;
  border-radius: 12px;
  position: sticky;
  background-color: transparent;
  top: 2rem;
  border: 1px solid var(--gl-border);
}

.gl-cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.gl-cart-summary-row:last-child {
  border-bottom: 0;
}

.gl-cart-summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gl-border);
}

.cart-page .btn-remove {
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: var(--gl-heading);
  background-color: #8480802e;
}

.cart-page .btn-coupon {
  padding: 10px 16px;
  background-color: transparent;
  border: 1px solid var(--gl-primary);
  border-radius: 8px;
  color: var(--gl-primary);
}

@media (max-width: 768px) {
  .gl-cart-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gl-cart-summary {
    position: unset;
  }

  .gl-cart-table thead {
    display: none;
  }

  .gl-cart-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: 12px;
  }

  .gl-cart-table tbody td {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gl-border-soft);
  }

  .gl-cart-table tbody td:last-child {
    border-bottom: 0;
  }

  .gl-cart-table tbody td:first-child,
  .gl-cart-table tbody td:last-child {
    border-radius: 0;
  }

  .gl-cart-item-info {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cart-page .gl-cart-item-image {
    width: 60px;
    height: 60px;
  }
}
.gl-cart-qty-total {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: space-between;
}

.gl-cart-item-total-mobile {
  display: none;
}
.gl-cart-qty-total::before {
  content: none;
}
@media (max-width: 768px) {
  .gl-cart-item-total-mobile {
    display: inline;
  }

  .gl-cart-item-total-desktop {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .gl-cart-table tbody td:first-child {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
  }

  .gl-cart-item-info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 70%;
  }

  .gl-cart-item-info > div {
    flex: 1;
  }

  .gl-cart-table tbody td:last-child {
    position: absolute;
    left: 12px;
    right: auto;
    top: 12px;
    display: block;
    border: none;
    padding: 0;
  }
  [dir="ltr"] .gl-cart-table tbody td:last-child {
    right: 12px;
    left: auto;
  }

  .gl-cart-table tbody tr {
    position: relative;
  }
  .gl-cart-item-info div a,
  .price-cart {
    font-size: 14px;
    font-weight: 500;
  }
}

#gl-cart-empty .btn-search,
.gl-checkout {
  background-color: var(--gl-primary) !important;
  color: var(--gl-subheading) !important;
  border-radius: 8px;
}


.sharry-contact-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.sharry-contact-section__container {
  max-width: var(--gl-container, 1200px);
  margin-inline: auto;
  padding-inline: 1rem;
}

.sharry-contact-section__shell {
  max-width: 920px;
  margin-inline: auto;
}

.sharry-contact-section--card .sharry-contact-section__shell {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--gl-surface, #fff);
  border: 1px solid var(--gl-border, #e8e0e4);
  border-radius: var(--gl-radius-lg, 20px);
  box-shadow: var(--gl-box-shadow, 0 12px 30px rgba(0, 0, 0, 0.08));
}

.sharry-contact-section__title {
  margin: 0;
  color: var(--gl-heading, currentColor);
  font-family: var(--gl-font-heading, inherit);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
}

.sharry-contact-section__intro {
  margin: 0.75rem 0 0;
  color: var(--gl-muted, #766a70);
  line-height: 1.8;
}

.sharry-contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sharry-contact-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sharry-contact-form__field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.sharry-contact-form__field--full,
.sharry-contact-form__field--checkbox {
  grid-column: 1 / -1;
}

.sharry-contact-form__field--checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sharry-contact-form__label,
.sharry-contact-form__address-item span {
  color: var(--gl-subheading, currentColor);
  font-size: 0.88rem;
  font-weight: 600;
}

.sharry-contact-form__control {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  color: var(--gl-text, currentColor);
  background: var(--gl-bg, #fff);
  border: 1px solid var(--gl-border, #e8e0e4);
  border-radius: var(--gl-radius-sm, 8px);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sharry-contact-form__control:focus {
  border-color: var(--gl-primary, #3d1aea);
  outline: 2px solid var(--gl-primary, #3d1aea);
  outline-offset: 2px;
}

.sharry-contact-form__textarea {
  min-height: 130px;
  resize: vertical;
}

.sharry-contact-form__phone {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr);
  gap: 0.5rem;
}

.sharry-contact-form__address-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.sharry-contact-form__address-item {
  display: grid;
  gap: 0.4rem;
}

.sharry-contact-form__notice {
  margin: 0;
  color: var(--gl-muted, #766a70);
  font-size: 0.82rem;
}

.sharry-contact-form__submit {
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  color: #fff;
  background: var(--gl-primary, #3d1aea);
  border: 0;
  border-radius: var(--gl-radius-sm, 8px);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sharry-contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.sharry-contact-form__feedback {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--gl-radius-sm, 8px);
  font-size: 0.9rem;
}

.sharry-contact-form__feedback.is-success {
  color: #166534;
  background: #dcfce7;
}

.sharry-contact-form__feedback.is-error {
  color: #991b1b;
  background: #fee2e2;
}

.sharry-contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

@media (max-width: 700px) {
  .sharry-contact-form__fields,
  .sharry-contact-form__address-grid {
    grid-template-columns: 1fr;
  }

  .sharry-contact-form__phone {
    grid-template-columns: 7rem minmax(0, 1fr);
  }
}


.sharry-contact-form__catalog-picker {
  position: relative;
}

.sharry-contact-form__catalog-selected,
.sharry-contact-form__catalog-results button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sharry-contact-form__catalog-selected {
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--gl-border, #e5e7eb);
  border-radius: var(--gl-radius-sm, 8px);
  background: var(--gl-bg, #fff);
}

.sharry-contact-form__catalog-selected img,
.sharry-contact-form__catalog-results img {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: var(--gl-radius-sm, 8px);
  object-fit: cover;
}

.sharry-contact-form__catalog-selected span,
.sharry-contact-form__catalog-results span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sharry-contact-form__catalog-selected button {
  border: 0;
  background: transparent;
  color: var(--gl-primary);
  cursor: pointer;
}

.sharry-contact-form__catalog-results {
  position: absolute;
  z-index: 30;
  inset-inline: 0;
  top: calc(100% + 0.25rem);
  max-height: 15rem;
  overflow-y: auto;
  border: 1px solid var(--gl-border, #e5e7eb);
  border-radius: var(--gl-radius-sm, 8px);
  background: var(--gl-bg, #fff);
  box-shadow: var(--gl-shadow-md);
}

.sharry-contact-form__catalog-results button,
.sharry-contact-form__catalog-results p {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--gl-subheading);
  text-align: start;
}

.sharry-contact-form__catalog-results button {
  cursor: pointer;
}

.sharry-contact-form__catalog-results button:hover {
  background: var(--gl-bg-alt);
}
.featured-categories .heading { 
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--gl-heading);
}
.featured-categories .categories-wrapper {
  display: grid;
  grid-template-columns: repeat(8,1fr);
  align-items: center;
  justify-content: center;
  gap: 16px 8px;
  padding:30px 0px;
}
.featured-categories .cate-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--gl-heading);
  transition: all 0.3s ease;
  transform: translateY(0);
}

.featured-categories .cate-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background-color: var(--gl-subheading);
  height: 60px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  transform: scale(1);
}

.featured-categories .cate-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.featured-categories .cate-item .cate-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.featured-categories .cate-item:hover {
  transform: scale(1.05) translateY(-2px);
  z-index: 10;
}

.featured-categories .cate-item:hover::before {
  opacity: 1;
}

.featured-categories .cate-item:hover .cate-image {
  opacity: 1;
  transform: scale(1);
}

.featured-categories .cate-item:hover .cate-name {
  opacity: 0;
  transform: translateY(-10px);
}

.featured-categories .cate-item.no-image:hover {
  transform: scale(1.05) translateY(-2px);
}

.featured-categories .cate-item.no-image:hover::before {
  opacity: 0;
}

.featured-categories .cate-item.no-image:hover .cate-image {
  opacity: 0;
  transform: scale(0.8);
}

.featured-categories .cate-item.no-image:hover .cate-name {
  opacity: 1;
  transform: translateY(0);
}
/* --- وضع "الاسم فقط" (Text Only) --- */
.featured-categories .cate-item.display-text_only .cate-image {
  display: none !important;
}
.featured-categories .cate-item.display-text_only .cate-name {
  opacity: 1 !important;
  transform: translateY(0) !important;
}



.featured-categories .cate-item.display-image_only .cate-name {
  display: none !important;
}
.featured-categories .cate-item.display-image_only .cate-image {
  opacity: 1 !important;
  transform: scale(1) !important;
}
.featured-categories .cate-item.display-image_only::before {
  opacity: 0 !important;
}

.featured-categories .cate-item.display-image_only.no-image .cate-name {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.featured-categories .cate-item.display-image_only.no-image .cate-image {
  display: none !important;
}

@media (max-width: 1024px) {
    .featured-categories .categories-wrapper {
        grid-template-columns: repeat(6,1fr);
        padding: 30px 10px;
    }
}
@media (max-width: 768px) {
  .featured-categories .categories-wrapper {
    grid-template-columns: repeat(3,1fr);
  }
  .featured-categories .cate-name {
    font-size: 15px;
  }
  .featured-categories .cate-item:hover {
    transform: scale(1.02) translateY(-1px);
  }
  .featured-categories .heading { 
    font-size: 20px;
}
}

.featured-products .swiper-pagination {
    bottom: 0;
    margin-top: 20px;
    position: relative;
    z-index: 10;
  }

.featured-products   .swiper-pagination-bullet {
    background: #E8B3B9;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 4px;
  }

 .featured-products  .swiper-pagination-bullet-active {
    background: var(--gl-primary);
  }

 .featured-products  .swiper-button-next,
 .featured-products  .swiper-button-prev {
    color: var(--gl-primary);
    width: 40px;
    height: 40px;
    background: var(--gl-subheading);
    border: 1px solid var(--gl-primary);
    border-radius: 4px;
    z-index: 10;
    position: absolute;
    top: 25px !important;
  }
 .featured-products  .swiper-button-next:hover,
 .featured-products  .swiper-button-prev:hover {
    background-color: var(--gl-primary);
    color: var(--gl-subheading);
 }

.featured-products   .swiper-button-next {
    left: 3px !important;
  }

 .featured-products  .swiper-button-prev {
    left: 60px !important;
    right: auto !important;
  }

  html[dir="ltr"] .featured-products  .swiper-button-next {
    right: 3px !important;
    left: auto !important;
  }

  html[dir="ltr"] .featured-products .swiper-button-prev {
    right: 60px !important;
    left: auto !important;
  }
 .featured-products .featured-products-swiper  .swiper-button-next  svg ,
 .featured-products .featured-products-swiper  .swiper-button-prev  svg {
    width: 20% !important;
  }
.featured-products   .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
  }



.highlighted-text {
  position: relative;
  display: inline-block;
}

.highlighted-img {
  position: absolute;
  bottom:-10px;
  left: -23px;
   max-width  : 120% !important;

  z-index: -1;
  object-fit: fill;
  pointer-events: none;
}

.hero-content.hero-content-left {
  width: 35% !important;
  left: 20% !important;
}
.hero-content.hero-content-left  p{
  width: 400px !important;
}

.hero-content.hero-content-center {
  text-align: center;
}

.hero-content.hero-content-right {
  text-align: right;
}
/* .hero-content.hero-content-right h1 ,.hero-content.hero-content-right p{
  width: 50% !important;
}
html[dir="ltr"] .hero-content.hero-content-right h1 ,.hero-content.hero-content-right p{
  width: 100% !important;
} */

.hero-banners {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0px !important;
}
  .hero-banners {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .hero-banners .main-banner {
    width: 100%;
    /* height: 580px; */
  }

  .hero-banners .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .hero-banners .swiper-slide .banner-image {
    width: 100%;
    height: 100%;
  }

  .hero-banners .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 10;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-banners .hero-content.has-container {
  max-width: 1200px;
}

.hero-banners .hero-content.full-width {
  max-width: none;
}

  .hero-banners .hero-content p {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    margin-block: 16px;

  }

  .hero-banners .hero-content h1 {
    font-size: 56px;
    font-weight: 700;
  }

  .hero-banners .gl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    width: fit-content;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 16px;
    font-weight: 700;
  }


  .hero-banners .swiper-pagination-bullet {
    background: #e8b3b9;
    opacity: 0.5;
    width: 25px;
      border-radius: 4px;

    transition: all 0.3s ease;
  }

  .hero-banners .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gl-primary, #CE5A67);
   width: 25px;
  border-radius: 4px;
  }
@media  (max-width: 768px) {
  .hero-banners .main-banner {
    /* height: 400px; */
  }

  .hero-banners .hero-content h1 {
    font-size: 32px;
  }

  .hero-banners .hero-content p {
    font-size: 16px;
  }

  .hero-content{
    text-align: center !important;
     
  }
  .hero-content.hero-content-left,
  .hero-content.hero-content-right {  
    left: 50% !important;
    width: 90% !important;
    transform: translate(-50%, -50%);
  }
  .hero-content.hero-content-left  p{
  width: 100% !important;
}
.hero-banners .banner-logo-wrapper{
  display: flex;
  justify-content: center;
}
}

.hero-banners .hero-content.content-pos-y-top {
  top: 10% !important;
  transform: translateY(0%) !important;
}

.hero-banners .hero-content.content-pos-y-center {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.hero-banners .hero-content.content-pos-y-bottom {
  top: auto !important;
  bottom: 10% !important;
  transform: translateY(0%) !important;
}

.hero-banners .hero-content.hero-content-center.content-pos-y-top,
.hero-banners .hero-content.hero-content-left.content-pos-y-top,
.hero-banners .hero-content.hero-content-right.content-pos-y-top {
  transform: translateX(-50%) !important;
}

.hero-banners .hero-content.hero-content-center.content-pos-y-center,
.hero-banners .hero-content.hero-content-left.content-pos-y-center,
.hero-banners .hero-content.hero-content-right.content-pos-y-center {
  transform: translate(-50%, -50%) !important;
}

.hero-banners .hero-content.hero-content-center.content-pos-y-bottom,
.hero-banners .hero-content.hero-content-left.content-pos-y-bottom,
.hero-banners .hero-content.hero-content-right.content-pos-y-bottom {
  transform: translateX(-50%) !important;
}


.mini-banners-grid {
    display: grid;
    gap: 16px;
    overflow: hidden;
  }

  .mini-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
  }

  .mini-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
  }

  .mini-banner-content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    box-sizing: border-box;
    width: calc(100% - 48px); /* إبقاء هامش مريح من حواف البانر */
    max-width: 600px;
  }

  .mini-banner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .mini-banner-title {
    color: var(--gl-subheading);
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
  }

  .mini-banner-subtitle {
    color: var(--gl-subheading);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
  }

  .mini-banner-btn-wrapper {
    width: 100%;
  }

  .mini-banner-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    /* background-color: var(--gl-primary); */
    /* color: var(--gl-subheading); */
  }

  /* .mini-banner-btn:hover {
    color: var(--gl-subheading) !important;
  } */

  /* 1 item */
  .mini-banners-grid:has(.mini-banner:nth-child(1)):not(:has(.mini-banner:nth-child(2))) {
    grid-template-columns: 1fr;
  }
  .mini-banners-grid:has(.mini-banner:nth-child(1)):not(:has(.mini-banner:nth-child(2))) .mini-banner {
    height: 700px;
  }

  /* 2 items */
  .mini-banners-grid:has(.mini-banner:nth-child(2)):not(:has(.mini-banner:nth-child(3))) {
    grid-template-columns: 1fr 1fr;
  }
  .mini-banners-grid:has(.mini-banner:nth-child(2)):not(:has(.mini-banner:nth-child(3))) .mini-banner {
    height: 700px;
  }

  /* 3 items */
  .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4))) {
    grid-template-columns: 1fr 1fr;
  }
  .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4))) .mini-banner:nth-child(1) {
    grid-row: span 2;
    height: 715px;
  }
  .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4)))
    .mini-banner:nth-child(2)
    .mini-banner-title,
  .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4)))
    .mini-banner:nth-child(3)
    .mini-banner-title {
    font-size: 35px;
  }
  .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4))) .mini-banner:nth-child(2),
  .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4))) .mini-banner:nth-child(3) {
    height: 350px;
  }

  /* 4 items */
  .mini-banners-grid:has(.mini-banner:nth-child(4)):not(:has(.mini-banner:nth-child(5))) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .mini-banners-grid:has(.mini-banner:nth-child(4)):not(:has(.mini-banner:nth-child(5))) .mini-banner-title {
    font-size: 35px;
  }
  .mini-banners-grid:has(.mini-banner:nth-child(4)):not(:has(.mini-banner:nth-child(5))) .mini-banner {
    height: 350px;
  }

  /* Mobile */
  @media (max-width: 768px) {
    .mini-banner-content {
      width: calc(100% - 32px);
      padding: 16px;
    }
    .mini-banner-title {
      font-size: 32px;
    }
    .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4)))
      .mini-banner:nth-child(2)
      .mini-banner-title,
    .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4)))
      .mini-banner:nth-child(3)
      .mini-banner-title {
      font-size: 24px;
    }

    .mini-banners-grid:has(.mini-banner:nth-child(4)):not(:has(.mini-banner:nth-child(5))) .mini-banner-title {
      font-size: 24px;
    }
    .mini-banners-grid,
    .mini-banners-grid:has(.mini-banner:nth-child(1)):not(:has(.mini-banner:nth-child(2))),
    .mini-banners-grid:has(.mini-banner:nth-child(2)):not(:has(.mini-banner:nth-child(3))),
    .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4))),
    .mini-banners-grid:has(.mini-banner:nth-child(4)):not(:has(.mini-banner:nth-child(5))) {
      grid-template-columns: 1fr;
    }

    .mini-banners-grid .mini-banner,
    .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4))) .mini-banner:nth-child(1),
    .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4))) .mini-banner:nth-child(2),
    .mini-banners-grid:has(.mini-banner:nth-child(3)):not(:has(.mini-banner:nth-child(4))) .mini-banner:nth-child(3),
    .mini-banners-grid:has(.mini-banner:nth-child(4)):not(:has(.mini-banner:nth-child(5))) .mini-banner {
      height: 230px !important;
      grid-row: auto !important;
    }
  .mini-banner-content {
    left: 0 !important;
    transform: translateY(-50%) !important; 
    top: var(--pos-y-mobile) !important;
    width: 100% !important;
    padding: 16px !important;
  }

  }
.gl-filter-sidebar {
  position: sticky;
  top: 0px;
  color: var(--gl-heading);
  background-color: #f9f9f9;
  padding: 16px;
}

.gl-filter-sidebar .gl-filter-sidebar-header {
  margin-bottom: 12px;
}

.gl-filter-sidebar .gl-filter-group-title {
  font-size: 16px;
  font-weight: 500;
  border: none;
  padding: 0;
  margin: 0;
}

.gl-filter-sidebar .clear-filters-hidden {
  font-size: 12px;
  width: 100%;
  border: 1px solid var(--gl-heading);
  background-color: var(--gl-subheading);
  color: var(--gl-heading);
  padding-block: 12px;
  border-radius: 8px;
  margin-top: 20px;
  text-decoration: none;
  display: block !important;
}

.gl-filter-sidebar .gl-filter-groups .all-group {
  border-bottom: none;
  margin-bottom: 0px;
  padding-bottom: 20px;
}

.gl-filter-groups .gl-filter-group-list,
.gl-filter-group-list .gl-filter-option,
.gl-filter-label {
  color: var(--gl-heading);
  opacity: 0.7;
  font-size: 14px;
  font-weight: 400;
}

.gl-filter-option:hover {
  color: var(--gl-heading);
  opacity: 1;
}

.gl-filter-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.gl-filter-toggle {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--gl-heading);
}

.gl-filter-toggle svg {
  transition: transform 0.2s ease;
  transform: rotate(0deg);
}

.gl-filter-group.collapsed .gl-filter-toggle svg {
  transform: rotate(-90deg);
}

.gl-products-area .gl-toolbar {
  background-color: #fefefe;
  padding-block: 8px;
}

.gl-toolbar-sort .gl-select {
  color: var(--gl-heading);
  padding: 10px 16px 10px 8px;
  color: var(--gl-heading);
  border: none;
  border-radius: 0px;
}

.gl-toolbar-sort .gl-sort-label {
  font-size: 14px;
  opacity: 0.7;
  color: var(--gl-heading);
}

.gl-toolbar-sort .gl-select:focus {
  border: none;
}

.gl-toolbar-search {
  flex: 1;
  max-width: 360px;
}

.gl-product-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-sm);
  background: #fff;
  color: var(--gl-heading);
}

.gl-product-search-input:focus {
  border-color: var(--gl-primary);
  outline: none;
}

.gl-products-area .gl-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Horizontal orientation - single column layout */
.gl-products-area .gl-products-grid[data-orientation="horizontal"],
.gl-category-layout .gl-products-grid[data-orientation="horizontal"] {
  grid-template-columns: 1fr !important;
}

/* Orientation toggle buttons */
.gl-orientation-toggle {
  display: flex;
  gap: 4px;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 2px;
}

.gl-orientation-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--gl-heading);
  opacity: 0.7;
}

.gl-orientation-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

.gl-orientation-btn.active {
  background: var(--gl-primary);
  color: var(--gl-subheading);
  opacity: 1;
}
.gl-mobile-filter-toggle {
  display: none;
}
.gl-mobile-close {
  display: none;
}
 .gl-toolbar-count {
    display: none;
  }
@media (max-width: 768px) {
  .gl-category-layout {
    grid-template-columns: 1fr;
  }

  .gl-products-area .gl-toolbar {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
  }
  .gl-toolbar-count {
    display: none;
  }

  .gl-mobile-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: none;
    border-radius: 4px;
    color: var(--gl-heading);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .gl-mobile-filter-toggle:hover {
    background-color: var(--gl-heading);
    color: var(--gl-subheading);
  }

  .gl-mobile-filter-toggle svg {
    flex-shrink: 0;
  }

  .gl-toolbar .gl-toolbar-sort {
    width: fit-content;
    display: flex;
    align-items: center;
  }

  .gl-toolbar-search {
    flex: 1;
    min-width: 0;
    display: none;
  }

  .gl-toolbar-sort .gl-select {
    padding: 4px;
    width: 100px;
  }

  /* Mobile filter sidebar overlay */
  .gl-filter-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 55vh;
    background-color: #f9f9f9;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .gl-filter-sidebar.active {
    right: 0;
  }

  /* Overlay backdrop */
  .gl-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .gl-filter-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Close button for mobile */
  .gl-filter-sidebar .gl-mobile-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gl-heading);
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  .gl-filter-sidebar .gl-mobile-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .gl-filter-sidebar .gl-filter-sidebar-header {
    padding-right: 48px; /* Space for close button */
    margin-bottom: 12px;
  }
}

.gl-promo-card-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gl-promo-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gl-promo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.gl-promo-card-img-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f0e0e8;
}

.gl-promo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
}

.gl-promo-card-content {
  position: absolute;
  bottom: 2rem;
  inset-inline-start: 1.5rem;
  inset-inline-end: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.gl-promo-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gl-subheading);
}

.gl-promo-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  background-color: var(--gl-primary);
  color: var(--gl-subheading);
}

.gl-promo-card-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .gl-promo-card {
    display: none;
  }
}

/* ===================================================================
   Custom Product Card Design
   Matches the design from the reference image
   =================================================================== */

/* Base vertical Custom Product Card */
.gl-product-card-vertical-custom {
    background: transparent;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.gl-product-card-vertical-custom:hover {
    transform: translateY(-2px);
}

/* Product Image Container */
.gl-product-card-vertical-custom .gl-product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    height: 314px;
    width: 100%;
}

.gl-product-card-vertical-custom .gl-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gl-product-card-vertical-custom:hover .gl-product-card-image img {
    transform: scale(1.1);
}

/* Brand Logo - Top Right */
.gl-product-card-vertical-custom .gl-product-card-brand-logo {
    position: absolute;
    top: 4px;
    left: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform 0.3s ease;
    background-color: transparent;
}
.gl-product-card-vertical-custom .gl-product-card-brand-logo img {
    object-fit: contain;
}

.gl-product-card-vertical-custom .gl-product-card-brand-logo:hover {
    transform: scale(1.1);
}

[dir="rtl"] .gl-product-card-vertical-custom .gl-product-card-brand-logo {
    left: auto;
    right: 10px;
}

/* Badges - Top Left */
.gl-product-card-vertical-badges,
.gl-product-card-horizontal-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gl-product-card-vertical-custom .gl-product-card-horizontal-badges {
    display: none;
}

[dir="rtl"] .gl-product-card-vertical-badges,
[dir="rtl"] .gl-product-card-horizontal-badges {
    right: auto;
    left: 10px;
}

.gl-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

 .gl-badge-new {
    background: #4CAF50;
    color: white;
}

 .gl-badge-sale {
    background: #B80015;
    color: white;
}

/* Hover Icons - Centered on Image */
.gl-product-card-vertical-custom .gl-product-card-hover-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 4;
}

.gl-product-card-vertical-custom:hover .gl-product-card-hover-icons {
    opacity: 1;
    visibility: visible;
}

.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__quick-view-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gl-subheading);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__quick-view-btn.is-active,
.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__quick-view-btn:hover {
    background: var(--gl-primary);
}

.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__quick-view-btn svg {
    transition: color 0.3s ease;
    color: var(--gl-heading);
}

.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__quick-view-btn.is-active svg,
.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__quick-view-btn:hover svg {
    color: var(--gl-subheading);
}
.gl-product-card-vertical-custom  .gl-product-card-action-btn:hover svg path {
    stroke: var(--gl-subheading);
}

.gl-hover-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: #333;
}

.gl-hover-icon-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gl-hover-icon-btn svg {
    width: 18px;
    height: 18px;
}

/* Add to Cart Button - Bottom Overlay */
.gl-product-card-vertical-custom .gl-product-card-add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 12px 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    align-items: center;
    gap: 8px;
}

.gl-product-card-vertical-custom:hover .gl-product-card-add-to-cart {
    transform: translateY(0);
}

.gl-product-card-vertical-custom .gl-add-to-cart-btn , 
.gl-product-card-horizontal-custom .gl-add-to-cart-btn  {
    width: 100%;
    background: var(--gl-primary);
    color: var(--gl-subheading);
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.gl-product-card-vertical-custom .gl-add-to-cart-btn:hover , 
.gl-product-card-horizontal-custom .gl-add-to-cart-btn:hover  {
    transform: translateY(-2px) scale(1.05);
}

.gl-product-card-vertical-custom .gl-add-to-cart-btn svg ,
.gl-product-card-horizontal-custom .gl-add-to-cart-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Product Card Body */
.gl-product-card-vertical-custom .gl-product-card-body {
    padding: 16px;
    background: var(--gl-subheading);
}

/* Product Title */

.gl-product-card-horizontal-custom .gl-product-card-title a,
.gl-product-card-vertical-custom .gl-product-card-title a {
    font-size: 16px;
    font-weight: bold;
    color: var(--gl-heading);
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;  
}
.gl-product-card-horizontal-custom .gl-product-card-title a:hover,
.gl-product-card-vertical-custom .gl-product-card-title a:hover {
    color: var(--gl-primary);
}

/* Product Price */
.gl-product-card-vertical-custom .gl-product-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.gl-product-card-vertical-custom .gl-product-card-price .current {
    font-size: 20px;
    font-weight: 500;
    color: var(--gl-primary);
}

.gl-product-card-vertical-custom .gl-product-card-price .original {
    font-size: 16px;
    color: var(--gl-heading);
    font-weight: 500;
    opacity: 0.6;
    text-decoration: line-through;
}

.gl-product-card-horizontal-custom {
    display: grid;
    grid-template-columns: minmax(120px, 42%) 1fr;
    align-items: stretch;
    background: var(--gl-subheading);
}


.gl-product-card-horizontal-custom .gl-product-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.gl-product-card-horizontal-custom .gl-product-card-title a {
    font-size: 20px;
}

.gl-product-card-horizontal-custom .gl-product-card-price .current {
    font-size: 18px;
}

.gl-product-card-horizontal-custom .gl-product-card-add-to-cart {
    padding: 0 10px 10px;
}


/* Animation for entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base horizontal Custom Product Card */
.gl-product-card-horizontal-custom {
    background: transparent;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.gl-product-card-horizontal-custom .gl-product-card-image {
    width: 40%;
    height: 290px;
    background: 8px ;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.gl-product-card-horizontal-custom .gl-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.gl-product-card-horizontal-custom .gl-product-card-brand-logo {
    display: none;
}

.gl-product-card-vertical-custom .action-horizontal-wrapper,
.gl-product-card-horizontal-custom .gl-product-card-vertical-badges {
    display: none;
}
.gl-product-card-horizontal-custom .gl-product-card-body{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
    height: 100%;
}
.gl-product-card-horizontal-custom .action-horizontal-wrapper {
    display: flex;
    width: 100%;
    gap: 16px;
}
.gl-product-card-horizontal-custom .gl-product-card-price .current {
    font-size: 20px;
    font-weight: bold;
    color: var(--gl-primary);
    margin-inline-end: 4px;
}
.gl-product-card-horizontal-custom .gl-product-card-price .original {
    font-size: 16px;
    font-weight: 400;
    color: var(--gl-heading);
    opacity: 0.6;
    text-decoration: line-through;
}
.gl-product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.gl-product-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gl-product-card-rating .star {
  width: 18px;
  height: 18px;
}

.gl-product-card-rating svg {
  width: 100%;
  height: 100%;
}

.gl-product-card-rating .count {
  margin-left: 6px;
  font-size: 13px;
  color: #777;
}

.btn-text-add-to-cart {
    display: block;
}

    /* .gl-product-card-vertical-custom .gl-product-card-rating {
        display: none;
    } */

/* Responsive Design */
@media (max-width: 768px) {
    .gl-product-card-vertical-custom .gl-product-card-image {
        height: 217px;
        overflow: hidden;
    }

    .gl-product-card-vertical-custom .gl-product-card-hover-icons {
        gap: 8px;
        visibility: visible;
        opacity: 1;
    }

    .gl-hover-icon-btn {
        width: 38px;
        height: 38px;
    }

    .gl-hover-icon-btn svg {
        width: 16px;
        height: 16px;
    }

    .gl-product-card-vertical-custom .gl-product-card-body {
        padding: 12px;
    }
    .gl-product-card-horizontal-custom .gl-product-card-title a {
        font-size: 16px;
    }

    .gl-product-card-vertical-custom .gl-product-card-title a {
        font-size: 14px;
    }
    .gl-product-card-horizontal-custom .gl-product-card-price .current,
    .gl-product-card-vertical-custom .gl-product-card-price .current {
        font-size: 16px;
    }

    .gl-product-card-vertical-custom .gl-product-card-add-to-cart {
        transform: translateY(0);
    }

    .gl-product-card-horizontal-custom {
        grid-template-columns: minmax(110px, 40%) 1fr;
    }
     .btn-text-add-to-cart{
        display: none;
    }
}

@media (max-width: 480px) {
    .gl-product-card-vertical-custom .gl-product-card-brand-logo {
        width: 35px;
        height: 35px;
    }

    .gl-product-card-vertical-custom .gl-product-card-brand-logo svg {
        width: 35px;
        height: 35px;
    }

    .gl-hover-icon-btn {
        width: 34px;
        height: 34px;
    }

    .gl-hover-icon-btn svg {
        width: 14px;
        height: 14px;
    }

    .gl-product-card-vertical-custom .gl-add-to-cart-btn {
        font-size: 13px;
        padding: 10px 12px;
    }

    .gl-product-card-vertical-custom .gl-add-to-cart-btn svg {
        width: 18px;
    }

    .gl-product-card-horizontal-custom {
        grid-template-columns: 1fr;
    }
}
.offer-timer ,
.offer-timer-values,
.offer-labels {
    display: flex;
    margin-bottom: 8px;
    width: 100%;
    gap: 8px;
}
.offer-timer {
    flex-wrap: wrap;
}
.offer-timer-values {
    flex: 1;
    border-inline-end: 1px solid #C4C4C4 ;
    padding-inline-end: 14px;
}
.offer-timer-col {
    padding-inline-start: 14px;
}
.offer-timer-values-end,
.timer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.offer-timer-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--gl-heading);
    opacity: 0.8;
    margin-bottom: 8px;
}
.countdown-days ,
.countdown-hours ,
.countdown-minutes ,
.offer-timer-end-day {
    font-size: 20px;
    font-weight: bold;
   color: var(--gl-heading);
}
.offer-timer-end-month,
.offer-timer-unit {
   font-size: 14px;
    font-weight: 500;
    color: var(--gl-heading);
    opacity: 0.6;
   
}
.gl-product-card-vertical-custom .gl-product-card-rating  {
    display: none;
}
.gl-product-card-vertical-custom .offer-timer {
    display: none !important;
}

    /* Product Category */
    .gl-product-card-category {
        font-size: 14px;
        font-weight: 400;
        color: var(--gl-primary);
        margin-bottom: 4px;
        text-transform: uppercase;
    }
.gl-product-payment-methods {
  direction: rtl;
  width: 100%;
  margin: 15px 0;
}

.payment-methods-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.payment-methods-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.payment-method-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: center;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-method-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.payment-method-header {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.payment-method-header img {
  max-height: 32px;
  max-width: 100px;
  object-fit: contain;
}

.payment-method-name {
  font-weight: bold;
  font-size: 15px;
  color: #1f2937;
}

.payment-method-desc {
  font-size: 16px;
  color: #4b5563;
  margin: 0 0 10px 0;
  line-height: 1.5;
  font-weight:500
}

.payment-method-more {
  font-size: 12px;
  color: #e57373;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.payment-method-more:hover {
  opacity: 0.8;
}

.product-single .gl-product-reviews {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
  color: var(--gl-heading);
}

.product-single .gl-product-reviews [hidden] {
  display: none !important;
}

.gl-product-reviews-heading h3 {
  margin: 0;
  color: var(--gl-heading);
  font-size: 1.5rem;
}

.gl-product-review-summary {
  display: grid;
  grid-template-columns: minmax(170px, 0.65fr) minmax(240px, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg, 20px);
  background: var(--gl-bg-alt, var(--gl-bg));
}

.gl-product-review-overview {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
}

.gl-product-review-average {
  color: var(--gl-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.gl-product-review-stars,
.gl-product-review-card-stars {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--gl-border);
  letter-spacing: 0.05rem;
}

.gl-product-review-stars {
  font-size: 1.55rem;
}

.gl-product-review-card-stars {
  flex-shrink: 0;
  font-size: 1.1rem;
}

.gl-product-review-stars .is-filled,
.gl-product-review-card-stars .is-filled,
.gl-product-review-rating-button.is-selected {
  color: var(--gl-accent, #f59e0b);
}

.gl-product-review-feedback {
  color: var(--gl-subheading-light, var(--gl-text-light, #777));
  font-size: 0.9rem;
}

.gl-product-review-distribution {
  display: grid;
  gap: 0.65rem;
}

.gl-product-review-distribution-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  color: var(--gl-subheading, var(--gl-heading));
  font-size: 0.9rem;
}

.gl-product-review-progress {
  height: 0.55rem;
  overflow: hidden;
  border-radius: var(--gl-radius-full, 999px);
  background: var(--gl-border);
}

.gl-product-review-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gl-accent, #f59e0b);
}

.gl-product-review-actions,
.gl-product-review-empty-action,
.gl-product-review-load-more-wrap {
  display: flex;
  justify-content: center;
}

.gl-product-review-actions {
  justify-content: flex-end;
}

.gl-product-review-list {
  display: grid;
  gap: 1rem;
}

.gl-product-review-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg, 20px);
  background: var(--gl-bg, #fff);
}

.gl-product-review-card-header,
.gl-product-review-identity {
  display: flex;
  align-items: center;
}

.gl-product-review-card-header {
  justify-content: space-between;
  gap: 1rem;
}

.gl-product-review-identity {
  min-width: 0;
  gap: 0.75rem;
}

.gl-product-review-avatar {
  display: inline-flex;
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--gl-bg-alt, #f8fafc);
  color: var(--gl-subheading-light, var(--gl-text-light, #777));
  font-weight: 700;
  object-fit: cover;
}

.gl-product-review-identity h4,
.gl-product-review-card h5 {
  margin: 0;
  color: var(--gl-heading);
}

.gl-product-review-identity time {
  display: block;
  margin-top: 0.15rem;
  color: var(--gl-subheading-light, var(--gl-text-light, #777));
  font-size: 0.8rem;
}

.gl-product-review-card h5 {
  font-size: 1rem;
}

.gl-product-review-card p {
  margin: 0;
  color: var(--gl-subheading, var(--gl-heading));
  line-height: 1.7;
  white-space: pre-wrap;
}

.gl-product-review-translate {
  justify-self: start;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

.gl-product-review-attachments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gl-product-review-attachments-list a {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: var(--gl-radius-sm, 8px);
  background: var(--gl-bg-alt, #f8fafc);
}

.gl-product-review-attachments-list img,
.gl-product-review-attachments-list video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl-product-review-state {
  margin: 0;
  color: var(--gl-subheading-light, var(--gl-text-light, #777));
  text-align: center;
}

.gl-product-review-form {
  padding: 1.5rem;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg, 20px);
  background: var(--gl-bg, #fff);
}

.gl-product-review-form-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.65fr) minmax(0, 1fr);
  gap: 2rem;
}

.gl-product-review-attachments,
.gl-product-review-form-fields,
.gl-product-review-field {
  display: grid;
  gap: 0.5rem;
}

.gl-product-review-attachments {
  align-content: start;
}

.gl-product-review-attachments label,
.gl-product-review-field label,
.gl-product-review-rating-fieldset legend {
  color: var(--gl-heading);
  font-weight: 600;
}

.gl-product-review-attachments small {
  color: var(--gl-subheading-light, var(--gl-text-light, #777));
  font-size: 0.8rem;
}

.gl-product-review-form-fields {
  gap: 1rem;
}

.gl-product-review-field input,
.gl-product-review-field textarea,
.gl-product-review-attachments input[type="file"] {
  width: 100%;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-sm, 8px);
  background: var(--gl-bg, #fff);
  color: var(--gl-heading);
  font: inherit;
  padding: 0.75rem 0.9rem;
}

.gl-product-review-field input:focus,
.gl-product-review-field textarea:focus,
.gl-product-review-attachments input[type="file"]:focus,
.gl-product-review-rating-button:focus-visible {
  outline: 2px solid var(--gl-primary);
  outline-offset: 2px;
}

.gl-product-review-field textarea {
  resize: vertical;
}

.gl-product-review-rating-fieldset {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.gl-product-review-rating-picker {
  display: inline-flex;
  gap: 0.2rem;
}

.gl-product-review-rating-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gl-border);
  font-size: 2rem;
  line-height: 1;
}

.gl-product-review-form-message {
  margin: 0;
  color: #b91c1c;
  font-size: 0.9rem;
}

.gl-product-review-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .gl-product-review-summary,
  .gl-product-review-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gl-product-review-actions {
    justify-content: center;
  }

  .gl-product-review-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .gl-product-review-form-actions .gl-btn {
    flex: 1 1 100%;
  }
}
  .gl-herobanner {
    height: 500px !important;
  }
  .gl-herobanner .gl-hero-heading {
    font-size: 48px;
    font-weight: 600;
    color: var(--gl-heading);
  }
  .gl-herobanner .gl-hero-subtitle {
    font-size: 16px;
    color: var(--gl-heading);
    font-weight: 400;
    opacity: 0.7;
  }
  .gl-herobanner .gl-url-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 46px;
    font-size: 16px;
    font-weight: 600;
    transition: all var(--gl-transition);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: var(--gl-primary);
    color: var(--gl-subheading);
    border-radius: 8px;
  }

  .gl-subbanner .swiper-pagination-bullet {
    background: #e8b3b9;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 4px;
  }

  .gl-subbanner .swiper-pagination-bullet-active {
    background: var(--gl-primary);
    width: 37px;
    border-radius: 8px;
  }

  .gl-subbanner .gl-hero-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  .gl-subbanner .gl-hero-container{
    height: 100%;
  }

  @media (max-width: 768px) {
    .gl-herobanner .gl-hero-heading {
      font-size: 25px;
    }
    .gl-herobanner .gl-hero-subtitle {
      font-size: 14px;
    }
    .gl-herobanner .gl-url-button {
      padding: 12px 32px;
      font-size: 14px;
    }
  }
.gl-subbanner   .gl-highlight-word {
  color: var(--gl-primary);
}
  .gl-testimonials .testimonials-swiper {
    padding: 80px 0px 0px;
    overflow: hidden;
  }
  .gl-testimonials .swiper-wrapper {
    align-items: stretch;
  }
  .gl-testimonials .swiper-slide {
    height: auto;
    display: flex;
  }
  .gl-testimonials .testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    align-items: center;
    position: relative;
    width: 100%;
  }
  .gl-testimonials .testimonial-card .testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
  }
  .gl-testimonials .testimonial-text {
    font-size: var(--section-body-size, 16px);
    color: var(--gl-heading);
    opacity: 0.8;
    font-weight: 400;
    text-align: center;
    margin: 24px 0 0 0;
  }
  .gl-testimonials .card-rating-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .gl-testimonials .testimonial-card .testimonial-author-name {
    font-weight: 700;
    font-size: var(--section-body-size, 16px);
    color: var(--gl-heading);
  }
  .gl-testimonials .testimonial-stars {
    margin-bottom: 0px !important;
  }
  .gl-testimonials .testimonial-card .testimonial-author {
    position: absolute;
    top: -20%;
    padding-top: 0px !important;
  }
  .gl-testimonials .testimonial-author-job {
    font-size: var(--section-body-size, 14px);
    color: var(--gl-heading);
  }

  .gl-testimonials .testimonial-stars {
    margin-bottom: 16px;
    color: #cbd5e1;
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .gl-testimonials .star.filled {
    color: #f59e0b;
  }

  .gl-testimonials .swiper-pagination {
    bottom: 0;
    margin-top: 20px;
    position: relative;
    z-index: 10;
  }

  .gl-testimonials .swiper-pagination-bullet {
    background: #E8B3B9;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 4px;
  }

  .gl-testimonials .swiper-pagination-bullet-active {
    background: var(--gl-primary);
  }

  .gl-testimonials .swiper-button-next,
  .gl-testimonials .swiper-button-prev {
    color: var(--gl-primary);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
    position: absolute;
    top: 25px !important;
  }

  .gl-testimonials .swiper-button-next {
    left: 3px !important;
  }

  .gl-testimonials .swiper-button-prev {
    left: 60px !important;
    right: auto !important;
  }

  html[dir="ltr"] .gl-testimonials .swiper-button-next {
    right: 3px !important;
    left: auto !important;
  }

  html[dir="ltr"] .gl-testimonials .swiper-button-prev {
    right: 60px !important;
    left: auto !important;
  }

  .gl-testimonials svg{
    width: 20% !important;
  }
  .gl-testimonials .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
  }

