/* Theme Name: Ovira Market Version:3.0.0 */
/* =========================
   OVIRA MARKET - PIXEL PERFECT DESIGN
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #0159b3;
  --secondary-blue: #0f52ba;
  --primary-red: #e50000;
  --primary-yellow: #ffcc00;
  --text-dark: #222;
  --text-gray: #777;
  --bg-gray: #f8f9fa;
  --border-light: #eee;
}

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

html, body { 
  overflow-x: hidden; 
  width: 100%; 
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #fff;
  color: var(--text-dark);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }

.om-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (max-width: 600px) {
  .om-container { padding: 0 10px; }
}

/* ==============================================
   OVIRA MARKET — PROMAX HEADER SYSTEM V5
   Zero scroll. Zero distortion. Zero bugs.
   ============================================== */

/* ── Site Header Shell ─────────────────────────── */
#om-header {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 9000;
    -ms-overflow-style: none; /* Hide scrollbars Edge/IE */
    scrollbar-width: none;    /* Hide scrollbars Firefox */
}
#om-header::-webkit-scrollbar,
#om-header *::-webkit-scrollbar {
    display: none; /* Hide scrollbars Chrome/Safari */
}

/* ── Top Bar: Logo / Search / Actions ──────────── */
#om-topbar {
    border-bottom: 1px solid #eee;
    min-height: 72px;      /* Allow wrap if needed */
    display: flex;
    align-items: center;
    padding: 10px 0;
}

#om-topbar .om-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;       /* Prevent horizontal blowout */
    justify-content: space-between;
    gap: 15px;
    height: 100%;
}

/* Logo */
#om-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
#om-logo-name  { font-size: 24px; font-weight: 900; color: #e50000; line-height: 1; }
#om-logo-sub   { font-size: 11px; font-weight: 700; color: var(--primary-blue); letter-spacing: 3px; text-transform: uppercase; }

/* Search */
#om-search {
    flex: 1;
    max-width: 560px;
    height: 44px;
    display: flex;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .2s;
}
#om-search:focus-within { border-color: var(--primary-blue); }
#om-search input {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    min-width: 0;
    background: transparent;
}
#om-search button {
    background: var(--primary-blue);
    border: none;
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background .2s;
    flex-shrink: 0;
}
#om-search button:hover { background: #0147a0; }

/* Icon actions */
#om-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.om-act {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #333;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}
.om-act:hover { color: var(--primary-blue); }
.om-act-badge-wrap { position: relative; }
.om-cart-badge {
    position: absolute;
    top: -6px; right: -8px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    width: 16px; height: 16px;
    font-size: 9px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

/* Hamburger — hidden on desktop */
#om-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    margin-left: auto;
}
#om-burger span {
    display: block;
    width: 24px; height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ── Navigation Bar ────────────────────────────── */
#om-navbar {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    min-height: 52px;      /* Allow wrap */
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 8999;
}

#om-navbar .om-container {
    display: block;
    padding: 0;
}

.om-nav-grid {
    display: grid !important;
    grid-template-columns: repeat(8, 1fr) !important;
    list-style: none;
    margin: 0; padding: 0;
    width: 100%;
}

.om-nav-grid .om-nli {
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    justify-content: center;
}

.om-nav-grid .om-nli:nth-child(8n) {
    border-right: none;
}

.om-nav-grid .om-nli > a {
    height: 48px;
    font-size: 11px;
    font-weight: 700;
    padding: 0 10px;
    width: 100%;
    justify-content: center;
    text-align: center;
    color: #555;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}

.om-nav-grid .om-nli > a:hover {
    background: #f9f9f9;
    color: var(--primary-red);
}

.om-nav-grid .om-nli > a.active {
    background: #fff5f5;
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

.om-nli {
    position: relative;
    display: flex;
    align-items: stretch;
}

.om-nli > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    height: 52px;          /* Keep link hit area fixed */
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #444;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .15s, background .15s, border-color .15s;
    text-decoration: none;
    box-sizing: border-box;
}

.om-nli > a:hover  { color: var(--primary-blue); background: #f5f8ff; }
.om-nli > a.active { color: var(--primary-blue); border-bottom-color: var(--primary-red); }

/* ── Dropdown ─────────────────────────────────── */
.om-dd {
    position: absolute;    /* OUT of flow — never causes scroll */
    top: calc(100% + 1px);
    left: 0;
    background: #fff;
    min-width: 220px;
    border: 1px solid #e8e8e8;
    border-top: 3px solid var(--primary-red);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    pointer-events: none;
    z-index: 9999;
}

.om-nli:hover .om-dd,
.om-nli:focus-within .om-dd {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.om-dd a {
    display: block;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s, padding-left .15s, border-color .15s;
    white-space: nowrap;
}
.om-dd a:hover {
    background: #f5f8ff;
    color: var(--primary-blue);
    border-left-color: var(--primary-red);
    padding-left: 26px;
}

/* ── Mobile Drawer ───────────────────────────── */
#om-drawer {
    position: fixed;
    top: 0; left: 0;
    width: 300px; height: 100vh;
    background: #fff;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;       /* scroll INSIDE drawer only — intentional */
    box-shadow: 4px 0 30px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
}
#om-drawer.open { transform: translateX(0); }

#om-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
#om-drawer-close {
    background: none; border: none;
    font-size: 24px; cursor: pointer; color: #555;
    line-height: 1;
}

.om-drawer-links {
    padding: 12px 0;
    flex: 1;
}
.om-drawer-links a {
    display: block;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
}
.om-drawer-links a:hover {
    background: #f5f8ff;
    color: var(--primary-blue);
    border-left-color: var(--primary-red);
}
.om-drawer-section {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaa;
    padding: 16px 24px 6px;
}

#om-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(3px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
#om-overlay.open { opacity: 1; visibility: visible; }

/* Hide mobile elements entirely on desktop to prevent any phantom scrollbars */
@media (min-width: 1101px) {
    #om-drawer, #om-overlay { display: none !important; }
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1100px) {
    #om-navbar { display: none; }
    #om-burger  { display: flex; }
    #om-search  { max-width: 100%; flex: 1; }
    #om-topbar  { height: auto; }
    #om-topbar .om-container {
        flex-wrap: wrap;
        gap: 15px 12px;
        padding-top: 12px;
        padding-bottom: 12px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #om-burger  { display: flex; order: 1; margin-right: 0; flex-shrink: 0; }
    #om-logo    { order: 2; flex: 1; display: flex; justify-content: flex-start; padding-left: 10px; }
    #om-actions { order: 3; flex-shrink: 0; display: flex; gap: 15px; margin-left: 0; }
    #om-search  { order: 4; width: 100% !important; min-width: 0; margin: 5px 0 0 0 !important; flex: 0 0 100%; }
    .om-act span { display: none; }
}

@media (max-width: 600px) {
    #om-logo-name { font-size: 20px; }
    #om-logo-sub  { display: none; }
    #om-actions   { gap: 14px; }
    .om-container { padding: 0 12px; }
}

/* ── Cart badge legacy compat ─────────────────── */
.cart-badge { display: none; } /* replaced by om-cart-badge */

.om-top-header {
  border-bottom: 1px solid var(--border-light);
}

.top-header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  height: 74px;
}

.om-logo-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.om-logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.om-logo-text .merittra {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-red);
}

.om-logo-text .pharmacy {
  font-size: 14px;
  color: var(--primary-blue);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Hide hamburger on desktop — keeps header row clean */
.om-mobile-toggle {
  display: none;
}

.om-search-bar {
  display: flex;
  flex: 1;
  max-width: 580px;
  min-width: 0;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  height: 44px;
}

.om-search-bar input {
  flex: 1;
  border: none;
  padding: 0 16px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
}

.om-search-bar button {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.om-search-bar button:hover { background: var(--secondary-blue); }

.om-top-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}

.om-action-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
}

