/* ==========================================================================
   1. LOADING SPINNERS & KEYFRAME ANIMATIONS
   ========================================================================== */

.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;
  vertical-align: middle;
  margin: auto;
}

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

[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);
  }
}

/* ==========================================================================
   2. CORE THEME STYLES & TYPOGRAPHY
   ========================================================================== */

/* ── Icon Font Protection ─────────────────────────────────────────── */
[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(--text);
}

body {
  font-family: var(--font-body), sans-serif !important;
  background-color: var(--bg) !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

:is(h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, label, input, textarea, select, button, figcaption, cite, small, strong, em, b, blockquote, q, pre, code, address, abbr, acronym, dfn, kbd, samp, var, del, ins, s, u, sub, sup, mark, caption, legend, article, aside, details, figure, footer, header, main, nav, section, summary, time) {
  font-family: var(--font-body), sans-serif !important;
}

[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
  font-family: var(--font-body), sans-serif;
}

p,
li,
td,
th,
span:not([class*="icon-"]):not([class*="rounded-full"]) {
  font-family: inherit;
}

/* ==========================================================================
   3. BUTTONS (PRIMARY, SECONDARY, THEME UTILITIES)
   ========================================================================== */

.primary-button,
button.primary-button,
a.primary-button {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-radius: var(--radius, 9999px) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: all 0.3s ease !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: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
  filter: brightness(1.05) !important;
}

.secondary-button,
button.secondary-button {
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
  border-radius: var(--radius, 9999px) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  padding: 10px 26px !important;
}

.secondary-button:hover,
button.secondary-button:hover {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  transform: translateY(-1px) !important;
}

/* ── Color Variable Mapping ────────────────────────────────────────── */
.bg-navyBlue {
  background: var(--primary) !important;
}

.text-navyBlue,
.hover\:text-navyBlue:hover {
  color: var(--primary) !important;
}

.border-navyBlue,
.hover\:border-navyBlue:hover {
  border-color: var(--primary) !important;
}

.bg-\[\#F1EADF\] {
  background-color: var(--secondary-text) !important;
}

/* ==========================================================================
   4. PRODUCT CARDS & GLOBAL UI ENHANCEMENTS
   ========================================================================== */

.product-card {
  border-radius: var(--radius, 12px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
  background: var(--bg) !important;
}

.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--primary) !important;
}

.product-card img {
  transition: transform 0.4s ease !important;
}

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

.product-card .line-through {
  color: var(--secondary-text) !important;
}

/* ── Search & Form Inputs ──────────────────────────────────────────── */
input[type="search"],
input[name="query"],
input[name="term"] {
  border: 1px solid var(--secondary-text) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  padding: 10px 20px !important;
}

/* ── Ratings & Badges ──────────────────────────────────────────────── */
[class*="text-amber"],
[class*="text-yellow"] {
  color: var(--accent) !important;
}

span.absolute.rounded-full {
  background-color: var(--primary) !important;
  font-size: 0.65rem !important;
}

/* ── Pagination ────────────────────────────────────────────────────── */
nav [aria-current="page"],
.pagination .active {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

/* ── Breadcrumbs & Accordions ──────────────────────────────────────── */
nav[aria-label="breadcrumb"] a:hover,
.breadcrumbs a:hover {
  color: var(--primary) !important;
}

details[open] summary,
.accordion-open {
  color: var(--primary) !important;
}

/* ── Custom Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

html {
  scroll-behavior: smooth !important;
}

.icon-heart-fill {
  color: var(--primary) !important;
}

.sidebar .active,
.sidebar a.active {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

[role="tab"][aria-selected="true"],
.tab-active {
  border-bottom-color: var(--primary) !important;
  color: var(--primary) !important;
}

.alert-success,
[class*="bg-green"] {
  background-color: #10b981 !important;
}

/* ==========================================================================
   5. COMMON UI UTILITIES & BUTTON COMPONENTS
   ========================================================================== */

.gl-container {
  max-width: var(--container, 1280px);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.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: var(--primary);
  color: var(--primary-foreground) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.gl-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  background: var(--primary);
  filter: brightness(1.08);
}

.gl-btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}

.gl-btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gl-input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius, 8px);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 14px 20px;
  background: var(--bg, #ffffff);
  color: var(--text);
}

.gl-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
}

/* ==========================================================================
   6. TRUST BADGES SECTION (.gl-trust-badges-section)
   ========================================================================== */

.gl-trust-badges-section {
  background-color: var(--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: var(--bg);
  border-radius: var(--radius, 12px);
  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(--primary);
  color: var(--primary-foreground);
  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(--text);
  margin: 0 0 4px 0;
}

.gl-trust-subtitle {
  font-size: 0.9rem;
  color: var(--secondary-text, var(--text));
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   7. 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);
  }
}

.header-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   8. JORY LIVE SEARCH MODAL (Theme Styled)
   ========================================================================== */

.jo-search-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 24px;
  overflow-y: auto;
  box-sizing: border-box;
}

.jo-search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 1;
}

.jo-search-modal.active .jo-search-backdrop {
  opacity: 1;
}

.jo-search-dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: var(--bg, #ffffff);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transform: translateY(-16px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  padding: 20px;
  box-sizing: border-box;
}

