/*
Theme Name: Zioda Marketplace
Theme URI: https://zioda.com/
Author: Deja Digital / ApexX Group
Author URI: https://www.facebook.com/DejaDigital1
Description: Ultra-Luxury Multi-Vendor WooCommerce & Elementor WordPress Theme for Zioda Marketplace. Features Motion Graphics 3D Gold Logo Preloader, Multi-Slide Hero Carousel with Ken Burns Motion, Real Product Category Icons, Dual Interactive 360° Drag-to-Spin & 3D (.glb/.gltf) Product Viewer, Dokan & WCFM Multi-Vendor Integration, Egypt (🇪🇬 ع) & UK (🇬🇧 EN) Bilingual Switcher, Paymob / Visa / COD Payment Gateways, and Deja Digital Signature.
Version: 5.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zioda-marketplace
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, rtl-language-support, theme-options, translation-ready
*/

:root {
  --zioda-bg: #F6F1E8;
  --zioda-bg-soft: #EFE8DC;
  --zioda-surface: #FFFFFF;
  --zioda-gold: #B89058;
  --zioda-gold-light: #DFC08E;
  --zioda-gold-dark: #8C6736;
  --zioda-gold-gradient: linear-gradient(135deg, #E2C596 0%, #B89058 50%, #8E6837 100%);
  --zioda-dark: #1E2229;
  --zioda-espresso: #33241B;
  --zioda-text: #22252A;
  --zioda-text-muted: #68645E;
  --zioda-border: rgba(184, 144, 88, 0.24);
  --zioda-radius-xl: 20px;
  --zioda-radius-lg: 14px;
  --zioda-radius-pill: 999px;
  --zioda-shadow-sm: 0 4px 14px rgba(30, 24, 16, 0.05);
  --zioda-shadow-md: 0 10px 30px rgba(30, 24, 16, 0.08);
  --zioda-font-serif: 'Playfair Display', Georgia, serif;
  --zioda-font-sans: 'Plus Jakarta Sans', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --zioda-font-script: 'Cormorant Garamond', cursive, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--zioda-font-sans);
  background: radial-gradient(circle at 20% 0%, #FCF9F4 0%, #F5EFE6 55%, #EBE2D4 100%);
  color: var(--zioda-text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.zioda-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. TOP ANNOUNCEMENT BAR */
.zioda-topbar {
  background: #181B20;
  color: #DFC08E;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid rgba(184, 144, 88, 0.35);
}

.zioda-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zioda-topbar-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a745;
  box-shadow: 0 0 8px #28a745;
  margin-right: 6px;
}

/* 2. PRELOADER */
#zioda-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, #FCF9F4 0%, #F2EAE0 55%, #E4D7C5 100%);
  transition: opacity 0.5s ease, visibility 0.5s;
}
#zioda-preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.zioda-preloader-stage {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.zioda-orbit-ring {
  position: absolute;
  border-radius: 50%;
}
.zioda-orbit-ring--outer {
  width: 250px;
  height: 250px;
  border: 1.5px dashed rgba(184, 144, 88, 0.35);
  animation: ziodaOrbitSpin 14s linear infinite;
}
.zioda-orbit-ring--inner {
  width: 200px;
  height: 200px;
  border: 2px solid transparent;
  border-top-color: #B89058;
  border-bottom-color: rgba(30, 34, 41, 0.25);
  animation: ziodaOrbitSpinReverse 3.2s linear infinite;
}
.zioda-preloader-emblem-wrap {
  position: relative;
  z-index: 3;
  width: 130px;
}
.zioda-preloader-wordmark {
  position: relative;
  z-index: 3;
  width: 160px;
  margin-top: 8px;
}
.zioda-preloader-footer {
  margin-top: 18px;
  width: 230px;
  text-align: center;
}
.zioda-preloader-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(51, 36, 27, 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.zioda-preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--zioda-gold-gradient);
  border-radius: 99px;
  transition: width 0.2s ease;
}
.zioda-preloader-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--zioda-espresso);
}
.zioda-preloader-skip {
  margin-top: 12px;
  background: transparent;
  border: 1px solid rgba(184, 144, 88, 0.4);
  color: var(--zioda-text-muted);
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 11px;
  cursor: pointer;
}