.cart-icon-wrapper {
  position: relative;
}

.heart-cart {
  fill: var(--primary-red);
  stroke: var(--primary-red);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #fff;
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ================== RESPONSIVE HEADER ================== */
@media (max-width: 1024px) {
  .top-header-inner {
    height: auto;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .om-logo-row { width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .om-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
  }
  .om-search-bar { width: 100%; max-width: 100%; margin: 0; order: 3; }
  .om-top-actions { order: 2; gap: 16px; }
  .om-action-item span { display: none; }
}

@media (max-width: 600px) {
  .om-container { padding: 0 12px; }
  .cart-badge { width: 16px; height: 16px; font-size: 10px; top: -5px; right: -8px; }
}

/* ================== INDUSTRY STANDARD NAVIGATION (V4.0) ================== */
.om-nav-wrapper {
    background: #fff;
    border-bottom: 2px solid #eee;
    position: relative;
    /* purged z-index */
    overflow: visible;
}

.om-nav-main {
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: visible;
}

.om-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: visible;
    flex-wrap: nowrap;
}

.om-nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: visible;
}

.om-nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 22px;
    height: 52px; /* Fixed height — no vertical variation ever */
    color: #444;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
}

.om-nav-item > a:hover {
    color: var(--primary-blue);
    background: #f8f9fa;
}

.om-nav-item > a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-red);
}

/* HIGH-FIDELITY DROPDOWNS */
.om-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #fff;
    min-width: 260px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 15px 0;
    pointer-events: none;
}

.om-nav-item:hover .om-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.om-dropdown-inner a {
    display: block;
    padding: 12px 25px;
    color: #555;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.om-dropdown-inner a:hover {
    background: #f8f9fa;
    color: var(--primary-blue);
    border-left-color: var(--primary-red);
    padding-left: 32px;
}

@media (max-width: 1024px) {
    .om-nav-wrapper { display: none !important; }
}

/* ================== SEARCH & NAV OVERLAY ================== */
.om-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.om-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.om-search-bar.is-active {
  z-index: 1100;
  background: #fff;
  border-color: var(--primary-blue) !important;
  transform: scale(1.02);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.search-focused {
  overflow: hidden;
}

/* ================== HERO SECTION ================== */
.om-hero-section {
  position: relative;
  background: linear-gradient(135deg, #0947a8 0%, #00b4db 100%);
  color: #fff;
  padding: 24px 0 32px 0; /* Final 20% reduction */
  overflow: hidden;
  z-index: 1;
}

.om-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,197.3C672,224,768,224,864,197.3C960,171,1056,117,1152,101.3C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E\") bottom center no-repeat;
  background-size: cover;
  z-index: 1;
}



.om-hero-checks {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.om-hero-checks li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}

/* Unified Action Button */
.om-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary-blue);
  padding: 0 32px;
  height: 46px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px; /* Switch to 6px for consistency with inputs */
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.om-btn-hero:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(0,0,0,0.2), 0 0 0 2px rgba(255,255,255,0.3);
  filter: brightness(1.1);
}