.dark .jo-search-dialog {
  background: var(--bg, #1e1e1e);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.jo-search-modal.active .jo-search-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Modal Search Bar */
.jo-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.jo-search-form {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.jo-search-icon {
  position: absolute;
  left: 16px;
  color: var(--text, #292929);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

[dir="rtl"] .jo-search-icon {
  left: auto;
  right: 16px;
}

.jo-search-input {
  width: 100% !important;
  height: 48px !important;
  padding: 0 16px 0 46px !important;
  border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  background: var(--subtle-bg, rgba(0, 0, 0, 0.025)) !important;
  color: var(--text, #292929) !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}

.dark .jo-search-input {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text, #ffffff) !important;
}

[dir="rtl"] .jo-search-input {
  padding: 0 46px 0 16px !important;
  text-align: right !important;
}

.jo-search-input:focus {
  background: var(--bg, #ffffff) !important;
  border-color: var(--primary, #505e23) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary, #505e23) 16%, transparent) !important;
}

.jo-search-form:focus-within .jo-search-icon {
  color: var(--primary, #505e23);
  opacity: 1;
}

.jo-search-input::placeholder {
  color: var(--text, #292929);
  opacity: 0.5;
  font-weight: 400;
}

.jo-search-close {
  background: var(--subtle-bg, rgba(0, 0, 0, 0.04));
  border: none;
  cursor: pointer;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text, #292929);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  box-sizing: border-box;
}

.dark .jo-search-close {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text, #ffffff);
}

.jo-search-close:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  transform: scale(1.05);
}

.jo-search-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Results Container */
.jo-search-results {
  margin-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.dark .jo-search-results {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.jo-search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 6px;
}

.jo-search-count-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary, #505e23);
  background: color-mix(in srgb, var(--primary, #505e23) 10%, transparent);
  padding: 3px 12px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.jo-search-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 4px 2px 2px;
  overscroll-behavior: contain;
  box-sizing: border-box;
}

.jo-search-list::-webkit-scrollbar {
  width: 5px;
}

.jo-search-list::-webkit-scrollbar-track {
  background: transparent;
}

.jo-search-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}

.jo-search-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 14px;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  gap: 14px;
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  box-sizing: border-box;
}

.jo-search-item:hover {
  background: color-mix(in srgb, var(--primary, #505e23) 8%, transparent);
  border-color: color-mix(in srgb, var(--primary, #505e23) 15%, transparent);
}

.jo-search-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--subtle-bg, #f4f4f5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.dark .jo-search-thumb {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.jo-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.jo-search-item:hover .jo-search-thumb img {
  transform: scale(1.06);
}

.jo-search-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.jo-search-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #292929);
  margin: 0 0 3px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.dark .jo-search-title {
  color: var(--text, #ffffff);
}

.jo-search-item:hover .jo-search-title {
  color: var(--primary, #505e23);
}

.jo-search-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary, #505e23);
  margin: 0;
  display: inline-block;
}

.jo-search-arrow {
  color: var(--text, #292929);
  opacity: 0.25;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dark .jo-search-arrow {
  color: var(--text, #ffffff);
}

.jo-search-item:hover .jo-search-arrow {
  opacity: 1;
  color: var(--primary, #505e23);
}

.jo-search-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Loading & Empty State */
.jo-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.jo-search-spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--primary, #505e23);
  border-radius: 50%;
  animation: gl-spin 0.8s linear infinite;
}

.jo-search-empty {
  text-align: center;
  padding: 36px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}

.jo-search-empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--subtle-bg, rgba(0, 0, 0, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text, #292929);
  opacity: 0.4;
  margin-bottom: 4px;
}

.jo-search-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #292929);
  margin: 0;
}

.dark .jo-search-empty-title {
  color: var(--text, #ffffff);
}

.jo-search-empty-desc {
  font-size: 13px;
  color: var(--text, #292929);
  opacity: 0.6;
  max-width: 320px;
  margin: 0;
  line-height: 1.4;
}

.dark .jo-search-empty-desc {
  color: var(--text, #ffffff);
}

/* Footer Action Button */
.jo-search-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.dark .jo-search-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.jo-search-view-all {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--primary, #505e23);
  color: var(--primary-foreground, #ffffff) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary, #505e23) 28%, transparent);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.jo-search-view-all:hover {
  box-shadow: 0 6px 20px color-mix(in srgb, var(--primary, #505e23) 40%, transparent);
  transform: translateY(-1px);
  opacity: 0.96;
}

/* ==========================================================================
   9. PAGE PRELOADER OVERLAY
   ========================================================================== */

.gl-page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.gl-page-loader.gl-hidden {
  opacity: 0;
  visibility: hidden;
}

.gl-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.gl-logo-wrap {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gl-logo-pulse 1.6s ease-in-out infinite;
}

.gl-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gl-spinner {
  display: inline-block;
  width: 44px;
  height: 44px;
  border: 3px solid #f0f0f0;
  border-top-color: var(--primary, #505e23);
  border-radius: 50%;
  animation: gl-spin 0.9s linear infinite;
}

@keyframes gl-logo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.93); }
}

@keyframes gl-progress {
  0%   { width: 0%;   opacity: 1; }
  70%  { width: 90%;  opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* ==========================================================================
   COMPARE BUTTON & STRIKE-THROUGH LINE RULES
   ========================================================================== */
.compare-cancel-line {
  display: none !important;
}

.gl-product-card-hover-icons__compare-btn.is-active .compare-cancel-line,
.gl-product-card-hover-icons__compare-btn[aria-pressed="true"] .compare-cancel-line,
.gl-gallery-compare-btn.is-active .compare-cancel-line,
.gl-gallery-compare-btn[aria-pressed="true"] .compare-cancel-line,
.gl-product-card-action-btn.is-active .compare-cancel-line,
.gl-product-card-action-btn[aria-pressed="true"] .compare-cancel-line,
[data-gl-action="compare-toggle"].is-active .compare-cancel-line,
[data-gl-action="compare-toggle"][aria-pressed="true"] .compare-cancel-line,
.compare-btn.is-active .compare-cancel-line,
.compare-btn[aria-pressed="true"] .compare-cancel-line {
  display: inline !important;
}


body :is(.gs-price, .gs-price *, .gs-pdp-price, .gs-pdp-price *, .gs-collection-card__price, .gs-category-price-range, .gs-category-price-range *, [class*=price], [class*=Price], .final-price, .regular-price, .price-label){
  font-family: var(--font-body) !important;
  direction: inherit !important;
}
.product-single {
    color: var(--text);
    padding-top: 0px !important;
    padding-bottom: 24px;

    .gl-product-payment-methods {
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px dashed var(--text-color-secondary-dark, rgba(0, 0, 0, 0.12));
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .gl-product-payment-methods .payment-methods-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-color-light);
        display: flex;
        align-items: center;
        gap: 6px;
        opacity: 0.9;
    }

    .gl-product-payment-methods .payment-methods-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .gl-product-payment-methods .payment-method-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 4px 10px;
        height: 34px;
        min-width: 44px;
        border-radius: 8px;
        border: 1px solid var(--text-color-secondary-dark, #e2e8f0);
        background-color: #ffffff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .gl-product-payment-methods .payment-method-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    }

    .gl-product-payment-methods .payment-method-item img {
        max-height: 22px;
        width: auto;
        object-fit: contain;
    }

    .gl-product-payment-methods .payment-method-item span {
        font-size: 0.75rem;
        font-weight: 600;
        color: #1e293b;
    }


    .product-detail {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(1.5rem, 1.1939rem + 1.3061vw, 2.5rem);
    }

    .product-detail .product-info {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .product-detail .product-info h1 {
        font-size: clamp(1.75rem, 1.5969rem + 0.6531vw, 2.25rem);
        font-weight: bold;
        color: var(--text);
    }

    .product-meta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .product-meta .product-meta-detail {
        display: flex;
        gap: 16px;
        color: var(--text);
        font-size: clamp(1.125rem, 1.0102rem + 0.4898vw, 1.5rem);
    }

    .product-meta .product-stock {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: clamp(1.125rem, 1.0102rem + 0.4898vw, 1.5rem);
        font-weight: 600;
    }

    .product-meta .product-stock.in-stock {
        color: var(--primary);
    }

    .product-meta .product-stock.out-of-stock {
        color: var(--text);
        opacity: 0.8;
    }

    .product-meta .rating-product {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .add-to-wishlistt[aria-pressed="true"] {
        color: red;
    }

    .product-meta .rating-product a,
    .product-share .share-label {
        font-size: clamp(1.125rem, 1.0102rem + 0.4898vw, 1.5rem);
        opacity: 0.8;
        color: var(--text);
        font-weight: 500;
    }

    .product-meta .rating-product .product-share {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .product-share a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        color: var(--text);
        transition: all 0.3s ease;
        text-decoration: none;
    }



    .product-share {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .share-dropdown {
        display: flex;
        flex-direction: row !important;
        position: static !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center;
        margin-inline-start: auto;
        gap: 12px;
        justify-content: end;
    }


    .gl-badge {
        background-color: var(--primary);
        color: var(--primary-foreground);
        padding: 4px 8px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 8px;
    }

    .share-dropdown a {
        height: 38px;
        width: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: var(--text);
        transition: all 0.2s ease;
        border: 1px solid currentColor;
        padding: 0px !important;

    }

    .share-dropdown a svg {
        width: 1rem;
        height: 1rem;

    }

    .share-dropdown a:hover {
        background: var(--bg);
        color: var(--primary);
    }

    .share-trigger svg {
        display: none !important;
    }

    .share-trigger.active svg {
        transform: rotate(180deg);
    }

    .short_description {
        font-size: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
        font-weight: 400;
        color: var(--secondary-text);
        display: flex;
        gap: 8px;
        flex-direction: column;
    }

    .short_description p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .read-more-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--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);
        }
    }

    .gl-select {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        color: var(--text);
        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;
    }

    .gl-select:hover {
        border-color: var(--primary);
    }

    .gl-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 99, 102, 241), 0.12);
    }

    .gl-select:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: #fff8fa;
    }



    .gl-product-quantity {
        display: inline-flex;
        align-items: center;
        border-radius: 28px;
        overflow: hidden;
        height: clamp(2.75rem, 2.5204rem + 0.9796vw, 3.5rem);
        margin-bottom: 0px !important;
        min-width: 286px;
        justify-content: space-between;
        background-color: color-mix(in srgb, var(--primary) 5%, var(--accent) 5%);
        padding-inline: 16px;
    }

    .gl-product-quantity button {
        height: 100%;
        border: none;
        cursor: pointer;
        font-size: 24px;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
        background-color: transparent !important;
    }

    .gl-product-quantity button:active {
        opacity: 0.7;
    }

    .gl-product-quantity input[type="number"] {
        width: 70px;
        height: 100%;
        border: none;
        background: none !important;
        text-align: center;
        font-size: 20px;
        font-weight: 500;
        color: var(--primary);
        outline: none;
        -moz-appearance: textfield;
    }

    .gl-product-quantity input[type="number"]::-webkit-outer-spin-button,
    .gl-product-quantity input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
    }

    .label-qty {
        font-size: 16px;
        font-weight: 700;
        color: var(--text);
        padding-inline: 10px;
    }

    .qty-price {
        display: flex;
        justify-content: space-between;
        margin-bottom: 24px;
        align-items: center;
    }

    .gl-product-info-price {
        display: flex;
        align-items: center;
        gap: 12px;
    }



    .gl-product-info-price .current {
        color: #DB1215;
        font-size: clamp(1.625rem, 1.5867rem + 0.1633vw, 1.75rem);
        font-weight: 500;
    }

    .gl-product-info-price .original {
        color: var(--secondary-text);
        text-decoration: line-through;
        font-size: clamp(1.5rem, 1.4617rem + 0.1633vw, 1.625rem);
        font-weight: 400 !important;
    }

    .gl-product-add-to-cart {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .gl-product-add-to-cart .btn-buy {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background-color: var(--bg) !important;
        color: var(--primary) !important;
        border-radius: 26px;
        font-size: clamp(1rem, 0.9617rem + 0.1633vw, 1.125rem);
        flex: 1 1 0%;
        border: 1px solid var(--primary);
        height: clamp(2.75rem, 2.5204rem + 0.9796vw, 3.5rem);
        min-height: clamp(2.75rem, 2.5204rem + 0.9796vw, 3.5rem);
    }
    
    .gl-product-add-to-cart .btn-buy:hover {
        background-color: var(--primary) !important;
        color: var(--primary-foreground) !important;
    }

    .gl-product-add-to-cart .btn-addCart {
        background-color: var(--primary) !important;
        border: 1px solid var(--primary);
        color: var(--primary-foreground) !important;
        border-radius: 28px;
        font-size: clamp(1rem, 0.9617rem + 0.1633vw, 1.125rem);
        flex: 1 1 0%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: clamp(2.75rem, 2.5204rem + 0.9796vw, 3.5rem);
        min-height: clamp(2.75rem, 2.5204rem + 0.9796vw, 3.5rem);
    }
    
    .gl-product-add-to-cart .btn-addCart:hover {
        background-color: var(--primary-foreground) !important;
        color: var(--primary) !important;
    }

    .gl-product-gallery {
        flex-direction: row-reverse;
    }

    .gl-product-gallery .gl-product-gallery-main {
        height: clamp(20.75rem, 15.7755rem + 21.2245vw, 37rem) !important;
        width: 100%;
    }

    .gl-product-gallery.has-multiple-images .gl-product-gallery-main {
        width: calc(100% - clamp(1rem, -5.0459rem + 25.7959vw, 20.75rem));
    }

    .gl-product-gallery-thumbs {
        flex-direction: column;
        gap: 12px;
        height: clamp(1rem, -5.0459rem + 25.7959vw, 20.75rem);
        overflow-y: scroll;
    }

    .gl-product-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .gl-product-gallery-main img {
        object-fit: cover;
        height: 100%;
        width: 100%;
        border-radius: 24px;
        object-position: center !important;
    }

    .gl-product-gallery-thumbs img {
        width: clamp(5rem, 3.8903rem + 4.7347vw, 8.625rem);
        height: clamp(5rem, 3.8138rem + 5.0612vw, 8.875rem);
    }

    .gl-variant-attribute {
        display: grid;
        gap: 0.4rem;
    }

    .gl-variant-label-row {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .gl-variant-label {
        font-weight: 600;
        color: var(--text);
    }

    .gl-variant-value {
        font-size: 0.9rem;
        color: var(--secondary-text);
        font-weight: 400;
    }

    .gl-variant-swatch-box {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .gl-variant-disabled-text {
        font-size: 0.85rem;
        color: var(--secondary-text);
    }

    .gl-variant-selected-label {
        font-size: 0.85rem;
        color: var(--secondary-text);
        margin-inline-start: 4px;
        opacity: 0;
    }

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

    .gl-variant-color-btn[aria-pressed="true"] {
        outline: 2px solid var(--primary);
    }

    .gl-variant-color-circle {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .gl-variant-image-swatch-box {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .gl-variant-image-label {
        display: grid;
        gap: 0.35rem;
        cursor: pointer;
    }

    .gl-variant-image-img {
        width: 54px;
        height: 54px;
        border-radius: 10px;
        object-fit: cover;
    }

    .gl-variant-image-text {
        font-size: 0.8rem;
    }

    .gl-product-tabs-nav button.active {
        color: var(--primary);
        border-bottom: 1px solid var(--primary);
        padding: 0px !important;
        background-color: transparent !important;
    }

    .gl-product-tabs-nav {
        border-bottom: 1px solid var(--secondary-text);
        display: flex;
        align-items: center;
        gap: 60px;
        margin-top: clamp(2rem, 1.8469rem + 0.6531vw, 2.5rem);
    }

    .gl-product-tab-content {
        color: var(--text);
        font-size: clamp(1.125rem, 1.0102rem + 0.4898vw, 1.5rem);
        padding-top: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
    }

    .gl-product-tabs-nav button {
        font-size: clamp(1.25rem, 1.0969rem + 0.6531vw, 1.75rem);
        font-weight: 600;
        color: var(--secondary-text);
        border-bottom: 1px solid transparent;
        transition: border-color 0.3s ease;
        padding: 0px !important;
        background-color: transparent !important;
    }

    .gl-info-table {
        width: 100%;
        border-collapse: collapse;
    }

    .gl-info-row {}

    .gl-info-label {
        padding: 0.75rem 1rem;
        text-align: start;
        font-weight: 600;
        width: 40%;
        color: var(--text);
    }

    .gl-info-value {
        padding: 0.75rem 1rem;
        color: var(--text);
    }

    .gl-info-row:nth-child(odd) {
        background-color: var(--bg);
    }

    .gl-info-row:nth-child(even) {
        background-color: color-mix(in srgb, var(--primary) 20%, transparent);
    }

    @media screen and (max-width: 768px) {
        .gl-product-gallery.has-multiple-images .gl-product-gallery-main {
            width: 100%;
            height: auto;
        }

        .gl-product-gallery {
            flex-direction: column;
        }

        .gl-product-gallery .gl-product-gallery-main {
            width: 100%;
            height: auto;
        }

        .gl-product-gallery-thumbs {
            flex-direction: row;
            overflow-x: auto;
            height: auto;
            margin-top: 12px;
        }

        .gl-product-gallery-thumbs img {
            width: 80px;
            height: 80px;
        }

        .gl-product-gallery {
            top: 0;
        }


        .product-detail {
            grid-template-columns: 1fr;
        }
    }

    .gl-product-gallery-main {
        position: relative;
    }

    .gl-gallery-zoom-btn,
    .gl-gallery-compare-btn {
        position: absolute;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: var(--primary);
        color: var(--primary-foreground);
        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;
        border: none;
        padding: 0;
        box-sizing: border-box;
    }

    .gl-gallery-zoom-btn {
        bottom: 1.25rem;
        left: 1.25rem;
    }

    [dir="rtl"] .gl-gallery-zoom-btn {
        left: auto;
        right: 1.25rem;
    }

    .gl-gallery-compare-btn {
        top: 1.25rem;
        left: 1.25rem;
    }

    [dir="rtl"] .gl-gallery-compare-btn {
        left: auto;
        right: 1.25rem;
    }

    .gl-gallery-zoom-btn:hover,
    .gl-gallery-compare-btn:hover {
        background: var(--primary-foreground);
        transform: scale(1.1) translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        color: var(--primary);
        border-color: transparent;
    }

    .gl-gallery-compare-btn.is-active,
    .gl-gallery-compare-btn[aria-pressed="true"] {
        background: var(--primary-foreground);
        color: var(--primary);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    }



    @media (max-width: 768px) {

        .gl-product-gallery-thumbs::-webkit-scrollbar {
            height: 2px;
            /* height مش width على موبايل */
            width: 2px;
        }

    }

    /* ── Compact Quantity Stepper (Grouped, Bundle, Event Tickets, Table Guests) ── */
    .gl-qty-compact {
        min-width: 105px !important;
        max-width: 130px !important;
        width: auto !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 2px 6px !important;
        border-radius: 18px !important;
        margin-bottom: 0 !important;
        background-color: color-mix(in srgb, var(--primary) 8%, var(--subtle-bg, #f8f9fa)) !important;
    }

    .gl-qty-compact button {
        font-size: 16px !important;
        width: 26px !important;
        height: 26px !important;
        padding: 0 !important;
    }

    .gl-qty-compact input[type="number"] {
        width: 36px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    /* ── Booking Section & Cards ── */
    .booking-section.gl-booking-card {
        border: 1px solid var(--secondary-text, #e2e8f0);
        border-radius: 16px;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
        background-color: color-mix(in srgb, var(--primary) 3%, var(--bg, #ffffff));
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .gl-booking-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
    }

    .gl-booking-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }

    .gl-booking-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }

    .gl-booking-field {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .gl-booking-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text);
    }

    .gl-booking-summary-box {
        padding: 0.75rem 1rem;
        border-radius: 10px;
        background: color-mix(in srgb, var(--primary) 10%, transparent);
        color: var(--primary);
        font-weight: 600;
        font-size: 0.95rem;
    }

    .gl-booking-pill-toggle {
        display: inline-flex;
        background: var(--bg);
        border: 1px solid var(--secondary-text, #e2e8f0);
        border-radius: 30px;
        padding: 4px;
        gap: 4px;
        width: fit-content;
    }

    .gl-booking-pill-label {
        cursor: pointer;
        margin: 0;
    }

    .gl-booking-pill-label input {
        display: none;
    }

    .gl-booking-pill-text {
        padding: 6px 16px;
        border-radius: 24px;
        font-size: 0.875rem;
        font-weight: 500;
        display: block;
        transition: all 0.2s ease;
    }

    .gl-booking-pill-label input:checked + .gl-booking-pill-text {
        background: var(--primary);
        color: var(--primary-foreground);
    }

    /* ── Event Tickets Grid & Cards ── */
    .events-tickets-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 0.85rem;
    }

    .ticket-card-item {
        border: 1px solid var(--secondary-text, #e2e8f0);
        border-radius: 14px;
        padding: 0.9rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0.75rem;
        background: var(--bg);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .ticket-card-item:hover {
        border-color: var(--primary);
    }

    .ticket-card-item.ticket-sold-out {
        opacity: 0.6;
        background: color-mix(in srgb, var(--secondary-text) 5%, var(--bg));
    }

    .ticket-sold-out-badge {
        background: #fee2e2;
        color: #dc2626;
        font-size: 0.75rem;
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 6px;
    }
}

[dir="rtl"] .product-single .gl-select {
    background-position: right 0.85rem center;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
}

@media (max-width:480px) {
    .qty-price {
        width: 100% !important;
    }

    .qty-price div {
        width: 100%;
    }

    .gl-product-quantity {
        width: 100% !important;
        min-width: 100% !important;

    }

     

}
@import "swiper/css";
@import "swiper/css/navigation";
@import "swiper/css/pagination";

: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%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body), sans-serif !important;
  background-color: var(--color-background-light);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.dark body {
  background-color: var(--color-background-dark) !important;
}

body main {
  background-color: var(--color-background-light) !important;
}

.dark body main {
  background-color: var(--color-background-dark) !important;
}

/* h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color-light);
    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(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.gl-section {
  padding: 2.5rem 0;
}

.gl-section.has-banner {
  padding-top: 0;
}

/* ---- Not Found (404) ---- */

.gl-404__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-background-light);
  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(--primary),
      var(--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(--text-color-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(--primary-light),
      var(--primary));
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--color-background-light) 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(--primary),
      var(--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(--primary);
  border: 2px solid var(--primary);
}

.gl-btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.gl-btn-accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--color-background-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(--primary);
  color: var(--primary);
}



@keyframes glamFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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




/* ---- Newsletter ---- */
.gl-newsletter {
  background: var(--color-background-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(--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(--primary);
}

/* ---- Trust Badges ---- */
.gl-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 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(--text-color-light);
}

.gl-trust-badge-subtitle {
  font-size: 0.8rem;
  color: var(--text-color-light);
}


/* ---- Breadcrumb ---- */
.gl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-color-light);
  background-color: transparent;
  flex-wrap: wrap;
}


.gl-breadcrumb a {
  color: var(--text-color-light);
  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 .active {
  color: var(--primary);
  font-weight: 600;
}

.gl-breadcrumb-separator {
  opacity: 0.5;
}





/* ---- 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(--text-color-light);
  transition: all var(--gl-transition-fast);
}

.gl-pagination a:hover {
  background: var(--primary);
  color: var(--primary);
}

.gl-pagination .active {
  background: var(--primary);
  color: #fff;
}





/* ---- 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(--text-color-light) 25%,
      var(--bg-alt) 50%,
      var(--text-color-light) 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(--primary);
  border-radius: 8px;
}

.gl-lang-switch a {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color-light);
  transition: all var(--gl-transition-fast);
}

.gl-lang-switch a.active {
  background: var(--primary);
  color: var(--text-color-light);
}


/* ---- Responsive ---- */
@media (max-width: 1024px) {







  .gl-trust-badges {
    grid-template-columns: repeat(2, 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;
  }

  .top-header .gl-lang-dropdown {
    display: none;
  }

  .top-header-inner {
    justify-content: center;
  }











  /* Promo content heading */
  .gl-promo-content h2 {
    font-size: 1.75rem;
  }

  /* Cart table: stack items */
  .gl-cart-table thead {
    display: none;
  }


}

@media (max-width: 480px) {


  /* 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;
  }

  /* 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(--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(--text-color-light);
  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(--text-color-light);
}





/* ---- 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(--text-color-secondary);
  background: var(--color-background-light);
  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(--text-color-light);
}

.gl-blog-card__title a:hover {
  color: var(--primary);
}

.gl-blog-card__excerpt {
  color: var(--text-color-light);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.gl-blog-card__meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

.gl-blog-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ---- Account Page ---- */
.gl-account__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.gl-account__sidebar {
  background: var(--bg-alt);
  border-radius: var(--gl-radius);
  padding: 1.5rem;
  border: 1px solid var(--text-color-secondary);
}

.gl-account__user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--text-color-secondary);
  margin-bottom: 1rem;
}

.gl-account__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      var(--primary),
      var(--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(--text-color-light);
}

.gl-account__name small {
  font-size: 0.8rem;
  color: var(--text-color-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(--text-color-light);
  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(--primary);
  color: var(--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(--text-color-secondary);
}

.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(--text-color-secondary);
  font-size: 0.9rem;
}

.gl-orders-table th {
  font-weight: 600;
  color: var(--text-color-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(--color-background-light);
  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(--text-color-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(--primary),
      var(--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(--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(--primary),
      var(--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(--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(--primary);
  border: 2px solid var(--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(--font-body);
  cursor: pointer;
  font-size: 0.95rem;
}

.gl-btn-outline:hover {
  background: var(--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;
}


/* ---- Countdown Timer ---- */

.gl-countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.gl-countdown-unit {
  background: var(--color-background-light);
  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(--primary);
  font-family: var(--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(--text-color-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(--primary);
  line-height: 1;
}

.gl-countdown-actions {
  margin-top: 1.5rem;
}


/* ---- Product Placeholder (Enhanced Skeleton) ---- */
/* ---- Product Placeholder (Enhanced Skeleton) ---- */
.gl-product-placeholder {
  width: 100%;
  height: 100%;
  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: 8px;
  position: relative;
  overflow: hidden;
}

.dark .gl-product-placeholder {
  background: linear-gradient(90deg,
      #2b2b2b 0%,
      #3d3d3d 20%,
      #4f4f4f 50%,
      #3d3d3d 80%,
      #2b2b2b 100%);
  background-size: 200% 100%;
}

/* Enhanced Product Card Skeleton */
.gl-product-card--loading .gl-product-card-image {
  position: relative;
}

.gl-product-card--loading .gl-skeleton-absolute,
.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, 6px);
}

.dark .gl-product-card--loading .gl-skeleton-absolute,
.dark .gl-product-card--loading .gl-skeleton {
  background: linear-gradient(90deg,
      #2b2b2b 0%,
      #3d3d3d 20%,
      #4f4f4f 50%,
      #3d3d3d 80%,
      #2b2b2b 100%);
  background-size: 200% 100%;
}

/* Vertical Skeleton Styles */
.gl-product-card-vertical-custom.gl-product-card--loading .gl-skeleton-title {
  height: clamp(1.2rem, 1rem + 0.5vw, 1.5rem);
  width: 75%;
  margin: 0.25rem auto 0.5rem auto;
  border-radius: 6px;
}

.gl-product-card-vertical-custom.gl-product-card--loading .gl-skeleton-description {
  height: 2rem;
  width: 88%;
  margin: 0 auto 0.75rem auto;
  border-radius: 4px;
  opacity: 0.7;
}

.gl-product-card-vertical-custom.gl-product-card--loading .gl-skeleton-button {
  height: clamp(2.375rem, 2.225rem + 0.638vw, 2.75rem);
  width: clamp(7.188rem, 6.788rem + 1.702vw, 8.188rem);
  border-radius: 8px;
}

/* Horizontal Skeleton Styles */
.gl-product-card-horizontal-custom.gl-product-card--loading .gl-skeleton-title {
  height: clamp(1.1rem, 0.9rem + 0.4vw, 1.35rem);
  width: 80%;
  margin: 0 0 0.5rem 0;
  border-radius: 6px;
}

.gl-product-card-horizontal-custom.gl-product-card--loading .gl-skeleton-description {
  display: none;
}

.gl-product-card-horizontal-custom.gl-product-card--loading .gl-skeleton-button-circle {
  width: clamp(1.625rem, 1.5102rem + 0.4898vw, 2rem);
  height: clamp(1.625rem, 1.5102rem + 0.4898vw, 2rem);
  border-radius: 50%;
}

/* Shared Price Skeleton */
.gl-product-card--loading .gl-skeleton-price {
  height: clamp(1.1rem, 0.9rem + 0.4vw, 1.4rem);
  width: 65px;
  border-radius: 4px;
}

.gl-product-card--loading .gl-skeleton-price-original {
  height: 0.9rem;
  width: 45px;
  border-radius: 4px;
  opacity: 0.5;
}

/* 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;
  }
}



/* ---- 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-wishlist__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gl-countdown__timer {
    flex-wrap: wrap;
  }

  .gl-countdown__sep {
    display: none;
  }

  .gl-wishlist__grid {
    grid-template-columns: 1fr;
  }
}



.dark {

  .gl-404__card {
    background: var(--color-background-dark);
    box-shadow: 0 24px 70px var(--gl-box-shadow-dark);
  }

  .gl-404__subtitle {
    color: var(--text-color-dark);
  }

  .gl-404__image {
    box-shadow: 0 20px 45px var(--gl-box-shadow-dark);
  }

  .gl-404__shape {
    box-shadow:
      inset 0 0 0 2px color-mix(in srgb, var(--color-background-dark) 35%, transparent),
      0 18px 40px var(--gl-box-shadow-dark);
  }

  .gl-trust-badge-title {
    color: var(--text-color-dark);
  }

  .gl-trust-badge-subtitle {
    color: var(--text-color-dark);
  }

  .gl-breadcrumb {
    color: var(--text-color-dark);
  }

  .gl-breadcrumb a {
    color: var(--text-color-dark);
  }

  .gl-pagination a,
  .gl-pagination span {
    color: var(--text-color-dark);
  }

  .gl-lang-switch a {
    color: var(--text-color-dark);
  }

  .gl-lang-switch a.active {
    color: var(--text-color-dark);
  }

  .gl-btn--white {
    color: var(--text-color-dark);
  }

  .gl-btn--white:hover {
    color: var(--text-color-dark);
  }

  .gl-blog-card {
    background: var(--color-background-dark);
  }

  .gl-blog-card__title a {
    color: var(--text-color-dark);
  }

  .gl-blog-card__excerpt {
    color: var(--text-color-dark);
  }

  .gl-blog-card__meta {
    color: var(--text-color-dark);
  }

  .gl-account__name strong {
    color: var(--text-color-dark);
  }

  .gl-account__name small {
    color: var(--text-color-dark);
  }

  .gl-account__link {
    color: var(--text-color-dark);
  }

  .gl-orders-table th {
    color: var(--text-color-dark);
  }

  .gl-empty-state p {
    color: var(--text-color-dark);
  }

  .gl-countdown-label {
    color: var(--text-color-dark);
  }

  .gl-product-card--loading .gl-product-card-body {
    background-color: transparent;
  }
}

/* Swiper Navigation Muted Disabled State globally */
.swiper-button-disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Hide cart button in header when inside the cart page */
body:has(#gl-cart-page) .gl-cart-btn[aria-label="Cart"] {
  display: none !important;
}
/* ==========================================================================
   CONTACT FORM COMPONENT STYLES
   ========================================================================== */

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

/* ================================================================
   CART PAGE STYLES
   ================================================================
   Table of Contents:
   1. Cart Table (base)
   2. Product Column - Shared
   3. Product Column - Desktop
   4. Product Column - Mobile
   5. Price / Quantity / Totals
   6. Remove Buttons
   7. Cart Layout (grid)
   8. Cart Summary
   9. Coupon
   10. Checkout Button
   11. Responsive Overrides
   ================================================================ */

/* ============================================
   1. CART TABLE (base)
   ============================================ */
   main.cart{
    display: flex;
    flex-direction: column;

   }
   main.cart .jo-products-cross-sell{
    order: 5;
   }
  body main .cart-page {

   

.gl-cart-table {
    font-size: clamp(0.75rem, 0.875vw, 1rem);
    font-weight: 500;
    width: 100%;
    border-collapse: collapse;
}

.gl-cart-table thead th {
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid var(--secondary-text, #4C4C4C);
    color: var(--text, #000);
    padding-bottom: 16px;
}

.gl-cart-table thead th.total-heading {
    text-align: end;
}

.gl-cart-table tbody td {
    vertical-align: middle;
    padding-block: clamp(1rem, 0.9235rem + 0.3265vw, 1.25rem);
    padding-inline-start: 8px;
    text-align: center;
}

.gl-cart-table tbody tr:last-child {
    border-bottom: 0;
}

/* ============================================
   2. PRODUCT COLUMN - Shared (image/name/options
   used by both the desktop info block and the
   mobile column layout)
   ============================================ */
.gl-cart-item-image {
    width: clamp(4.5rem, 4.0408rem + 1.9592vw, 6rem);
    height: clamp(4.5rem, 4.0408rem + 1.9592vw, 6rem);
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.gl-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gl-cart-item-image-placeholder {
    width: clamp(3.5rem, 10vw, 4.5rem);
    height: clamp(3.5rem, 10vw, 4.5rem);
    border-radius: 12px;
    background: var(--bg, #fff);
}

.gl-cart-item-name {
    font-weight: 700;
    color: var(--text, #1f2937);
    text-decoration: none;
    font-size: clamp(1.125rem, 1.0102rem + 0.4898vw, 1.5rem);
}

.gl-cart-item-name:hover {
    text-decoration: underline;
}

.gl-cart-item-options {
    font-size: 0.8rem;
    color: var(--text, #000);
    margin-top: 0.25rem;
}

/* ============================================
   3. PRODUCT COLUMN - Desktop
   Visible by default; hidden on mobile in section 11.
   ============================================ */
.gl-cart-item-info {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1vw, 1rem);
}

.gl-cart-item-info>div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ============================================
   4. PRODUCT COLUMN - Mobile
   3-column layout: image | name + qty | total + remove.
   Hidden by default; shown on mobile in section 11.
   ============================================ */
.gl-cart-item-mobile-cols {
    display: none;
}

/* ============================================
   5. PRICE / QUANTITY / TOTALS
   ============================================ */
.price-cart {
    font-weight: 500;
    color: var(--text, #000);
    font-size: clamp(1.25rem, 1.1735rem + 0.3265vw, 1.5rem);
    white-space: nowrap;
}

.gl-product-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    background-color: color-mix(in srgb, var(--primary) 5%, var(--accent) 5%);
    border-radius: 24px;
    padding-inline: 20px;
    overflow: hidden;
    max-width: 112px;
    min-height: clamp(2rem, 1.6939rem + 1.3061vw, 3rem);
    
}

.gl-product-quantity button {
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
    transition: all 0.2s;
    border: none;
    color: var(--primary);
}

.gl-product-quantity button:hover {
    color: var(--primary);
}

.gl-product-quantity input {
    text-align: center;
    font-size: 20px;
    background-color: transparent;
    max-width: 20px;
    border: none;
}

.gl-product-quantity input:focus {
    outline: none;
    border-color: var(--primary, #000);
}

/* Remove spinners from number inputs */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input {
    -moz-appearance: textfield;
    max-width: 12px;
    color: var(--primary);
}

.gl-cart-item-total-desktop {
    font-weight: 500;
    font-size: clamp(1.25rem, 1.1735rem + 0.3265vw, 1.5rem);
    white-space: nowrap;
    text-align: end;
    color: var(--text);
}

.gl-cart-item-total-mobile {
    display: none;
    font-weight: 700;
    color: var(--text);
}


/* ============================================
   6. REMOVE BUTTONS
   ============================================ */
.btn-remove {
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    margin-top: 0.25rem;
    color: #C94432 !important;
    background: transparent !important;
    padding: 0;
    transition: opacity 0.2s;
    text-decoration: underline;
    text-align: start;
    font-weight: 500;
}

.btn-remove:hover {
    opacity: 0.7;
}

.btn-remove-mobile {
    display: none;
}

/* ============================================
   7. CART LAYOUT (main grid: table + summary)
   ============================================ */

/* ============================================
   8. CART SUMMARY
   ============================================ */
.gl-cart-summary {
    padding: 24px 32px;
    border-radius: 24px;
    background: var(--primary, #000);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.gl-cart-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-foreground, #fff);
    margin-bottom: 24px;
}

.gl-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-foreground, #fff);
    padding-bottom: 16px;
    font-size: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
    font-weight: 500;
}

.gl-cart-summary-row.total {
    color: var(--primary-foreground, #fff);
    border-bottom: 1px solid var(--primary-foreground, #fff);
}

.gl-cart-summary-row.discount {
    color: var(--gl-success, #059669);
}

.gl-cart-summary-row.subtotal {
    margin-top: 16px;
}

.gl-cart-summary-row:last-of-type {
    margin-bottom: 16px;
}

.shipping-value {
    font-weight: 600;
}

/* ============================================
   9. COUPON
   ============================================ */
.gl-cart-coupon-input {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary-foreground, #fff);
}

#gl-coupon-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--primary-foreground, #d1d5db);
    border-radius: 24px;
    font-size: clamp(0.75rem, 0.875vw, 0.9rem);
    background: var(--primary, #ffffff);
    color: var(--primary-foreground, #fff);
}

#gl-coupon-input:focus {
    outline: none;
    border-color: var(--primary, #000);
}

#gl-coupon-input::placeholder {
    color: var(--primary-foreground, #fff);
}

.btn-coupon {
    padding: 0.25rem 1rem;
    width: 40%;
    border-radius: 24px !important;
    color: var(--primary, #000) !important;
    border: 1px solid var(--primary) !important;
    background-color: var(--primary-foreground);
    cursor: pointer;
    white-space: nowrap;
    font-size: clamp(0.75rem, 0.875vw, 0.9rem);
    transition: all 0.2s;
    background-color:var(--bg) !important;
}


.gl-cart-coupon-applied {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--subtle-bg, #f3f4f6);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.gl-cart-coupon-applied span {
    flex: 1;
    font-size: 0.9rem;
}

.gl-cart-coupon-applied .coupon-remove {
    color: var(--gl-error, #ef4444);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

.gl-cart-coupon-applied .coupon-remove:hover {
    opacity: 0.7;
}

/* ============================================
   10. CHECKOUT BUTTON
   ============================================ */
.gl-btn.gl-checkout {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 26px;
    background: var(--primary-foreground, #fff) !important;
    color: var(--primary, #000) !important;
    text-decoration: none;
    transition: opacity 0.2s;
    font-size: 20px;
    font-weight: 500;
    border: 1px solid var(--primary-foreground);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.gl-btn.gl-checkout:hover {
    color: var(--primary-foreground, #fff) !important;
    background-color: var(--primary, #000) !important;
}
    .gl-cart-table tbody tr {
        border-bottom: 1px solid var(--secondary-text, #4C4C4C);
        border-radius: 0px !important;
    }

/* ============================================
   11. RESPONSIVE OVERRIDES
   ============================================ */

/* --- Tablet & below: stack the summary under the table --- */
@media (max-width: 1024px) {


    .gl-cart-summary {
        position: static;
        margin-top: 1rem;
    }
}

/* --- Mobile: switch to card rows + 3-column item layout --- */
@media (max-width: 768px) {

    /* Hide table headers */
    .gl-cart-table thead {
        display: none;
    }

    /* Hide desktop-only columns (price/qty/total cells) */
    .gl-cart-item-price-desktop,
    .gl-cart-item-quantity-desktop,
    .gl-cart-item-total-desktop,
    .gl-cart-item-remove-desktop {
        display: none !important;
    }

    /* Hide the desktop product info block (image/name/remove),
       since the mobile 3-column layout duplicates it */
    .gl-cart-item-info {
        display: none;
    }

    /* Each cart item becomes a bordered card */
    .gl-cart-table tbody tr {
        display: block;
        border-bottom: 1px solid var(--secondary-text, #4C4C4C);
        background: var(--bg, #ffffff);
        padding: 1rem 0px;
    }

    .gl-cart-table tbody td {
        display: block;
        border-bottom: none;
        padding: 0;
    }

    /* Mobile 3-column layout: image | name + qty | total + remove */
    .gl-cart-item-mobile-cols {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }

    .gl-cart-item-mobile-col-image {
        flex: 0 0 auto;
        width: 72px;
        height: 72px;
        border-radius: 12px;
        overflow: hidden;
    }

    .gl-cart-item-mobile-col-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    .gl-cart-item-mobile-col-image .gl-cart-item-image-placeholder {
        width: 100%;
        height: 100%;
        border-radius: 12px;
        background: var(--bg, #fff);
    }

    .gl-cart-item-mobile-col-name {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .gl-cart-item-mobile-col-name .gl-cart-item-name {
        font-size: 18px;
        display: block;
        overflow-wrap: break-word;
    }

    .gl-cart-item-mobile-col-total {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
        text-align: end;
    }

    /* Mobile quantity stepper */
    .gl-product-quantity-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 108px;
        background-color: color-mix(in srgb, var(--primary) 5%, var(--accent) 5%);
        border-radius: 16px;
        padding-inline: 12px;
        padding-block: 2px;
    }

    .gl-product-quantity-mobile button {
        font-size: 1rem;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
    }

    .gl-product-quantity-mobile input {
        text-align: center;
        font-size: 18px;
        font-weight: 500;
        background: transparent;
        border: none;
    }

    .gl-product-quantity-mobile input:focus {
        outline: none;
    }

    /* Mobile total + remove */
    .gl-cart-item-total-mobile {
        display: block;
        font-weight: 700;
        font-size: 1.25rem;
        color: var(--text, #000);
        white-space: nowrap;
    }

    .btn-remove-mobile {
        display: inline-block;
        font-size: 1rem;
        font-weight: 500;
        color: #C94432;
        background: transparent;
        border: none;
        cursor: pointer;
        text-decoration: underline;
        padding: 0;
    }

    .btn-remove-mobile:hover {
        opacity: 0.7;
    }
}

/* --- Desktop: show the standard product info block --- */
@media (min-width: 769px) {
    .gl-cart-item-info {
        display: flex;
        align-items: center;
        gap: clamp(0.75rem, 1vw, 1rem);
    }

    .gl-cart-item-price-desktop,
    .gl-cart-item-quantity-desktop,
    .gl-cart-item-total-desktop,
    .gl-cart-item-remove-desktop {
        display: table-cell;
    }
}

@media (min-width: 1024px) {

    /* ---- Cart ---- */
    .gl-cart-layout {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 3rem;
        margin-bottom: 60px;

    }
}

@media (max-width: 1023px) {

    .gl-cart-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 24px;

    }
}



.gl-cart-table {
    width: 100%;
    border-collapse: collapse;
}






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

.empty-cart{
    display: flex ;
    flex-direction: column;
    align-items: center;
}


.empty-cart svg{
    max-width: 100%;
    height: fit-content;
}

.empty-cart .title{
    font-size: clamp(1.75rem, 1.0577rem + 1.4423vw, 2.5rem);
    font-weight: 700;
    padding-bottom: 8px;
    color: var(--primary);
    margin-top: 40px;
}

.empty-cart .description{
    font-size: clamp(1.125rem, 0.7788rem + 0.7212vw, 1.5rem);
    color: var(--primary);
}

.empty-cart .link{
    font-size: 1rem;
    color: var(--primary);
    background-color: var(--primary-foreground);
    border: 1px solid var(--primary);
    min-width: 250px;
    border-radius: 26px;
    margin-top: 24px;
    padding-block: 8px; 
}

}
/* ===================================================================
   SIDE CART DRAWER STYLES
   =================================================================== */

/* 1. Backdrop Overlay */
.gl-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gl-drawer-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 2. Drawer Container */
.gl-drawer-cart {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--bg, #fff);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 1501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body), sans-serif;
  font-size: 1.05rem;
}

[dir="rtl"] .gl-drawer-cart {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.gl-drawer-cart.is-active {
  transform: translateX(0);
}

/* 3. Header Section */
.gl-drawer-cart .gl-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--primary, #000) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gl-drawer-cart .gl-drawer-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text, #000);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.gl-drawer-cart .gl-drawer-count-badge {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-text, #777);
}

.gl-drawer-cart .gl-drawer-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text, #000);
  transition: opacity 0.2s;
  padding: 0.25rem;
  line-height: 1;
  margin-inline-start: auto;
}

.gl-drawer-cart .gl-drawer-close:hover {
  opacity: 0.6;
}

/* 4. Body Section */
.gl-drawer-cart .gl-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 5. Cart Items */
.gl-drawer-cart .gl-drawer-item {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--primary, #000) 5%, transparent);
  position: relative;
}

.gl-drawer-cart .gl-drawer-item:last-child {
  border-bottom: none;
}

.gl-drawer-cart .gl-drawer-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--subtle-bg, #f5f5f5);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gl-drawer-cart .gl-drawer-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl-drawer-cart .gl-drawer-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.gl-drawer-cart .gl-drawer-item-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text, #000);
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gl-drawer-cart .gl-drawer-item-name:hover {
  color: var(--primary);
  text-decoration: underline;
}

.gl-drawer-cart .gl-drawer-item-options {
  font-size: 0.85rem;
  color: var(--secondary-text, #777);
  line-height: 1.2;
}

.gl-drawer-cart .gl-drawer-item-price-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 1rem;
}

.gl-drawer-cart .gl-drawer-item-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #000);
  white-space: nowrap;
}

/* 6. Quantity Selector */
.gl-drawer-cart .gl-drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  background-color: color-mix(in srgb, var(--primary) 5%, var(--accent) 5%);
  border-radius: 24px;
  padding-inline: 12px;
  overflow: hidden;
  max-width: 100px;
  min-height: 32px;
}

.gl-drawer-cart .gl-drawer-item-qty button {
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: none;
  color: var(--primary);
  padding: 0;
  transition: opacity 0.2s;
}

.gl-drawer-cart .gl-drawer-item-qty button:hover {
  opacity: 0.7;
}

.gl-drawer-cart .gl-drawer-item-qty input {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background-color: transparent;
  max-width: 28px;
  border: none;
  color: var(--primary);
  padding: 0;
}

.gl-drawer-cart .gl-drawer-item-qty input::-webkit-outer-spin-button,
.gl-drawer-cart .gl-drawer-item-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gl-drawer-cart .gl-drawer-item-qty input {
  -moz-appearance: textfield;
}

.gl-drawer-cart .gl-drawer-item-qty input:focus {
  outline: none;
}

/* 7. Remove Button */
.gl-drawer-cart .gl-drawer-item-remove {
  background: none;
  border: none;
  color: #C94432 !important;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  align-self: flex-start;
  padding: 0;
  font-weight: 500;
}

.gl-drawer-cart .gl-drawer-item-remove:hover {
  opacity: 0.7;
}

/* 8. Empty State */
.gl-drawer-cart .gl-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  gap: 1rem;
  padding-inline: 1rem;
  margin-block: auto;
}

.gl-drawer-cart .gl-drawer-empty-icon {
  font-size: inherit;
  opacity: 1;
}

.gl-drawer-cart .gl-drawer-empty-icon svg {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem auto;
}

.gl-drawer-cart .gl-drawer-empty h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.gl-drawer-cart .gl-drawer-empty p {
  font-size: 0.95rem;
  color: var(--secondary-text);
  margin: 0;
}

.gl-drawer-cart .gl-drawer-continue {
  margin-top: 1rem;
  width: 100%;
}

/* 9. Loading Spinner */
.gl-drawer-cart .gl-drawer-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 10;
  gap: 1rem;
}

/* 10. Sticky Footer */
.gl-drawer-cart .gl-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--primary, #000) 10%, transparent);
  background-color: var(--bg, #fff);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.03);
}

/* Coupon Section */
.gl-drawer-cart .gl-drawer-coupon {
  margin-bottom: 1.25rem;
}

.gl-drawer-cart .gl-drawer-coupon-input {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gl-drawer-cart #gl-drawer-coupon-input {
  flex: 1;
  padding: 0.55rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--text, #000) 15%, transparent);
  border-radius: 24px;
  font-size: 0.9rem;
  background-color: var(--bg, #fff);
  color: var(--text, #000);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.gl-drawer-cart #gl-drawer-coupon-input:focus {
  border-color: var(--primary, #000);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary, #000) 15%, transparent);
}

.gl-drawer-cart #gl-drawer-coupon-input::placeholder {
  color: var(--secondary-text, #9ca3af);
  font-size: 0.85rem;
}

.gl-drawer-cart .gl-drawer-coupon-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 24px;
  background-color: var(--primary);
  color: var(--primary-foreground, #fff) !important;
  border: 1px solid var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}

.gl-drawer-cart .gl-drawer-coupon-btn:hover {
  opacity: 0.9;
}

.gl-drawer-cart .gl-drawer-coupon-btn:active {
  transform: scale(0.98);
}

.gl-drawer-cart .gl-drawer-coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: color-mix(in srgb, var(--primary, #000) 6%, transparent);
  border: 1px dashed color-mix(in srgb, var(--primary, #000) 25%, transparent);
  border-radius: 12px;
}

.gl-drawer-cart .gl-drawer-coupon-applied span {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text, #000);
}

.gl-drawer-cart .gl-drawer-coupon-applied strong {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.gl-drawer-cart .gl-drawer-coupon-remove {
  color: var(--gl-error, #ef4444);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: opacity 0.2s, background-color 0.2s;
}

.gl-drawer-cart .gl-drawer-coupon-remove:hover {
  opacity: 0.8;
  background-color: rgba(239, 68, 68, 0.1);
}

.gl-drawer-cart .gl-drawer-summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.gl-drawer-cart .gl-drawer-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: var(--secondary-text, #777);
}

.gl-drawer-cart .gl-drawer-discount-row {
  color: #10b981;
}

.gl-drawer-cart .gl-drawer-total-row {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text, #000);
  border-top: 1px dashed color-mix(in srgb, var(--primary, #000) 10%, transparent);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

/* 11. Action Buttons */
.gl-drawer-cart .gl-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gl-drawer-cart .gl-btn-checkout {
  background-color: var(--primary);
  color: var(--primary-foreground, #fff) !important;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.gl-drawer-cart .gl-btn-checkout:hover {
  opacity: 0.9;
}

.gl-drawer-cart .gl-btn-view-cart {
  background-color: transparent;
  color: var(--primary) !important;
  border: 1px solid var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.gl-drawer-cart .gl-btn-view-cart:hover {
  background-color: color-mix(in srgb, var(--primary) 5%, transparent);
}

/* Global Cart Overlay Loader */
.gl-cart-overlay-loader {
  display: none;
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 50;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(1px);
  transition: opacity 0.2s ease;
}

.gl-cart-overlay-loader.is-active {
  display: flex !important;
}
.gl-drawer-empty .gl-btn.gl-drawer-continue {
  color: var(--primary, #156b00);
  font-size: 1.2rem;
  border-radius: 200px;
  border: 1px solid var(--primary, #156b00);
}
.gl-drawer-empty h3{
    font-size: clamp(1.625rem, 1.4337rem + 0.8163vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}
.gl-drawer-empty h3 + p{
    font-weight: 500;
    font-size: clamp(0.875rem, 0.7602rem + 0.4898vw, 1.25rem);
    text-align: center;
}
/* ── FOOTER (.gl-footer) ── */

.gl-footer>.gl-container {
  padding-top: clamp(2.5rem, 1.8878rem + 2.6122vw, 4.5rem);
  padding-bottom: clamp(1.75rem, 1.3673rem + 1.6327vw, 3rem);
}

/* ── GRID SYSTEM ── */

.gl-footer-grid {
  display: grid;
  gap: clamp(2rem, 1.4643rem + 2.2857vw, 3.75rem);
  grid-template-columns: 1.5fr repeat(3, 1fr);
  /* default: 5 columns */
}

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

/* ── BREAKPOINTS ── */
@media (min-width: 1280px) {
  .gl-footer-brand {
    margin-inline-end: 72px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .gl-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Mobile */
@media (max-width: 575px) {
  .gl-footer-grid {
    grid-template-columns: 1fr;
  }

  .gl-footer-grid>div {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: auto;
  }

  .gl-footer-grid--4-cols,
  .gl-footer-grid--3-cols,
  .gl-footer-grid--2-cols {
    grid-template-columns: 1fr;
  }

  .gl-footer-bottom {
    flex-direction: column;
    text-align: center;
  }


}

/* ── BRAND / LOGO ── */

.gl-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;

}

.gl-footer__logo img {
  height: clamp(5.313rem, 4.7773rem + 2.2857vw, 7.063rem);
  width: auto;
  object-fit: contain;
}

.gl-footer__logo-text {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 700;
}

[dir="rtl"] .gl-footer__logo-text {
  font-family: var(--font-body);
}

.gl-footer__tagline {
  margin-bottom: 24px;
  line-height: 1.2;
  max-width: 300px;
}

.gl-footer-brand p {
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.footer-description {
  font-size: clamp(1.25rem, 1.1735rem + 0.3265vw, 1.5rem);
  font-weight: 500;
  color: var(--text);
  opacity: 0.6;
}

/* ── SOCIAL ICONS ── */

.gl-footer__social {
  display: flex;
  gap: 16px;
}

.gl-footer__social a {
  width: clamp(2.5rem, 2.3469rem + 0.6531vw, 3rem);
  height: clamp(2.5rem, 2.3469rem + 0.6531vw, 3rem);
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--gl-transition-fast);
  background-color: var(--primary);
}

.gl-footer__social a svg {
  width: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
  height: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
}

.gl-footer__social a:hover {
  color: var(--primary);
  background: var(--primary-foreground);
}

.gl-footer-social {
  display: flex;
  gap: 8px;
}

.footer-contact-info {
  display: flex;
  gap: 8px;
}

.gl-footer-social a {
  width: clamp(2.5rem, 2.3469rem + 0.6531vw, 3rem);
  height: clamp(2.5rem, 2.3469rem + 0.6531vw, 3rem);
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--gl-transition-fast);
  background-color: var(--primary);
}

.gl-footer-social a:hover {
  background: var(--primary-foreground);
  border-color: var(--primary);
  color: var(--primary);
}

/* ── HEADINGS & MENUS ── */

.menus_title,
.gl-footer__heading {
  font-size: clamp(1.375rem, 1.3367rem + 0.1633vw, 1.5rem);
  font-weight: bold;
  color: var(--text);
  margin-bottom: 16px;
}

.gl-footer h2 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

[dir="rtl"] .gl-footer__heading {
  font-family: var(--font-body);
}

/* ── LINKS ── */

.gl-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.gl-footer-links li a {
  font-size: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
  font-weight: 500;
  color: var(--text) !important;
  opacity: 0.6;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gl-footer-links li a:hover {
  color: var(--primary);
  opacity: 1;
}

.gl-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gl-footer__menu li {
  margin-bottom: 12px;
}

.gl-footer__menu a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.gl-footer__menu a:hover {
  color: var(--primary);
}

/* ── BOTTOM BAR ── */

.gl-footer-bottom {
  padding-bottom: 1rem;
  background-color: transparent;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.gl-footer-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gl-footer-C {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy-right,
.gl-footer__copyright {
  font-size: 12px;
  color: var(--text);
  font-weight: 400;
}

/* ── PAYMENT ICONS ── */

.gl-footer__payments {
  display: flex;
  gap: 12px;
  align-items: center;
}

.gl-footer-payment {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gl-footer-payment svg path {
  stroke: var(--bg)
}

.gl-footer-payment img {
  height: 28px;
  opacity: 1;
}

/* ── NEWSLETTER COLUMN STYLING ── */
.gl-footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 320px;
}

.menus_title.newsletter-title {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 1.6735rem + 0.3265vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.menus_title.newsletter-title+.newsletter-subtitle {
  font-size: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
  font-weight: 500;
  margin-bottom: 16px;
}

.gl-footer-newsletter-form {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 99px;
  background-color: #ffffff;
  padding: 4px 6px;
  width: 100%;
}

.dark .gl-footer-newsletter-form {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: #2b2b2b;
}

.gl-footer-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  color: var(--text-color-light, #1f2937);
  outline: none;
  min-width: 0;
}

.dark .gl-footer-newsletter-input {
  color: var(--text-color-dark, #ffffff);
}

.gl-footer-newsletter-btn {
  background-color: var(--primary);
  color: var(--primary-foreground, #ffffff);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gl-footer-newsletter-btn:hover {
  transform: rotate(360deg) scaleX(-1);
  background-color: color-mix(in srgb, var(--primary) 85%, #000 15%);
}

/* ── FLOATING BUTTONS (WHATSAPP & SCROLL TO TOP) ── */
.gl-whatsapp-floating-btn,
.gl-scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: bottom 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

/* Default Right aligned for LTR, Left aligned for RTL */
.gl-whatsapp-floating-btn {
  right: 24px;
  background-color: #25d366;
  color: #ffffff;
  border: none;
  text-decoration: none;
}

.gl-scroll-to-top-btn {
  right: 24px;
  background-color: var(--color-background-light, #ffffff);
  color: var(--text-color-light, #1f2937);
  border: 1px solid var(--gl-border, #f0e6ea);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.dark .gl-scroll-to-top-btn {
  background-color: var(--color-background-dark, #202020);
  color: var(--text-color-dark, #ffffff);
  border-color: #333333;
}

/* Show class for scroll to top */
.gl-scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover effects */
.gl-whatsapp-floating-btn:hover {
  transform: scale(1.1);
}

.gl-scroll-to-top-btn:hover {
  transform: translateY(-5px);
  background-color: var(--primary);
  color: var(--primary-foreground, #ffffff) !important;
}

/* RTL Layout shifts */
[dir="rtl"] .gl-whatsapp-floating-btn,
[dir="rtl"] .gl-scroll-to-top-btn {
  right: auto;
  left: 24px;
}

/* Stacking Floating Buttons if both are enabled */
/* When both are present, WhatsApp stacks directly above the Scroll-to-top button */
.gl-scroll-to-top-btn.show~.gl-whatsapp-floating-btn {
  bottom: 84px;
}

/* Responsive constraints */
@media (max-width: 767px) {

  .gl-whatsapp-floating-btn,
  .gl-scroll-to-top-btn {
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  [dir="rtl"] .gl-whatsapp-floating-btn,
  [dir="rtl"] .gl-scroll-to-top-btn {
    left: 16px;
  }

  .gl-whatsapp-floating-btn {
    right: 16px;
  }

  .gl-scroll-to-top-btn {
    right: 16px;
  }

  .gl-scroll-to-top-btn.show~.gl-whatsapp-floating-btn {
    bottom: 72px;
  }
}
/* ---- Header ---- */
.gl-header {
  background-color: var(--gl-header-bg, var(--bg, #ffffff));
  position: relative;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font-body);
}

.gl-header.gl-header-absolute:not(.is-scrolled) {
  background: transparent;
  margin-bottom: calc(var(--header-height, 72px) * -1);
}

.gl-header.is-scrolled,
.gl-header.gl-header-sticky.is-scrolled,
.gl-header-sticky.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--gl-header-bg, var(--bg, #ffffff));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  animation: glHeaderSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes glHeaderSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0.8;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.gl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: clamp(2rem, 1.3878rem + 2.6122vw, 4rem);
  padding-block: clamp(0.75rem, 0.6735rem + 0.3265vw, 1rem);
}

.gl-logo {
  flex-shrink: 0;
  display: flex;
  text-decoration: none;
  color: var(--text);
  align-items: center;
}

.gl-logo img {
  height: clamp(2.25rem, 1.9056rem + 1.4694vw, 3.375rem);
  width: auto;
}

.gl-logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.gl-logo-text span {
  color: var(--primary);
}

/* ---- Desktop Navigation ---- */
.gl-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: start;
}

.gl-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 0.6837rem + 0.8163vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 70vw;
}

.gl-nav-item {
  list-style: none;
}

.gl-nav-link {
  color: var(--text);
  font-size: 18px;
}

.gl-nav .gl-nav-item:hover .gl-nav-link {
  color: var(--primary);
}

.gl-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 20px;
  position: relative;
  padding: 0.25rem 0;
  text-decoration: none;
  white-space: nowrap;
}

.gl-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--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-actions svg {
  width: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
  height: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
}

.gl-header-actions svg.needs-fill {
  fill: var(--text);
}

.gl-header-actions svg.needs-stroke * {
  stroke: var(--text);
}



.gl-header-action-btn .gl-cart-count {
  position: absolute;
  top: -8px;
  right: 0;
  background: var(--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-action-btn .gl-cart-count {
  right: auto;
  left: 0;
}





/* ---- Mobile Menu Toggle (hamburger button) ---- */
.gl-menu-toggle-wrapper {
  display: none !important;
}

.gl-menu-toggle {
  display: none !important;
  flex-direction: column;
  justify-content: space-between;
  width: 15px;
  height: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.gl-menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: all var(--gl-transition-fast);
  border-radius: 1px;
}

.mobile-menu-header {
  display: none;
}

/* ---- Mobile Menu Overlay ---- */
.gl-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2999;
  /* one below the menu panel */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gl-mobile-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* ---- Mobile Menu Backdrop ---- */
.gl-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gl-mobile-menu-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Mobile Menu Panel ----
   Slides in from the left (LTR) / right (RTL) using transform.
   Off-canvas state: translateX(-100%) / translateX(100%) for RTL.
   Active state: translateX(0).
*/
.gl-mobile-menu {
  overflow-x: visible;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg, #fff);
  z-index: 3000;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.gl-mobile-menu .mobile-menu-inner {
  padding: 1rem;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}

.gl-mobile-menu.is-active {
  transform: translateX(0);
}

[dir="rtl"] .gl-mobile-menu {
  left: auto;
  right: 0;
  transform: translateX(100%);
}

[dir="rtl"] .gl-mobile-menu.is-active {
  transform: translateX(0);
}

/* ---- Mobile Menu Header ---- */
.gl-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.gl-mobile-menu.is-active .gl-mobile-menu-close {
  transform: translate(-100%, 0%);
}

.gl-mobile-menu .gl-mobile-menu-close {
  transition: transform 0.3s ease-in-out;
  transform: translate(-100%, -100%);

}

/* ---- Mobile Menu Close Button ---- */
.gl-mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d21919;
  color: var(--bg);
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
}

[dir="ltr"] .gl-mobile-menu-close {

  top: 0;
  left: unset;
  right: 0;
  transform: translate(100%, -100%) !important
}

[dir="ltr"] .gl-mobile-menu.is-active .gl-mobile-menu-close {
  transform: translate(100%, 0%) !important;

}


.side-menu-logo {
  display: block;
  height: 70px;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid #E0E0E0;
}

.side-menu-logo img {
  height: 100%;
  width: auto;
}


/* ---- Mobile Menu Nav ---- */
.gl-mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gl-mobile-nav-item {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gl-mobile-nav-item:last-child {
  border-bottom: none;
}

.gl-mobile-nav-item .gl-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.gl-mobile-nav-item .gl-mobile-nav-link:hover,
.gl-mobile-nav-item .gl-mobile-nav-link.active {
  color: var(--primary);
}

.gl-mobile-nav-item .gl-nav-chevron {
  transition: transform 0.25s ease;
}

.gl-mobile-nav-item.is-open > .gl-mobile-nav-link .gl-nav-chevron {
  transform: rotate(180deg);
}

.gl-mobile-submenu {
  display: none;
  padding-inline-start: 1rem;
  padding-bottom: 0.5rem;
}

.gl-mobile-nav-item.is-open > .gl-mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gl-mobile-sublink {
  display: block;
  padding: 0.5rem 0;
  font-size: 14.5px;
  color: var(--secondary-text, #666);
  text-decoration: none;
}

.gl-mobile-sublink:hover {
  color: var(--primary);
}

.gl-mobile-menu .gl-lang-dropdown-toggle {
  color: var(--primary-foreground);
  margin-top: 26px;
  font-size: 18px;
  background-color: var(--primary);
}

/* Mobile Navigation */
.gl-mobile-nav {
  margin-top: 1rem;
}

.gl-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gl-mobile-nav-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gl-mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.gl-mobile-nav-link:hover {
  color: var(--primary);
}

.gl-mobile-nav-dropdown {
  list-style: none;
  padding-left: 1rem;
  display: none;
  margin: 0 0 0.5rem 0;
}

.gl-mobile-nav-item.open .gl-mobile-nav-dropdown {
  display: block;
}

.gl-mobile-nav-dropdown-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--text, #666);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.gl-mobile-nav-dropdown-link:hover {
  color: var(--primary);
}

/* ---- BREAKPOINTS ---- */
@media screen and (max-width: 1023px) {
  .gl-nav {
    display: none !important;
  }

  .gl-menu-toggle {
    display: flex !important;
  }

  .gl-menu-toggle-wrapper {
    display: flex !important;
  }

  .mobile-menu-header {
    display: flex !important;
    align-items: center;
    gap: 1rem;
  }

  .gl-logo-mobile {
    display: flex !important;
  }

  .gl-header-inner {
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .gl-header-inner {
    height: 60px;
    gap: 0.5rem;
  }

  .gl-logo img {
    height: 30px;
  }

  .gl-logo-text {
    font-size: 1.25rem;
  }

  .gl-header-actions {
    gap: 0.5rem;
  }

  .gl-header-action-btn .gl-cart-count {
    width: 14px;
    height: 14px;
    font-size: 0.5rem;
  }

  .gl-mobile-menu {
    width: 85%;
  }
}

.gl-logo-mobile {
  display: none;
}

@media screen and (max-width: 1023px) {
  .gl-logo {
    display: none !important;
    height: clamp(2.25rem, 1.9056rem + 1.4694vw, 3.375rem);
  }

  .gl-logo-mobile {
    display: flex !important;
    height: clamp(2.25rem, 1.9056rem + 1.4694vw, 3.375rem);
  }

}

/* ---- 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: 700px;
  position: relative;
}

.gl-search-box input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.25rem;
  border: 2px solid var(--primary);
  border-radius: var(--gl-radius-lg);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
}

.gl-search-box input:focus {
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

/* ---- User Dropdown ---- */
.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
  height: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
}

.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: var(--bg);
  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;
}

/* ---- Announcement ---- */
.gl-announcement {
  background-color: var(--primary);
  color: var(--text);
  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;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.8;
}

[dir="rtl"] .gl-announcement-close {
  right: auto;
  left: 15px;
}

/* ---- 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(--primary);
  padding: 8px 0px;
}

.contact-info {
  display: flex;
  gap: 6px;
  justify-content: center;
  font-size: 14px;
  color: var(--primary-foreground);
  align-items: center;
  gap: 4px;
}

.contact-info {
  gap: 8px;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.contact-info svg {
  stroke: currentColor;
}

.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(--bg, #fff);
  border: 1px solid var(--secondary-text, #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(--text, #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(--bg, #f3f4f6);
  color: var(--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);
  }
}


.gl-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg, #fff);
  border: 1px solid var(--secondary-text, #e5e7eb);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 16px;
  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(--text, #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(--bg, #f3f4f6);
  color: var(--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);
  }
}




/* ---- 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(--primary-foreground);
  background: transparent;
  border: 1px solid var(--primary-foreground);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--gl-transition-fast);
}



.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(--bg);
  border: 1px solid var(--secondary-text);
  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;
  padding: 8px;
}

[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(--text);
  transition: all var(--gl-transition-fast);
  border-radius: 6px;
}

.gl-lang-dropdown-item:hover {
  background: var(--gl-muted);
}

.gl-lang-dropdown-item.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.gl-lang-dropdown-item svg {
  width: 16px;
  height: 16px;
}

.top-header .phone,
.top-header .mail {
  color: var(--primary-foreground);
}

.top-header .phone:hover,
.top-header .mail:hover {
  opacity: 0.9;
}

/* ---- Overflow Menu ---- */
.gl-nav-more {
  position: relative;
}

.gl-nav-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  padding: 0.25rem 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  font-size: 20px;
}

.gl-nav-more.is-open>.gl-nav-more-toggle .gl-nav-chevron {
  transform: rotate(180deg);
}

.gl-nav-overflow-menu {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg, #fff);
  border: 1px solid var(--secondary-text, #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;
}

.gl-nav-more:hover>.gl-nav-overflow-menu,
.gl-nav-more:focus-within>.gl-nav-overflow-menu,
.gl-nav-more.is-open>.gl-nav-overflow-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.gl-nav-more:hover>.gl-nav-more-toggle .gl-nav-chevron,
.gl-nav-more:focus-within>.gl-nav-more-toggle .gl-nav-chevron {
  transform: rotate(180deg);
}

.gl-nav-overflow-menu .gl-nav-item {
  position: relative;
  list-style: none;
}

.gl-nav-overflow-menu .gl-nav-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text, #374151);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.gl-nav-overflow-menu .gl-nav-link:hover {
  background: var(--bg, #f3f4f6);
  color: var(--primary, #6d28d9);
}

.gl-nav-overflow-menu .gl-nav-link::after {
  display: none;
}

.gl-nav-overflow-menu .gl-nav-dropdown {
  top: 0;
  left: calc(100% + 0.5rem);
}

[dir="rtl"] .gl-nav-overflow-menu .gl-nav-dropdown {
  right: calc(100% + 0.5rem);
  left: auto;
}
section :is(a, p, h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-body), sans-serif;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #d1d5db;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
}

[dir="ltr"] .sicon-arrow-up-left {
  transform: scaleX(-1);
}

[dir="ltr"] .sicon-caret-left {
  transform: scaleX(-1);
}

[dir="ltr"] .sicon-caret-right {
  transform: scaleX(-1);
}

/* ==========================================================================
   2. HERO SECTION (.jo-hero)
   ========================================================================== */
.jo-hero .herobanner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.jo-hero .controls button {
  background-color: transparent;
}

.jo-hero .controls button i {
  font-size: 16px;
}

.jo-hero .bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.jo-hero .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 3rem;
  margin-inline: auto;
  min-height: clamp(37.5rem, 18.2143rem + 30.1339vw, 54.375rem);
  padding-inline: 16px;
  margin-top: var(--header-height);
}

.jo-hero .hero-content {
  display: flex;
  flex-direction: column;
  order: 2;
  position: relative;
  z-index: 5;
}

.jo-hero .hero-heading {
  font-size: clamp(2.25rem, 1.7143rem + 2.2857vw, 4rem);
  line-height: 130%;
  text-align: start;
}

.jo-hero .hero-subtitle {
  font-size: clamp(1rem, 0.9235rem + 0.3265vw, 1.25rem);
  margin-top: 8px;
  text-align: start;
}

.jo-hero .countdown-wrapper {
  margin-top: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid #db1215;
  border-radius: 10px;
}

.jo-hero .countdown-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jo-hero .countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: auto;
  aspect-ratio: 1 / 1;
  color: white;
  background-color: #db1215;
  border-radius: 6px;
}

.jo-hero .countdown-value {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.jo-hero .countdown-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.jo-hero .promotional-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1rem, 0.9235rem + 0.3265vw, 1.25rem);
}

.jo-hero .highlight-word {
  color: var(--accent);
}

.jo-hero .cta-button {
  font-size: clamp(1rem, 0.9235rem + 0.3265vw, 1.25rem);
  display: flex;
  align-items: center;
  margin-top: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
  padding: 2px 4px;
  align-self: start;
  transition: background-color 0.3s ease-in-out;
  border-radius: 50px;
  max-width: fit-content;
  gap: 4px;
  color: var(--primary-foreground);
}

.jo-hero .cta-button:hover {
  background: var(--primary);
}

.jo-hero .cta-button:hover i {
  background: var(--bg);
  color: var(--primary);
  font-size: 16px;
  width: clamp(1.75rem, 1.5204rem + 0.9796vw, 2.5rem);
}

.jo-hero .cta-button i {
  width: clamp(2.5rem, 2.3469rem + 0.6531vw, 3rem);
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.jo-hero .cta-button-text {
  min-height: clamp(2.5rem, 2.3469rem + 0.6531vw, 3rem);
  min-width: clamp(8.688rem, 8.4201rem + 1.1429vw, 9.563rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 24px;
  padding-inline: 24px;
  width: max-content;
}

.jo-hero .hero-img {
  object-fit: contain;
  width: auto;
  height: 100%;
  position: relative;
  z-index: 5;
}

.jo-hero .controls {
  color: var(--primary);
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
  gap: 1rem;
  top: 25%;
}

[dir="ltr"] .jo-hero .controls {
  padding-left: 1rem;
}

[dir="rtl"] .jo-hero .controls {
  padding-right: 1rem;
}

.jo-hero .hero-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Media Queries */
@media (min-width: 640px) {
  .jo-hero .hero-img {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    max-width: clamp(31.25rem, 10.7688rem + 42.6692vw, 53.438rem);
  }
}

@media (min-width: 768px) {
  .jo-hero .hero-img {
    max-width: 50%;
  }

  .jo-hero .hero-container {
    max-width: 85%;
  }
}

@media (max-width: 768px) {
  .jo-hero .hero-container {
    max-width: 95%;
  }
}

@media (min-width: 1024px) and (max-width: 1419px) {
  .jo-hero .hero-content {
    max-width: 45%;
  }
}

@media (min-width: 1024px) {
  .jo-hero .hero-container {
    flex-direction: row;
    gap: 3.5rem;
    justify-content: space-between;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .jo-hero .hero-content {
    max-width: 50%;
    order: 1;
  }

  .jo-hero .container {
    min-width: 100%;
    padding: 0 16px;
  }

  .jo-hero .hero-img {
    position: absolute;
    padding-block: 2rem;
    padding-inline: 40px;
  }

  [dir="ltr"] .jo-hero .hero-img {
    right: 0;
    padding-right: clamp(0.625rem, -6.8750rem + 9.3750vw, 2.5rem);
  }

  [dir="rtl"] .jo-hero .hero-img {
    left: 0;
    padding-left: clamp(0.625rem, -6.8750rem + 9.3750vw, 2.5rem);
  }

  .jo-hero .controls {
    top: 50%;
    gap: 1.75rem;
  }

  [dir="ltr"] .jo-hero .controls {
    padding-right: 4px;
    padding-left: 0;
  }

  [dir="rtl"] .jo-hero .controls {
    padding-left: 4px;
    padding-right: 0;
  }
}

@media (min-width: 1280px) {
  .jo-hero .hero-content {
    margin-inline-start: 1rem;
  }

  [dir="rtl"] .jo-hero .controls {
    right: clamp(0.75rem, 0.3673rem + 1.6327vw, 2rem);
  }

  [dir="ltr"] .jo-hero .controls {
    left: clamp(0.75rem, 0.3673rem + 1.6327vw, 2rem);
  }
}

/* ==========================================================================
   3. JO-SECTIONS (.JO-Sections)
   ========================================================================== */
.JO-Sections .sections-container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .JO-Sections .sections-container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.JO-Sections .sections-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .JO-Sections .sections-header {
    margin-bottom: 2rem;
  }
}

.JO-Sections .heading {
  font-size: clamp(1.25rem, 1.1735rem + 0.3265vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
}

.JO-Sections .subtitle {
  font-size: clamp(1.625rem, 1.4337rem + 0.8163vw, 2.25rem);
  line-height: 1.5;
  font-weight: 700;
}

.JO-Sections .cate-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 1rem;
}

.JO-Sections .cate-wrapper .section-image {
  aspect-ratio: 193 / 204;
  width: 100%;
  transition: all 0.5s ease-in-out;
}

.JO-Sections .cate-wrapper:hover .section-image {
  transform: rotate(-12deg);
}

.JO-Sections .cate-wrapper .overlay-rect {
  transition: all 0.5s ease-in-out;
  opacity: 0;
}

.JO-Sections .cate-wrapper:hover .overlay-rect {
  opacity: 0.3;
}

.JO-Sections .section-title {
  font-size: clamp(1.25rem, 1.0969rem + 0.6531vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

/* ── Pre-loader Swiper Height Skeleton ── */
.JO-Sections-swiper:not(.swiper-initialized) {
  overflow: hidden;
  width: 100%;
}

.JO-Sections-swiper:not(.swiper-initialized)>.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
}

.JO-Sections-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide {
  flex-shrink: 0;
  width: calc(33.333% - 1.333rem);
}

@media (min-width: 768px) {
  .JO-Sections-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide {
    width: calc(25% - 1.5rem);
  }
}

@media (min-width: 1024px) {
  .JO-Sections-swiper:not(.swiper-initialized)>.swiper-wrapper {
    gap: 2.5rem;
  }

  .JO-Sections-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide {
    width: calc(16.666% - 2.083rem);
  }
}

.JO-Sections .sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .JO-Sections .sections-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1024px) {
  .JO-Sections .sections-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
  }
}

/* ==========================================================================
   4. JO-WHY-CHOOSE-US SECTION (.jo-Why-choose-us)
   ========================================================================== */
.jo-Why-choose-us .why-us-container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .jo-Why-choose-us .why-us-container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.jo-Why-choose-us .pros-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.jo-Why-choose-us .pros-grid.slider-active-mobile {
  display: none;
}

@media (min-width: 640px) {
  .jo-Why-choose-us .pros-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .jo-Why-choose-us .pros-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .jo-Why-choose-us .pros-grid.slider-active-mobile {
    display: grid;
  }
}

@media (min-width: 1024px) {
  .jo-Why-choose-us .pros-grid {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
  }

  .jo-Why-choose-us .pros-grid.slider-active-mobile {
    display: flex;
  }
}

.jo-Why-choose-us .pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 1024px) {
  .jo-Why-choose-us .pro {
    flex: 1;
  }
}

.jo-Why-choose-us .pro img {
  object-fit: contain;
  aspect-ratio: 1 / 1;
  min-width: 2.5rem;
  max-width: 3.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .jo-Why-choose-us .pro img {
    min-width: 3rem;
    max-width: 4rem;
  }
}

.jo-Why-choose-us .pro-animated-icon-wrapper {
  width: 2.5rem;
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .jo-Why-choose-us .pro-animated-icon-wrapper {
    width: 3.5rem;
  }
}

.jo-Why-choose-us .pro-animated-icon-wrapper lord-icon {
  width: 100%;
  height: 100%;
}

.jo-Why-choose-us .pro-info {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  line-height: 1.5;
  text-align: center;
}

.jo-Why-choose-us .why-us-title {
  font-size: clamp(1.5rem, 1.4235rem + 0.3265vw, 1.75rem);
  padding-bottom: 0.5rem;
  font-weight: 600;
}

.jo-Why-choose-us .why-us-desc {
  font-size: clamp(1rem, 0.9617rem + 0.1633vw, 1.125rem);
  opacity: 0.9;
}

.jo-Why-choose-us i {
  font-size: clamp(3.25rem, 3.0204rem + 0.9796vw, 4rem);
}

/* ==========================================================================
   5. JO-FAQ SECTION (.jo-faq)
   ========================================================================== */
.jo-faq {
  font-family: var(--font-body);
}

.jo-faq .section-wrapper {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .jo-faq .section-wrapper {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.jo-faq .faq-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.jo-faq .faq-header {
  text-align: start;
}

.jo-faq .blocktitle {
  font-size: clamp(1.625rem, 1.4337rem + 0.8163vw, 2.25rem);
  font-weight: 700;
}

.jo-faq .subtext {
  font-size: clamp(1.5rem, 0.8367rem + 0.1633vw, 2.5rem);
}

.jo-faq .qs-wrapper {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 1.25rem;
}

.jo-faq .qs-wrapper>div {
  width: 100%;
}

@media (min-width: 768px) {
  .jo-faq .qs-wrapper {
    gap: 1.5rem;
  }
}

.jo-faq .accordion {
  font-size: clamp(1.25rem, 1.0969rem + 0.6531vw, 1.75rem);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  font-weight: 500;
  border: 1px solid #f3f4f6;
  text-align: start;
  border-radius: 1rem;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 768px) {
  .jo-faq .accordion {
    padding: 1.5rem 1.5rem;
  }
}

.jo-faq .ques_icon {
  font-size: 1.125rem;
  transition: all 0.3s ease-in-out;
}

@media (min-width: 1024px) {
  .jo-faq .ques_icon {
    font-size: 1.5rem;
  }
}

.jo-faq .accordion.active .ques_icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.jo-faq .accordion.active {
  border-color: var(--primary);
}

.jo-faq .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.jo-faq .answer {
  font-size: clamp(1.25rem, 1.0969rem + 0.6531vw, 1.75rem);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.jo-faq .answer p {
  padding-top: 1rem;
}

@media (min-width: 1024px) {
  .jo-faq .answer p {
    padding-top: 1.25rem;
  }
}

/* ==========================================================================
   6. TESTIMONIALS SECTION (.jo-testimonials)
   ========================================================================== */
.jo-testimonials .testimonial-wrapper {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .jo-testimonials .testimonial-wrapper {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.jo-testimonials .testimonial-inner {
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  text-align: center;
}

.testimonial-svg,
.testimonial-svg path {
  fill: var(--primary);
}

.jo-testimonials .svg-wrapper {
  position: relative;
  width: clamp(7.188rem, 6.5500rem + 2.7223vw, 9rem);
  height: clamp(7.188rem, 6.5500rem + 2.7223vw, 9rem);
}

.jo-testimonials .avatar-img-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .jo-testimonials .avatar-img-container {
    padding: 1rem;
  }
}

.jo-testimonials .avatar-img-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
}

.jo-testimonials .title-wrapper {
  margin-bottom: 1.5rem;
}

.jo-testimonials .section-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
}

.jo-testimonials .quote-icon {
  color: #e5e7eb;
  font-size: clamp(3.4rem, 2.8rem + 2.6vw, 5.5rem);
}

.jo-testimonials .testimonial-text-swiper {
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

@media (min-width: 768px) {
  .jo-testimonials .testimonial-text-swiper {
    max-width: 48rem;
  }
}

.jo-testimonials .client-review {
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.6rem);
}

.jo-testimonials .testimonial-avatar-swiper {
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
  overflow: hidden;
}

.jo-testimonials .avatar-slide-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.jo-testimonials .self-center {
  align-self: center;
}

.jo-testimonials .client-name {
  text-align: center;
  font-size: clamp(1.25rem, 1.1735rem + 0.3265vw, 1.5rem);
  font-weight: 500;
}

/* Avatar slides: dim + shrink non-active */
.jo-testimonials .testimonial-avatar-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.4;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.jo-testimonials .testimonial-avatar-swiper .swiper-slide .client-name {
  opacity: 0;
}

.jo-testimonials .testimonial-avatar-swiper .swiper-slide.swiper-slide-active .client-name {
  opacity: 1;
}

.jo-testimonials .testimonial-avatar-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

/* Text slides: flex-centre content */
.jo-testimonials .testimonial-text-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Pre-loader Swiper Height Skeleton ── */
.testimonial-text-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide:not(:first-child) {
  display: none;
}

.testimonial-avatar-swiper:not(.swiper-initialized)>.swiper-wrapper {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.testimonial-avatar-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide {
  flex-shrink: 0;
  width: calc(33.333% - 1rem);
  max-width: 120px;
}

.testimonial-avatar-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide:nth-child(n+4) {
  display: none;
}

/* ==========================================================================
   7. PRODUCTS SECTION (.jo-products & .jo-products-slider-wrapper)
   ========================================================================== */
.jo-products-slider-wrapper .swiper-slide {
  height: stretch;
}

.pro_addit .product-price {
  color: var(--primary-foreground);
}

.jo-products .jo-products-wrapper {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .jo-products .jo-products-wrapper {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* ── Container ── */
.jo-products .jo-products-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Header ── */
.jo-products .jo-products-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.jo-products .jo-products-header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.jo-products .jo-products-header-line {
  height: 0.5px;
  width: clamp(6.25rem, 3.1888rem + 13.0612vw, 16.25rem);
  border: 0.5px dashed #9ca3af;
}

.jo-products .jo-products-header-icon {
  height: clamp(3.625rem, 2.9362rem + 2.9388vw, 5.875rem);
  width: clamp(4.438rem, 3.5772rem + 3.6728vw, 7.25rem);
}

.jo-products .jo-products-header-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.jo-products .jo-products-title {
  font-size: clamp(1.625rem, 1.4337rem + 0.8163vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

/* ── Slider Wrapper ── */
.jo-products .jo-products-slider-wrapper {
  position: relative;
}

/* ── Arrows ── */
.jo-products .jo-products-arrows {
  position: absolute;
  left: 0;
  top: -45px;
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.jo-products .jo-products-arrow {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--primary);
}

.jo-products .jo-products-arrow:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.jo-products .jo-products-arrow i {
  font-size: 1.25rem;
  color: var(--primary);
}

/* ── Swiper ── */
.jo-products .swiper {
  padding-top: 40px;
}

.jo-products .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.jo-products .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d1d5db;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.jo-products .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 30px;
  border-radius: 50px;
}

/* ── Grid ── */
.jo-products .jo-products-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .jo-products .jo-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .jo-products .jo-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Placeholder ── */
.jo-products .jo-products-placeholder {
  border-radius: 0.5rem;
  overflow: hidden;
}

.jo-products .jo-products-placeholder-image {
  height: 200px;
  background: var(--bg);
  border-radius: 0.5rem;
}

.jo-products .jo-products-placeholder-body {
  padding: 12px 0;
}

.jo-products .jo-products-placeholder-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.jo-products .jo-products-placeholder-price {
  font-size: 0.875rem;
  color: var(--primary);
}

/* ── Mobile Arrows ── */
@media (max-width: 768px) {
  .jo-products .jo-products-arrows {
    display: none !important;
  }
}

.jo-products .swiper-pagination-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.5rem, 1.3469rem + 0.6531vw, 2rem);
}

[dir="ltr"] .jo-products-arrow i {
  transform: scaleX(-1);
}

/* ── Pre-loader Swiper Height Skeleton ── */
.jo-products .swiper:not(.swiper-initialized)>.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  overflow: hidden;
}

.jo-products .swiper:not(.swiper-initialized) .swiper-slide {
  width: calc(50% - 7.5px);
  flex-shrink: 0;
}

@media (min-width: 550px) {
  .jo-products .swiper:not(.swiper-initialized) .swiper-slide {
    width: calc(33.333% - 10px);
  }
}

@media (min-width: 1240px) {
  .jo-products .swiper:not(.swiper-initialized)>.swiper-wrapper {
    gap: 24px;
  }

  .jo-products .swiper:not(.swiper-initialized) .swiper-slide {
    width: calc(25% - 18px);
  }
}

/* ==========================================================================
   8. BLOG ARTICLES SECTION (.jo-blog-articles)
   ========================================================================== */
.jo-blog-articles .jo-blog-container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .jo-blog-articles .jo-blog-container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.jo-blog-articles .jo-blog-container.no-padding {
  padding-top: 0;
  padding-bottom: 0;
}

.jo-blog-articles .jo-blog-inner {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

.jo-blog-articles .jo-blog-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .jo-blog-articles .jo-blog-header {
    margin-bottom: 2rem;
  }
}

.jo-blog-articles .jo-blog-title {
  font-size: clamp(1.625rem, 1.4337rem + 0.8163vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.jo-blog-articles .jo-blog-view-all {
  display: block;
  border-bottom: 1px solid var(--primary, #505e23);
  font-size: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
  color: var(--primary, #505e23);
  line-height: 1.375;
  text-decoration: none;
}

.jo-blog-articles .jo-blog-view-all:hover {
  opacity: 0.8;
}

.jo-blog-articles .s-tabs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .jo-blog-articles .s-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    height: 600px;
  }
}

@media (min-width: 1280px) {
  .jo-blog-articles .s-tabs {
    gap: 3rem;
  }
}

.jo-blog-articles .s-tabs-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  grid-column: span 2;
  order: 2;
  border: none;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.jo-blog-articles .s-tabs-header::-webkit-scrollbar {
  display: none;
}

.jo-blog-articles .s-tabs-header-item {
  padding: 0;
  text-align: start;
  cursor: pointer;
  transition: all 0.3s ease;
}

.jo-blog-articles .s-tabs-header-item:last-of-type {
  border: none;
}

.jo-blog-articles .latest-articles {
  font-size: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #dddddd;
  pointer-events: none;
  cursor: default;
}

.jo-blog-articles .header-div {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dddddd;
}

@media (min-width: 768px) {
  .jo-blog-articles .header-div {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

.jo-blog-articles .s-tabs-header-item:last-of-type .header-div {
  border-bottom: none;
}

.jo-blog-articles .header-author {
  font-size: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
  color: var(--graytext, #6b7280);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
}

.jo-blog-articles .header-title {
  font-size: clamp(1.375rem, 1.2602rem + 0.4898vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}

.jo-blog-articles .header-meta {
  font-size: clamp(1.125rem, 1.0867rem + 0.1633vw, 1.25rem);
  color: var(--graytext, #6b7280);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
}

.jo-blog-articles .s-tabs-header-item .header-div {
  position: relative;
}

.jo-blog-articles .s-tabs-header-item .header-div::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 2px;
  transition: width 0.5s ease-in-out;
}

.jo-blog-articles .s-tabs-header-item.s-tabs-active .header-div::after,
.jo-blog-articles .s-tabs-header-item.active .header-div::after {
  width: 100%;
}

.jo-blog-articles .s-tabs-content-wrapper {
  padding: 0;
  grid-column: span 3;
  overflow: hidden;
  position: relative;
  min-height: 378px;
}

@media (min-width: 768px) {
  .jo-blog-articles .s-tabs-content-wrapper {
    min-height: 544px;
  }
}

.jo-blog-articles .s-tabs-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
  border-radius: 1rem;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.jo-blog-articles .s-tabs-content.s-tabs-content-selected,
.jo-blog-articles .s-tabs-content.active {
  opacity: 1;
  pointer-events: auto;
}

.jo-blog-articles .blog-content-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.jo-blog-articles .blog-content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 1rem;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.jo-blog-articles .blog-content-card:hover::before {
  opacity: 0.2;
}

.jo-blog-articles .blog-content-overlay {
  position: absolute;
  max-width: 90%;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  z-index: 3;
}

@media (min-width: 768px) {
  .jo-blog-articles .blog-content-overlay {
    bottom: 2.5rem;
    left: 2.5rem;
  }
}

.jo-blog-articles .blog-content-title {
  font-size: clamp(1.75rem, 1.5204rem + 0.9796vw, 2.5rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.jo-blog-articles .blog-content-meta {
  font-size: clamp(0.875rem, 0.7602rem + 0.4898vw, 1.25rem);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  line-height: 1.5;
  margin: 0;
}

.jo-blog-articles .blog-content-excerpt {
  font-size: clamp(1rem, 0.9235rem + 0.3265vw, 1.25rem);
  margin: 0;
  opacity: 0.9;
}

.jo-blog-articles .blog-content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 0.9617rem + 0.1633vw, 1.125rem);
  border: 1px solid var(--primary, #505e23);
  margin-top: 0.5rem;
  line-height: 1.5;
  border-radius: 1.5rem;
  padding: 0.5rem 2.5rem;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .jo-blog-articles .s-tabs-content-wrapper {
    min-height: 300px;
  }

  .jo-blog-articles .blog-content-overlay {
    bottom: 1rem;
    left: 1rem;
  }
}

@media (max-width: 480px) {
  .jo-blog-articles .s-tabs-content-wrapper {
    min-height: 250px;
  }

  .jo-blog-articles .blog-content-button {
    padding: 0.35rem 1.5rem;
    font-size: 0.875rem;
  }

  .jo-blog-articles .blog-content-excerpt {
    font-size: 0.875rem;
  }
}

/* RTL Blog Article Styles */
[dir="rtl"] .jo-blog-articles .blog-content-overlay {
  left: auto;
  right: 1.5rem;
}

[dir="ltr"] .jo-blog-articles .s-tabs-header-item .header-div::after {
  left: 0;
}

[dir="rtl"] .jo-blog-articles .s-tabs-header-item .header-div::after {
  right: 0;
}

@media (max-width: 768px) {
  [dir="rtl"] .jo-blog-articles .blog-content-overlay {
    left: auto;
    right: 1rem;
  }
}

@media (min-width: 768px) {
  [dir="rtl"] .jo-blog-articles .blog-content-overlay {
    left: auto;
    right: 2.5rem;
  }
}

.jo-blog-articles .jo-blog-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 2rem + 2vw, 4.5rem) 1.5rem;
  border-radius: var(--radius, 16px);
  border: 2px dashed rgba(120, 120, 120, 0.25);
  background-color: var(--subtle-bg, rgba(0, 0, 0, 0.02));
  gap: 12px;
  width: 100%;
  margin-block: 1rem;
  transition: all 0.3s ease;
}

.jo-blog-articles .jo-blog-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--primary, #505e23) 10%, transparent);
  color: var(--primary, #505e23);
}

.jo-blog-articles .jo-blog-empty-icon svg {
  width: 32px;
  height: 32px;
}

.jo-blog-articles .jo-blog-empty-text {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  font-weight: 600;
  color: var(--text, #1f2937);
  margin: 0;
  opacity: 0.85;
}

/* Products Empty State */
.jo-products-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 2rem + 2vw, 4.5rem) 1.5rem;
  border-radius: var(--radius, 16px);
  border: 2px dashed rgba(120, 120, 120, 0.25);
  background-color: var(--subtle-bg, rgba(0, 0, 0, 0.02));
  gap: 12px;
  width: 100%;
  margin-block: 1rem;
  transition: all 0.3s ease;
}

.jo-products-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--primary, #505e23) 10%, transparent);
  color: var(--primary, #505e23);
}

.jo-products-empty-icon svg {
  width: 32px;
  height: 32px;
}

.jo-products-empty-text {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  font-weight: 600;
  color: var(--text, #1f2937);
  margin: 0;
  opacity: 0.85;
}

/* ==========================================================================
   9. CATEGORIES SECTION (.JO-Categories)
   ========================================================================== */
.JO-Categories {
  font-family: var(--font-body);
}

.JO-Categories .category-cards-desktop {
  display: none;
  width: 100%;
  height: 589px;
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1024px) {
  .JO-Categories .category-cards-desktop {
    display: flex;
  }
}

.JO-Categories .category-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  flex: 1;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.JO-Categories .category-card.active {
  flex: 4 !important;
}

.JO-Categories .card-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.JO-Categories .card-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.JO-Categories .category_text {
  position: absolute;
  top: 1rem;
  width: 100%;
  color: #ffffff;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: clamp(1.125rem, 1.0337rem + 0.4093vw, 1.75rem);
}

[dir="rtl"] .JO-Categories .category_text {
  right: 3.5rem;
  transform: rotate(-90deg);
  transform-origin: top right;
}

[dir="ltr"] .JO-Categories .category_text {
  left: 3.5rem;
  transform: rotate(90deg);
  transform-origin: top left;
}

.JO-Categories .category-card.active .category_text {
  transform: rotate(0deg) !important;
  transition-delay: 0s;
}

/* Non-active category text transition delay */
.JO-Categories .category-card:not(.active) .category_text {
  transition-delay: 0.2s;
}

.JO-Categories .category-card.active .category_text {
  transition-delay: 0s;
}

.JO-Categories .category-card .content {
  margin-top: 1.75rem;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
  padding-left: 4rem;
  padding-right: 4rem;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.JO-Categories .category-card.active .content {
  transform: translateY(0) !important;
}

.JO-Categories .category-card .title {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: clamp(1.75rem, 1.5673rem + 0.8187vw, 3rem);
  line-height: 1.2;
}

.JO-Categories .category-card .description {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 0.9452rem + 0.2456vw, 1.375rem);
  color: #ffffff;
  line-height: 1.4;
}

.JO-Categories .shop-btn {
  padding: 0.5rem 1.5rem;
  color: #ffffff;
  transition: all 0.7s ease;
  border-radius: 1.5rem;
  display: inline-block;
}

/* ── Mobile Layouts ── */
.JO-Categories .categories-swiper {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .JO-Categories .categories-swiper {
    display: none;
  }
}

.JO-Categories .mobile-card-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 324px;
  display: flex;
  flex-direction: column;
  border-radius: 0.375rem;
}

.JO-Categories .mobile-category-title {
  position: absolute;
  top: 1rem;
  width: 100%;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
}

[dir="rtl"] .JO-Categories .mobile-category-title {
  right: 1rem;
}

[dir="ltr"] .JO-Categories .mobile-category-title {
  left: 1rem;
}

.JO-Categories .mobile-content-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: #ffffff;
  padding: 1.5rem 1rem;
  line-height: 1.2;
}

.JO-Categories .mobile-card-wrapper .block-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.JO-Categories .mobile-card-wrapper .subtext {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.2;
}

.JO-Categories .mobile-shop-btn {
  color: #ffffff;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.JO-Categories .mobile-grid-fallback {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  border-radius: 0.5rem;
}

@media (min-width: 1024px) {
  .JO-Categories .mobile-grid-fallback {
    display: none;
  }
}

/* ===== Swiper Styles ===== */
.JO-Categories .swiper-container {
  position: relative;
  padding-bottom: 40px;
}

.JO-Categories .swiper-slide {
  height: auto;
}

.JO-Categories .swiper-button-next,
.JO-Categories .swiper-button-prev {
  color: var(--bg);
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.JO-Categories .swiper-button-next:hover,
.JO-Categories .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

.JO-Categories .swiper-button-next::after,
.JO-Categories .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

.JO-Categories .swiper-pagination-bullet {
  background: var(--bg);
  opacity: 0.5;
}

.JO-Categories .swiper-pagination-bullet-active {
  background: var(--bg);
  opacity: 1;
}

@media (max-width: 1023px) {

  .JO-Categories .swiper-button-next,
  .JO-Categories .swiper-button-prev {
    display: none !important;
  }
}

/* ── Pre-loader Swiper Height Skeleton ── */
.JO-Categories .swiper-container:not(.swiper-initialized)>.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  overflow: hidden;
}

.JO-Categories .swiper-container:not(.swiper-initialized) .swiper-slide {
  width: calc(83.333% - 12px);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .JO-Categories .swiper-container:not(.swiper-initialized) .swiper-slide {
    width: calc(50% - 7.5px);
  }
}

@media (min-width: 991px) {
  .JO-Categories .swiper-container:not(.swiper-initialized) .swiper-slide {
    width: calc(33.333% - 16px);
  }
}

/* ==========================================================================
   10. FEATURED PRODUCTS SECTION (.JO-Featured-products)
   ========================================================================== */
.JO-Featured-products .desktop-btn {
  display: flex;
}

.JO-Featured-products .mobile-btn {
  display: none;
}

/* ── Section & Layout ── */
.JO-Featured-products .jo-featured-layout {
  position: relative;
  display: flex;
  min-height: 82vh;
  overflow: hidden;
}

/* ── Background Image Wrapper ── */
.JO-Featured-products .bg-img-wrapper {
  width: 53.4%;
  max-width: 100%;
  min-height: 82vh;
  position: relative;
  flex-shrink: 0;
}

.JO-Featured-products .jo-featured-layout .bg-img-wrapper {
  transition: all 0.7s ease;
}

.JO-Featured-products .jo-featured-layout .bg-img-wrapper.take-half {
  max-width: 50%;
}

/* ── Banner Overlay & Content ── */
.JO-Featured-products .jo-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.JO-Featured-products .jo-banner-content {
  position: absolute;
  bottom: 6%;
  left: 8%;
  z-index: 2;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

/* ── Block & Sub (title + description) ── */
.JO-Featured-products .jo-featured-layout .block-and-sub {
  transition: all 0.5s ease-in-out;
  max-height: 200px;
}

.JO-Featured-products .jo-featured-layout .block-and-sub.uncover {
  max-height: 0;
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0;
}

.JO-Featured-products .block-and-sub h2 {
  font-size: clamp(2rem, 1.69rem + 1.3vw, 3rem);
  color: white;
  font-weight: 700;
}

.JO-Featured-products .block-and-sub p {
  font-size: clamp(1rem, 0.84rem + 0.65vw, 1.5rem);
}

/* ── Banner Button ── */
.JO-Featured-products .jo-banner-btn {
  border: none;
  padding: clamp(0.375rem, 0.2219rem + 0.6531vw, 0.875rem) clamp(1.5rem, 1.4235rem + 0.3265vw, 1.75rem);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.5s ease;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.JO-Featured-products .jo-banner-btn:hover {
  transform: translateY(-4px);
}

.JO-Featured-products .jo-featured-layout .translate-button.active {
  gap: 0;
}

.JO-Featured-products .jo-featured-layout .translate-button>p {
  transition: all 0.5s ease-in-out;
  max-width: 20ch;
  height: 3ch;
  overflow: hidden;
  display: inline-block;
  margin: 0;
}

.JO-Featured-products .jo-featured-layout .translate-button.active>p {
  opacity: 0;
  max-width: 0ch;
  height: 0px;
}

.JO-Featured-products .products-container {
  position: absolute;
  top: 50%;
  width: 72%;
  z-index: 5;
  transition: transform 700ms ease;
}

.JO-Featured-products .swiper {
  padding: 20px;
}

.JO-Featured-products .swiper-slide {
  height: auto;
}

.JO-Featured-products .swiper-button-next,
.JO-Featured-products .swiper-button-prev,
.JO-Featured-products .swiper-pagination {
  display: none !important;
}

.JO-Featured-products .placeholder-card {
  background: white;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.JO-Featured-products .placeholder-img {
  height: 220px;
  background: linear-gradient(135deg, #eee, #ddd);
}

.JO-Featured-products .placeholder-body {
  padding: 20px;
}

@media (max-width: 1024px) {
  .JO-Featured-products .desktop-btn {
    display: none;
  }

  .JO-Featured-products .mobile-btn {
    display: flex;
  }

  .JO-Featured-products .jo-featured-layout {
    flex-direction: column;
    min-height: auto;
    gap: 24px;
  }

  .JO-Featured-products .bg-img-wrapper {
    width: 100%;
    max-width: 100%;
    min-height: 450px;
  }

  .JO-Featured-products .products-container {
    position: static;
    width: 100%;
    padding: 0 12px 24px;
    transform: none !important;
  }
}

/* RTL / LTR Mirroring and Positioning for Featured Products */
[dir='rtl'] .JO-Featured-products .jo-banner-content {
  left: auto;
  right: 8%;
  text-align: right;
}

html[dir="ltr"] .JO-Featured-products .products-container {
  left: 50%;
  transform: translate(120px, -50%);
}

html[dir="rtl"] .JO-Featured-products .products-container,
[dir='rtl'] .JO-Featured-products .products-container {
  right: 50%;
  transform: translate(-120px, -50%);
}

[dir="ltr"] .JO-Featured-products .products-container.uncovered {
  transform: translate(-50%, -50%);
}

[dir="rtl"] .JO-Featured-products .products-container.uncovered {
  transform: translate(50%, -50%);
}

/* ── Pre-loader Swiper Height Skeleton for Featured Products ── */
.JO-Featured-products .swiper:not(.swiper-initialized)>.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  overflow: hidden;
}

.JO-Featured-products .swiper:not(.swiper-initialized) .swiper-slide {
  width: calc(50% - 7.5px);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .JO-Featured-products .swiper:not(.swiper-initialized)>.swiper-wrapper {
    gap: 24px;
  }

  .JO-Featured-products .swiper:not(.swiper-initialized) .swiper-slide {
    width: calc(33.333% - 16px);
  }
}

@media (min-width: 1360px) {
  .JO-Featured-products .swiper:not(.swiper-initialized) .swiper-slide {
    width: calc(25% - 18px);
  }
}

/* ==========================================================================
   13. FEATURED PRODUCTS SECTIONS SLIDER (.jo-products-sections)
   ========================================================================== */
.jo-products-sections {
  font-family: var(--font-body);
}

/* ── Row Layout (3 columns side by side) ── */
.jo-products-sections .jo-products-sections-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .jo-products-sections .jo-products-sections-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .jo-products-sections .jo-products-sections-row {
    grid-template-columns: 1fr;
  }
}

/* ── Column Styles ── */
.jo-products-sections .jo-products-sections-column {
  min-width: 0;
}

/* ── Header Decoration ── */
.jo-products-sections .jo-products-sections-header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.jo-products-sections .jo-products-sections-header-line {
  height: 0.5px;
  width: clamp(6.25rem, 3.1888rem + 13.0612vw, 16.25rem);
  border: 0.5px dashed #9ca3af;
}

.jo-products-sections .jo-products-sections-header-icon {
  height: clamp(3.625rem, 2.9362rem + 2.9388vw, 5.875rem);
  width: clamp(4.438rem, 3.5772rem + 3.6728vw, 7.25rem);
}

.jo-products-sections .jo-products-sections-header-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.jo-products-sections .jo-products-sections-title {
  font-size: clamp(1.625rem, 1.4337rem + 0.8163vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

/* ── Subtitle (Section Headers) ── */
.jo-products-sections .jo-products-sections-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

/* ── Placeholder ── */
.jo-products-sections .jo-products-sections-placeholder {
  border-radius: 0.5rem;
  overflow: hidden;
}

.jo-products-sections .jo-products-sections-placeholder-image {
  height: 150px;
  background: var(--bg);
  border-radius: 0.5rem;
}

.jo-products-sections .jo-products-sections-placeholder-body {
  padding: 8px 0;
}

.jo-products-sections .jo-products-sections-placeholder-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 2px 0;
}

.jo-products-sections .jo-products-sections-placeholder-price {
  font-size: 0.75rem;
  color: var(--primary);
}

/* ── Horizontal Swiper ── */
.jo-products-sections .jo-horizontal-swiper {
  overflow: hidden;
}

.jo-products-sections .jo-horizontal-swiper .swiper-wrapper {
  display: flex;
}

.jo-products-sections .jo-horizontal-swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
}

/* ── Slider Product Content (3 products stacked per slide) ── */
.jo-products-sections .product-content-slide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  height: 100%;
}

/* ── Custom Controls ── */
.jo-products-sections .custom-controls button {
  color: var(--primary);
  border: 1px solid var(--primary);
  transition: all 0.3s ease;
}

.jo-products-sections .custom-controls button:hover {
  background: var(--primary);
  color: white;
}

.jo-products-sections .custom-controls button:hover svg {
  stroke: white;
}

/* ── Tabs Font Style ── */
.jo-products-sections .font_style {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

/* ── Product Card Override ── */
.jo-products-sections .product-card {
  margin-bottom: 0;
}

/* ── Pre-loader Swiper Height Skeleton ── */
.jo-products-sections .jo-horizontal-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide:not(:first-child) {
  display: none;
}

/* ==========================================================================
   14. PRODUCT SPOTLIGHT BANNER (.jo-offers-banner)
   ========================================================================== */
.jo-offers-banner {
  font-family: var(--font-body);
}

.jo-offers-banner .hero-wrapper {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.jo-offers-banner .my-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  height: auto;
}

@media (min-width: 1024px) {
  .jo-offers-banner .my-slide {
    flex-direction: row-reverse;
    justify-content: space-between;
    height: 611px !important;
  }
}

.jo-offers-banner .pro_image {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.jo-offers-banner .dis_background {
  position: absolute;
  z-index: 2;
  top: 16%;
  color: var(--primary-foreground);
  background-color: var(--primary);
  border-radius: 0.5rem;
  width: 160.5px;
  padding: 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .jo-offers-banner .dis_background {
    width: 293px;
  }
}

@media (min-width: 1024px) {
  .jo-offers-banner .dis_background {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  [dir="rtl"] .jo-offers-banner .dis_background {
    padding-right: 1rem;
    padding-left: 0;
  }

  [dir="ltr"] .jo-offers-banner .dis_background {
    padding-left: 1rem;
    padding-right: 0;
  }
}

.jo-offers-banner .dis_background::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
}

[dir="rtl"] .jo-offers-banner .dis_background::after {
  right: 100%;
  border-right-color: var(--primary);
}

[dir="ltr"] .jo-offers-banner .dis_background::after {
  left: 100%;
  border-left-color: var(--primary);
}

.jo-offers-banner .pro_addit {
  position: absolute;
  width: 75px;
  height: 75px;
}

.jo-offers-banner .svg-wrapper {
  position: relative;
}

.jo-offers-banner .price-badge-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  color: var(--primary-foreground);
  font-weight: 700;
}

.jo-offers-banner .product-price {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.jo-offers-banner .content-side {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .jo-offers-banner .content-side {
    width: 50%;
    height: 100%;
    justify-content: flex-start;
  }
}

.jo-offers-banner .text-containers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .jo-offers-banner .text-containers {
    align-items: flex-start;
  }
}

.jo-offers-banner .block-title {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #A0855B;
  font-size: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
}

.jo-offers-banner .subtext2 {
  font-size: clamp(2.25rem, 1.7143rem + 2.2857vw, 4rem);
  text-align: center;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

@media (min-width: 1024px) {
  [dir="rtl"] .jo-offers-banner .subtext2 {
    text-align: right;
  }

  [dir="ltr"] .jo-offers-banner .subtext2 {
    text-align: left;
  }
}

.jo-offers-banner .promotext {
  display: flex;
  gap: 0.25rem;
  align-items: flex-start;
  font-size: clamp(1.25rem, 1.0204rem + 0.9796vw, 2rem);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.jo-offers-banner .subtext {
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: clamp(0.875rem, 0.7602rem + 0.4898vw, 1.25rem);
  opacity: 0.7;
  text-align: center;
  max-width: 90%;
}

@media (min-width: 1024px) {
  .jo-offers-banner .subtext {
    text-align: start;
  }
}

.jo-offers-banner .shop-btn {
  transition: all 0.3s ease-in-out;
  text-align: center;
  padding: 0.75rem 1.25rem;
  font-size: clamp(1rem, 0.9617rem + 0.1633vw, 1.125rem);
  font-weight: 600;
  border-radius: 1.5rem;
  display: inline-block;
}

.jo-offers-banner .shop-btn:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.pro_addit svg {
  transform: rotate(180deg);
  z-index: -1;
}

.jo-offers-banner .image {
  display: flex;
  justify-content: end;
  align-items: center;
  max-width: 594px;
  height: 100%;
  position: relative;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .jo-offers-banner .image {
    width: 40%;
  }
}

@media (max-width: 768px) {
  .jo-offers-banner .image {
    width: 325px;
  }
}

.jo-offers-banner .main_banner img {
  width: 100%;
}

[dir="rtl"] .jo-offers-banner .main-img .pro_addit {
  left: 24%;
  top: 30%;
}

[dir="ltr"] .jo-offers-banner .main-img .pro_addit {
  right: 20%;
  top: 26%;
}

.jo-offers-banner .main-img .dis_background {
  position: absolute;
  z-index: 2;
  right: -5%;
  top: 18%;
  background: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .jo-offers-banner .main-img .dis_background {
    right: -5%;
    top: 19%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .jo-offers-banner .main-img .dis_background {
    right: -57%;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .jo-offers-banner .main-img .dis_background {
    width: 180px !important;
    right: -13%;
    top: 13%;
  }
}

@media (min-width: 375px) and (max-width: 480px) {
  .jo-offers-banner .main-img .dis_background {
    right: -4%;
  }
}

@media (max-width: 374px) {
  .jo-offers-banner .main-img .dis_background {
    right: 6%;
  }
}

[dir="ltr"] .jo-offers-banner .main-img .dis_background {
  position: absolute;
  z-index: 2;
  left: -13%;
  top: 12%;
}

@media (min-width: 1024px) and (max-width: 1280px) {
  [dir="ltr"] .jo-offers-banner .main-img .dis_background {
    left: -9%;
    top: 16%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  [dir="ltr"] .jo-offers-banner .main-img .dis_background {
    left: -150px;
  }
}

@media (max-width: 480px) {
  [dir="ltr"] .jo-offers-banner .main-img .dis_background {
    left: -4%;
  }
}

.jo-offers-banner .swiper-slide img {
  transition: all 0.5s ease;
  opacity: 1;
}

[dir="rtl"] .jo-offers-banner .swiper-slide-active {
  transform: translateY(0%) rotateY(0deg);
}

[dir="rtl"] .jo-offers-banner .swiper-slide-next img,
[dir="rtl"] .jo-offers-banner .swiper-slide-prev img {
  opacity: 1;
}

[dir="ltr"] .jo-offers-banner .pro_image {
  transform: scaleX(-1);
  transition: all 0.5s ease-in-out !important;
}

[dir="rtl"] .jo-offers-banner .pro_image {
  transition: all 0.5s ease-in-out !important;
}

[dir="ltr"] .jo-offers-banner .swiper-slide-active img,
[dir="ltr"] .jo-offers-banner .swiper-slide-next img,
[dir="ltr"] .jo-offers-banner .swiper-slide-prev img {
  opacity: 1;
}

.jo-offers-banner .swiper-slide-active .dis_background,
.jo-offers-banner .swiper-slide-active .pro_addit,
.jo-offers-banner .swiper-slide-next .dis_background,
.jo-offers-banner .swiper-slide-next .pro_addit,
.jo-offers-banner .swiper-slide-prev .dis_background,
.jo-offers-banner .swiper-slide-prev .pro_addit {
  transition: all 0.7s ease-in-out;
  opacity: 1;
  transform: translateY(0);
}

.jo-offers-banner .swiper-slide-next .dis_background,
.jo-offers-banner .swiper-slide-prev .dis_background,
.jo-offers-banner .swiper-slide-next .pro_addit,
.jo-offers-banner .swiper-slide-prev .pro_addit {
  opacity: 0;
  transform: translateY(20px);
}

.jo-offers-banner .swiper-slide-active .text-containers {
  transition: all 0.7s ease-in-out;
  opacity: 1;
}

.jo-offers-banner .swiper-slide-next .text-containers,
.jo-offers-banner .swiper-slide-prev .text-containers {
  opacity: 1;
}

.jo-offers-banner .swiper.s-slider-container {
  padding: 0;
}

.jo-offers-banner .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  background: var(--primary);
  width: 12px;
  height: 12px;
}

.jo-offers-banner .swiper-button-disabled {
  cursor: default;
}

.jo-offers-banner .swiper-pagination.swiper-pagination-bullets {
  flex-direction: column;
  gap: 10px;
  right: 0;
  top: 49%;
}

.jo-offers-banner .swiper-container {
  overflow: hidden;
}

.jo-offers-banner .swiper-slide {
  height: auto;
}

.jo-offers-banner .swiper-button-next,
.jo-offers-banner .swiper-button-prev {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.jo-offers-banner .swiper-button-next:hover,
.jo-offers-banner .swiper-button-prev:hover {
  background: var(--primary-foreground);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.jo-offers-banner .swiper-button-next::after,
.jo-offers-banner .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

.jo-offers-banner .swiper-pagination-bullet {
  background: #d1d5db;
  opacity: 1;
}

.jo-offers-banner .swiper-pagination-bullet-active {
  background: var(--primary);
}

@media (max-width: 768px) {

  .jo-offers-banner .swiper-button-next,
  .jo-offers-banner .swiper-button-prev {
    display: none;
  }
}

/* ── Pre-loader Swiper Height Skeleton ── */
.jo-offers-banner .swiper-container:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide:not(:first-child) {
  display: none;
}

/* ==========================================================================
   15. SOCIAL MEDIA FEED (.jo-social)
   ========================================================================== */
.jo-social {
  font-family: var(--font-body);
}

.jo-social .social-wrapper {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .jo-social .social-wrapper {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.jo-social .social-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .jo-social .social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .jo-social .social-info {
    grid-column: span 2;
  }

  .jo-social .social-swiper {
    grid-column: span 3;
  }

  .jo-social .mobile-grid {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .jo-social .social-info {
    grid-column: span 1;
  }

  .jo-social .social-swiper {
    grid-column: span 4;
  }
}

.jo-social .social-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: var(--subtle-bg);
}

.jo-social .social-info-inner {
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .jo-social .social-info-inner {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .jo-social .social-info-inner {
    align-items: flex-start;
  }
}

.jo-social .social-title {
  font-weight: 600;
  font-size: clamp(1.625rem, 1.5102rem + 0.4898vw, 2rem);
  line-height: 1.375;
}

.jo-social .social-account {
  font-size: clamp(1.25rem, 1.1735rem + 0.3265vw, 1.5rem);
  line-height: 1.5;
  color: var(--primary);
}

.jo-social .social-swiper {
  display: none;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .jo-social .social-swiper {
    display: block;
  }
}

.jo-social .swiper .mobile-slide {
  max-height: 25vh;
}

.jo-social .img-wrapper {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem;
}

.jo-social .img-wrapper img {
  width: 100%;
  height: 100%;
}

.jo-social .img-wrapper::after {
  content: " ";
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 16px;
  pointer-events: none;
  transition: all 0.5s ease-in-out;
  z-index: 0;
}

.jo-social .img-wrapper:hover::after {
  opacity: 0.4;
}

.jo-social .social-icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.75rem;
  border-radius: 9999px;
  background: var(--bg);
  color: var(--text);
  font-size: var(--icon-lg, 1.5rem);
  z-index: 5;
  transition: all 0.5s ease;
  opacity: 1;
}

@media (min-width: 1024px) {
  .jo-social .social-icon {
    opacity: 0;
  }

  .jo-social .img-wrapper:hover .social-icon {
    opacity: 1;
  }
}

.jo-social .social-image {
  object-fit: cover;
  border-radius: 1rem;
}

.jo-social .mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

/* ── Pre-loader Swiper Height Skeleton ── */
.jo-social .social-swiper:not(.swiper-initialized)>.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.jo-social .social-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide {
  width: calc((100% - 16px) / 3) !important;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .jo-social .social-swiper:not(.swiper-initialized)>.swiper-wrapper>.swiper-slide {
    width: calc((100% - 24px) / 4) !important;
  }
}
/* ========================================
   FILTER SIDEBAR & PRODUCT GRID LAYOUT
   ======================================== */

.gl-category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 24px;
}

/* ========================================
   FILTER SIDEBAR
   ======================================== */

/* ── FILTER SIDEBAR ── */

.parent-index-product {
  position: sticky;
  top: 0px;
}

.gl-filter-sidebar {
  background: var(--bg);
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text);
}

.gl-filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--secondary-text);
}

.gl-filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.gl-filter-group h3,
.gl-filter-group-title {
  font-size: clamp(1.25rem, 1.0969rem + 0.6531vw, 1.75rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin: 0;
}

.gl-filter-group-header {
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 16px;
}

.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(--text);
}

.gl-filter-toggle svg {
  transition: transform 0.2s ease;
  transform: rotate(0deg);
}

.gl-filter-group.collapsed .gl-filter-toggle svg {
  transform: rotate(-180deg);
}

.gl-filter-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gl-filter-group-list .gl-filter-option,
.gl-filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text);
  opacity: 1;
  transition: color var(--gl-transition-fast);
}

.gl-filter-option:hover {
  color: var(--text);
  opacity: 1;
}

.gl-filter-option input[type="checkbox"],
.gl-filter-checkbox {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.gl-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: clamp(1.125rem, 1.0485rem + 0.3265vw, 1.375rem);
  color: var(--text);
}

.gl-filter-count {
  color: var(--text);
  font-size: 0.8rem;
}

.gl-filter-empty {
  color: var(--text);
  font-size: clamp(1.125rem, 1.0485rem + 0.3265vw, 1.375rem);
  text-align: center;
  padding: 1rem;
}

/* ========================================
   TOOLBAR
   ======================================== */

.gl-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: var(--gl-radius);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
  padding-inline: 1rem;
}

.gl-toolbar-count,
.gl-toolbar__count {
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 700;
}

.gl-toolbar-sort {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gl-toolbar-sort .gl-sort-label {
  font-size: 14px;
  opacity: 0.7;
  color: var(--text);
}

.gl-toolbar-sort .gl-select {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  background-color: color-mix(in srgb, var(--primary) 5%, var(--accent) 5%);
  border-radius: 24px;
  padding-inline: 20px;
  overflow: hidden;
  max-width: 112px;
  min-height: clamp(2rem, 1.6939rem + 1.3061vw, 3rem);
  color: var(--primary);
}

.gl-toolbar-sort .gl-select:focus {
  border: none;
}

.gl-toolbar-search {
  flex: 1;
  max-width: 360px;
}

.gl-toolbar-search .gl-product-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--secondary-text);
  border-radius: 1rem;
  color: var(--text);
  border: 1px solid var(--text, #000);
  background-color: var(--subtle-bg);

}

.gl-product-search-input:focus {
  border-color: var(--primary);
  outline: none;
}

.gl-select {
  padding: 10px 36px 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background-color: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body, 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;
  outline: none;
}

.gl-select:focus {
  border-color: var(--primary);
}

[dir="rtl"] .gl-select {
  padding: 10px 16px 10px 36px;
  background-position: left 16px center;
}

/* ========================================
   ORIENTATION TOGGLE
   ======================================== */

.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(--text);
  opacity: 0.7;
}

.gl-orientation-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

.gl-orientation-btn.active {
  background: var(--primary);
  color: var(--text);
  opacity: 1;
}

/* ========================================
   PRODUCT GRID
   ======================================== */

.gl-products-area .gl-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 0px;
}

.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);
}

/* 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;
}

.gl-no-products {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ========================================
   PROMO CARD
   ======================================== */

.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(--text);
}

.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(--primary);
  color: var(--text);
}

.gl-promo-card-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ========================================
   MOBILE ELEMENTS
   ======================================== */

.gl-mobile-filter-toggle {
  display: none;
}

.gl-mobile-close {
  display: none;
}

/* ========================================
   CLEAR FILTERS
   ======================================== */

.clear-filters-hidden {
  display: none !important;
}

.clear-filters {
  font-size: 20px;
  width: fit-content;
  background-color: color-mix(in srgb, var(--primary) 5%, var(--accent) 5%);
  color: var(--primary);
  padding: 7px 20px;
  border-radius: 24px;
  text-decoration: none;
  display: block;
  margin-bottom: 24px;
  border: none;
  cursor: pointer;
}

/* ========================================
   BREAKPOINTS
   ======================================== */

/* ---- Tablet (max-width: 1024px) ---- */
/* No changes needed - default is already 3 columns */

/* ---- Mobile (max-width: 768px) ---- */

@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;
    padding-inline: 0px;
  }

  .gl-toolbar-count {
    display: none;
  }

  .gl-toolbar-search {
    flex: 1;
    min-width: 0;
    display: none;
  }

  .gl-toolbar-sort .gl-select {
    padding: 4px 12px;
    width: 100px;
  }

  .gl-mobile-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border-radius: 4px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .gl-mobile-filter-toggle:hover {
    background-color: transparent;
    color: var(--text);
  }

  .gl-mobile-filter-toggle svg {
    flex-shrink: 0;
  }

  .gl-toolbar .gl-toolbar-sort {
    width: fit-content;
    display: flex;
    align-items: center;
  }

  .gl-filter-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 95vw;
    margin-inline: 2.5vw;
    height: fit-content;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--primary);


  }

  .gl-filter-group-header {
    margin-bottom: 8px;
  }

  .gl-filter-sidebar.active {
    right: 0;
  }

  .gl-filter-sidebar .gl-mobile-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  [dir="ltr"] .gl-filter-sidebar .gl-mobile-close {
    left: unset;
    right: 16px;
  }

  .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;
    margin-bottom: 12px;
  }



  /* Force all grid variants to 2 columns on mobile */
  .gl-products-area .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;
    gap: 1rem;
  }

  .gl-promo-card {
    display: none;
  }
}

/* ── Color Swatches ── */
.gl-filter-group-list-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 6px 0;
}

.gl-filter-option-swatch {
  padding: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.gl-filter-swatch-label {
  display: block;
  cursor: pointer;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gl-filter-swatch-label:hover {
  transform: scale(1.1);
}

.gl-swatch-color {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: relative;
}

.gl-filter-swatch-label input[type="checkbox"]:checked+.gl-swatch-color {
  border: 2px solid var(--color-background-light, #fff);
  box-shadow: 0 0 0 2px var(--primary);
}

.dark .gl-swatch-color {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .gl-filter-swatch-label input[type="checkbox"]:checked+.gl-swatch-color {
  border: 2px solid var(--color-background-dark, #1e1e1e);
  box-shadow: 0 0 0 2px var(--primary);
}

/* ── Size Chips ── */
.gl-filter-group-list-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0;
}

.gl-filter-option-chip {
  padding: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.gl-filter-chip-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid var(--text-color-secondary, rgba(0, 0, 0, 0.15));
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color-light);
  background-color: transparent;
  transition: all 0.2s ease;
  user-select: none;
}

.gl-filter-chip-label:hover {
  border-color: var(--primary);
  background-color: rgba(var(--primary-rgb, 0, 0, 0), 0.03);
}

.gl-filter-chip-label:has(input[type="checkbox"]:checked) {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
}

.dark .gl-filter-chip-label {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-color-dark, #fff);
}

.dark .gl-filter-chip-label:hover {
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.dark .gl-filter-chip-label:has(input[type="checkbox"]:checked) {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
}

/* Visually Hidden Checkboxes for Swatches/Chips */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Price Slider ── */
.gl-price-slider-wrap {
  padding: 8px 4px;
}

.gl-price-slider {
  position: relative;
  height: 6px;
  margin-bottom: 24px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}

.dark .gl-price-slider {
  background-color: rgba(255, 255, 255, 0.1);
}

.gl-price-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.gl-price-slider-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background-color: var(--primary, #505e23);
  border-radius: 3px;
  transition: none;
}

.gl-price-slider input[type="range"] {
  position: absolute;
  width: 100%;
  height: 6px;
  top: 0;
  left: 0;
  right: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
}

.gl-price-slider input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
}

.gl-price-slider input[type="range"]::-moz-range-track {
  background: transparent;
  border: none;
}

/* Thumbs formatting */
.gl-price-slider input[type="range"]::-webkit-slider-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--color-background-light, #fff);
  border: 2px solid var(--primary, #505e23);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.15s ease-in-out;
  position: relative;
  z-index: 2;
}

.gl-price-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.gl-price-slider input[type="range"]::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: var(--color-background-light, #fff);
  border: 2px solid var(--primary, #505e23);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.15s ease-in-out;
  position: relative;
  z-index: 2;
}

.gl-price-slider input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.dark .gl-price-slider input[type="range"]::-webkit-slider-thumb {
  background: var(--color-background-dark, #1e1e1e);
}

.dark .gl-price-slider input[type="range"]::-moz-range-thumb {
  background: var(--color-background-dark, #1e1e1e);
}

/* Unified Price inputs */
.gl-price-range-inputs {
  display: flex;
  margin-top: 16px;
  width: 100%;
}

.gl-price-single-input-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--text-color-secondary, rgba(0, 0, 0, 0.15));
  border-radius: 8px;
  background-color: var(--color-background-light, #fff);
  padding: 8px 12px;
  gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gl-price-single-input-wrapper:focus-within {
  border-color: var(--primary, #000);
  box-shadow: 0 0 0 1px var(--primary, #000);
}

.gl-price-label-from,
.gl-price-label-to {
  font-size: 0.85rem;
  color: var(--text-color-secondary, #666);
  font-weight: 500;
  user-select: none;
}

.gl-price-currency {
  font-size: 0.85rem;
  color: var(--text-color-secondary, #666);
  font-weight: 600;
  margin-inline-start: auto;
  user-select: none;
}

.gl-price-single-input-wrapper input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  font-weight: 500;
  width: 50px;
  color: var(--text-color-light, #222);
  padding: 0;
  margin: 0;
  text-align: center;
  -moz-appearance: textfield;
}

.gl-price-single-input-wrapper input::-webkit-outer-spin-button,
.gl-price-single-input-wrapper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dark .gl-price-single-input-wrapper {
  background-color: var(--color-background-dark, #1e1e1e);
  border-color: rgba(255, 255, 255, 0.2);
}

.dark .gl-price-single-input-wrapper input {
  color: var(--text-color-dark, #fff);
}

/* Bottom Clear All button removed */

    .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);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        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(--primary);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        color: var(--primary-foreground);
        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(--primary);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        color: var(--primary-foreground);
        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;
        }
    }
/* ==========================================================================
   POPUP CART DROPDOWN & MOBILE BOTTOM SHEET STYLES
   ========================================================================== */

/* Relative anchor for the desktop placement */
.gl-header-cart-wrapper {
  position: relative;
  display: inline-flex;
}

/* Remove number input spin buttons */
.gl-popup-cart-qty-ctrl input::-webkit-outer-spin-button,
.gl-popup-cart-qty-ctrl input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gl-popup-cart-qty-ctrl input[type="number"] {
  -moz-appearance: textfield;
}

/* Popup Cart Base (Desktop) */
.gl-popup-cart {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  width: 370px;
  max-width: 90vw;
  background-color: var(--bg, #ffffff);
  color: var(--text, #1f2937);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius, 16px);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-body), sans-serif;
  box-sizing: border-box;
}

[dir="rtl"] .gl-popup-cart {
  right: auto;
  left: 0;
}

/* Displaying popup state */
.gl-popup-cart.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header styling */
.gl-popup-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--bg, #ffffff);
}

.gl-popup-cart-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text, #1f2937);
}

.gl-popup-cart-close {
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text, #1f2937);
  opacity: 0.7;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.gl-popup-cart-close:hover {
  opacity: 1;
  color: #ef4444;
  transform: scale(1.08);
}

/* Body and scrolling area */
.gl-popup-cart-body {
  padding: 0;
  position: relative;
  min-height: 110px;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.gl-popup-cart-items {
  display: flex;
  flex-direction: column;
}

/* Webkit Scrollbar */
.gl-popup-cart-body::-webkit-scrollbar,
.gl-popup-cart-items::-webkit-scrollbar {
  width: 5px;
}

.gl-popup-cart-body::-webkit-scrollbar-track,
.gl-popup-cart-items::-webkit-scrollbar-track {
  background: transparent;
}

.gl-popup-cart-body::-webkit-scrollbar-thumb,
.gl-popup-cart-items::-webkit-scrollbar-thumb {
  background-color: color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: 10px;
}

/* Empty cart state */
.gl-popup-cart-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--secondary-text, #666666);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gl-popup-cart-empty p {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

/* Loading overlay state */
.gl-popup-cart-loading {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg, #ffffff) 82%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  transition: opacity 0.2s ease;
}

.gl-popup-cart-loading.hidden {
  display: none !important;
}

.dark .gl-popup-cart-loading {
  background: color-mix(in srgb, var(--bg, #1a1a1a) 82%, transparent);
}

/* Individual Cart Item */
.gl-popup-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  align-items: center;
  position: relative;
  transition: opacity 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}


.gl-popup-cart-item:last-child {
  border-bottom: none;
}

/* Item Image */
.gl-popup-cart-item-image {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--subtle-bg, #f4f4f5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-popup-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl-popup-cart-item-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.05);
}

/* Item Info */
.gl-popup-cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gl-popup-cart-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text, #1f2937);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  transition: color 0.2s ease;
}

.gl-popup-cart-item-name:hover {
  color: var(--primary);
}

.gl-popup-cart-item-options {
  font-size: 0.75rem;
  color: var(--secondary-text, #666666);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gl-popup-cart-item-price-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.gl-popup-cart-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* Quantity controls */
.gl-popup-cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 99px;
  overflow: hidden;
  height: 24px;
  background: var(--bg, #ffffff);
}

.gl-popup-cart-qty-ctrl button {
  background: none;
  border: none;
  width: 22px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text, #1f2937);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gl-popup-cart-qty-ctrl button:hover {
  background-color: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

.gl-popup-cart-qty-ctrl input {
  width: 28px;
  height: 100%;
  border: none;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text, #1f2937);
  background: transparent;
  padding: 0;
}

[dir="rtl"] .gl-popup-cart-qty-ctrl input {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

/* Action column (Remove & Total) */
.gl-popup-cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
  padding-block: 2px;
}

[dir="rtl"] .gl-popup-cart-item-actions {
  align-items: flex-start;
}

/* Delete / Trash Button */
.gl-popup-cart-item-remove {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: transparent;
  display: flex;
  align-items: start;
  justify-content: end;
  color: var(--secondary-text, #888888);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}

.gl-popup-cart-item-remove:hover {
  color: #ef4444;
  transform: scale(1.08);
}

.gl-popup-cart-item-remove svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  display: block;
}

.gl-popup-cart-item-total {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text, #1f2937);
  white-space: nowrap;
}

/* Footer Section */
.gl-popup-cart-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background-color: var(--subtle-bg, #fbfbfb);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hide footer completely when cart is empty */
.gl-popup-cart.is-empty .gl-popup-cart-footer,
.gl-popup-cart-footer.hidden {
  display: none !important;
}

.gl-popup-cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
}

.gl-popup-cart-summary span:first-child {
  font-weight: 500;
  color: var(--secondary-text, #666666);
}

.gl-popup-cart-summary span:last-child {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
}

/* Checkout and View buttons */
.gl-popup-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gl-popup-cart-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 99px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.gl-popup-cart-btn-view {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.gl-popup-cart-btn-view:hover {
  background-color: color-mix(in srgb, var(--primary) 10%, transparent);
  transform: translateY(-1px);
}

.gl-popup-cart-btn-checkout {
  background: var(--primary);
  color: var(--primary-foreground, #ffffff) !important;
  border: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 28%, transparent);
}

.gl-popup-cart-btn-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 38%, transparent);
  filter: brightness(1.05);
}

/* ==========================================================================
   DARK MODE COMPATIBILITY
   ========================================================================== */
.dark .gl-popup-cart {
  background-color: var(--bg, #1a1a1a);
  color: var(--text, #ffffff);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dark .gl-popup-cart-header,
.dark .gl-popup-cart-item,
.dark .gl-popup-cart-footer {
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .gl-popup-cart-header {
  background: var(--bg, #1a1a1a);
}

.dark .gl-popup-cart-close {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text, #ffffff);
}

.dark .gl-popup-cart-title,
.dark .gl-popup-cart-item-name,
.dark .gl-popup-cart-item-total {
  color: var(--text, #ffffff);
}

.dark .gl-popup-cart-empty,
.dark .gl-popup-cart-item-options,
.dark .gl-popup-cart-item-remove {
  color: var(--secondary-text, #aaaaaa);
}

.dark .gl-popup-cart-item-image {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .gl-popup-cart-qty-ctrl {
  background: var(--bg, #1a1a1a);
  border-color: rgba(255, 255, 255, 0.15);
}

.dark .gl-popup-cart-qty-ctrl input {
  color: var(--text, #ffffff);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark .gl-popup-cart-qty-ctrl button {
  color: var(--text, #ffffff);
}

.dark .gl-popup-cart-footer {
  background-color: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   MOBILE RESPONSIVE (Bottom Sheet Modal)
   ========================================================================== */
@media (max-width: 767px) {
  .gl-popup-cart {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    margin-top: 0;
    border-radius: 20px 20px 0 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1001;
    transform: translateY(100%);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .gl-popup-cart.show {
    transform: translateY(0);
  }

  .dark .gl-popup-cart {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .gl-popup-cart-body {
    max-height: 50vh;
  }

  .gl-popup-cart-footer {
    padding-bottom: clamp(20px, env(safe-area-inset-bottom), 30px);
  }
}

/* ==========================================================================
   POPUP CART VISIBILITY & CART PAGE OVERRIDES
   ========================================================================== */

.gl-popup-cart.hidden {
  display: none !important;
}

/* Guarantee gl-header-cart-wrapper is completely hidden on the Cart Page */
body:has(#gl-cart-page) .gl-header-cart-wrapper,
body:has(.gl-cart-page) .gl-header-cart-wrapper,
body:has([data-cart-page]) .gl-header-cart-wrapper,
#gl-cart-page~* .gl-header-cart-wrapper,
.gl-cart-page~* .gl-header-cart-wrapper,
[data-page-type="cart"] .gl-header-cart-wrapper {
  display: none !important;
}
/* ===================================================================
   Custom Product Card Design
   Matches the design from the reference image

   Cleanup notes (see chat for full explanation):
   - Merged duplicate selectors that were silently overriding each
     other (.gl-add-to-cart-btn, .gl-product-card-body, title/price
     font-sizes, quick-view-btn sizing).
   - Removed `background: 8px;` on .gl-product-card-horizontal-custom
     .gl-product-card-image — invalid CSS, was a no-op.
   - Removed the horizontal card's `display: grid` + grid-template-
     columns rules (base + both media queries). They were fully
     overridden by a later `display: flex` rule, so they never
     applied — including the responsive column collapse at 768px/480px.
     Replaced with an actual flex-based stacking rule at 480px so that
     behavior now works.
   - Collapsed triple/duplicate `border` and `transition` declarations
     on .gl-add-to-cart-btn into single values (kept the values that
     were winning the cascade, so visual output is unchanged).
   - Removed a redundant `.gl-product-card-horizontal-badges` hide rule
     that duplicated a more general one already in place.
   =================================================================== */

/* -----------------------------------------------
   Global Font & Shared Base
   ----------------------------------------------- */

.gl-product-card-rating .gl-star {
    color: #ddd;
    /* gray for empty stars */
}

.gl-product-card-rating .gl-star.filled {
    color: #FDD264;
}

.gl-product-card-rating .count {
    color: #777;
    /* optional: keep count text subtle */
}

.gl-product-card-vertical-custom *,
.gl-product-card-horizontal-custom * {
    font-family: 'Harmattan', sans-serif;
}

/* -----------------------------------------------
   Price Display Toggle (vertical vs horizontal)
   ----------------------------------------------- */
.gl-product-card-vertical-custom .horizontal-price {
    display: none !important;
}

.gl-product-card-horizontal-custom .vertical-price {
    display: none !important;
}

/* ===================================================================
   VERTICAL CARD
   =================================================================== */

/* Container */
.gl-product-card-vertical-custom {
    height: stretch;
    background: var(--bg);
    border: none;
    border-radius: clamp(0.5rem, 0.3469rem + 0.6531vw, 1rem);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    padding: clamp(0rem, -1.1538rem + 2.4038vw, 1.25rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}




/* Image */
.gl-product-card-vertical-custom .gl-product-card-image {
    position: relative;
    overflow: hidden;
    height: clamp(11.75rem, 10.1236rem + 6.9394vw, 17.063rem);
    width: 100%;
}

.gl-product-card-vertical-custom .gl-product-card-image a {
    display: block;
    height: 100%;
    width: 100%;
}

.gl-product-card-vertical-custom .gl-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}


/* Brand Logo */
.gl-product-card-vertical-custom .gl-product-card-brand-logo {
    position: absolute;
    top: clamp(0.5rem, 0.3469rem + 0.6531vw, 1rem);
    left: clamp(0.5rem, 0.3469rem + 0.6531vw, 1rem);
    width: clamp(2.188rem, 1.988rem + 0.85vw, 2.813rem);
    height: clamp(2.188rem, 1.988rem + 0.85vw, 2.813rem);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background-color: transparent;
    transition: transform 0.3s ease;
}

.gl-product-card-vertical-custom .gl-product-card-brand-logo img {
    object-fit: contain;
}


[dir="rtl"] .gl-product-card-vertical-custom .gl-product-card-brand-logo {
    left: auto;
    right: 10px;
}

.gl-product-card-horizontal-custom .gl-product-card-brand-logo {
    display: none;
}


/* Badges (shared base, vertical is the only one visible) */
.gl-product-card-vertical-badges,
.gl-product-card-horizontal-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gl-product-card-horizontal-badges {
    display: none;
}

[dir="rtl"] .gl-product-card-vertical-badges,
[dir="rtl"] .gl-product-card-horizontal-badges {
    right: auto;
    left: 1rem;
}

.gl-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-weight: bold;
}

.gl-badge-new {
    background: var(--accent);
    color: var(--bg);
}

.gl-badge-sale {
    background: #ff2222;
    color: var(--bg);
}

/* Hover Icons (quick view etc.) */
.gl-product-card-vertical-custom .gl-product-card-hover-icons {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 0.4rem + 0.426vw, 0.75rem);
    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:hover .gl-product-card-price {
    opacity: 0;
}

.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__quick-view-btn,
.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__wishlist-btn {
    width: clamp(1.5rem, 1.3469rem + 0.6531vw, 2rem);
    height: clamp(1.5rem, 1.3469rem + 0.6531vw, 2rem);
    border-radius: 50%;
    background: var(--primary);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    transition: background-color 0.3s ease;

}

.gl-product-card-horizontal-custom .gl-product-card-hover-icons__wishlist-btn.horizontal-btn {
    transition: all 0.3s ease-in-out;
}

.gl-product-card-horizontal-custom .gl-product-card-hover-icons__wishlist-btn.horizontal-btn:hover {
    background: var(--bg);
    border: 1px solid var(--primary);
    border-radius: 50%;

}

.gl-product-card-horizontal-custom .gl-product-card-hover-icons__wishlist-btn.horizontal-btn:hover svg {
    stroke: var(--primary);
}

.gl-product-card-horizontal-custom .gl-product-card-hover-icons__wishlist-btn.horizontal-btn svg {
    height: clamp(0.875rem, 0.6442rem + 0.4808vw, 1.125rem) !important;
    width: clamp(0.875rem, 0.6442rem + 0.4808vw, 1.125rem) !important;
}

.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,
.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__wishlist-btn.is-active,
.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__wishlist-btn:hover {
    background: var(--bg);
}

.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__quick-view-btn svg,
.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__wishlist-btn svg {
    stroke: var(--bg);
    transition: color 0.3s ease;
}

.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,
.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__wishlist-btn.is-active svg,
.gl-product-card-vertical-custom .gl-product-card-hover-icons .gl-product-card-hover-icons__wishlist-btn:hover svg {
    stroke: var(--primary);
}

/* Generic hover icon button (used elsewhere, e.g. wishlist/compare) */
.gl-hover-icon-btn {
    width: clamp(1.5rem, 1.3469rem + 0.6531vw, 2rem);
    height: clamp(1.5rem, 1.3469rem + 0.6531vw, 2rem);
    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;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.gl-hover-icon-btn svg {
    width: clamp(0.875rem, 0.775rem + 0.426vw, 1.125rem);
    height: clamp(0.875rem, 0.775rem + 0.426vw, 1.125rem);
}

/* Add to Cart — slide-in panel (vertical) */
.gl-product-card-vertical-custom .gl-product-card-add-to-cart {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    padding: clamp(0.5rem, 0.3469rem + 0.6531vw, 1rem);
    transform: translate(100%, -50%);
    transition: transform 0.3s ease;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    align-items: start;
    gap: 8px;
}

.gl-product-card-vertical-custom .gl-product-card-add-to-cart {
    position: absolute;
    top: 50%;
    left: unset;
    right: 0;
    padding: clamp(0.5rem, 0.3469rem + 0.6531vw, 1rem);
    transform: translate(100%, -50%);
    transition: transform 0.3s ease;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    align-items: start;
    gap: 8px;
}

[dir='ltr'] .gl-product-card-vertical-custom .gl-product-card-add-to-cart {
    left: 0;
    right: unset;
    transform: translate(-100%, -50%);

}

.gl-product-card-vertical-custom:hover .gl-product-card-add-to-cart {
    transform: translate(0%, -50%);
}


/* Add to Cart — button (vertical): bottom-centered, revealed on card hover */
.gl-product-card-vertical-custom .gl-add-to-cart-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: clamp(7.25rem, 6.2551rem + 4.2449vw, 10.5rem);
    min-height: clamp(1.75rem, 1.6924rem + 0.2456vw, 1.938rem);
    transform: translate(-50%, 100px);
    opacity: 0;
    background: var(--primary);
    color: var(--bg);
    height: clamp(1.75rem, 1.0577rem + 1.4423vw, 2.5rem);
    border-radius: 24px;
    font-size: clamp(0.875rem, 0.7985rem + 0.3265vw, 1.125rem);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    padding: 0 !important;
}

.gl-product-card-vertical-custom:hover .gl-add-to-cart-btn {
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Add to Cart — shared border, transition & hover swap (both card types) */
.gl-product-card-vertical-custom .gl-add-to-cart-btn,
.gl-product-card-horizontal-custom .gl-add-to-cart-btn {
    border: 1px solid var(--primary);
    transition: all 0.3s ease-in-out;
}

.gl-product-card-vertical-custom .gl-add-to-cart-btn:hover,
.gl-product-card-horizontal-custom .gl-add-to-cart-btn:hover {
    background: var(--bg);
    color: var(--primary);
}

.gl-product-card-vertical-custom .gl-add-to-cart-btn svg,
.gl-product-card-horizontal-custom .gl-add-to-cart-btn svg {
    width: clamp(1.125rem, 1.025rem + 0.426vw, 1.25rem);
    height: clamp(1.125rem, 1.025rem + 0.426vw, 1.25rem);
    stroke: currentColor;
}

/* Body & Title (vertical) */
.gl-product-card-vertical-custom .gl-product-card-body {
    padding: clamp(0.5rem, 0.3469rem + 0.6531vw, 1rem) clamp(0.5rem, 0.3469rem + 0.6531vw, 1rem) clamp(0.625rem, 0.5102rem + 0.4898vw, 1rem) clamp(0.5rem, 0.3469rem + 0.6531vw, 1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100% - clamp(11.75rem, 10.1236rem + 6.9394vw, 17.063rem));
}

.gl-product-card-vertical-custom .gl-product-card-title a {
    font-size: clamp(1rem, 0.7704rem + 0.9796vw, 1.75rem);
    text-align: center;
}

/* Price (vertical) */
.gl-product-card-vertical-custom .gl-product-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease-in-out;
    width: 100%;
    justify-content: center;
}

.gl-product-card-vertical-custom .gl-product-card-price .current {
    font-size: clamp(1rem, 0.7704rem + 0.9796vw, 1.75rem);
    font-weight: 500;
    color: var(--primary);
}

.gl-product-card-vertical-custom .gl-product-card-price .original {
    font-size: 0.875rem;
    font-weight: 500;
    color: #777;
    opacity: 0.6;
    text-decoration: line-through;
}

/* Hide rating & offer timer on vertical cards */
.gl-product-card-vertical-custom .gl-product-card-rating {
    display: none;
}

.gl-product-card-vertical-custom .offer-timer {
    display: none !important;
}

/* Cross-hide wrappers that belong to the other layout */
.gl-product-card-vertical-custom .action-horizontal-wrapper,
.gl-product-card-horizontal-custom .gl-product-card-vertical-badges {
    display: none;
}

/* ===================================================================
   HORIZONTAL CARD
   =================================================================== */

.gl-product-card-horizontal-custom {
    background-color: var(--bg);
    border: none;
    border-radius: 16px;
    padding: clamp(0.75rem, 0.6735rem + 0.3265vw, 1rem);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    max-height: clamp(8.25rem, 7.9439rem + 1.3061vw, 9.25rem);
}

.gl-product-card-horizontal-custom .horizontal-price {
    min-width: 50%;
}

.gl-product-card-horizontal-custom .gl-product-card-hover-icons {
    display: none;
}

/* Image */
.gl-product-card-horizontal-custom .gl-product-card-image {
    width: 115px;
    height: 110px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gl-product-card-horizontal-custom .gl-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Body & Title */
.gl-product-card-horizontal-custom .gl-product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 0;
}

.gl-product-card-horizontal-custom .gl-product-card-title a {
    font-size: clamp(1rem, 0.7704rem + 0.9796vw, 1.75rem);
}

/* Shared title link styling (both layouts) */
.gl-product-card-horizontal-custom .gl-product-card-title a,
.gl-product-card-vertical-custom .gl-product-card-title a {
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.gl-product-card-horizontal-custom .gl-product-card-title a:hover,
.gl-product-card-vertical-custom .gl-product-card-title a:hover {
    color: var(--primary);
}

/* Price */
.gl-product-card-horizontal-custom .gl-product-card-price .current {
    font-size: clamp(1rem, 0.9rem + 0.426vw, 1.25rem);
    font-weight: 500;
    color: var(--primary);
    margin-inline-end: 4px;
}

.gl-product-card-horizontal-custom .gl-product-card-price .original {
    font-size: clamp(0.875rem, 0.825rem + 0.213vw, 1rem);
    font-weight: 500;
    color: #777;
    opacity: 0.6;
    text-decoration: line-through;
}

/* Add to Cart button (horizontal) */
.gl-product-card-horizontal-custom .gl-add-to-cart-btn {
    background: var(--primary);
    color: var(--bg);
    font-size: clamp(0.75rem, 0.7rem + 0.213vw, 0.875rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

/* Action wrapper (horizontal) */
.gl-product-card-horizontal-custom .action-horizontal-wrapper {
    display: flex;
    width: 100%;
    gap: 8px;
    justify-content: end;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.gl-product-card-horizontal-custom:hover .action-horizontal-wrapper {
    opacity: 1;
    transform: translateY(0px);
}

/* Special variant overrides */
.gl-product-card--horizontal.gl-product-card-horizontal-custom .vertical-btn {
    display: none !important;
}

.gl-product-card--horizontal.gl-product-card-horizontal-custom .horizontal-btn {
    width: clamp(1.625rem, 1.5102rem + 0.4898vw, 2rem);
    height: clamp(1.625rem, 1.5102rem + 0.4898vw, 2rem);
    border-radius: 50%;
}

.gl-product-card--horizontal.gl-product-card-horizontal-custom .wishlist-btn svg {
    width: clamp(0.875rem, 0.6442rem + 0.4808vw, 1.125rem);
    height: clamp(0.875rem, 0.6442rem + 0.4808vw, 1.125rem);
}

/* ===================================================================
   SHARED COMPONENTS: Header, Rating, Offer Timer, Category
   =================================================================== */

.gl-product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gl-product-card-rating .star {
    width: clamp(1rem, 0.9rem + 0.426vw, 1.125rem);
    height: clamp(1rem, 0.9rem + 0.426vw, 1.125rem);
}

.gl-product-card-rating svg {
    width: 100%;
    height: 100%;
}

.gl-product-card-rating svg path {
    fill: #C4C4C4;
}

.gl-product-card-rating .count {
    margin-left: 6px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary);
}

.btn-text-add-to-cart {
    display: block;
}

.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: clamp(0.75rem, 0.7rem + 0.213vw, 0.875rem);
    font-weight: 400;
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 8px;
}

.countdown-days,
.countdown-hours,
.countdown-minutes,
.offer-timer-end-day {
    font-size: clamp(1rem, 0.9rem + 0.426vw, 1.25rem);
    font-weight: bold;
    color: var(--text);
}

.offer-timer-end-month,
.offer-timer-unit {
    font-size: clamp(0.75rem, 0.7rem + 0.213vw, 0.875rem);
    font-weight: 500;
    color: var(--text);
    opacity: 0.6;
}

.gl-product-card-category {
    font-size: clamp(0.75rem, 0.7rem + 0.213vw, 0.875rem);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 4px;
    text-transform: uppercase;
}

/* Global quick-view action button (generic, used outside the two card types) */
.gl-product-card-action-btn.gl-product-card-hover-icons__quick-view-btn,
.gl-product-card-action-btn.gl-product-card-hover-icons__wishlist-btn {
    width: clamp(0.688rem, 0.5542rem + 0.5708vw, 1.125rem);
    height: clamp(0.688rem, 0.5542rem + 0.5708vw, 1.125rem);
    color: var(--bg);
    background-color: var(--primary);
    border-radius: 50%;
}

/* -----------------------------------------------
   Entrance Animation
   ----------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */

@media (max-width: 768px) {
    .gl-product-card-vertical-custom:hover .gl-product-card-price {
        opacity: 1;
    }


    .gl-product-card-horizontal-custom:hover .action-horizontal-wrapper {
        opacity: 1;
        transform: translateX(0px);
    }

    .gl-product-card-vertical-custom .gl-product-card-hover-icons {
        visibility: visible;
        opacity: 1;
    }

    /* Vertical Card - Add to Cart becomes always-visible/static */
    .gl-product-card-vertical-custom .gl-product-card-add-to-cart {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        padding: 8px;
        transform: translate(0%, -50%);
        opacity: 1;

    }

    [dir="ltr"] .gl-product-card-vertical-custom .gl-product-card-add-to-cart {
        left: 0 !important;
        transform: translate(0%, -50%) !important;
    }

    .gl-product-card-vertical-custom .gl-add-to-cart-btn {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        margin-top: auto;
    }

    .gl-hover-icon-btn {
        width: 38px;
        height: 38px;
    }

    .gl-product-card-horizontal-custom .gl-product-card-price .current,
    .gl-product-card-vertical-custom .gl-product-card-price .current {
        font-size: 16px;
    }

    .btn-text-add-to-cart {
        display: none;
    }
}

@media (max-width: 480px) {
    .gl-product-card-vertical-custom .gl-product-card-brand-logo {
        width: clamp(1.875rem, 1.725rem + 0.638vw, 2.188rem);
        height: clamp(1.875rem, 1.725rem + 0.638vw, 2.188rem);
    }

    .gl-product-card-vertical-custom .gl-product-card-brand-logo svg {
        width: clamp(1.875rem, 1.725rem + 0.638vw, 2.188rem);
        height: clamp(1.875rem, 1.725rem + 0.638vw, 2.188rem);
    }

    .gl-hover-icon-btn {
        width: clamp(1.875rem, 1.725rem + 0.638vw, 2.125rem);
        height: clamp(1.875rem, 1.725rem + 0.638vw, 2.125rem);
    }

    .gl-hover-icon-btn svg {
        width: clamp(0.75rem, 0.675rem + 0.319vw, 0.875rem);
        height: clamp(0.75rem, 0.675rem + 0.319vw, 0.875rem);
    }

    .gl-product-card-vertical-custom .gl-add-to-cart-btn {
        font-size: clamp(0.75rem, 0.7rem + 0.213vw, 0.813rem);
        padding: 0 !important;
    }

    .gl-product-card-vertical-custom .gl-add-to-cart-btn svg {
        width: clamp(1rem, 0.95rem + 0.213vw, 1.125rem);
    }

}
/* ==========================================================================
   PRODUCT REVIEWS COMPONENT STYLES
   ========================================================================== */

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

/* ── QUICK VIEW POPUP ─────────────────────────────────────────────── */

.gl-quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.021);
  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;
  backdrop-filter: blur(20px);
}

.gl-quick-view-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.gl-quick-view-category {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
}

.gl-quick-view-content {
  max-width: 900px;
  color: var(--text);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow: visible;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.gl-quick-view-overlay.is-active .gl-quick-view-content {
  transform: scale(1) translateY(0);
}

.gl-quick-view-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  background: var(--subtle-bg, rgba(0, 0, 0, 0.05));
  opacity: 0.85;
  transition: all 0.2s ease;
  z-index: 10;
}

[dir="rtl"] .gl-quick-view-close {
  right: auto;
  left: 12px;
}

.gl-quick-view-close:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  transform: scale(1.08);
  opacity: 1;
}

.gl-quick-view-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--primary);
  background-color: var(--bg);
}

@media (max-width: 768px) {
  .gl-quick-view-overlay.is-active .gl-quick-view-content {
    overflow-y: scroll;
  }

  .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(--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;
  justify-content: space-between;
}

.gl-quick-view-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  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(--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;
  overflow: visible;
  gap: 24px;
}

.gl-quick-view-meta-detail {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.gl-quick-view-meta-detail .in-stock {
  color: var(--primary);
  margin-top: 16px;
}

.in-stock+div {
  margin-top: 16px;
  font-size: 18px;
}

.gl-quick-view-meta-detail .out-of-stock {
  color: var(--gl-error, #dc2626);
}

.qtypr input {
  -moz-appearance: textfield;
  max-width: 12px;
  color: var(--primary);
}

.qtypr .gl-product-quantity input::-webkit-outer-spin-button,
.qtypr .gl-product-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qtypr .gl-product-quantity input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}


.gl-quick-view-meta-detail strong {
  font-weight: 600;
}

.gl-quick-view-rating {
  text-align: right;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.gl-quick-view-rating .gl-stars {
  display: flex;
  gap: 2px;
  font-size: 1rem;
}

.gl-quick-view-rating .gl-star.filled {
  color: var(--accent, #f59e0b);
}

.gl-quick-view-rating .gl-star {
  color: #d1d5db;
}

.gl-quick-view-reviews-link {
  font-size: 0.85rem;
  color: var(--text, #6b7280);
  text-decoration: none;
  transition: color 0.2s ease;
}

.gl-quick-view-reviews-link:hover {
  color: var(--primary, #e91e63);
}

.gl-quick-view-description p {
  margin: 0;
  line-height: 1.2;
  opacity: 0.7;
  color: var(--text);
  font-size: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gl-quick-view-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gl-quick-view-actions .qtypr {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.qtypr .gl-product-quantity {
  margin-bottom: 0px;
  border: none;
  background-color:
    color-mix(in srgb, var(--primary) 5%, var(--accent) 5%);
  border-radius: 26px;
  justify-content: space-between;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.qtypr .gl-product-quantity input {
  max-width: 10px;
  background-color: transparent !important;
  font-size: 20px;
}

.qtypr .label-qty {
  display: none !important;
}

.gl-quick-view-quantity {
  display: flex;
  align-items: center;
  gap: 0px;
}

.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(--text);
}



.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(--text);
}

.gl-quantity-btn:hover {
  background: var(--bg, #f9fafb);
  color: var(--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(--text);
  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(--primary) !important;
  border: 1px solid var(--primary-foreground);
  color: var(--primary-foreground) !important;
  border-radius: 24px;
}

.gl-quick-view-buttons .btn-buy {
  background-color: var(--primary-foreground) !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary);
  border-radius: 24px;
}

.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(--text);
  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(--secondary-text, #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(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.share-rat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow: visible;
  width: 100%;
}

.gl-share-dropdown a:hover {
  background: var(--bg, #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-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(--primary, #0f766e);
  color: white;
}

.gl-btn-primary:hover {
  background: var(--primary, #0f766e);
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== Compare Button Arbitrary Styles ===== */
.custom-button.open-compare-modal {
  position: fixed;
  top: 36%;
  z-index: 50;
  display: flex;
  align-items: center;
  background-color: var(--primary, #4659ea);
  color: #ffffff;
  border-radius: 4px;
  padding: 6px 16px;
  gap: 8px;
  border: none;
  cursor: pointer;
  transform: rotate(270deg);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

[dir="ltr"] .custom-button.open-compare-modal,
:dir(ltr) .custom-button.open-compare-modal {
  right: -47px;
}

[dir="rtl"] .custom-button.open-compare-modal,
:dir(rtl) .custom-button.open-compare-modal {
  left: -31px;
}

.custom-button.open-compare-modal.is-visible,
.custom-button.open-compare-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.custom-button.open-compare-modal .compare-btn-label {
  font-size: 1.125rem;
  color: #ffffff;
}

.custom-button.open-compare-modal #compare-count,
.custom-button.open-compare-modal #compareFloatCount {
  position: absolute;
  top: 0.5rem;
  right: -0.5rem;
  background-color: #ef4444 !important;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Compare Modal Transitions & Layout ===== */
#compare-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

#compare-modal.active,
#compare-modal.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.compare-modal-card {
  background-color: var(--bg, #ffffff);
  color: var(--text, #18181b);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  width: 95%;
  max-width: 1355px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 60px;
}

.dark .compare-modal-card {
  background-color: var(--bg, #18181b);
  color: var(--text, #ffffff);
}

@media (max-width: 768px) {
  .compare-modal-card {
    padding: 30px 16px;
  }
}

#close-compare-modal {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--primary, #4659ea);
  color: var(--primary, #4659ea);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 10;
}

[dir="rtl"] #close-compare-modal,
:dir(rtl) #close-compare-modal {
  right: auto;
  left: 0.75rem;
}

#close-compare-modal:hover {
  color: #ef4444;
  border-color: #ef4444;
}

/* Compare Table & Mobile Views */
#compare-table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}

@media (max-width: 1279px) {
  #compare-table {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  #mobile-compare {
    display: none !important;
  }
}

#mobile-compare {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

@media (min-width: 768px) and (max-width: 1279px) {
  #mobile-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/**
 * Saudi Riyal (SAR) new symbol — U+00EA rendered by SaudiRiyalSymbol font.
 * Portable theme copy: data-URI only so ThemeAssetController combined CSS works.
 * Package: @abdulrysr/saudi-riyal-new-symbol-font (MIT)
 * @see https://github.com/abdulrysrr/new-saudi-riyal-symbol
 */
@font-face {
    font-family: 'SaudiRiyalSymbol';
    src: url('data:font/truetype;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTaelW30AAAaQAAAAHE9TLzJHKtLwAAABWAAAAGBjbWFwAw/0ZAAAAcgAAAE6Y3Z0IAAhAnkAAAMEAAAABGdhc3D//wADAAAGiAAAAAhnbHlmLOWONAAAAxQAAADkaGVhZCru04wAAADcAAAANmhoZWEHXgOxAAABFAAAACRobXR4DVYAgQAAAbgAAAAQbG9jYQCcAFQAAAMIAAAACm1heHAASABaAAABOAAAACBuYW1lkETiNwAAA/gAAAJkcG9zdAAuADUAAAZcAAAAKgABAAAAAQAAtLhmGF8PPPUACwPoAAAAAOPnR50AAAAA4+dIrgAh/zoD4AMiAAAACAACAAAAAAAAAAEAAAMi/zoAWgRyAAAAAAPgAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAEACkAAgAAAAAAAgAAAAEAAQAAAEAALgAAAAAABARyAZAABQAAAooCvAAAAIwCigK8AAAB4AAxAQIAAAIABQkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZACA8Orw6gMg/zgAWgMiAMaAAAAAAAAAAAAAAAAAAAAgAAEEcgAhAAAAAARyAAAEcgBgAAAAAgABAAAAAAA0AAMAAAAAABQABAAgAAAABAAEAAEAAPDq//8AAPDq//8PGQABAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhAnkAAAAqACoAKgByAAAAAgAhAAABKgKaAAMABwAusQEALzyyBwQA7TKxBgXcPLIDAgDtMgCxAwAvPLIFBADtMrIHBgH8PLIBAgDtMjMRIREnMxEjIQEJ6MfHApr9ZiECWAAAAgBg/zoD4AMiAAUAKAAABSUGBwU2JQU1BxUUDwEGBwU2NyU1BTY/ARE2NxE3ETY3ESUGDwEVJQYCjgFSBhn+rgYBTP6uaQk3FSb+1gYZAR3+9gYY7Cw9aS09AQcGGegBBwZUSDw2SDzjSNcWdxAOUR8IQDw3PIg5PDYyAaM2Iv4cFgFBNiL+fTg7NzFsODwAAAAVAQIAAQAAAAAAAAAZADQAAQAAAAAAAQAJAGIAAQAAAAAAAgAHAHwAAQAAAAAAAwAlANAAAQAAAAAABAAJAQoAAQAAAAAABQAPATQAAQAAAAAABgAJAVgAAwAABAkAAAAyAAAAAwAABAkAAQASAE4AAwAABAkAAgAOAGwAAwAABAkAAwBKAIQAAwAABAkABAASAPYAAwAABAkABQAeARQAAwAABAkABgASAUQAAwABBAkAAAAyAAAAAwABBAkAAQASAE4AAwABBAkAAgAOAGwAAwABBAkAAwBKAIQAAwABBAkABAASAPYAAwABBAkABQAeARQAAwABBAkABgASAUQAQwBvAHAAeQByAGkAZwBoAHQAIAAoAGMAKQAgADIAMAAyADUALAAgAGEAcgBlAGgAbQAAQ29weXJpZ2h0IChjKSAyMDI1LCBhcmVobQAAVQBuAHQAaQB0AGwAZQBkADIAAFVudGl0bGVkMgAAUgBlAGcAdQBsAGEAcgAAUmVndWxhcgAARgBvAG4AdABGAG8AcgBnAGUAIAAyAC4AMAAgADoAIABVAG4AdABpAHQAbABlAGQAMgAgADoAIAAyADgALQAyAC0AMgAwADIANQAARm9udEZvcmdlIDIuMCA6IFVudGl0bGVkMiA6IDI4LTItMjAyNQAAVQBuAHQAaQB0AGwAZQBkADIAAFVudGl0bGVkMgAAVgBlAHIAcwBpAG8AbgAgADAAMAAxAC4AMAAwADAAAFZlcnNpb24gMDAxLjAwMAAAVQBuAHQAaQB0AGwAZQBkADIAAFVudGl0bGVkMgAAAgAAAAAAAP+1ADIAAAABAAAAAAAAAAAAAAAAAAAAAAAEAAAAAQACAHIAAAAAAAH//wACAAAAAQAAAADf1ssxAAAAAOPnR50AAAAA4+dIrg==') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+00EA;
}

:root {
    --gs-sar-font-stack: 'SaudiRiyalSymbol', 'IBM Plex Sans Arabic', ui-sans-serif, system-ui, sans-serif;
}

.icon-saudi_riyal,
.saudi-riyal,
.gs-sar {
    font-family: var(--gs-sar-font-stack) !important;
    font-size: inherit;
    font-weight: inherit;
}

/* Price surfaces — beats theme Google font stacks */
body :is(
.gs-price,
.gs-price *,
.gs-pdp-price,
.gs-pdp-price *,
.gs-collection-card__price,
.gs-category-price-range,
.gs-category-price-range *,
.gl-product-info-price,
.gl-product-info-price *,
.gl-product-card-price,
.gl-product-card-price *,
.gl-quick-view-price,
.gl-quick-view-price *,
.gl-spotlight-product-price,
.gl-spotlight-product-price *,
.price-cart,
[class*='price'],
[class*='Price'],
.final-price,
.regular-price,
.price-label) {
    font-family: var(--gs-sar-font-stack) !important;
    direction: inherit;
}
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.subcategories-swiper,.swiper{min-width:0!important;width:100%!important;overflow:hidden!important}.swiper-slide{flex-shrink:0!important;box-sizing:border-box!important}.dark .Tr-hero-dropbtn{background-color:color-mix(in srgb,var(--color-background-dark) 90%,#fff)}.dark .Tr-hero-dropdown-menu{color:color-mix(in srgb,var(--primary) 50%,#fff)}.Tr-map-title,.Tr-sec-heading-title,.Tr-services-title,.Tr-tab-title{font-size:clamp(1rem,.7321rem + 1.1429vw,1.875rem)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-right-2{right:-.5rem}.right-3{right:.75rem}.top-3{top:.75rem}.top-\[\.5rem\]{top:.5rem}.top-\[36\%\]{top:36%}.z-20{z-index:20}.z-50{z-index:50}.z-\[9999\]{z-index:9999}.m-1{margin:.25rem}.m-auto{margin:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-1{margin-bottom:.25rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[136px\]{height:136px}.h-\[clamp\(6\.25rem\2c 5\.2358rem\+4\.3272vw\2c 9\.563rem\)\]{height:clamp(6.25rem,5.2358rem + 4.3272vw,9.563rem)}.h-full{height:100%}.max-h-\[90vh\]{max-height:90vh}.min-h-\[clamp\(6\.25rem\2c 5\.2358rem\+4\.3272vw\2c 9\.563rem\)\]{min-height:clamp(6.25rem,5.2358rem + 4.3272vw,9.563rem)}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-\[191px\]{width:191px}.w-\[93px\]{width:93px}.w-\[95\%\]{width:95%}.w-full{width:100%}.min-w-\[132px\]{min-width:132px}.min-w-\[200px\]{min-width:200px}.min-w-\[93px\]{min-width:93px}.min-w-full{min-width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.translate-y-0{--tw-translate-y:0px}.translate-y-0,.translate-y-2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-2{--tw-translate-y:0.5rem}.rotate-\[270deg\]{--tw-rotate:270deg}.rotate-\[270deg\],.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[4px\]{border-radius:4px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-none{border-style:none}.border-primary{border-color:var(--primary)}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity,1))}.border-zinc-200{--tw-border-opacity:1;border-color:rgb(228 228 231/var(--tw-border-opacity,1))}.\!bg-\[\#ef4444\]{--tw-bg-opacity:1!important;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))!important}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-primary{background-color:var(--primary)}.bg-transparent{background-color:transparent}.bg-opacity-40{--tw-bg-opacity:0.4}.object-cover{-o-object-fit:cover;object-fit:cover}.\!p-0{padding:0!important}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-\[40px\]{padding-top:40px;padding-bottom:40px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.pb-0{padding-bottom:0}.pb-2\.5{padding-bottom:.625rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[16px\]{font-size:16px}.text-\[clamp\(0\.625rem\2c 0\.4814rem\+0\.6436vw\2c 1\.125rem\)\]{font-size:clamp(.625rem,.4814rem + .6436vw,1.125rem)}.text-\[clamp\(0\.75rem\2c 0\.7117rem\+0\.1633vw\2c 0\.875rem\)\]{font-size:clamp(.75rem,.7117rem + .1633vw,.875rem)}.text-\[clamp\(0\.843125rem\2c 0\.7951rem\+0\.2049vw\2c 1rem\)\]{font-size:clamp(.843125rem,.7951rem + .2049vw,1rem)}.text-\[clamp\(1rem\2c 0\.7846rem\+0\.9654vw\2c 1\.75rem\)\]{font-size:clamp(1rem,.7846rem + .9654vw,1.75rem)}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-\[120\%\]{line-height:120%}.leading-\[25px\]{line-height:25px}.leading-tight{line-height:1.25}.text-\[\#BE0000\]{--tw-text-opacity:1;color:rgb(190 0 0/var(--tw-text-opacity,1))}.text-font{color:var(--text)}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-primary{color:var(--primary)}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-yellow-400{--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-60{opacity:.6}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.hover\:bg-primary:hover{background-color:var(--primary)}.hover\:text-red-500:hover{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.hover\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.hover\:text-red-700:hover{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity,1))}.hover\:text-red-800:hover{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.focus\:not-sr-only:focus{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.focus\:fixed:focus{position:fixed}.focus\:left-4:focus{left:1rem}.focus\:top-4:focus{top:1rem}.focus\:z-\[1000\]:focus{z-index:1000}.focus\:rounded-md:focus{border-radius:.375rem}.focus\:bg-primary:focus{background-color:var(--primary)}.focus\:px-4:focus{padding-left:1rem;padding-right:1rem}.focus\:py-2:focus{padding-top:.5rem;padding-bottom:.5rem}.focus\:text-white:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.focus\:shadow-xl:focus{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark\:border-gray-700:is(.dark *){--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.dark\:border-red-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark\:text-white:is(.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:640px){.sm\:mx-1\.5{margin-left:.375rem;margin-right:.375rem}}@media (min-width:768px){.md\:hidden{display:none}.md\:max-w-\[1355px\]{max-width:1355px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:px-\[60px\]{padding-left:60px;padding-right:60px}}@media (min-width:1024px){.lg\:flex-none{flex:none}}@media (min-width:1280px){.xl\:table{display:table}.xl\:hidden{display:none}}.ltr\:right-\[-47px\]:where([dir=ltr],[dir=ltr] *){right:-47px}.ltr\:rotate-180:where([dir=ltr],[dir=ltr] *){--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ltr\:justify-end:where([dir=ltr],[dir=ltr] *){justify-content:flex-end}.rtl\:left-\[-31px\]:where([dir=rtl],[dir=rtl] *){left:-31px}.rtl\:rotate-180:where([dir=rtl],[dir=rtl] *){--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rtl\:scale-x-\[-1\]:where([dir=rtl],[dir=rtl] *){--tw-scale-x:-1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}
/* ==========================================================================
   SEMANTIC THEME TOKENS
   ========================================================================== */

:root {
  --gl-surface: var(--bg);
  --gl-text: var(--text);
  --gl-text-muted: var(--secondary-text);
  --gl-border: var(--secondary-text);
  color-scheme: light;
}

.dark {
  --gl-surface: var(--bg);
  --gl-text: var(--text);
  --gl-text-muted: var(--secondary-text);
  --gl-border: var(--secondary-text);
  color-scheme: dark;
}