/* 3. HEADER (COMPACT, SLIM, GUARANTEED CONSTRAINTS) */
.zioda-header {
  padding: 6px 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 241, 232, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 144, 88, 0.20);
  max-height: 68px !important;
}

.zioda-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  height: 52px !important;
}

.zioda-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  height: 42px !important;
  max-height: 42px !important;
  flex-shrink: 0 !important;
}

.zioda-brand-header-img {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.custom-logo-link img,
.custom-logo {
  max-height: 38px !important;
  width: auto !important;
  object-fit: contain !important;
}

.zioda-search-wrap {
  flex: 1;
  max-width: 520px;
}

.zioda-search-form {
  height: 38px !important;
  padding: 0 14px !important;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid rgba(184, 144, 88, 0.30);
  border-radius: var(--zioda-radius-pill);
}

.zioda-search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: var(--zioda-text);
  padding: 4px;
}

.zioda-search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #4A4640;
  padding: 4px;
}

.zioda-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.zioda-flag-switcher {
  display: inline-flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(184, 144, 88, 0.35) !important;
  border-radius: 99px !important;
  padding: 2px 4px !important;
  gap: 3px !important;
  height: 30px !important;
}

.zioda-flag-opt {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 8px !important;
  border-radius: 99px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #68645E !important;
  cursor: pointer !important;
  border: none !important;
  background: transparent !important;
  height: 24px !important;
  line-height: 1 !important;
  transition: all 0.2s ease;
}

.zioda-flag-opt img {
  width: 16px !important;
  height: 12px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
}

.zioda-flag-opt.active {
  background: var(--zioda-dark) !important;
  color: #DFC08E !important;
}

.zioda-action-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zioda-text);
}

.zioda-cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
}

.zioda-cart-badge {
  position: absolute;
  top: -3px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--zioda-gold-gradient);
  color: #181B20;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4. HERO BENTO (DESKTOP: NARROW 195px CATEGORY SIDEBAR, WIDE EXPANDED SLIDER) */
.zioda-hero-bento {
  display: grid;
  grid-template-columns: 195px 1fr 200px;
  gap: 14px;
  margin-top: 10px;
  align-items: stretch;
}

.zioda-slider-container {
  position: relative;
  border-radius: var(--zioda-radius-xl);
  overflow: hidden !important;
  min-height: 440px;
  background: #EFE9DF;
  box-shadow: var(--zioda-shadow-md);
}

.zioda-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
}

/* Inactive slides are strictly display: none so text NEVER overlaps! */
.zioda-slide {
  display: none !important;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  padding: 40px 48px;
  background-size: cover;
  background-position: center right;
  align-items: center;
  overflow: hidden;
}

.zioda-slide:first-child,
.zioda-slide.active {
  display: flex !important;
}

.zioda-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 245, 240, 0.95) 0%, rgba(248, 245, 240, 0.82) 42%, rgba(248, 245, 240, 0.05) 74%);
  z-index: 1;
}

.zioda-slide-content {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.zioda-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4A453E;
  margin-bottom: 6px;
}

.zioda-hero-logo-title {
  font-family: var(--zioda-font-serif);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.95;
  background: linear-gradient(135deg, #3D2B1C 0%, #C49B63 55%, #6B4D2B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.zioda-hero-logo-sub {
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #36332E;
  margin-top: 4px;
  margin-bottom: 18px;
}

.zioda-hero-headline {
  font-size: 23px;
  font-weight: 700;
  color: var(--zioda-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.zioda-hero-desc {
  font-size: 13.5px;
  color: #57534D;
  line-height: 1.55;
  margin-bottom: 22px;
}

.zioda-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2D323B 0%, #181B20 100%);
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: var(--zioda-radius-pill);
  font-size: 13px;
  font-weight: 600;
}
.zioda-btn-dark:hover {
  background: var(--zioda-gold-gradient);
  color: #181B20;
}

.zioda-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #9C7A49 0%, #7B5C32 100%);
  color: #FFFFFF;
  padding: 9px 20px;
  border-radius: var(--zioda-radius-pill);
  font-size: 12.5px;
  font-weight: 600;
}
.zioda-btn-gold:hover {
  background: var(--zioda-dark);
  color: #FFFFFF;
}

.zioda-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(184, 144, 88, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--zioda-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.zioda-slider-arrow--prev { left: 14px; }
.zioda-slider-arrow--next { right: 14px; }

.zioda-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.zioda-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(30, 34, 41, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}
.zioda-slider-dot.active {
  width: 24px;
  background: var(--zioda-gold-gradient);
}

/* 5. NARROW CATEGORIES SIDEBAR (195px) */
.zioda-cat-sidebar {
  background: #FFFFFF;
  border-radius: var(--zioda-radius-xl);
  padding: 14px 12px;
  box-shadow: var(--zioda-shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zioda-cat-sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--zioda-dark);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--zioda-border);
  margin-bottom: 4px;
}

.zioda-cat-list {
  list-style: none;
}

.zioda-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5.5px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #363430;
  transition: all 0.2s ease;
}
.zioda-cat-list li a:hover {
  background: #FAF7F2;
  color: var(--zioda-gold-dark);
}