.om-hero-images {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.promo-sticker {
  display: none;
  background: var(--primary-yellow);
  color: var(--primary-blue);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
  position: absolute;
  top: -30px;
  left: 30px;
  transform: rotate(-10deg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.promo-sticker span { font-size: 42px; }

.hero-illustration-promax { 
  width: 450px; height: 320px; 
  background: rgba(255,255,255,0.03); 
  backdrop-filter: blur(10px); 
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px; 
  display:flex; align-items:center; justify-content:center; 
  overflow: visible;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-illustration-promax-img {
  width: 450px; height: 320px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-prime-asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: brightness(0.9) contrast(1.1) saturate(1.1);
  transition: transform 0.8s ease-out;
}

.hero-prime-asset:hover {
  transform: scale(1.05);
}

.hero-asset-svg {
  width: 100%;
  height: 100%;
  animation: floatPromax 6s ease-in-out infinite;
}

@keyframes floatPromax {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.promax-product-card {
  width: 480px; height: 340px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
  animation: floatPromax 7s ease-in-out infinite;
}

.promax-asset-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
  /* Promax Blending: Gradient mask to fade edges into background */
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%), 
              linear-gradient(to right, black 80%, transparent 100%),
              linear-gradient(to left, black 80%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%), 
                      linear-gradient(to right, black 80%, transparent 100%),
                      linear-gradient(to left, black 80%, transparent 100%);
  -webkit-mask-composite: source-in;
}

@keyframes floatPromax {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-15px) rotate(1deg) scale(1.02); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}

.mock-delivery { font-size: 64px; } /* placeholder for illustration */

/* ================== FEATURES BAR ================== */
.om-features-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  margin-top: 40px; /* Resolved overlap for visual clarity */
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .om-features-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    padding: 25px 15px !important;
    margin-top: -20px !important;
  }
  .feature-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }
  .f-icon { width: 44px !important; height: 44px !important; }
  .f-text h5 { font-size: 13px !important; line-height: 1.2 !important; }
  .f-text p { font-size: 11px !important; }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.f-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.f-icon.red-bg { background: #ffaaaa; }
.f-icon.green-bg { background: #aaffaa; }
.f-icon.orange-bg { background: #ffddaa; }
.f-icon.teal-bg { background: #aaeeee; }

.f-icon svg { width: 24px; height: 24px; }
.f-icon.red-bg svg { fill: #e50000; }
.f-icon.green-bg path { stroke: #008800; }
.f-icon.orange-bg svg { stroke: #e56600; }
.f-icon.teal-bg stroke { stroke: #008888; }


.f-text h5 { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.f-text p { font-size: 12.5px; color: var(--text-gray); }

/* ================== BODY LAYOUT GRID ================== */
.body-layout-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  margin-top: 25px !important;
  padding-bottom: 40px !important;
  align-items: flex-start !important;
}

.om-column-main { 
    flex: 1 !important; 
    min-width: 0 !important; /* Allow shrink for fluid grid */
}
.om-column-sidebar { 
    width: 300px !important; 
    flex: 0 0 300px !important;
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

/* 3-COLUMN POST GRID */
.om-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .om-post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .om-post-grid { grid-template-columns: 1fr; }
}



/* ================== SECTION HEADERS ================== */
.om-section-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  white-space: nowrap;
}
.om-section-header.no-margin { margin-bottom: 15px; }

.om-section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-right: 20px;
}

.header-line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
  margin-right: 20px;
}

.view-all-btn {
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* ================== TOP CATEGORIES ================== */
.om-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

@media (max-width: 1200px) {
  .om-categories-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .om-categories-grid { grid-template-columns: repeat(3, 1fr); }
}

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

.cat-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  transition: 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.cat-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }

.cat-img-box {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex; justify-content: center; align-items: center; overflow: hidden;
}

.cat-bg-0 { background: #fdf4f4; }
.cat-bg-1 { background: #f0f8ff; }
.cat-bg-2 { background: #f0fcf4; }
.cat-bg-3 { background: #f8f4fc; }
.cat-bg-4 { background: #f4f4ff; }
.cat-bg-5 { background: #fff0f5; }

.cat-card span { font-weight: 600; font-size: 13.5px; }

/* ================== DEALS OF THE DAY ================== */
.om-deals-header {
  background: var(--primary-red);
  color: #fff;
  border-radius: 8px 8px 0 0;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deals-title { display: flex; align-items: center; gap: 15px; font-weight: 700; font-size: 20px; }
.deals-title .ends-in { font-size: 13px; font-weight: 500; opacity: 0.9; margin-left: 10px; }

.deals-timer { display: flex; align-items: center; gap: 5px; }
.t-box { background: #550000; padding: 4px 8px; border-radius: 4px; font-size: 16px; }

.deals-actions { display: flex; gap: 10px; align-items: center; }
.deals-actions .nav-btn { background: transparent; border: none; color: #fff; font-size: 18px; cursor: pointer;}
.view-all-btn.btn-white { background: #fff; color: var(--primary-red); border: none; }

/* Horizontal Sliders (Slide and Pass) */
.slider-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 15px;
  padding: 15px 5px;
  scrollbar-width: none; /* Hide scrollbar for Clean-Scroll */
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.slider-wrapper::-webkit-scrollbar {
  display: none;
}

.om-slide-card {
  min-width: calc(20% - 12px) !important;
  max-width: calc(20% - 12px) !important;
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  overflow: hidden;
}

.om-cat-slide-card {
  min-width: calc(16.66% - 13px) !important;
  max-width: calc(16.66% - 13px) !important;
  flex: 0 0 auto;
}

@media (max-width: 1024px) {
  .om-cat-slide-card {
    min-width: calc(33.33% - 12px) !important;
    max-width: calc(33.33% - 12px) !important;
  }
}

@media (max-width: 600px) {
  .om-cat-slide-card {
    min-width: calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
  }
}

.om-slide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
  .om-slide-card {
    min-width: calc(33.33% - 14px) !important;
    max-width: calc(33.33% - 14px) !important;
  }
}

@media (max-width: 768px) {
  .om-slide-card {
    min-width: calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
  }
}

@media (max-width: 480px) {
  .om-slide-card {
    min-width: calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
  }
}

.nav-btn-prev, .nav-btn-next {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-btn-prev:hover, .nav-btn-next:hover {
  background: var(--primary-color);
  color: #fff;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: #fff; border: 1px solid #ddd;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 24px; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 10;
  transition: all 0.2s;
}

.slider-arrow:hover {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}
.slider-arrow.prev { left: -18px; }
.slider-arrow.next { right: -18px; }

/* ================== PRODUCT CARD ================== */
.product-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 15px;
  position: relative;
  text-align: left;
}

.discount-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
}
.discount-badge.red-tag { background: var(--primary-red); color: #fff; }

.p-img { width: 100%; height: 120px; display: flex; justify-content: center; align-items: center; margin-bottom: 15px;}
.p-img img { width: 100%; height: 100%; object-fit: cover; }

.p-name { 
  font-weight: 600; 
  font-size: 13.5px; 
  color: #333; 
  margin-bottom: 5px; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 40px;
}

.p-prices { display: flex; gap: 8px; align-items: center; margin-bottom: 5px; }
.old-price { font-size: 12px; color: var(--text-gray); text-decoration: line-through; }
.new-price { font-size: 16px; font-weight: 700; color: #13603d; }

.p-rating { color: var(--primary-yellow); font-size: 12px; margin-bottom: 10px; }

.btn-add-cart {
  width: 100%; padding: 8px; border-radius: 4px; font-weight: 600; font-size: 13px; cursor: pointer;
  transition: 0.2s;
}
.btn-add-cart.outline { background: #fff; border: 1px solid var(--primary-blue); color: var(--primary-blue); }
.btn-add-cart.filled { background: var(--primary-blue); border: 1px solid var(--primary-blue); color: #fff; }

/* ================== FLASH SALE ================== */
.flash-sale-banner {
  margin: 30px 0;
  background: #fff0f0;
  border: 1px solid #ffd5d5;
  border-radius: 8px;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 600px) {
  .flash-sale-banner { justify-content: center; text-align: center; }
  .flash-content { font-size: 16px; }
  .claim-offer { width: 100%; }
}

.flash-content { font-size: 20px; font-weight: 700; color: var(--primary-red); display: flex; align-items: center; gap: 10px;}
.flash-content span { font-weight: 600; color: #333; }
.claim-offer { background: var(--primary-red); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer; }

/* Global Responsive Grid & Card */
.om-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.om-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

@media (max-width: 480px) {
  .om-grid { grid-template-columns: 1fr; }
  .om-card { padding: 15px; }
}

/* ================== TOP RATED GRID ================== */
.om-top-rated-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

@media (max-width: 1100px) {
  .om-top-rated-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .om-top-rated-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .om-top-rated-grid { grid-template-columns: repeat(2, 1fr); }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: left;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .footer-brand, .footer-links, .footer-contact { width: 100%; min-width: 0; }
}

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

/* ================== SIDEBAR ================== */
.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 30px;
}
.sidebar-widget .om-section-header { background: #fdfdfd; padding: 15px; border-radius: 8px; border: 1px solid var(--border-light); margin-bottom: 0;}

.slider-nav-sm button { background: #fff; border: 1px solid #ddd; border-radius: 50%; width: 24px; height: 24px; cursor: pointer;}
.recommended-grid { border: 1px solid var(--border-light); border-top: none; border-radius: 0 0 8px 8px; padding: 15px; }

.rec-card {
  text-align: center;
  padding: 15px 0;
  border-bottom: 1px dashed var(--border-light);
}
.rec-card:last-child { border-bottom: none; }

.rec-img { width: 80px; height: 80px; border-radius: 8px; margin: 0 auto 10px auto; display: flex; align-items: center; justify-content: center; }
.bg-yellow { background: #fff8e1; }
.bg-blue { background: #e3f2fd; }
.bg-orange { background: #ffe0b2; }

.rec-name { font-weight: 600; font-size: 14px; }
.rec-price { font-weight: 700; color: var(--primary-red); font-size: 16px; margin: 5px 0; }
.rec-add { font-size: 12px; font-weight: 600; color: var(--text-gray); }
.add-stars { color: var(--primary-yellow); letter-spacing: 2px;}

.dots-indicator { text-align: center; margin-top: 10px; }
.dots-indicator .dot { display: inline-block; width: 6px; height: 6px; background: #ddd; border-radius: 50%; margin: 0 3px;}
.dots-indicator .dot.active { background: var(--primary-blue); }

.review-card { border: 1px solid var(--border-light); border-top: none; border-radius: 0 0 8px 8px; padding: 20px; background: #e3faef; }
.r-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.r-avatar img { border-radius: 50%; }
.r-info { flex: 1; }
.r-name { font-weight: 700; font-size: 14px; }
.r-stars { color: var(--primary-yellow); font-size: 14px; }
.r-stars .empty { color: #ccc; }
.r-dots { font-weight: bold; color: var(--primary-blue); letter-spacing: 2px; }
.r-text { font-size: 14px; color: #444; font-weight: 500; margin-bottom: 10px; }
.r-long-stars { color: var(--primary-yellow); font-size: 18px; }

/* ================== INFORMATION PAGES ================== */
.om-page-header {
  background: var(--bg-gray);
  padding: 25px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 25px;
}

.om-breadcrumb {
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.om-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 10px;
}

.om-breadcrumb a { color: var(--primary-blue); }

.om-content-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  line-height: 1.8;
  color: #444;
}

.om-content-wrap h2, .om-content-wrap h3 {
  color: var(--text-dark);
  margin: 30px 0 15px 0;
}

/* ================== VENDOR PROFILES ================== */
.om-profile-header {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-bottom: 30px;
}

.profile-avatar-box {
  flex: 0 0 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--bg-gray);
  overflow: hidden;
}

.profile-avatar-box img { width: 100%; height: 100%; object-fit: cover; }

.om-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 30px;
  gap: 30px;
}

.om-tab-btn {
  padding: 15px 0;
  border: none;
  background: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-gray);
  cursor: pointer;
  position: relative;
}

.om-tab-btn.active { color: var(--primary-blue); }
.om-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-blue);
}

/* ================== AUTH FORMS ================== */
.om-auth-container {
  max-width: 450px;
  margin: 60px auto;
}

.om-form-group { margin-bottom: 20px; }
.om-form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.om-form-control {
  width: 100%;
  padding: 0 15px;
  height: 46px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.om-form-control:focus { border-color: var(--primary-blue); }

@media (max-width: 768px) {
  .om-content-wrap { padding: 20px; }
  .om-tab-nav { 
    gap: 20px; 
    overflow-x: auto; 
    white-space: nowrap; 
    scrollbar-width: none;
    padding-bottom: 5px;
  }
  .om-tab-nav::-webkit-scrollbar { display: none; }
  .om-tab-btn { flex: 0 0 auto; padding: 10px 0; font-size: 14px; }
}

/* ================== ADDITIONAL GRIDS ================== */
.om-5-col-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
}

@media (max-width: 1100px) {
  .om-5-col-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  .om-5-col-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ================== PRODUCT GALLERY ================== */
.om-product-gallery { display: flex; flex-direction: column; gap: 15px; }
.om-main-image {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.om-main-image img { display: block; width: 100%; height: 100%; object-fit: cover; align-self: stretch; border-radius: 12px; }

.om-thumb-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; }
.om-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid var(--border-light);
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 auto;
  transition: border-color 0.2s;
}
.om-thumb.active { border-color: var(--primary-blue); }
.om-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ================== PURCHASE BOX & SWATCHES ================== */
.om-purchase-box { background: #fff; padding: 0; text-align: left; }
.om-price-big { font-size: 36px; font-weight: 800; color: var(--primary-blue); margin-bottom: 5px; text-align: left; }
.om-stock-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #38a169; background: #f0fff4; padding: 4px 12px; border-radius: 20px; margin-bottom: 15px; }

.om-variation-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  justify-content: flex-start;
  text-align: left;
}

.om-swatch-label {
  cursor: pointer;
  flex: 1;
  min-width: 80px;
}

.om-swatch-label input { display: none; }

.om-swatch-box {
  display: block;
  padding: 12px;
  border: 2px solid var(--bg-gray);
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  font-size: 13px;
  transition: 0.2s;
  background: var(--bg-gray);
  color: #555;
}

.om-swatch-label input:checked + .om-swatch-box {
  border-color: var(--primary-blue);
  background: #fff;
  color: var(--primary-blue);
}

.om-swatch-label:hover .om-swatch-box {
  border-color: #ddd;
}

/* ================== PRODUCT TABS ================== */
.om-details-tabs { margin-top: 25px; }
.tab-pane { padding: 25px; background: #fff; border-radius: 0 0 12px 12px; border: 1px solid var(--border-light); border-top: none; }

/* GRID REPLACED BY FINAL AUTHORITY AT END OF FILE */




/* ================== TRUST CARDS ================== */
.trust-card { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.trust-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; color: var(--primary-blue); flex-shrink: 0; }
.trust-text h5 { margin: 0 0 3px 0; font-size: 14px; color: var(--text-dark); }
.trust-text p { margin: 0; font-size: 12px; line-height: 1.4; color: var(--text-gray); }

/* ================== TYPOGRAPHY RESILIENCE & CONTENT RESET ================== */
.om-typography-root {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.om-typography-root h1, 
.om-typography-root h2, 
.om-typography-root h3 {
  color: var(--text-dark);
  font-weight: 800;
  margin: 35px 0 15px 0;
}

.om-typography-root h2 { font-size: 24px; border-bottom: 3px solid var(--bg-gray); padding-bottom: 12px; }
.om-typography-root h3 { font-size: 18px; }

.om-typography-root p { margin-bottom: 20px; }

.om-typography-root ul, 
.om-typography-root ol {
  margin: 20px 0 25px 30px;
}

.om-typography-root li {
  margin-bottom: 12px;
}

/* Step-by-Step Styling for Guides */
.om-typography-root ol {
  counter-reset: guide-counter;
  list-style: none;
  padding-left: 0;
}

.om-typography-root ol > li {
  counter-increment: guide-counter;
  position: relative;
  padding-left: 45px;
  margin-bottom: 30px;
}

.om-typography-root ol > li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.om-typography-root table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.om-typography-root table th {
  background: var(--bg-gray);
  padding: 15px;
  text-align: left;
  font-weight: 800;
  color: var(--text-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.om-typography-root table td {
  padding: 15px;
  border-bottom: 1px solid var(--border-light);
  color: #555;
}

/* Force readability on platform blocks with legacy dark styles */
.om-typography-root div, 
.om-typography-root section {
  background-color: transparent !important;
  color: #444 !important;
  border-color: var(--border-light) !important;
  box-shadow: none !important;
}

.om-typography-root strong {
  color: #111 !important;
}

/* ================== MOBILE NAVIGATION & RESPONSIVE ================== */
.om-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-blue);
  cursor: pointer;
  padding: 5px;
  margin-top: 5px;
}

.om-logo-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}

.om-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

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

.om-mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 100000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 5px 0 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.om-mobile-sidebar.active { transform: translateX(100%); }

.mobile-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-mobile-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-gray);
  cursor: pointer;
}

.mobile-sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.mobile-nav-section { margin-bottom: 30px; }
.mobile-nav-title { font-size: 11px; text-transform: uppercase; color: var(--text-gray); letter-spacing: 1px; margin-bottom: 15px; font-weight: 800; }
.mobile-nav-link { display: block; padding: 12.5px 0; color: var(--text-dark); font-weight: 700; font-size: 15.5px; text-decoration: none; border-bottom: 1px solid #f9f9f9; transition: color 0.2s; }
.mobile-nav-link:hover { color: var(--primary-blue); }
.mobile-nav-link:last-child { border-bottom: none; }

.mobile-nav-sub-list {
  margin: 5px 0 10px 0;
  border-left: 3px solid #eee;
}

.mobile-nav-sub-link {
  display: block;
  padding: 10px 15px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-sub-link:hover {
  color: var(--primary-blue);
  background: rgba(1, 89, 179, 0.05);
  border-radius: 4px;
}

/* Response Desktop Balancing */
@media (min-width: 993px) {
  .nav-inner {
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .nav-left {
    gap: 32px;
    justify-content: center;
    flex: 1;
  }
}

@media (max-width: 1200px) {
  .nav-left { gap: 20px; }
  .nav-link { font-size: 12px !important; }
}

@media (max-width: 992px) {
  html, body { overflow-x: hidden; position: relative; width: 100%; }
  .om-container { width: 100%; padding: 0 15px; box-sizing: border-box; }
  
  .om-navigation-bar { background: var(--primary-blue); color: #fff; position: relative; /* purged z-index */ }
  .om-mobile-toggle { display: block; }

  .top-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 15px 0;
  }
  
  .om-logo-row { width: 100%; display: flex; align-items: center; justify-content: center; }
  .om-logo-main { transform: scale(0.9); border: none; padding: 0; }
  .om-logo-text { display: none; }
  .om-mobile-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  
  .om-search-bar { width: 100%; max-width: 100%; margin: 0; order: 2; }
  .om-search-bar input { height: 42px; font-size: 14px; }
  .om-search-bar button { width: 42px; }
  
  .om-top-actions { width: 100%; justify-content: space-around; padding: 10px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); order: 3; }
}

@media (max-width: 600px) {
  .om-action-item span { display: none; }
  .om-action-item { gap: 0; }
  .om-top-actions { gap: 10px; }
  .om-price-big { font-size: 26px; }
}

/* ================== HERO CAROUSEL ================== */
.om-red-separator {
  height: 5px;
  background: var(--primary-red);
  width: 100%;
  position: relative;
  z-index: 10;
}

.om-hero-carousel {
  position: relative;
  width: 100%;
  height: 320px !important; /* Force strict height */
  max-height: 320px !important;
  overflow: hidden;
  background: #014c99;
}

.om-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  display: flex;
  align-items: center;
  z-index: 1;
  padding: 0 20px;
  box-sizing: border-box;
}

.om-hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 10; /* Strict priority */
  overflow: hidden;
}

.om-hero-slide.active h1 {
  animation: heroContentLift 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.om-hero-slide.active p {
  animation: heroContentLift 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroContentLift {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.om-hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 204, 0, 0.2);
  color: #ffcc00;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  text-align: left !important;
}

.om-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  z-index: 5;
}

/* ================== SEARCH & NAV OVERLAY ================== */
.om-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.om-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.om-search-bar.is-active {
  z-index: 1100;
  background: #fff;
  border-color: var(--primary-blue) !important;
  transform: scale(1.02);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.search-focused {
  overflow: hidden;
}

/* ================== HERO SECTION ================== */
.om-hero-section {
  position: relative;
  background: linear-gradient(135deg, #014c99 0%, #00b4db 100%);
  color: #fff;
  height: 320px !important;
  max-height: 320px !important;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}

.om-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,197.3C672,224,768,224,864,197.3C960,171,1056,117,1152,101.3C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E\") bottom center no-repeat;
  background-size: cover;
  z-index: 1;
}

.om-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffcc00; /* Inherited by icons to match headings */
}
.om-hero-content {
  flex: 1;
  max-width: 600px;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Force children left */
}

.om-hero-content h1 {
  font-size: 36px; /* Reduced for 320px height */
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  text-align: left !important;
}

.om-hero-content h1 span {
  color: #ffcc00;
}

.om-hero-content p {
  font-size: 15px; /* Reduced for 320px height */
  line-height: 1.4;
  opacity: 0.9;
  margin-bottom: 20px;
}

.om-hero-images {
  flex: 0 0 400px;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-illustration {
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(0,0,0,0.2);
  animation: float 6s ease-in-out infinite;
}

.om-hero-icon-wrap {
  width: 120px;
  height: 120px;
  color: inherit; /* Inherits from active slide color */
  display: flex;
  align-items: center;
  justify-content: center;
}

.om-hero-icon-wrap svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.mock-delivery {
  font-size: 60px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Controls */
.om-carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10;
}

.om-carousel-prev, .om-carousel-next {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
  backdrop-filter: blur(5px);
}

.om-carousel-prev:hover, .om-carousel-next:hover {
  background: rgba(255,255,255,0.3);
}

.om-carousel-dots {
  display: flex;
  gap: 12px;
}

.om-carousel-dots .om-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.om-carousel-dots .om-dot.active {
  background: #ffcc00;
  width: 30px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .om-hero-carousel { 
    height: 320px !important; 
    padding: 0 !important; 
  }
  .om-hero-slide {
    padding: 0 15px !important;
  }
  .om-hero-content h1 { 
    font-size: 24px !important; 
    line-height: 1.1 !important;
    margin-bottom: 5px !important;
  }
  .om-hero-content p { 
    font-size: 12px !important; 
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    max-width: 90% !important;
  }
  .om-hero-tag {
    font-size: 10px !important;
    padding: 3px 8px !important;
    margin-bottom: 10px !important;
  }
  .om-btn-hero {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }
  .om-hero-images { 
    display: flex !important; 
    flex: 0 0 80px;
  }
  .hero-illustration {
    width: 70px !important;
    height: 70px !important;
  }
  .om-hero-icon-wrap {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 480px) {
  .om-hero-content h1 { font-size: 22px !important; }
  .om-hero-images { display: none !important; } /* Hide icons only on extreme narrow to prevent collision */
}

/* ================== RESPONSIVE CORE & PREMIUM POLISH ================== */

/* 1. Global Product Image Curved Edges */
.om-product-img, 
.p-img, 
.om-main-image, 
.om-thumb, 
.rec-img,
.cat-img-box,
.profile-avatar-box img {
  border-radius: 12px !important;
  overflow: hidden;
}

.om-main-image { border-radius: 16px !important; }
.om-thumb { border-radius: 10px !important; }

/* 2. Base Grid Structure (Must be defined BEFORE media queries) */
.om-shop-grid, .om-grid, .om-top-rated-grid, .om-5-col-grid, .recommended-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
}

@media (min-width: 1200px) {
  .om-shop-grid, .om-grid, .om-top-rated-grid, .om-5-col-grid, .recommended-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* 3. Global Mobile Sidebar Rule - Stack on mobile */
@media (max-width: 992px) {
  .om-column-main, .account-main { 
    width: 100% !important; 
    flex: 1 1 100% !important; 
  }
  .body-layout-grid, .account-wrapper { 
    flex-direction: column !important; 
    display: flex !important;
    min-height: 200px;
  }
}

/* 4. Global Mobile Grids - Overrides Base Grid */
@media (max-width: 768px) {
  .om-shop-grid, .om-grid, .om-top-rated-grid, .om-5-col-grid, .recommended-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
}

@media (max-width: 480px) {
  .om-shop-grid, .om-grid, .om-top-rated-grid, .om-5-col-grid, .recommended-grid, .om-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  .om-product-card { height: auto !important; min-height: 420px; }
  .om-categories-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 350px) {
  .om-categories-grid { grid-template-columns: 1fr !important; }
}

/* Base Product Card Styling (Missing until now) */
.om-product-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 15px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 450px; /* Locked Height for Total Consistency */
  width: 100%;
  box-sizing: border-box;
}

/* Compact Horizontal Card for Sidebar (75% reduction) */
.om-product-card-compact {
  flex-direction: row !important;
  height: 110px !important;
  padding: 10px !important;
  gap: 12px !important;
  border-radius: 12px !important;
  align-items: center !important;
  box-shadow: none !important;
  border: 1px solid var(--border-light) !important;
}

.om-product-card-compact .om-product-img {
  flex: 0 0 90px !important;
  height: 90px !important;
  margin-bottom: 0 !important;
}

.om-product-card-compact .om-product-name {
  font-size: 13px !important;
  min-height: auto !important;
  height: 34px !important;
  -webkit-line-clamp: 2 !important;
  margin-bottom: 5px !important;
}

.om-product-card-compact .om-product-info {
  justify-content: center !important;
}

.om-product-card-compact .om-product-bottom {
  padding-top: 5px !important;
  border-top: none !important;
}

.om-product-card-compact .om-product-price {
  font-size: 15px !important;
}

.om-product-card-compact .om-add-btn {
  width: 28px !important;
  height: 28px !important;
  font-size: 10px !important;
}


.om-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: var(--primary-blue);
}

.om-product-img {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-gray);
  border-radius: 14px;
}

.om-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: 14px !important;
  transition: transform 0.5s;
}

.om-product-card:hover .om-product-img img {
  transform: scale(1.08);
}

.om-product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.om-product-vendor {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 5px;
}

.om-product-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Regularize line count */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 58px;
  line-height: 1.3;
}

.om-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed var(--border-light);
  background: #fff;
}

.om-product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-blue);
}

.om-add-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-gray);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  cursor: pointer;
  transition: all 0.2s;
}

.om-add-btn:hover {
  background: var(--primary-blue);
  color: #fff;
}

@media (min-width: 1200px) {
  .om-shop-grid, .om-grid, .om-top-rated-grid, .om-5-col-grid, .recommended-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}


/* ================== TESTIMONIALS GRID ================== */
.om-reviews-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.om-review-interactive-card {
  height: 100%;
  padding: 24px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: 1px solid var(--border-light);
  background: #fff;
}

.om-review-card-link:hover .om-review-interactive-card {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(1, 89, 179, 0.12);
  border-color: var(--primary-blue);
}

@media (max-width: 1100px) {
  .om-reviews-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 600px) {
  .om-reviews-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .om-form-grid-mobile { grid-template-columns: 1fr !important; }
  
  .om-product-img { height: 160px !important; }
  .om-product-name { font-size: 14px !important; height: auto !important; min-height: 40px !important; }
  .om-product-price { font-size: 16px !important; }
}

/* 🔒 STRICT GALLERY RENDERING */
.om-main-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  background: var(--bg-gray);
  border-radius: 16px !important;
}

.om-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
}


/* ================== ELITE PARTNER REGISTRY ================== */
.om-vendor-widget {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 672px; /* Fixed height for 7 rows (40% increase from 480px) */
}

.om-vendor-list {
  position: relative;
  width: 100%;
  height: 100%;
}

.om-vendor-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  display: flex;
  flex-direction: column;
}

.om-vendor-group.active {
  opacity: 1;
  visibility: visible;
  position: relative; /* Take up space when active */
}

.om-vendor-row {
  display: flex;
  align-items: center;
  padding: 17px 20px;
  border-bottom: 1px solid #f9f9f9;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.om-vendor-row:last-child { border-bottom: none; }

.om-vendor-row:hover {
  background: var(--bg-gray);
  padding-left: 20px;
}

.om-vendor-row .v-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background: #eee;
}

.om-vendor-row .v-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.om-vendor-row .v-details {
  flex: 1;
}

.om-vendor-row .v-name {
  font-size: 19px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.om-vendor-row .v-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.om-vendor-row .v-badge {
  font-size: 14px;
  font-weight: 800;
  background: rgba(1, 89, 179, 0.1);
  color: var(--primary-blue);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.om-vendor-row .v-trust {
  font-size: 15px;
  color: #1a936f;
  font-weight: 600;
}

.om-vendor-row .v-chevron {
  color: #ccc;
  font-size: 18px;
  opacity: 0;
  transition: all 0.2s;
}

.om-vendor-row:hover .v-chevron {
  opacity: 1;
  transform: translateX(5px);
}

/* ================== RECENT FEEDBACK REGISTRY ================== */
.om-feedback-widget {
  height: auto !important; /* ALLOWS 21 ROWS TO DISPLAY */
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: visible !important;
}

.om-feedback-group {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex;
  flex-direction: column;
}

.om-feedback-row {
  padding: 14px 20px !important;
  border-bottom: 1px solid #f9f9f9 !important;
}

.om-feedback-row:hover {
  background: rgba(26, 147, 111, 0.03) !important;
  padding-left: 18px !important;
}

.om-feedback-row .v-avatar {
  width: 53px !important;
  height: 53px !important;
}

.om-feedback-row .v-name {
  color: #333 !important;
  font-size: 18px !important;
  margin-bottom: 0px !important;
}

.om-feedback-row .v-trust {
  font-size: 14px !important;
}


/* ========================================== */
/* 🌟 MOBILE LANDING PAGE WIDGETS            */
/* ========================================== */
.om-mobile-widgets { display: none; }

@media (max-width: 992px) {
    .om-mobile-widgets { display: block; margin: 40px 0; }
    .mobile-widget-header { display: flex; align-items: center; margin-bottom: 20px; }
    .mobile-widget-header h3 { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-right: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
    .mobile-widget-header .line { flex: 1; height: 1px; background: var(--border-light); }
    
    .mobile-widget-container { position: relative; overflow: hidden; min-height: 120px; }
    .mobile-widget-group { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 12px; 
        position: absolute; 
        top: 0; left: 0; width: 100%;
        opacity: 0; 
        visibility: hidden; 
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    }
    .mobile-widget-group.active { 
        position: relative; 
        opacity: 1; 
        visibility: visible; 
        z-index: 1;
    }
    
    /* [STIIICK TO IT] ELITE VENDOR CARD */
    .mobile-vendor-card {
        background: #fff;
        border: 1px solid #e1e9f5;
        border-radius: 12px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04);
        height: 100%;
        transition: all 0.2s;
        text-decoration: none;
    }
    
    .mobile-vendor-card:active { transform: scale(0.98); }
    
    .mobile-vendor-card .v-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
    .mobile-vendor-card .v-avatar { 
        width: 50px; height: 50px; border-radius: 50%; overflow: hidden; 
        border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); background: #eee;
    }
    .mobile-vendor-card .v-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .mobile-vendor-card .v-name { font-size: 15px; font-weight: 800; color: #111; margin-bottom: 2px; }
    
    .mobile-vendor-card .v-meta { 
        display: flex; flex-direction: column; align-items: center; gap: 4px; 
        margin-top: auto; border-top: 1px solid #f5f5f5; padding-top: 8px; 
    }
    .mobile-vendor-card .v-badge { 
        font-size: 11px; font-weight: 800; background: rgba(1, 89, 179, 0.1); 
        color: var(--primary-blue); padding: 2px 8px; border-radius: 4px; text-transform: uppercase; 
    }
    .mobile-vendor-card .v-trust { font-size: 12px; color: #1a936f; font-weight: 700; }
    
    /* REVIEWS CARD */
    .mobile-review-card {
        background: #fff;
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        height: 100%;
    }
    
    .mobile-review-card .r-user { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
    .mobile-review-card .r-avatar { 
        width: 30px; height: 30px; border-radius: 50%; 
        background: #f0f7ff; display: flex; align-items: center; justify-content: center; 
        font-size: 13px; font-weight: 800; color: var(--primary-blue);
    }
    .mobile-review-card .r-name { font-size: 13px; font-weight: 800; color: #111; }
    .mobile-review-card .r-text { 
        font-size: 12px; color: #666; font-style: italic; line-height: 1.4;
        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    }
    .mobile-review-card .r-rating { color: var(--primary-yellow); font-size: 12px; margin-top: auto; }
}

/* Desktop only utility */
@media (max-width: 991px) {
  .om-desktop-only { display: none !important; }
}

/* Mobile only utility */
@media (min-width: 992px) {
  .om-mobile-only { display: none !important; }
}

/* Features Bar Mobile Grid (2x2) */
@media (max-width: 992px) {
  .om-features-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 10px !important;
    padding: 24px 15px !important;
    margin-top: -30px !important;
  }
  
  .feature-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }
  
  .f-icon {
    margin: 0 auto !important;
    width: 45px !important;
    height: 45px !important;
  }
  
  .f-text h5 {
    font-size: 13px !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
  }
  
  .f-text p {
    font-size: 11px !important;
  }
}
@media (max-width: 991px) {
  .top-header-inner { 
    flex-direction: row !important; 
    flex-wrap: wrap !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    gap: 12px !important;
    padding: 10px 0 !important;
  }
  
  .om-logo-row { 
    order: 1 !important; 
    width: auto !important; 
    flex: 0 0 auto !important; 
    display: block !important; 
  }
  
  .om-logo-main { 
    transform: scale(0.75) !important; 
    transform-origin: left center !important; 
    gap: 5px !important;
  }

  .om-search-bar { 
    order: 2 !important; 
    flex: 1 !important; 
    margin: 0 !important; 
    height: 38px !important; 
    min-width: 0 !important; 
    max-width: none !important;
  }
  .om-search-bar input { padding: 0 10px !important; font-size: 13px !important; }
  .om-search-bar button { padding: 0 12px !important; }
  
  .om-mobile-toggle { 
    order: 3 !important; 
    display: flex !important; 
    flex: 0 0 auto !important;
    background: none !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 6px !important;
    color: var(--primary-blue) !important;
    padding: 6px !important;
    align-items: center;
    justify-content: center;
  }

  .om-top-actions { 
    order: 4 !important; 
    width: 100% !important; 
    border-top: 1px solid var(--border-light) !important; 
    padding-top: 12px !important; 
    margin-top: 5px !important;
    justify-content: space-around !important;
    gap: 5px !important;
  }
  
  .om-action-item span { font-size: 11px !important; }
  .om-action-item svg { width: 18px !important; height: 18px !important; }
}

/* FINAL OVERRIDE: 3-COLUMN MOBILE HEADER */
@media (max-width: 991px) {
  .top-header-inner { 
    flex-direction: row !important; 
    flex-wrap: wrap !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    gap: 8px !important;
    padding: 10px 0 !important;
  }
  
  /* [LOGO] Furthest Left */
  .om-logo-row { 
    order: 1 !important; 
    width: auto !important; 
    flex: 0 0 auto !important; 
    display: flex !important;
    justify-content: flex-start !important;
    position: relative !important;
  }
  
  .om-logo-main { 
    transform: scale(0.68) !important; 
    transform-origin: left center !important; 
    gap: 5px !important;
    margin: 0 !important;
  }
  
  .om-logo-text { display: flex !important; margin-left: -5px; } /* Re-enable logo text but smaller */
  .om-logo-text .merittra { font-size: 16px !important; }
  .om-logo-text .pharmacy { display: none !important; }

  /* [SEARCH] In The Middle */
  .om-search-bar { 
    order: 2 !important; 
    flex: 1 !important; 
    margin: 0 !important; 
    height: 36px !important; 
    min-width: 0 !important; 
    max-width: none !important;
  }
  .om-search-bar input { padding: 0 8px !important; font-size: 12px !important; }
  .om-search-bar button { padding: 0 10px !important; width: 40px !important; }
  
  /* [HAMBURGER] Extreme Right */
  .om-mobile-toggle { 
    order: 3 !important; 
    display: flex !important; 
    flex: 0 0 auto !important;
    position: relative !important; /* Neutralize legacy absolute */
    top: auto !important;
    right: auto !important;
    transform: none !important;
    background: #f0f7ff !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 6px !important;
    color: var(--primary-blue) !important;
    padding: 6px !important;
    margin: 0 !important;
  }

  /* [ACTIONS] Below Main Row */
  .om-top-actions { 
    order: 4 !important; 
    width: 100% !important; 
    border-top: 1px solid var(--border-light) !important; 
    padding-top: 10px !important; 
    margin-top: 4px !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }
  
  .om-action-item { flex-direction: column; gap: 2px !important; font-size: 10px !important; }
  .om-action-item span { display: block !important; font-size: 9px !important; opacity: 0.8; }
  .om-action-item svg { width: 18px !important; height: 18px !important; }
}

/* NEW BRANDING: RED PRIMARY LOGO */
.om-logo-text .merittra {
  color: #e50000 !important;
}
.om-logo-text .pharmacy {
  color: #333 !important;
}

/* Ensure mobile sidebar logo is consistent */
.om-mobile-sidebar .om-logo-main {
  margin-bottom: 20px;
}

/* CONSOLIDATED & OPTIMIZED MOBILE HEADER (Industry Standard) */
@media (max-width: 991px) {
  .top-header-inner { 
    flex-direction: row !important; 
    flex-wrap: wrap !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    gap: 12px !important;
    padding: 12px 0 !important;
  }
  
  /* [LOGO] High Visibility & Proportional */
  .om-logo-row { 
    order: 1 !important; 
    width: auto !important; 
    flex: 0 0 auto !important; 
    display: flex !important;
    justify-content: flex-start !important;
    position: relative !important;
  }
  
  .om-logo-main { 
    transform: scale(0.9) !important; /* Increased from 0.68 */
    transform-origin: left center !important; 
    gap: 8px !important;
    margin: 0 !important;
  }
  
  .om-ovira-emblem {
    width: 42px !important; /* Increased for visibility */
    height: 42px !important;
  }
  
  .om-logo-text { 
    display: flex !important; 
    margin-left: -2px !important;
  }
  
  .om-logo-text .merittra { 
    font-size: 22px !important; /* Bigger, bolder */
    line-height: 1 !important;
  }
  
  .om-logo-text .pharmacy { 
    display: block !important; 
    font-size: 11px !important; 
    letter-spacing: 10px !important; /* Increased for perfect 1:1 width alignment */
    color: #555 !important;
    text-transform: uppercase !important;
    margin-top: -3.5px !important;
    font-weight: 700 !important;
  }

  /* [SEARCH] Balanced Middle */
  .om-search-bar { 
    order: 2 !important; 
    flex: 1 !important; 
    margin: 0 5px !important; 
    height: 40px !important; /* Taller industry standard */
    min-width: 0 !important; 
    max-width: none !important;
    border-radius: 8px !important;
  }
  .om-search-bar input { padding: 0 12px !important; font-size: 13px !important; }
  .om-search-bar button { padding: 0 14px !important; width: 44px !important; }
  
  /* [HAMBURGER] Professional Toggle */
  .om-mobile-toggle { 
    order: 3 !important; 
    display: flex !important; 
    flex: 0 0 auto !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    color: var(--primary-blue) !important;
    padding: 8px !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
  }

  /* [ACTIONS] Premium Secondary Row */
  .om-top-actions { 
    order: 4 !important; 
    width: 100% !important; 
    border-top: 1px solid #f0f0f0 !important; 
    padding: 12px 5px 4px !important; 
    margin-top: 8px !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }
  
  .om-action-item { flex-direction: column; gap: 4px !important; }
  .om-action-item span { display: block !important; font-size: 10px !important; font-weight: 600 !important; color: #666 !important; }
  .om-action-item svg { width: 22px !important; height: 22px !important; color: var(--primary-blue) !important; }
  .om-action-item.cart-action .heart-cart { fill: #e50000 !important; stroke: #e50000 !important; }
}

/* FOOTER LOGO COLOR OVERRIDE */
.om-footer-area .om-logo-text .merittra,
.om-footer-area .om-logo-text .pharmacy {
  color: #fff !important;
}

/* ?? PRODUCT DETAILS REWEIGHTING - WooCommerce Optimized */
.om-product-details-grid {
  display: flex !important;
  gap: 40px !important;
  align-items: flex-start !important;
}

.om-product-details-grid .om-column-main {
  flex: 0 0 48% !important;
  max-width: 48% !important;
  min-width: 0 !important;
}

.om-product-details-grid .om-column-sidebar {
  flex: 1 !important;
  width: auto !important;
  max-width: 52% !important;
}

@media (max-width: 992px) {
  .om-product-details-grid {
    flex-direction: column !important;
  }
  .om-product-details-grid .om-column-main,
  .om-product-details-grid .om-column-sidebar {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/* ?? GALLERY OVERRIDE - WooCommerce Optimized */
.om-main-image img {
  width: 100% !important;
  max-height: 520px !important;
  object-fit: contain !important;
  background: #f8f8f8 !important;
  border-radius: 12px !important;
}

.om-thumb-strip {
  display: flex !important;
  gap: 12px !important;
  margin-top: 20px !important;
  overflow-x: auto !important;
  padding-bottom: 5px !important;
}

.om-thumb {
  flex: 0 0 80px !important;
  height: 80px !important;
  cursor: pointer !important;
  border: 4px solid transparent !important;
  transition: all 0.2s !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.om-thumb.active {
  border-color: var(--primary-blue) !important;
  box-shadow: 0 4px 10px rgba(1, 89, 179, 0.2) !important;
}

.om-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ?? UNIVERSAL RESPONSIVENESS & TOR HARDENING (v3.0.1) */
html, body { 
  overflow-x: hidden !important; 
  width: 100% !important; 
  position: relative !important;
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

/* Eliminate horizontal bleed from all containers */
.om-container, .om-hero-carousel, .om-hero-slide, .om-main-content {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

/* Finalize 2x2 Features Grid for Small Screens */
@media (max-width: 480px) {
  .om-features-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 20px 10px !important;
    margin-top: -15px !important;
  }
  .feature-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 10px 5px !important;
  }
  .f-icon { width: 36px !important; height: 36px !important; }
  .f-text h5 { font-size: 11px !important; line-height: 1.2 !important; }
  .f-text p { font-size: 9px !important; }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
}

@media (max-width: 400px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .om-categories-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}

/* Desktop & Laptop Fluidity (11\" -20) */
@media (min-width: 1200px) {
 .om-container {
 max-width: 1280px !important;
 }
}

@media (min-width: 1920px) {
 .om-container {
 max-width: 1440px !important;
 }
}

/* ?? TOR BROWSER NOSCRIPT FALLBACK */
.om-hero-slide:first-child {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  display: flex !important;
}

/* ??? DESKTOP MEGA-GRID NAVIGATION (2-Row Multi-Column) */
@media (min-width: 993px) {
  .om-navigation-bar .om-container {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
  }

  .nav-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
    gap: 8px 0 !important;
    min-width: 0 !important;
  }

  .nav-row {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }

  .nav-item-wrapper {
    flex: 0 1 auto !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }

  .nav-link {
    font-size: 10.5px !important;
    letter-spacing: 0px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    opacity: 0.8 !important;
    transition: 0.2s !important;
    white-space: nowrap !important;
    padding: 0 4px !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  .nav-link:hover {
    opacity: 1 !important;
    color: var(--primary-yellow) !important;
    transform: translateY(-2px) !important;
  }

  .nav-right {
    flex-shrink: 0 !important;
    border-left: 1px solid rgba(255,255,255,0.1) !important;
    padding-left: 30px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* ?? HEADER STACKING FIX (Menu Visibility) */
.om-navigation-bar { background: var(--primary-blue); color: #fff; position: relative; /* purged z-index */ }

/* ?? MEGA MENU TRANSFORM & ANIMATION */
@media (min-width: 993px) {
  .nav-dropdown-content { position: absolute; top: 100%; left: -15px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); min-width: 240px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5) inset; border-radius: 14px; padding: 10px 0; display: none; /* purged z-index */ margin-top: 8px; border: 1px solid rgba(0,0,0,0.08); }

  .nav-item-wrapper:hover .nav-dropdown-content,
  .nav-item-wrapper.is-open .nav-dropdown-content { position: absolute; top: 100%; left: -15px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); min-width: 240px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5) inset; border-radius: 14px; padding: 10px 0; display: none; /* purged z-index */ margin-top: 8px; border: 1px solid rgba(0,0,0,0.08); }

  .dropdown-link { display: block; padding: 12px 24px; color: #444; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); letter-spacing: 0.5px; position: relative; overflow: hidden; }

  .dropdown-link:hover { background: rgba(1, 89, 179, 0.05); color: var(--primary-blue); padding-left: 30px; }
}

@keyframes emMegaFade {
    from { opacity: 0; transform: translateX(-50%) translateY(25px); }
    to { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

/* ?? PRODUCTION-READY NAVIGATION HARDENING (Final Polish) */
.om-nav-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0,0,0,0.4) !important;
  backdrop-filter: blur(5px) !important;
  z-index: 1500 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.om-nav-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Active State Hardening */
.nav-item-wrapper.is-open .nav-link {
  color: var(--primary-yellow) !important;
  opacity: 1 !important;
  text-shadow: 0 2px 10px rgba(255,204,0,0.3) !important;
}

.nav-item-wrapper.is-open .nav-chevron {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}

/* ??? DEFINITIVE FRONT-OF-CONTENT VISIBILITY FIX */
.om-navigation-bar { background: var(--primary-blue); color: #fff; position: relative; /* purged z-index */ }

/* ================== BLOG GRID ================== */
.om-blog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-color: rgba(1, 89, 179, 0.2);
}

.blog-img {
  width: 100%;
  height: 160px;
  position: relative;
  overflow: hidden;
  display: block;
}

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

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-blue);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
  line-height: 1.4;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-card:hover .blog-title {
  color: var(--secondary-blue);
}

.blog-excerpt {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

.blog-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  transition: gap 0.2s;
}

.blog-link:hover {
  gap: 8px;
}

/* ?? INTELLIGENCE SECTION - FULL WIDTH HARDENING */
.om-intelligence-full-width {
  width: 100%;
  background: #fdfdfd;
  padding: 60px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 40px;
}

@media (min-width: 1400px) {
  .om-intelligence-full-width .om-container {
    max-width: 1380px !important;
  }
}

@media (max-width: 1100px) {
  .om-blog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .om-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .blog-img { height: 140px; }
  .blog-title { font-size: 14px; height: 38px; }
}

@media (max-width: 480px) {
  .om-blog-grid { grid-template-columns: 1fr; }
  .blog-img { height: 180px; }
}

/* ?? FEEDBACK WIDGET HEIGHT HARDENING */
.om-feedback-widget {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  max-height: none !important; /* Allow it to grow */
  overflow: visible !important;
}

.om-feedback-row {
  border-bottom: 1px solid #f9f9f9;
  padding: 15px 0 !important;
  transition: background 0.2s;
}

.om-feedback-row:hover {
  background: rgba(1, 89, 179, 0.02);
}

.om-feedback-row:last-child {
  border-bottom: none;
}


/* 🛡️ UNIVERSAL HEADER STACKING DEFENSE */
.om-universal-stacking-header {
  position: relative;
  /* Stacking handled in header.php */
  background: #fff;
}

.om-nav-wrapper {
  position: relative;
  /* purged z-index */
  overflow: visible !important;
}

.dropdown-menu {
  z-index: 20000 !important;
}


/* ================== PREMIUM SHOP REGISTRY & FOOTER ================== */

/* 🌌 STAGGERED DECRYPTING ANIMATION */
@keyframes registryFadeIn {
  0% { opacity: 0; transform: translateY(15px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.om-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.om-product-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  animation: registryFadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.om-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 89, 179, 0.08);
  border-color: rgba(1, 89, 179, 0.2);
}

.om-product-img {
  display: block;
  height: 180px;
  overflow: hidden;
  background: #f9f9f9;
  position: relative;
}

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

.om-product-card:hover .om-product-img img {
  transform: scale(1.08);
}

.om-product-info {
  padding: 16px;
}

.om-product-vendor a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--primary-blue);
  opacity: 0.7;
}

.om-product-name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #111;
  margin: 6px 0 12px 0;
  height: 40px;
  overflow: hidden;
  line-height: 1.4;
  transition: color 0.2s;
}

.om-product-card:hover .om-product-name {
  color: var(--primary-blue);
}

.om-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.om-product-price {
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.om-add-btn {
  background: rgba(1, 89, 179, 0.05);
  color: var(--primary-blue);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.om-add-btn:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: rotate(90deg);
}

/* 🏷️ ELITE BADGE REFINEMENT */
.om-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
}

/* 📂 REGISTRY SIDEBAR DASHBOARD */
.shop-custom-sidebar .om-card {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.cat-link-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  margin-left: -12px;
  width: calc(100% + 24px);
  transition: all 0.2s;
}

.cat-link-premium:hover {
  background: rgba(1, 89, 179, 0.05);
  padding-left: 16px;
}

.cat-link-premium.active {
  background: var(--primary-blue);
  color: #fff !important;
}

.cat-link-premium.active span {
  color: #fff !important;
}

/* 🌐 FOOTER SYNC */
.om-footer-area {
  background: linear-gradient(180deg, #014c99 0%, #003a75 100%) !important;
}

.om-footer-link {
  position: relative;
  padding-left: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.om-footer-link::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s;
}

.om-footer-link:hover {
  padding-left: 25px !important;
  color: var(--primary-yellow) !important;
}

.om-footer-link:hover::before {
  left: 0;
  opacity: 1;
}

/* ============================================================ */
/* 📱 OVIRA MARKET - PRODUCT REORDERING (GALLERY -> BUY -> TABS) */
/* ============================================================ */
.om-product-details-grid {
  display: grid;
  grid-template-areas: 
    "gallery sidebar"
    "tabs sidebar";
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: flex-start;
}

.om-product-gallery { grid-area: gallery; }
.om-column-sidebar { grid-area: sidebar; width: 380px; }
.om-details-tabs { grid-area: tabs; margin-top: 0; }

@media (max-width: 992px) {
  .om-product-details-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
  }
  
  /* Order: Gallery(1) -> Purchase(2) -> Tabs(3) */
  .om-product-gallery { order: 1 !important; }
  .om-column-sidebar { 
    order: 2 !important; 
    display: block !important; 
    width: 100% !important; 
  }
  .om-details-tabs { order: 3 !important; }
  
  .om-variation-container {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .om-btn-hero {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
  }
  .om-main-image { height: 350px !important; }
}