.zioda-cat-thumb-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  flex-shrink: 0;
}

/* 6. HORIZONTAL REAL CATEGORIES STRIP */
.zioda-category-strip {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.zioda-cat-tile {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 16px !important;
  padding: 12px 6px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 4px 14px rgba(30, 24, 16, 0.05) !important;
  transition: all 0.28s ease !important;
  overflow: visible !important;
  min-height: 114px !important;
  text-decoration: none !important;
}

.zioda-cat-tile:hover {
  transform: translateY(-4px) !important;
  border-color: var(--zioda-gold) !important;
  box-shadow: 0 10px 22px rgba(184, 144, 88, 0.20) !important;
}

.zioda-cat-tile-real-img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 3px 6px rgba(35, 25, 15, 0.15)) !important;
  transition: transform 0.25s ease !important;
  display: block !important;
  margin-bottom: 6px;
}

.zioda-cat-tile:hover .zioda-cat-tile-real-img {
  transform: scale(1.10) !important;
}

.zioda-cat-tile span {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--zioda-dark) !important;
  white-space: nowrap !important;
}

/* 7. TRUST SIDEBAR (200px) */
.zioda-trust-sidebar {
  background: #FFFFFF;
  border-radius: var(--zioda-radius-xl);
  box-shadow: var(--zioda-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.zioda-trust-items {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zioda-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.zioda-trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--zioda-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zioda-trust-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--zioda-dark);
}
.zioda-trust-sub {
  font-size: 10.5px;
  color: var(--zioda-text-muted);
}
.zioda-apexx-card {
  position: relative;
  height: 94px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 12px;
  color: #FFFFFF;
}
.zioda-apexx-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(28, 25, 22, 0.78) 100%);
}
.zioda-apexx-card span,
.zioda-apexx-card strong {
  position: relative;
  z-index: 1;
}
.zioda-apexx-card span {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.zioda-apexx-card strong {
  font-size: 13.5px;
}

/* 8. PROMO 3-CARD ROW */
.zioda-promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.zioda-promo-card {
  position: relative;
  border-radius: var(--zioda-radius-xl);
  overflow: hidden;
  min-height: 220px;
  background-color: #EFE9DF;
  background-size: cover;
  background-position: center right;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--zioda-shadow-sm);
}
.zioda-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 241, 233, 0.95) 0%, rgba(246, 241, 233, 0.82) 46%, rgba(246, 241, 233, 0.0) 78%);
  z-index: 1;
}
.zioda-promo-card-body {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.zioda-promo-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #6B635B;
  margin-bottom: 4px;
}
.zioda-promo-title {
  font-family: var(--zioda-font-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--zioda-dark);
  margin-bottom: 6px;
}
.zioda-promo-sub {
  font-size: 12px;
  color: #5C564F;
  margin-bottom: 14px;
}

/* 9. 360° & 3D STUDIO SECTION */
.zioda-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 32px 0 16px;
}
.zioda-section-title {
  font-family: var(--zioda-font-serif);
  font-size: 28px;
  font-weight: 700;
}
.zioda-section-subtitle {
  font-size: 13px;
  color: var(--zioda-text-muted);
  margin-top: 3px;
}
.zioda-360-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  background: #FFFFFF;
  border-radius: var(--zioda-radius-xl);
  padding: 26px;
  border: 1px solid var(--zioda-border);
  box-shadow: var(--zioda-shadow-md);
}
.zioda-viewer-stage {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #FAF7F2 0%, #EBE3D5 100%);
  border-radius: var(--zioda-radius-lg);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}
.zioda-viewer-mode-tabs {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: flex;
  gap: 6px;
  background: rgba(30, 34, 41, 0.88);
  padding: 4px;
  border-radius: 99px;
}
.zioda-mode-tab {
  background: transparent;
  color: #D8D3CB;
  border: none;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.zioda-mode-tab.active {
  background: var(--zioda-gold-gradient);
  color: #181B20;
}
.zioda-360-canvas {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}
.zioda-360-canvas img {
  max-height: 310px;
  width: auto;
  object-fit: contain;
}
.zioda-3d-canvas {
  width: 100%;
  height: 350px;
  display: none;
}
.zioda-3d-canvas.active { display: block; }
.zioda-360-canvas.hidden { display: none; }

.zioda-viewer-controls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
}
.zioda-viewer-ctrl-btn {
  background: var(--zioda-bg);
  border: 1px solid var(--zioda-border);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 10. PRODUCTS GRID */
.zioda-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.zioda-product-card {
  background: #FFFFFF;
  border-radius: var(--zioda-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(30, 34, 41, 0.07);
  box-shadow: var(--zioda-shadow-sm);
  display: flex;
  flex-direction: column;
}
.zioda-product-thumb {
  position: relative;
  height: 220px;
  background: #F8F5F0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zioda-badge-360 {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(30, 34, 41, 0.88);
  color: var(--zioda-gold-light);
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
}
.zioda-product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.zioda-vendor-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--zioda-gold-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.zioda-product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--zioda-dark);
  margin-bottom: 8px;
}
.zioda-product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(30, 34, 41, 0.08);
}
.zioda-product-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--zioda-dark);
}

/* 11. BOTTOM 3-CARD ROW */
.zioda-bottom-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr;
  gap: 16px;
  margin-top: 20px;
}
.zioda-brands-banner {
  position: relative;
  border-radius: var(--zioda-radius-xl);
  overflow: hidden;
  min-height: 160px;
  background-color: #181B20;
  background-size: cover;
  background-position: center;
  padding: 22px 26px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zioda-brands-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 21, 26, 0.92) 0%, rgba(18, 21, 26, 0.55) 55%, rgba(18, 21, 26, 0.85) 100%);
}
.zioda-brands-left,
.zioda-brands-logos {
  position: relative;
  z-index: 2;
}
.zioda-brands-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 13px;
}
.zioda-seller-card {
  position: relative;
  border-radius: var(--zioda-radius-xl);
  overflow: hidden;
  min-height: 160px;
  background-color: #242932;
  background-size: cover;
  background-position: center;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFFFFF;
}
.zioda-seller-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 27, 33, 0.95) 0%, rgba(45, 35, 25, 0.88) 100%);
}
.zioda-seller-body {
  position: relative;
  z-index: 2;
}
.zioda-offers-card {
  position: relative;
  border-radius: var(--zioda-radius-xl);
  overflow: hidden;
  min-height: 160px;
  background-color: #FFFFFF;
  background-size: cover;
  background-position: center;
  padding: 22px 24px;
  display: flex;
  align-items: center;
}
.zioda-offers-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 244, 237, 0.95) 0%, rgba(248, 244, 237, 0.75) 50%, rgba(248, 244, 237, 0.0) 85%);
}

/* 12. FOOTER & DEJA DIGITAL SIGNATURE */
.zioda-bottom-trust-bar {
  margin-top: 22px;
  padding: 16px 22px;
  background: #FFFFFF;
  border-radius: var(--zioda-radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid var(--zioda-border);
}
.zioda-payment-strip {
  margin-top: 16px;
  padding: 18px 24px;
  background: #FFFFFF;
  border-radius: var(--zioda-radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.zioda-payment-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.zioda-pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: #F7F4EE;
  border: 1px solid rgba(184, 144, 88, 0.28);
}
.zioda-pay-pill--paymob { background: #EEF6FF; border-color: #0066CC; color: #004C99; }
.zioda-pay-pill--visa { background: #F0F2FA; border-color: #1A1F71; color: #1A1F71; }
.zioda-pay-pill--cod { background: #F0F9F2; border-color: #1E7E34; color: #155724; }

.zioda-footer-bottom {
  margin-top: 20px;
  padding: 20px 0 32px;
  border-top: 1px solid rgba(184, 144, 88, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--zioda-text-muted);
}
.zioda-deja-signature {
  font-size: 13px;
  font-weight: 600;
  color: var(--zioda-dark);
}
.zioda-deja-link {
  font-weight: 800;
  background: var(--zioda-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 1.5px solid var(--zioda-gold);
}

@keyframes ziodaOrbitSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes ziodaOrbitSpinReverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }

/* ==========================================================================
   13. CRITICAL MOBILE RESPONSIVENESS OVERRIDES
   * SLIDER FIRST, VERTICAL CATEGORIES HIDDEN, SMOOTH HORIZONTAL STRIP *
   ========================================================================== */
@media (max-width: 991px) {
  .zioda-hero-bento {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 6px !important;
  }
  
  /* 1. HIDE vertical sidebar on mobile completely! */
  .zioda-cat-sidebar {
    display: none !important;
  }
  
  /* 2. Show Hero Slider FIRST at the top on mobile! */
  .zioda-slider-container {
    order: 1 !important;
    width: 100% !important;
    min-height: 260px !important;
    border-radius: 16px !important;
  }
  
  .zioda-slide {
    min-height: 260px !important;
    padding: 24px 20px !important;
  }
  
  .zioda-slide-content {
    max-width: 100% !important;
  }
  
  .zioda-hero-logo-title {
    font-size: 42px !important;
  }
  
  .zioda-hero-headline {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  
  .zioda-hero-desc {
    font-size: 12px !important;
    margin-bottom: 16px !important;
  }
  
  /* 3. Horizontal category strip right below the slider on mobile! */
  .zioda-category-strip {
    order: 2 !important;
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
    margin-top: 10px !important;
  }
  
  .zioda-cat-tile {
    flex: 0 0 95px !important;
    min-height: 100px !important;
    padding: 10px 4px !important;
  }
  
  .zioda-cat-tile-real-img {
    width: 44px !important;
    height: 44px !important;
  }
  
  .zioda-trust-sidebar {
    order: 3 !important;
    flex-direction: column !important;
  }
  
  .zioda-promo-row {
    grid-template-columns: 1fr !important;
  }
  
  .zioda-360-showcase-grid {
    grid-template-columns: 1fr !important;
  }
  
  .zioda-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .zioda-bottom-bento {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .zioda-header-inner {
    flex-wrap: wrap !important;
    height: auto !important;
    padding: 6px 0 !important;
  }
  .zioda-header {
    max-height: none !important;
  }
  .zioda-search-wrap {
    order: 3 !important;
    max-width: 100% !important;
    flex: 100% !important;
    margin-top: 6px !important;
  }
  .zioda-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* PRELOADER 100% FAIL-SAFE DISMISS & TIMEOUT */
#zioda-preloader {
  animation: ziodaPreloaderSafetyDismiss 2.2s ease-in forwards !important;
}

#zioda-preloader.is-loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

@keyframes ziodaPreloaderSafetyDismiss {
  0%, 75% { opacity: 1; visibility: visible; }
  90% { opacity: 0.2; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}


/* ==========================================================================
   SLIDE-OUT MINI-CART DRAWER STYLES
   ========================================================================== */
.zioda-cart-drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(18, 20, 24, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
}
.zioda-cart-drawer-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.zioda-cart-drawer {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 100% !important;
  max-width: 420px !important;
  background: #FFFFFF !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25) !important;
  z-index: 1000000 !important;
  transform: translateX(100%) !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: flex !important;
  flex-direction: column !important;
}
html[dir="rtl"] .zioda-cart-drawer,
body.rtl .zioda-cart-drawer {
  right: auto !important;
  left: 0 !important;
  transform: translateX(-100%) !important;
}
.zioda-cart-drawer-backdrop.is-open .zioda-cart-drawer,
html[dir="rtl"] .zioda-cart-drawer-backdrop.is-open .zioda-cart-drawer,
body.rtl .zioda-cart-drawer-backdrop.is-open .zioda-cart-drawer {
  transform: translateX(0) !important;
}
.zioda-cart-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(184, 144, 88, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF7F2;
}
.zioda-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}
.zioda-cart-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid rgba(184, 144, 88, 0.2);
  background: #FAF7F2;
}
