/***********************
*      Offcanvas
*************************/
.offcanvas .flex-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.offcanvas {
  position: fixed;
  height: 100%;
  width: 350px;
  top: 0;
  right: -350px;
  transition: 0.3s;
  padding: 0 25px 20px;
  z-index: 99999;
  background-color: #000000f8;
  max-width: 100%;
}

a.header-logo svg {
  width: 90px;
}

.offcanvas__nav a {
  font-size: 21px;
  line-height: 1;
  font-weight: 500;
  color: #feffff;
  transition: 0.3s;
  display: block;
  padding: 5px 0;
}

.offcanvas__nav ul li {
  margin-bottom: 20px;
}

.offcanvas__nav ul {
  list-style: none;
  padding-left: 0;
}

@media (max-width: 1023px) {
  .offcanvas.active {
    right: 0;
  }
}

.header__logo {
  max-width: 185px;
}

.offcanvas-open {
  display: none;
}

@media (max-width: 1023px) {
  .offcanvas-open {
    display: block;
  }
}

.offcanvas-open,
.offcanvas__close {
  cursor: pointer;
}

.offcanvas__nav {
  padding: 30px 10px 0;
}

.offcanvas__nav a:hover,
.offcanvas__nav .current-menu-item {
  color: #16A34A;
}

.offcanvas__nav li:last-child a {
  margin: 0;
}

a.choose-country__block-item.countey-block {
  text-decoration: none;
}

/* ================================================================
   Hello Theme — Header & Announcement Bar
   Matches version-2.html design
   ================================================================ */

/* ── Announcement bar widget ── */
.o-announcement-bar {
  background: #111827;
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  line-height: 1.5;
}

.o-announcement-bar .o-coupon-code {
  color: #16A34A;
  font-weight: 700;
  font-size: 13px;
}

.o-announcement-bar a {
  color: #16A34A;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity .2s;
}

.o-announcement-bar a:hover { opacity: .8; }

/* Remove any gap injected by Elementor above the header widget */
.elementor-widget-o_header,
.elementor-widget-wrap > .elementor-element:has(.o-header) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Sticky is handled via JS — only #o-site-header goes fixed, not the section */
.site-header {
  background: transparent;
}

.o-header {
  background-color: #fff;
  width: 100%;
}

/* ── Logo ── */
.site-header .site-logo a,
.site-header .custom-logo-link,
.elementor-widget-site-logo a {
  text-decoration: none;
}

/* Logo text fallback if using text logo */
.site-branding .site-title,
.site-branding .site-title a {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.5px;
  text-decoration: none;
}

/* ── Navigation links ── */
.site-header .elementor-nav-menu a,
.site-header nav.site-navigation a,
.main-navigation a {
  font-size: 15px;
  font-weight: 500;
  color: #4B5563;
  text-decoration: none;
  position: relative;
  transition: color .25s ease;
}

.site-header .elementor-nav-menu a::after,
.site-header nav.site-navigation a::after,
.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #16A34A;
  border-radius: 2px;
  transition: width .25s ease;
}

.site-header .elementor-nav-menu a:hover,
.site-header nav.site-navigation a:hover,
.main-navigation a:hover {
  color: #16A34A;
}

.site-header .elementor-nav-menu a:hover::after,
.site-header nav.site-navigation a:hover::after,
.main-navigation a:hover::after {
  width: 100%;
}

/* ── WooCommerce cart icon in header ── */
.site-header .woocommerce-cart-link,
.site-header a.cart-contents {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #4B5563;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.site-header .woocommerce-cart-link:hover,
.site-header a.cart-contents:hover {
  background: #F3F4F6;
  color: #16A34A;
}

/* Cart count badge */
.site-header a.cart-contents .count,
.site-header .woocommerce-cart-link .count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: #16A34A;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 4px;
}

/* ── Header action buttons (Elementor icon widget) ── */
.site-header .elementor-icon-list-item a,
.site-header .elementor-widget-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #4B5563;
  font-size: 17px;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.site-header .elementor-icon-list-item a:hover,
.site-header .elementor-widget-icon a:hover {
  background: #F3F4F6;
  color: #16A34A;
}

/* Sticky shadow added via JS directly on #o-site-header */

/* ── Scroll-to-top button ── */
.oao-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #16A34A;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(22,163,74,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  z-index: 9999;
}

.oao-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.oao-scroll-top:hover {
  background: #15803D;
  transform: translateY(-3px) !important;
}

/* ===========================================
   BusraBeautyCare Elementor Widgets â€” All Styles
   =========================================== */

:root {
    --o-primary: #16A34A;
    --o-primary-dark: #15803D;
    --o-primary-light: #22C55E;
    --o-primary-soft: #DCFCE7;
    --o-accent: #d4a574;
    --o-accent-light: #e8c9a0;
    --o-bg: #faf7f5;
    --o-bg-card: #ffffff;
    --o-text-main: #1a1a2e;
    --o-text-body: #4a4a5a;
    --o-text-muted: #8a8a9a;
    --o-border: #f0e6e0;
    --o-dark: #1a1a2e;
    --o-dark-soft: #2d2d44;
    --o-gray-900: #1a1a2e;
    --o-gray-800: #2b2b3c;
    --o-gray-700: #4a4a5a;
    --o-gray-600: #5f5f6f;
    --o-gray-500: #8a8a9a;
    --o-gray-400: #b4b4c2;
    --o-gray-300: #d9d9e2;
    --o-gray-200: #ece8e5;
    --o-gray-100: #f6f1ef;
    --o-gray-50: #faf7f5;
    --o-white: #ffffff;
    --o-success: #10B981;
    --o-star: #F59E0B;
    --o-shadow-sm: 0 1px 12px rgba(0,0,0,0.04);
    --o-shadow-md: 0 4px 24px rgba(0,0,0,0.06);
    --o-shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
    --o-shadow-accent: 0 4px 24px rgba(22, 163, 74, 0.15);
    --o-transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --o-radius: 16px;
    --o-radius-sm: 10px;
    --o-radius-md: 12px;
    --o-radius-lg: 16px;
    --o-radius-xl: 24px;
    --o-radius-full: 9999px;
    --o-font-body: "Noto Sans Bengali", sans-serif;
    --o-font-head: "Noto Serif Bengali", serif;
}

/* ===== SHARED UTILITIES ===== */
.on-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.o-topbar,
.o-header,
.o-hero,
.o-features-bar,
.o-section,
.o-offers-section,
.o-product-swiper-wrap,
.o-testimonials-section,
.o-newsletter-section,
.o-footer,
.o-spotlight,
.o-brands-strip,
.o-announcement-bar {
    font-family: var(--o-font-body);
    color: var(--o-text-main);
}
.o-section-title,
.o-hero-title,
.o-logo,
.o-brand-item,
.o-spotlight h2,
.o-spotlight h3 {
    font-family: var(--o-font-head);
}
.o-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--o-transition);
    font-family: inherit;
    outline: none !important;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
/* Kill theme :focus / :active overrides on ALL plugin buttons */
.o-btn:focus,
.o-btn:focus-visible,
.o-btn:active {
    outline: none !important;
    box-shadow: none !important;
}
.o-btn-primary {
    background: var(--o-primary) !important;
    color: var(--o-white) !important;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.35) !important;
}
.o-btn-primary:hover {
    background: var(--o-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.45) !important;
    color: var(--o-white) !important;
    text-decoration: none;
}
.o-btn-primary:focus,
.o-btn-primary:active {
    background: var(--o-primary) !important;
    color: var(--o-white) !important;
}
.o-btn-secondary {
    background: var(--o-gray-100) !important;
    color: var(--o-gray-900) !important;
}
.o-btn-secondary:hover {
    background: var(--o-gray-200) !important;
    color: var(--o-gray-900) !important;
    text-decoration: none;
}
.o-btn-outline {
    background: transparent;
    color: var(--o-white);
    border: 2px solid rgba(255,255,255,0.6);
}
.o-btn-outline:hover {
    background: var(--o-white);
    color: var(--o-primary);
    border-color: var(--o-white);
    text-decoration: none;
}
.o-btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}
.o-btn-dark {
    background: var(--o-gray-900) !important;
    color: var(--o-white) !important;
}
.o-btn-dark:hover {
    background: var(--o-gray-800) !important;
    transform: translateY(-2px);
    color: var(--o-white) !important;
    text-decoration: none;
}

.o-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.o-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--o-primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.o-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--o-text-main);
    margin-bottom: 8px;
    line-height: 1.3;
}
.o-section-subtitle {
    font-size: 15px;
    color: var(--o-text-muted);
    max-width: 500px;
    margin: 0 auto;
}
.o-section-line {
    width: 50px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--o-primary), var(--o-accent));
}

/* ===== TOPBAR ===== */
.o-topbar {
    background: linear-gradient(135deg, var(--o-primary-dark), var(--o-primary));
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    padding: 8px 0;
}
.o-topbar a {
    color: inherit;
    text-decoration: none;
    transition: var(--o-transition);
}
.o-topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.o-topbar-left,
.o-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.o-topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.o-topbar-links {
    display: flex;
    gap: 14px;
    align-items: center;
}
.o-topbar-links a {
    opacity: 0.85;
}
.o-topbar-links a:hover { opacity: 1; }
.o-topbar-social {
    display: flex;
    gap: 8px;
}
.o-topbar-social-link {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: inherit;
    transition: var(--o-transition);
}
.o-topbar-social-link:hover {
    background: #fff;
    color: var(--o-primary);
    border-color: #fff;
    transform: translateY(-1px);
}

/* ===== CATEGORIES ===== */
.o-categories-section { padding: 64px 0; }
.o-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.o-cat-card {
    text-align: center;
    padding: 28px 12px;
    border-radius: var(--o-radius);
    background: var(--o-bg-card);
    border: 1px solid var(--o-border);
    transition: var(--o-transition);
    position: relative;
    overflow: hidden;
    color: var(--o-text-main);
}
.o-cat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--o-primary), var(--o-accent));
    opacity: 0;
    transition: var(--o-transition);
    border-radius: var(--o-radius);
}
.o-cat-card:hover::before { opacity: 1; }
.o-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--o-shadow-lg);
    border-color: transparent;
}
.o-cat-card > * { position: relative; z-index: 1; }
.o-cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--o-bg);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: var(--o-transition);
}
.o-cat-card:hover .o-cat-icon { background: rgba(255,255,255,0.2); }
.o-cat-card h3 {
    font-family: var(--o-font-body);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.o-cat-card p {
    font-size: 12px;
    color: var(--o-text-muted);
}
.o-cat-card:hover h3,
.o-cat-card:hover p { color: #fff; }

/* ===== BRANDS ===== */
.o-brands-strip {
    padding: 48px 0;
    background: var(--o-bg-card);
    border-top: 1px solid var(--o-border);
    border-bottom: 1px solid var(--o-border);
}
.o-brands-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}
.o-brand-item {
    font-family: var(--o-font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--o-text-muted);
    opacity: 0.35;
    transition: var(--o-transition);
    cursor: pointer;
}
.o-brand-item:hover {
    opacity: 1;
    color: var(--o-primary);
}

@media (max-width: 1024px) {
    .o-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .o-topbar-left { display: none; }
    .o-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ANNOUNCEMENT BAR ===== */
.o-announcement-bar {
    background: var(--o-gray-900);
    color: var(--o-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.o-announcement-bar .o-coupon-code {
    color: var(--o-primary);
    font-weight: 700;
}
.o-announcement-bar a {
    color: var(--o-primary);
    text-decoration: underline;
    transition: var(--o-transition);
}
.o-announcement-bar a:hover {
    color: var(--o-primary-dark);
}

/* ===== HERO SLIDER ===== */
.o-hero {
    position: relative;
    overflow: hidden;
}
.o-hero-swiper {
    width: 100%;
        aspect-ratio: 5 / 2.5 !important;
}
.o-hero-slide {
    position: relative;
    overflow: hidden;
}
.o-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}
.o-hero-slide.swiper-slide-active .o-hero-slide-bg {
    transform: scale(1.05);
}
.o-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(26,26,46,0.25) 100%);
}
.o-hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 8%;
    max-width: 1320px;
    margin: 0 auto;
}
.o-hero-tag {
    display: inline-block;
    background: var(--o-primary);
    color: var(--o-white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: o-fadeInUp 0.8s ease;
}
.o-hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    color: var(--o-white);
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 600px;
    animation: o-fadeInUp 0.8s ease 0.1s both;
}
.o-hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
    animation: o-fadeInUp 0.8s ease 0.2s both;
}
.o-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: o-fadeInUp 0.8s ease 0.3s both;
}
.o-hero-swiper .swiper-pagination { bottom: 32px; }
.o-hero-swiper .swiper-pagination-bullet {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: var(--o-transition);
}
.o-hero-swiper .swiper-pagination-bullet-active {
    background: var(--o-primary);
    width: 36px;
    border-radius: 6px;
}
.o-hero-swiper .swiper-button-next,
.o-hero-swiper .swiper-button-prev {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--o-white);
    transition: var(--o-transition);
}
.o-hero-swiper .swiper-button-next:hover,
.o-hero-swiper .swiper-button-prev:hover { background: var(--o-primary); }
.o-hero-swiper .swiper-button-next::after,
.o-hero-swiper .swiper-button-prev::after { font-size: 18px; font-weight: 700; }

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

/* ===== FEATURES BAR ===== */
.o-features-bar {
    background: var(--o-white);
    padding: 40px 0;
}
.o-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.o-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}
.o-feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--o-radius-md);
    background: var(--o-primary-light);
    color: var(--o-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.o-feature-icon i,
.o-feature-icon svg,
.o-feature-icon span {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
    color: var(--o-primary) !important;
    fill: var(--o-primary) !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.o-feature-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--o-gray-900);
    margin-bottom: 2px;
}
.o-feature-text p {
    font-size: 13px;
    color: var(--o-gray-500);
    margin: 0;
}

/* ===== PRODUCT SECTION ===== */
.o-category-section {
    padding: 80px 0;
}
.o-product-swiper-wrap {
    position: relative;
    padding: 0 60px;
}
.o-product-swiper-wrap .swiper-slide { height: auto; }
.o-product-card {
    background: var(--o-white);
    border-radius: var(--o-radius-lg);
    overflow: hidden;
    transition: var(--o-transition);
    border: 1px solid var(--o-gray-100);
    position: relative;
    height: 100%;
}
.o-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--o-shadow-lg);
    border-color: transparent;
}
.o-product-card-img {
    position: relative;
    overflow: hidden;
    background: var(--o-gray-100);
}
.o-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.o-product-card:hover .o-product-card-img img { transform: scale(1.08); }
.o-product-badge {
    position: absolute;
    top: 14px; left: 14px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}
.o-badge-sale { background: #16A34A; color: var(--o-white); }
.o-badge-new { background: var(--o-primary); color: var(--o-white); }
.o-badge-hot { background: #F59E0B; color: var(--o-white); }
.o-product-actions {
    position: absolute;
    top: 14px; right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--o-transition);
    z-index: 2;
}
.o-product-card:hover .o-product-actions { opacity: 1; transform: translateX(0); }
.o-product-action-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--o-white);
    color: var(--o-gray-600);
    font-size: 14px;
    cursor: pointer;
    transition: var(--o-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--o-shadow-sm);
}
.o-product-action-btn:hover { background: var(--o-primary); color: var(--o-white); }
.o-product-action-btn.wishlisted { background: #16A34A; color: var(--o-white); }
.o-product-quick-add {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px;
    transform: translateY(100%);
    transition: var(--o-transition);
    z-index: 2;
}
.o-product-card:hover .o-product-quick-add { transform: translateY(0); }
.o-product-quick-add .o-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 13px;
    border-radius: var(--o-radius-sm);
}
.o-product-card-body { padding: 20px; }
.o-product-category {
    font-size: 12px;
    color: var(--o-gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 6px;
}
.o-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--o-gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.o-product-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--o-transition);
}
.o-product-name a:hover { color: var(--o-primary); }
.o-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.o-product-rating .o-stars {
    display: flex;
    gap: 2px;
    color: var(--o-star);
    font-size: 12px;
}
.o-product-rating span { font-size: 12px; color: var(--o-gray-400); }
.o-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.o-product-price .o-price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--o-primary);
}
.o-product-price .o-price-original {
    font-size: 14px;
    color: var(--o-gray-400);
    text-decoration: line-through;
}
.o-product-price .o-price-discount {
    font-size: 12px;
    font-weight: 600;
    color: #16A34A;
    background: #FEE2E2;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Slider Nav Buttons */
.o-slider-nav-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--o-gray-200);
    background: var(--o-white);
    color: var(--o-gray-600);
    font-size: 16px;
    cursor: pointer;
    transition: var(--o-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--o-shadow-md);
}
.o-slider-nav-btn:hover { background: var(--o-primary); color: var(--o-white); border-color: var(--o-primary); }
.o-slider-nav-btn.o-prev { left: 0; }
.o-slider-nav-btn.o-next { right: 0; }

/* ===== SPECIAL OFFERS ===== */
.o-offers-section { padding: 80px 0; }
.o-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.o-offer-card {
    position: relative;
    border-radius: var(--o-radius-xl);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}
.o-offer-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}
.o-offer-card:hover .o-offer-card-bg { transform: scale(1.05); }
.o-offer-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(26,26,46,0.3) 100%);
}
.o-offer-card-content {
    position: relative;
    z-index: 2;
    padding: 48px;
}
.o-offer-tag {
    display: inline-block;
    background: var(--o-primary);
    color: var(--o-white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.o-offer-card-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--o-white);
    margin-bottom: 12px;
    line-height: 1.2;
}
.o-offer-card-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
}
.o-countdown {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.o-countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--o-radius-sm);
    padding: 10px 14px;
    min-width: 56px;
}
.o-countdown-item .o-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--o-white);
    line-height: 1;
}
.o-countdown-item .o-label {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ===== TESTIMONIALS ===== */
.o-testimonials-section { padding: 80px 0; }
.o-testimonials-swiper { padding-bottom: 60px !important; }
.o-testimonial-card {
    background: var(--o-white);
    border-radius: var(--o-radius-lg);
    padding: 36px;
    border: 1px solid var(--o-gray-100);
    transition: var(--o-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.o-testimonial-card:hover { box-shadow: var(--o-shadow-md); border-color: transparent; }

/* Review image */
.o-testimonial-review-img {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin: -36px -36px 24px;
    width: calc(100% + 72px);
}
.o-testimonial-review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.o-testimonial-card:hover .o-testimonial-review-img img {
    transform: scale(1.04);
}

.o-testimonial-stars {
    display: flex;
    gap: 3px;
    color: var(--o-star);
    font-size: 14px;
    margin-bottom: 20px;
}
.o-testimonial-text {
    font-size: 15px;
    color: var(--o-gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}
.o-testimonial-author { display: flex; align-items: center; gap: 14px; }
.o-testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--o-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--o-primary);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--o-primary-light);
}
.o-testimonial-avatar--img {
    background: transparent;
    border-color: #e5e7eb;
}
.o-testimonial-avatar--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.o-testimonial-author-info h5 { font-size: 15px; font-weight: 600; color: var(--o-gray-900); margin: 0 0 2px; }
.o-testimonial-author-info p { font-size: 13px; color: var(--o-gray-400); margin: 0; }
.o-testimonials-swiper .swiper-pagination { bottom: 0; }
.o-testimonials-swiper .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: var(--o-gray-300);
    opacity: 1;
}
.o-testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--o-primary);
    width: 28px;
    border-radius: 5px;
}

/* ===== NEWSLETTER ===== */
.o-newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}
.o-newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: var(--o-primary);
    opacity: 0.08;
    pointer-events: none;
}
.o-newsletter-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    position: relative;
    z-index: 2;
}
.o-newsletter-inner h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--o-white);
    margin: 0;
}
.o-newsletter-inner p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    max-width: 520px;
}
.o-newsletter-btn {
    padding: 16px 40px;
    font-size: 16px;
}

/* ===== CART SIDEBAR ===== */
.o-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99990;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.o-cart-overlay.o-active { display: block; opacity: 1; }
.o-cart-sidebar {
    position: fixed;
    top: 0; right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: var(--o-white);
    z-index: 99991;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--o-shadow-lg);
}
.o-cart-sidebar.o-active { transform: translateX(0); }
.o-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--o-gray-100);
}
.o-cart-header h3 { font-size: 18px !important; font-weight: 700 !important; color: var(--o-gray-900) !important; margin: 0 !important; }
.o-cart-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--o-gray-100);
    cursor: pointer;
    font-size: 16px;
    color: var(--o-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--o-transition);
}
.o-cart-close:hover { background: var(--o-gray-200); }
.o-cart-items { flex: 1; overflow-y: auto; padding: 24px; }
.o-cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--o-gray-100);
}
.o-cart-item-img {
    width: 80px; height: 80px;
    border-radius: var(--o-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--o-gray-100);
}
.o-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.o-cart-item-info { flex: 1; }
.o-cart-item-info h4 { font-size: 14px; font-weight: 600; color: var(--o-gray-900); margin: 0 0 4px; }
.o-cart-item-info h4 a { color: inherit; text-decoration: none; }
.o-cart-item-info h4 a:hover { color: var(--o-primary); }
.o-cart-item-img { display: block; }
.o-cart-item-img:hover { opacity: .85; }
.o-cart-item-price { font-size: 15px; font-weight: 700; color: var(--o-primary); margin-bottom: 8px; }
.o-cart-item-remove {
    background: none; border: none;
    color: var(--o-gray-400);
    cursor: pointer;
    font-size: 13px;
    transition: var(--o-transition);
    align-self: flex-start;
    margin-top: 4px;
}
.o-cart-item-remove:hover { color: #16A34A; }
.o-cart-empty { text-align: center; padding: 60px 20px; }
.o-cart-empty i { font-size: 48px; color: var(--o-gray-300); margin-bottom: 16px; display: block; }
.o-cart-empty h4 { font-size: 18px; color: var(--o-gray-700); margin-bottom: 8px; }
.o-cart-empty p { font-size: 14px; color: var(--o-gray-400); margin: 0; }
.o-cart-footer { padding: 24px; border-top: 1px solid var(--o-gray-100); }
.o-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.o-cart-total .o-total-label { font-size: 16px; font-weight: 600; color: var(--o-gray-900); }
.o-cart-total .o-total-amount { font-size: 22px; font-weight: 700; color: var(--o-primary); }
.o-cart-footer .o-btn { width: 100%; justify-content: center; padding: 16px; }
.o-cart-actions { display: flex; gap: 10px; margin-top: 12px; }
.o-cart-actions .o-btn { flex: 1; padding: 14px 10px; font-size: 14px; }
.o-coupon-row { display: flex; gap: 8px; margin-bottom: 6px; }
.o-coupon-input { flex: 1; padding: 10px 12px; border: 1px solid var(--o-gray-200); border-radius: 8px; font-size: 14px; outline: none; }
.o-coupon-input:focus { border-color: var(--o-primary); }
.o-coupon-apply { padding: 10px 16px; background: var(--o-gray-900); color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.o-coupon-apply:hover { background: var(--o-primary); }
.o-coupon-msg { font-size: 13px; min-height: 18px; margin-bottom: 8px; }
.o-coupon-success { color: #16a34a; }
.o-coupon-error   { color: #dc2626; }

/* ===== QUICK VIEW MODAL ===== */
.o-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 99992;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.o-modal-overlay.o-active { display: flex; opacity: 1; }
.o-modal {
    background: var(--o-white);
    border-radius: var(--o-radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.o-modal-overlay.o-active .o-modal { transform: scale(1); }
.o-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--o-gray-100);
    color: var(--o-gray-600);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--o-transition);
    z-index: 10;
}
.o-modal-close:hover { background: var(--o-gray-200); }
.o-modal-img {
    aspect-ratio: 1;
    background: var(--o-gray-100);
    overflow: hidden;
    border-radius: var(--o-radius-xl) 0 0 var(--o-radius-xl);
}
.o-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.o-modal-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.o-modal-body .o-product-name { font-size: 24px; margin-bottom: 12px; display: block; -webkit-line-clamp: unset; line-clamp: unset; }
.o-modal-body .o-product-price { margin-bottom: 20px; }
.o-modal-body .o-price-current { font-size: 28px; }
.o-modal-product-desc { font-size: 14px; color: var(--o-gray-500); line-height: 1.8; margin-bottom: 24px; }
.o-modal-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.o-modal-qty-label { font-size: 14px; font-weight: 600; color: var(--o-gray-700); }
.o-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--o-gray-200);
    border-radius: var(--o-radius-sm);
    overflow: hidden;
}
.o-qty-control button {
    width: 40px; height: 40px;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
    cursor: pointer;
    color: var(--o-gray-600);
    transition: var(--o-transition);
}
.o-qty-control button:hover { background: var(--o-gray-100) !important; background-color: var(--o-gray-100) !important; }
.o-qty-control input {
    width: 50px; height: 40px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--o-gray-900);
    font-family: inherit;
}
.o-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

/* Add to Cart â€” takes most of the row */
#o-modal-add-to-cart {
    flex: 1;
    justify-content: center;
    height: 52px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    background: var(--o-primary) !important;
    background-color: var(--o-primary) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(22,163,74,.35) !important;
    gap: 10px;
    transition: background .2s, transform .2s, box-shadow .2s !important;
}
#o-modal-add-to-cart:hover {
    background: var(--o-primary-dark) !important;
    background-color: var(--o-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(22,163,74,.4) !important;
}
#o-modal-add-to-cart:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(22,163,74,.3) !important;
}

/* Wishlist â€” compact square icon button */
#o-modal-wishlist {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 2px solid var(--o-gray-200) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--o-gray-500) !important;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, color .2s !important;
    box-shadow: none !important;
    padding: 0 !important;
}
#o-modal-wishlist:hover {
    border-color: var(--o-primary) !important;
    color: var(--o-primary) !important;
    background: var(--o-primary-light) !important;
    background-color: var(--o-primary-light) !important;
}

/* ===== TOAST ===== */
.o-toast-container {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.o-toast {
    background: var(--o-gray-900);
    color: var(--o-white);
    padding: 14px 24px;
    border-radius: var(--o-radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--o-shadow-lg);
    animation: o-toastIn 0.4s ease, o-toastOut 0.4s ease 2.6s forwards;
    max-width: 360px;
}
.o-toast i { color: var(--o-success); font-size: 16px; }
@keyframes o-toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes o-toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px); } }

/* ===== FOOTER ===== */
.o-footer {
    background: #0F172A;
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}
.o-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.o-footer-brand .o-footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--o-white);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-block;
    margin-bottom: 20px;
}
.o-footer-logo em {
    color: var(--o-primary);
    font-style: normal;
}
.o-footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}
.o-footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.o-footer-socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: var(--o-transition);
}
.o-footer-socials a:hover {
    background: var(--o-primary);
    border-color: var(--o-primary);
    color: var(--o-white);
}
.o-footer-socials a i,
.o-footer-socials a svg,
.o-footer-socials a span {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255,255,255,0.6) !important;
    fill: rgba(255,255,255,0.6) !important;
}
.o-footer-socials a:hover i,
.o-footer-socials a:hover svg,
.o-footer-socials a:hover span {
    color: #ffffff !important;
    fill: #ffffff !important;
}
.o-footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--o-white);
    margin-bottom: 24px;
}
.o-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.o-footer-col ul li {
    margin-bottom: 12px;
}
.o-footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--o-transition);
}
.o-footer-col ul li a:hover {
    color: var(--o-primary);
    padding-left: 4px;
}
.o-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.o-footer-contact i {
    color: var(--o-primary);
    font-size: 15px;
    margin-top: 3px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.o-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
}
.o-payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.o-payment-icons i {
    font-size: 28px;
    color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .o-features-grid { grid-template-columns: repeat(2, 1fr); }
    .o-newsletter-inner { gap: 20px; }
    .o-offers-grid { grid-template-columns: 1fr; }
    .o-modal { grid-template-columns: 1fr; max-width: 500px; }
    .o-modal-img { border-radius: var(--o-radius-xl) var(--o-radius-xl) 0 0; aspect-ratio: 16/10; }
    .o-modal-body { padding: 24px; }
    .o-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .o-hero-swiper .swiper-button-next,
    .o-hero-swiper .swiper-button-prev {
        width: 28px;
        height: 28px;
    }
    .o-hero-swiper .swiper-button-next::after,
    .o-hero-swiper .swiper-button-prev::after { font-size: 11px; }
    .o-hero-swiper .swiper-pagination { bottom: 6px; }
    .o-hero-swiper .swiper-pagination-bullet { width: 6px; height: 6px; }
    .o-hero-swiper .swiper-pagination-bullet-active { width: 16px; }
    .o-hero-swiper {
        aspect-ratio: 4 / 3 !important;
    }
    .o-hero-slide-bg {
        background-size: cover;
        background-position: center center;
    }
    .o-hero-slide-content {
        padding: 16px 5% 28px;
        justify-content: center;
        gap: 8px;
    }
    .o-hero-tag {
        font-size: 8px;
        padding: 3px 8px;
        margin-bottom: 0;
        letter-spacing: 1px;
    }
    .o-hero-title {
        font-size: 20px;
        margin-bottom: 0;
        line-height: 1.3;
        max-width: 55%;
    }
    .o-hero-desc { display: none; }
    .o-hero-btns {
        gap: 8px;
    }
    .o-hero-btns .o-btn {
        padding: 6px 14px;
        font-size: 11px;
        border-radius: 4px;
    }
    .o-features-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .o-product-swiper-wrap { padding: 0 40px; }
    .o-category-section { padding: 40px 0; }
    .o-section-header { margin-bottom: 28px; }
    .o-section-title { font-size: 22px; margin-bottom: 8px; }
    .o-section-subtitle { font-size: 14px; }
    .o-section-label { font-size: 10px; padding: 4px 12px; margin-bottom: 10px; }
    .o-newsletter-btn { width: 100%; justify-content: center; }
    .o-cart-sidebar { width: 100%; }
    .o-offer-card-content { padding: 32px; }
    .o-footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .o-footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .o-countdown-item { min-width: 48px; padding: 8px 10px; }
    .o-countdown-item .o-num { font-size: 18px; }
}
@media (max-width: 480px) {
    .o-features-grid { grid-template-columns: 1fr; }
    .o-hero-btns { flex-direction: row; width: auto; gap: 8px; }
    .o-hero-btns .o-btn { width: auto; justify-content: flex-start; }
    .o-hero-btns .o-btn-outline { display: none; }
    .o-modal-actions { flex-direction: column; }

    /* Section spacing */
    .o-category-section { padding: 24px 0; }
    .o-section-header { margin-bottom: 16px; }
    .o-section-title { font-size: 18px !important; margin-bottom: 6px; }
    .o-section-subtitle { font-size: 12px; }
    .o-section-label { font-size: 9px; padding: 3px 10px; letter-spacing: 1.5px; margin-bottom: 8px; }

    /* Slider wrap â€” tighter side padding for nav buttons */
    .o-product-swiper-wrap { padding: 0 30px; }
    .o-slider-nav-btn { width: 40px; height: 40px; font-size: 11px; }
}


/* =============================================
   O_HEADER WIDGET
   ============================================= */

/* --- Header shell --- */
.o-header {
    background: var(--o-white);
    border-bottom: 1px solid transparent;
    transition: var(--o-transition);
    position: relative;
    z-index: 1000;
}
.o-header--sticky {
    position: sticky;
    top: 0;
}
.o-header.o-scrolled {
    box-shadow: var(--o-shadow-md);
    border-bottom-color: var(--o-gray-100);
}

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

/* --- Logo --- */
.o-logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--o-gray-900);
    text-decoration: none;
    letter-spacing: -0.5px;
    line-height: 1;
    flex-shrink: 0;
}
.o-logo em { color: var(--o-primary); font-style: normal; }
.o-logo img { max-height: 48px; width: auto; display: block; }
.o-logo:hover { text-decoration: none; color: var(--o-gray-900); }

/* --- Desktop Nav --- */
.o-nav-desktop-wrap { flex: 1; display: flex; justify-content: center; }
.o-nav-desktop {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.o-nav-desktop li { margin: 0; padding: 0; position: static; }
.o-nav-desktop li ul { display: none; } /* hide sub-menus */
.o-nav-desktop a {
    font-size: 15px;
    font-weight: 500;
    color: var(--o-gray-600);
    text-decoration: none;
    transition: var(--o-transition);
    position: relative;
    white-space: nowrap;
}
.o-nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--o-primary);
    transition: var(--o-transition);
    border-radius: 2px;
}
.o-nav-desktop a:hover,
.o-nav-desktop li.current-menu-item > a { color: var(--o-primary); }
.o-nav-desktop a:hover::after,
.o-nav-desktop li.current-menu-item > a::after { width: 100%; }

/* --- Mobile Nav Links (same menu, mobile class) --- */
.o-mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 24px;
}
.o-mobile-nav-links li { margin: 0; }
.o-mobile-nav-links li ul { display: none; }
.o-mobile-nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--o-gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--o-gray-100);
    transition: var(--o-transition);
}
.o-mobile-nav-links a:hover { color: var(--o-primary); }

/* --- Action buttons --- */
.o-header-actions { display: flex; align-items: center; gap: 8px; }

/* Beat theme/WooCommerce button overrides completely */
.o-header .o-header-action-btn,
.o-header-action-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--o-gray-600) !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: var(--o-transition) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
}
.o-header .o-header-action-btn:hover,
.o-header-action-btn:hover {
    background: var(--o-gray-100) !important;
    background-color: var(--o-gray-100) !important;
    color: var(--o-primary) !important;
    box-shadow: none !important;
}
/* Kill any :focus / :active theme highlight */
.o-header-action-btn:focus,
.o-header-action-btn:focus-visible,
.o-header-action-btn:active {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--o-gray-600) !important;
    outline: none !important;
    box-shadow: none !important;
}
.o-h-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--o-primary);
    color: var(--o-white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* --- Mobile toggle --- */
.o-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
}
.o-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--o-gray-700);
    border-radius: 2px;
    transition: var(--o-transition);
}

/* --- Mobile nav drawer --- */
.o-mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99993;
    display: none;
}
.o-mobile-nav-overlay.active { display: block; }

.o-mobile-nav {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    height: 100%;
    background: var(--o-white);
    z-index: 99994;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: var(--o-shadow-lg);
}
.o-mobile-nav.active { transform: translateX(0); }

.o-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--o-gray-100);
}
.o-mobile-nav-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--o-gray-100);
    cursor: pointer;
    font-size: 16px;
    color: var(--o-gray-600);
    display: flex; align-items: center; justify-content: center;
    transition: var(--o-transition);
}
.o-mobile-nav-close:hover { background: var(--o-gray-200); }

/* --- Search overlay --- */
.o-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    z-index: 99995;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
}
.o-search-overlay.active { display: flex; }
.o-search-container { width: 100%; max-width: 700px; padding: 0 24px; }
.o-search-container input[type="search"] {
    width: 100%;
    padding: 20px 24px;
    border: none;
    border-bottom: 3px solid var(--o-primary);
    background: transparent;
    font-size: 32px;
    font-weight: 300;
    color: var(--o-gray-900);
    outline: none;
    border-radius: 0;
    box-shadow: none;
}
.o-search-container input::placeholder { color: var(--o-gray-300); }
.o-search-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--o-gray-100);
    cursor: pointer;
    font-size: 20px;
    color: var(--o-gray-600);
    display: flex; align-items: center; justify-content: center;
    transition: var(--o-transition);
}
.o-search-close:hover { background: var(--o-gray-200); }
.o-search-suggestions { margin-top: 24px; }
.o-search-suggestions h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--o-gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.o-search-suggestions a {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 50px;
    background: var(--o-gray-100);
    color: var(--o-gray-600);
    text-decoration: none;
    font-size: 14px;
    transition: var(--o-transition);
}
.o-search-suggestions a:hover {
    background: var(--o-primary-light);
    color: var(--o-primary);
}

/* --- Scroll to top --- */
.o-scroll-top {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--o-primary);
    color: var(--o-white);
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(22,163,74,0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--o-transition);
    z-index: 100;
}
.o-scroll-top.visible { opacity: 1; transform: translateY(0); }
.o-scroll-top:hover { transform: translateY(-4px); background: var(--o-primary-dark); }

/* --- Responsive --- */
@media (max-width: 768px) {
    .o-nav-desktop-wrap { display: none; }

    /* Hide search on mobile â€” too cramped next to the absolute-centered logo */
    #o-search-btn { display: none !important; }

    /* Mobile header: toggle LEFT Â· logo CENTER Â· actions RIGHT */
    .o-header-inner {
        position: relative;
        justify-content: space-between;
    }

    /* True center â€” absolute so toggle/actions widths don't shift it */
    .o-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        pointer-events: auto;
    }

    /* Toggle: reset all theme interference */
    .o-mobile-toggle {
        display: flex !important;
        position: relative;
        z-index: 1;
        background: none !important;
        background-color: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        outline: none !important;
        color: var(--o-gray-700) !important;
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        flex-shrink: 0;
    }
    .o-mobile-toggle:hover { background: none !important; }

    /* Actions: keep on the right and above the absolute logo */
    .o-header-actions {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 480px) {
    .o-logo img { max-height: 38px; }
    .o-logo { font-size: 20px; }
}


/* =============================================
   WISHLIST SIDEBAR
   ============================================= */
.o-wishlist-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99990;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.o-wishlist-overlay.o-active { display: block; opacity: 1; }

.o-wishlist-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: var(--o-white);
    z-index: 99991;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--o-shadow-lg);
}
.o-wishlist-sidebar.o-active { transform: translateX(0); }

.o-wishlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--o-gray-100);
    background: #fff;
}
.o-wishlist-header h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--o-gray-900) !important;
    margin: 0 !important;
}

/* â”€â”€ Global theme override: reset ALL plugin buttons from Astra/theme defaults â”€â”€ */
.o-cart-sidebar button,
.o-cart-sidebar input[type="button"],
.o-wishlist-sidebar button,
.o-wishlist-sidebar input[type="button"],
.o-search-overlay button,
.o-modal button,
.o-header button,
.o-mobile-nav button,
.o-announcement-bar button {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: inherit !important;
}

/* Re-apply specific button styles after the reset above */
.o-cart-close,
.o-wishlist-close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: var(--o-gray-100) !important;
    background-color: var(--o-gray-100) !important;
    cursor: pointer !important;
    font-size: 16px !important;
    color: var(--o-gray-600) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--o-transition) !important;
}
.o-cart-close:hover,
.o-wishlist-close:hover { background: var(--o-gray-200) !important; background-color: var(--o-gray-200) !important; color: var(--o-gray-900) !important; }
.o-cart-close:focus, .o-cart-close:active,
.o-wishlist-close:focus, .o-wishlist-close:active {
    background: var(--o-gray-100) !important;
    outline: none !important;
    box-shadow: none !important;
}

.o-cart-item-remove {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    color: var(--o-gray-400) !important;
    cursor: pointer !important;
    font-size: 13px !important;
    padding: 4px !important;
    box-shadow: none !important;
    align-self: flex-start;
    margin-top: 4px;
    transition: var(--o-transition);
}
.o-cart-item-remove:hover { color: #16A34A !important; background: none !important; background-color: transparent !important; box-shadow: none !important; }

/* Cart item links â€” ensure pointer events and no theme link overrides */
.o-cart-item-img,
.o-cart-item-img:hover,
.o-cart-item-info h4 a,
.o-cart-item-info h4 a:hover {
    pointer-events: auto !important;
    cursor: pointer !important;
}
.o-cart-item-img { text-decoration: none !important; }
.o-cart-item-info h4 a { text-decoration: none !important; color: var(--o-gray-900) !important; }
.o-cart-item-info h4 a:hover { color: var(--o-primary) !important; }

.o-wishlist-items { flex: 1; overflow-y: auto; padding: 24px; }

.o-wishlist-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--o-gray-100);
    align-items: center;
}
.o-wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.o-wl-add-cart {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--o-primary);
    color: var(--o-white);
    font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--o-transition);
}
.o-wl-add-cart:hover { background: var(--o-primary-dark); }

.o-cart-item-qty { font-size: 12px; color: var(--o-gray-400); }

/* =============================================
   ELEMENTOR STICKY HEADER â€” handled via JS (position:fixed)
   CSS here only provides the scrolled shadow state
   ============================================= */
.o-header--sticky.o-scrolled {
    box-shadow: var(--o-shadow-md);
    border-bottom-color: var(--o-gray-100);
}

@media (max-width: 480px) {
    .o-wishlist-sidebar { width: 100%; }
}


/* =============================================
   SEARCH RESULTS PAGE  (o-search-page)
   ============================================= */

.o-search-page { min-height: 60vh; }

/* --- Hero --- */
.o-sp-hero {
    background: linear-gradient(135deg, var(--o-gray-900) 0%, #2D2D44 100%);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}
.o-sp-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: var(--o-primary);
    opacity: 0.07;
    pointer-events: none;
}
.o-sp-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}
.o-sp-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.6) !important;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}
/* Force white â€” theme h1 styles can override color */
.o-search-page .o-sp-hero .o-sp-term,
.o-sp-term {
    font-size: clamp(24px, 4vw, 40px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.1 !important;
}

/* Search form inside hero */
.o-sp-search-form { flex-shrink: 0; width: 420px; max-width: 100%; }
.o-sp-search-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    transition: var(--o-transition);
}
.o-sp-search-wrap:focus-within {
    border-color: var(--o-primary);
    background: rgba(255,255,255,0.14);
}
.o-sp-search-icon { color: rgba(255,255,255,0.4); font-size: 15px; margin-right: 10px; flex-shrink: 0; }
.o-sp-search-wrap input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--o-white);
    font-size: 15px;
    font-family: inherit;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
}
.o-sp-search-wrap input::placeholder { color: rgba(255,255,255,0.4); }
/* High-specificity rule to beat WooCommerce/theme button overrides */
.o-search-page .o-sp-search-form .o-sp-search-wrap .o-sp-search-btn,
.o-sp-search-btn {
    padding: 10px 22px !important;
    background: #16A34A !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    box-shadow: 0 4px 16px rgba(22,163,74,0.35) !important;
    outline: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: normal !important;
}
.o-search-page .o-sp-search-form .o-sp-search-wrap .o-sp-search-btn:hover,
.o-sp-search-btn:hover {
    background: #15803D !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(22,163,74,0.45) !important;
}

/* --- Controls bar --- */
.o-sp-controls {
    background: var(--o-white);
    border-bottom: 1px solid var(--o-gray-100);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--o-shadow-sm);
    overflow: visible;   /* never clip scrolling pills */
}
.o-sp-controls .on-container { overflow: visible; }
.o-sp-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
    min-width: 0;        /* allow children to shrink */
}

/* Category pills */
.o-sp-cats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
    padding-bottom: 2px;          /* stop border clipping on scroll */
}
.o-sp-cats::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
.o-sp-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--o-gray-200);
    background: var(--o-white);
    color: var(--o-gray-600);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--o-transition);
    white-space: nowrap;
    flex-shrink: 0;      /* never crush pills */
}
.o-sp-cat-pill:hover {
    border-color: var(--o-primary);
    color: var(--o-primary);
    text-decoration: none;
}
.o-sp-cat-pill.active {
    background: var(--o-primary);
    border-color: var(--o-primary);
    color: var(--o-white);
}
.o-sp-cat-count {
    font-size: 11px;
    background: rgba(0,0,0,0.08);
    border-radius: 50px;
    padding: 1px 6px;
    line-height: 1.4;
}
.o-sp-cat-pill.active .o-sp-cat-count { background: rgba(255,255,255,0.25); }

/* Sort */
.o-sp-sort { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.o-sp-sort-label { font-size: 13px; color: var(--o-gray-500); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.o-sp-sort-select {
    padding: 8px 36px 8px 14px;
    border: 1px solid var(--o-gray-200);
    border-radius: var(--o-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--o-gray-700);
    background: var(--o-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: var(--o-transition);
    font-family: inherit;
}
.o-sp-sort-select:focus { border-color: var(--o-primary); }

/* --- Results grid --- */
.o-sp-results { padding: 48px 0 80px; background: var(--o-gray-50); }
.o-sp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
/* Reuse existing product card styles â€” just ensure it fills the grid cell */
.o-sp-card { height: 100%; display: flex; flex-direction: column; }
.o-sp-card .o-product-card-body { flex: 1; }

/* --- Pagination --- */
.o-sp-pagination { margin-top: 48px; display: flex; justify-content: center; }
.o-sp-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.o-sp-pagination .page-numbers li { margin: 0; }
.o-sp-pagination .page-numbers a,
.o-sp-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--o-radius-sm);
    border: 1px solid var(--o-gray-200);
    background: var(--o-white);
    color: var(--o-gray-600);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--o-transition);
}
.o-sp-pagination .page-numbers a:hover { border-color: var(--o-primary); color: var(--o-primary); }
.o-sp-pagination .page-numbers .current {
    background: var(--o-primary);
    border-color: var(--o-primary);
    color: var(--o-white);
}
.o-sp-pagination .page-numbers .dots { border: none; background: transparent; cursor: default; }

/* --- Empty state --- */
.o-sp-empty {
    text-align: center;
    padding: 80px 24px;
    max-width: 520px;
    margin: 0 auto;
}
.o-sp-empty-icon {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--o-primary-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 28px;
}
.o-sp-empty-icon i { font-size: 40px; color: var(--o-primary); }
.o-sp-empty-title { font-size: 28px; font-weight: 700; color: var(--o-gray-900); margin: 0 0 12px; }
.o-sp-empty-text { font-size: 16px; color: var(--o-gray-500); margin: 0 0 24px; line-height: 1.7; }
.o-sp-empty-tips {
    text-align: left;
    background: var(--o-white);
    border: 1px solid var(--o-gray-100);
    border-radius: var(--o-radius-md);
    padding: 20px 24px;
    margin-bottom: 32px;
}
.o-sp-empty-tips p { font-size: 13px; font-weight: 600; color: var(--o-gray-700); margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.o-sp-empty-tips ul { margin: 0; padding-left: 20px; }
.o-sp-empty-tips li { font-size: 14px; color: var(--o-gray-500); margin-bottom: 6px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .o-sp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .o-sp-hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .o-sp-search-form { width: 100%; }
    .o-sp-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .o-sp-controls { position: static; }
    .o-sp-controls-inner { flex-direction: column; align-items: flex-start; }
    .o-sp-sort { width: 100%; }
    .o-sp-sort-select { flex: 1; }
}
@media (max-width: 480px) {
    .o-sp-hero { padding: 40px 0 32px; }
    .o-sp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .o-sp-results { padding: 24px 0 48px; }

    /* Compact card body for 2-column layout */
    .o-sp-grid .o-product-card-body,
    .o-product-swiper .o-product-card-body {
        padding: 10px 10px 12px;
    }
    .o-sp-grid .o-product-category,
    .o-product-swiper .o-product-category {
        font-size: 9px;
        letter-spacing: 0.5px;
        margin-bottom: 3px;
    }
    .o-sp-grid .o-product-name,
    .o-product-swiper .o-product-name {
        font-size: 12px;
        margin-bottom: 5px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .o-sp-grid .o-product-rating,
    .o-product-swiper .o-product-rating {
        gap: 3px;
        margin-bottom: 6px;
    }
    .o-sp-grid .o-product-rating .o-stars,
    .o-product-swiper .o-product-rating .o-stars {
        font-size: 9px;
    }
    .o-sp-grid .o-product-rating span,
    .o-product-swiper .o-product-rating span {
        font-size: 9px;
    }
    .o-sp-grid .o-price-current,
    .o-product-swiper .o-price-current {
        font-size: 13px;
    }
    .o-sp-grid .o-price-original,
    .o-product-swiper .o-price-original {
        font-size: 11px;
    }
    .o-sp-grid .o-price-discount,
    .o-product-swiper .o-price-discount {
        font-size: 9px;
        padding: 1px 5px;
    }
    .o-sp-grid .o-product-quick-add,
    .o-product-swiper .o-product-quick-add {
        padding: 0 8px 8px;
    }
    .o-sp-grid .o-product-quick-add .o-btn,
    .o-product-swiper .o-product-quick-add .o-btn {
        font-size: 10px;
        padding: 7px 8px;
        gap: 4px;
    }
}

/* =============================================
   SHOP PAGE â€” HEADER  (o-shop-header)
   ============================================= */

.o-shop-page .o-sp-hero { display: none; }

.o-shop-header {
    background: transparent;
    padding: 28px 0 32px;
}

.o-sh-card {
  background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
  color: #ffffff;
    border: none;
    border-radius: 18px;
    min-height: 260px;
    padding: 56px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decorative circles on the solid-color version */
.o-sh-card:not(.has-img)::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -120px;
    right: -80px;
    pointer-events: none;
}
.o-sh-card:not(.has-img)::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    bottom: -60px;
    left: -40px;
    pointer-events: none;
}

/* When a category image is set */
.o-sh-card.has-img {
    background-size: cover;
    /* background-position: center; */
    background-position: center 5%;
    background-repeat: no-repeat;
}
.o-sh-card.has-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
    border-radius: 18px;
    pointer-events: none;
}
.o-sh-card.has-img > * {
    position: relative;
    z-index: 1;
}

/* ---- breadcrumb bar (above hero) ---- */
.o-sh-breadcrumb-bar {
    padding: 12px 0 0;
}
.o-sh-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    flex-wrap: wrap;
}
.o-sh-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}
.o-sh-breadcrumb a:hover { color: #16A34A; }
.o-sh-breadcrumb span { color: #111827; font-weight: 600; }
.o-sh-bc-sep { color: #d1d5db; }

/* ---- title ---- */
.o-sh-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    margin: 0 0 10px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.6px;
    position: relative;
    z-index: 1;
}

/* ---- meta line ---- */
.o-sh-meta {
    font-size: 15px;
    color: rgba(255,255,255,0.82);
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.o-sh-meta strong { color: #ffffff; font-weight: 700; }

@media (max-width: 768px) {
    .o-sh-card {
        min-height: 180px;
        padding: 36px 20px;
        border-radius: 12px;
    }
    .o-sh-title { font-size: 26px !important; }
    .o-sh-meta { font-size: 13px; }
}
@media (max-width: 480px) {
    .o-sh-card {
        min-height: 140px;
        padding: 28px 16px;
        border-radius: 10px;
    }
    .o-sh-title { font-size: 20px !important; letter-spacing: -0.2px; }
    .o-sh-meta { font-size: 12px; }
    .o-sh-breadcrumb { font-size: 11px; }
}

/* =============================================
   SHOP / SEARCH HERO â€” TEXT ANIMATIONS
   ============================================= */

@keyframes o-sh-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes o-sh-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Breadcrumb slides in first */
.o-sh-breadcrumb-bar .o-sh-breadcrumb {
    animation: o-sh-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.05s;
}

/* Title fades up second */
.o-sh-card .o-sh-title {
    animation: o-sh-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.18s;
}

/* Meta line fades up last */
.o-sh-card .o-sh-meta {
    animation: o-sh-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.32s;
}

/* Subtle shimmer sweep on the solid-color card */
@keyframes o-sh-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.o-sh-card:not(.has-img)::after {
    animation: o-sh-shimmer 6s linear infinite;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .o-sh-breadcrumb-bar .o-sh-breadcrumb,
    .o-sh-card .o-sh-title,
    .o-sh-card .o-sh-meta {
        animation: none;
    }
}

/* ===================================================================
   PRODUCT SPOTLIGHT WIDGET
   =================================================================== */
.o-spotlight {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Decorative orbs */
.o-spotlight-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.o-spotlight-orb--1 {
    width: 500px; height: 500px;
    top: -150px; right: -150px;
    background: radial-gradient(circle, rgba(22,163,74,.12) 0%, transparent 70%);
}
.o-spotlight-orb--2 {
    width: 300px; height: 300px;
    bottom: -80px; left: -80px;
    background: radial-gradient(circle, rgba(22,163,74,.08) 0%, transparent 70%);
}

/* Two-column layout */
.o-spotlight-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.o-spotlight--img-left .o-spotlight-inner {
    direction: rtl;
}
.o-spotlight--img-left .o-spotlight-inner > * {
    direction: ltr;
}

/* â”€â”€ Content column â”€â”€ */
.o-spotlight-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.o-spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    width: fit-content;
}

.o-spotlight-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--o-gray-900);
    margin: 0;
}
.o-spotlight--dark .o-spotlight-title { color: #fff; }

.o-spotlight-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--o-gray-500);
}
.o-spotlight--dark .o-spotlight-rating { color: rgba(255,255,255,.6); }
.o-spotlight-stars { display: flex; gap: 3px; color: #f59e0b; font-size: 14px; }

.o-spotlight-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--o-gray-900);
    line-height: 1;
}
.o-spotlight--dark .o-spotlight-price { color: #fff; }
.o-spotlight-price del { font-size: 18px; color: var(--o-gray-400); font-weight: 400; margin-right: 8px; }
.o-spotlight-price ins { text-decoration: none; color: var(--o-primary); }

.o-spotlight-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--o-gray-600);
    border-left: 3px solid var(--o-primary);
    padding-left: 14px;
}
.o-spotlight-desc p { margin: 0; }
.o-spotlight--dark .o-spotlight-desc { color: rgba(255,255,255,.75); border-left-color: var(--o-primary); }

.o-spotlight-extra {
    font-size: 14px;
    color: var(--o-gray-500);
    margin: 0;
}
.o-spotlight--dark .o-spotlight-extra { color: rgba(255,255,255,.55); }

.o-spotlight-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.o-spotlight-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--o-gray-700);
}
.o-spotlight--dark .o-spotlight-features li { color: rgba(255,255,255,.8); }
.o-spotlight-features li .fa-check-circle { color: var(--o-primary); font-size: 15px; }

/* Countdown */
.o-spotlight-cd-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.o-spotlight-cd-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--o-gray-500);
    text-transform: uppercase;
    letter-spacing: .6px;
}
.o-spotlight--dark .o-spotlight-cd-label { color: rgba(255,255,255,.55); }
.o-spotlight-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}
.o-spotlight-cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 56px;
}
.o-spotlight--dark .o-spotlight-cd-block { background: rgba(255,255,255,.1); }
.o-spotlight-cd-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--o-gray-900);
    line-height: 1;
    font-feature-settings: "tnum";
}
.o-spotlight--dark .o-spotlight-cd-num { color: #fff; }
.o-spotlight-cd-unit {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--o-gray-500);
    margin-top: 4px;
}
.o-spotlight--dark .o-spotlight-cd-unit { color: rgba(255,255,255,.5); }
.o-spotlight-cd-sep {
    font-size: 22px;
    font-weight: 800;
    color: var(--o-primary);
    margin-bottom: 14px;
}

/* Stock pill */
.o-spotlight-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
}
.o-spotlight-stock--in  { background: #d1fae5; color: #065f46; }
.o-spotlight-stock--out { background: #fee2e2; color: #991b1b; }

/* Buttons */
.o-spotlight-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.o-spotlight-view-btn {
    background: transparent !important;
    color: var(--o-gray-700) !important;
    border: 2px solid var(--o-gray-300) !important;
    font-weight: 600;
}
.o-spotlight-view-btn:hover {
    border-color: var(--o-primary) !important;
    color: var(--o-primary) !important;
}
.o-spotlight--dark .o-spotlight-view-btn {
    color: rgba(255,255,255,.85) !important;
    border-color: rgba(255,255,255,.3) !important;
}
.o-spotlight--dark .o-spotlight-view-btn:hover {
    border-color: var(--o-primary) !important;
    color: var(--o-primary) !important;
}

/* â”€â”€ Image column â”€â”€ */
.o-spotlight-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.o-spotlight-img-glow {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.o-spotlight-img-link {
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.14);
    transition: transform .4s ease, box-shadow .4s ease;
}
.o-spotlight-img-link:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 32px 80px rgba(0,0,0,.18);
}
.o-spotlight-img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: cover;
}
.o-spotlight-img-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}

/* Responsive */
@media (max-width: 900px) {
    .o-spotlight-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .o-spotlight--img-left .o-spotlight-inner { direction: ltr; }
    .o-spotlight-title { font-size: 28px; }
    .o-spotlight-price { font-size: 24px; }
    .o-spotlight-img-wrap { order: -1; }
}
@media (max-width: 540px) {
    .o-spotlight { padding: 60px 0; }
    .o-spotlight-title { font-size: 24px; }
    .o-spotlight-actions { flex-direction: column; align-items: stretch; }
    .o-spotlight-actions .o-btn { justify-content: center; }
    .o-spotlight-countdown { flex-wrap: wrap; }
}

/* ===== TEMPLATE OVERRIDES ===== */
.o-btn {
    border-radius: var(--o-radius-full);
    font-size: 14px;
    letter-spacing: 0.3px;
}
.o-btn-outline {
    border: 2px solid var(--o-primary);
    color: var(--o-primary);
    background: transparent;
}
.o-btn-outline:hover {
    background: var(--o-primary);
    color: var(--o-white);
}
.o-btn-accent {
    background: linear-gradient(135deg, var(--o-accent), var(--o-accent-light));
    color: var(--o-white);
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.25);
}
.o-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 165, 116, 0.35);
}

/* Header + Nav */
.o-header {
    background: var(--o-bg-card);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0,0,0,0.03);
    transition: var(--o-transition);
}
.o-header--sticky {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}
.o-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.o-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--o-primary);
    white-space: nowrap;
}
.o-logo em { color: var(--o-accent); font-style: normal; }
.o-search-wrap { flex: 1; max-width: 500px; position: relative; }
.o-search-wrap input {
    width: 100%;
    padding: 11px 48px 11px 20px;
    border: 2px solid var(--o-border);
    border-radius: var(--o-radius-full);
    font-size: 14px;
    background: var(--o-bg);
    outline: none;
    transition: var(--o-transition);
}
.o-search-wrap input:focus {
    border-color: var(--o-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22,163,74,0.06);
}
.o-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--o-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--o-transition);
}
.o-search-btn:hover { background: var(--o-primary-dark); }
.o-header-actions { display: flex; align-items: center; gap: 16px; }
.o-header-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
    color: var(--o-text-body);
    padding: 6px 10px;
    border-radius: var(--o-radius-sm);
    transition: var(--o-transition);
    background: transparent;
}
.o-header-btn:hover { color: var(--o-primary); background: var(--o-primary-soft); }
.o-header-btn i { font-size: 20px; }
.o-header-btn small { font-size: 11px; font-weight: 500; }
.o-h-badge {
    position: absolute;
    top: 0;
    right: 2px;
    background: var(--o-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.o-nav-desktop {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}
.o-nav-desktop > li { position: relative; }
.o-nav-desktop > li > a {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--o-text-body);
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    transition: var(--o-transition);
}
.o-nav-desktop > li > a:hover,
.o-nav-desktop > li.current-menu-item > a { color: var(--o-primary); }
.o-nav-desktop > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--o-primary);
    border-radius: 2px;
    transition: var(--o-transition);
}
.o-nav-desktop > li > a:hover::after,
.o-nav-desktop > li.current-menu-item > a::after { width: 50%; }
.o-nav-desktop .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--o-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--o-transition);
    border-top: 3px solid var(--o-primary);
    padding: 8px 0;
    z-index: 20;
}
.o-nav-desktop li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.o-nav-desktop .sub-menu a {
    display: block;
    padding: 9px 18px;
    font-size: 13px;
    color: var(--o-text-body);
    transition: var(--o-transition);
}
.o-nav-desktop .sub-menu a:hover {
    background: var(--o-primary-soft);
    color: var(--o-primary);
    padding-left: 22px;
}

/* Hero */
.o-hero-slide-overlay {
    background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,0) 100%);
}
.o-hero-tag { text-transform: none; }
.o-hero-title { color: var(--o-text-main); font-size: 46px; }
.o-hero-desc { color: var(--o-text-body); font-size: 16px; }
.o-hero-btns .o-btn { padding: 13px 28px; }

/* Features bar (promo strip) */
.o-features-bar {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    padding: 20px 0;
    border-bottom: 1px solid var(--o-border);
}
.o-features-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.o-feature-item { padding: 14px; }
.o-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--o-primary);
    box-shadow: var(--o-shadow-sm);
}
.o-feature-text h4 {
    font-family: var(--o-font-body);
    font-size: 13px;
    font-weight: 600;
}
.o-feature-text p { font-size: 12px; color: var(--o-text-muted); }

/* Products */
.o-product-card {
    background: #fff;
    border-radius: var(--o-radius);
    overflow: hidden;
    border: 1px solid var(--o-border);
    transition: var(--o-transition);
    position: relative;
}
.o-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--o-shadow-lg);
    border-color: transparent;
}
.o-product-card-img { height: 270px; background: var(--o-bg); }
.o-product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.o-product-card:hover .o-product-card-img img { transform: scale(1.07); }
.o-product-badge { border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.o-product-card-body { padding: 18px; }
.o-product-category { font-size: 11px; color: var(--o-primary); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 4px; }
.o-product-name { font-family: var(--o-font-body); font-size: 14px; font-weight: 500; margin-bottom: 8px; line-height: 1.5; }
.o-product-name a:hover { color: var(--o-primary); }
.o-product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.o-price-current { font-size: 17px; font-weight: 700; color: var(--o-primary); }
.o-price-original { font-size: 13px; color: var(--o-text-muted); text-decoration: line-through; }
.o-price-discount { font-size: 11px; color: var(--o-primary); font-weight: 600; background: var(--o-primary-soft); padding: 2px 7px; border-radius: 4px; }

/* Banners */
.o-banners { padding: 28px 0; }
.o-banners-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.o-banner-card {
    position: relative;
    border-radius: var(--o-radius);
    overflow: hidden;
    height: 300px;
    display: block;
    text-decoration: none;
    cursor: pointer;
}
.o-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.o-banner-card:hover img { transform: scale(1.06); }
.o-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,40,20,0.72) 0%, rgba(10,40,20,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 32px;
    transition: var(--o-transition);
}
.o-banner-card:hover .o-banner-overlay {
    background: linear-gradient(to right, rgba(10,40,20,0.82) 0%, rgba(10,40,20,0.35) 100%);
}
.o-banner-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--o-primary);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}
.o-banner-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
}
.o-banner-overlay p {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 16px;
    line-height: 1.5;
}
.o-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1.5px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
    transition: var(--o-transition);
}
.o-banner-cta svg {
    transition: transform 0.3s ease;
}
.o-banner-card:hover .o-banner-cta {
    border-bottom-color: #fff;
    gap: 10px;
}
.o-banner-card:hover .o-banner-cta svg {
    transform: translateX(4px);
}

/* Testimonials */
.o-testimonial-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--o-radius);
    box-shadow: var(--o-shadow-sm);
    transition: var(--o-transition);
}
.o-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--o-shadow-lg);
}
.o-testimonial-stars { color: #ffc107; font-size: 13px; margin-bottom: 12px; }
.o-testimonial-text { font-size: 14px; line-height: 1.8; color: var(--o-text-body); margin-bottom: 18px; font-style: italic; }
.o-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--o-primary), var(--o-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

/* ===== NEWSLETTER — Dark + Green Accent ===== */
.o-newsletter-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important;
}
.o-newsletter-section::before,
.o-newsletter-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(22,163,74,0.08);
    pointer-events: none;
}
.o-newsletter-section::before {
    width: 500px; height: 500px; top: -50%; right: -8%;
}
.o-newsletter-section::after {
    width: 350px; height: 350px; bottom: -40%; left: -5%;
}
.o-newsletter-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.o-newsletter-inner h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}
.o-newsletter-inner h2 span { color: #16A34A; }
.o-newsletter-inner p {
    color: rgba(255,255,255,0.65);
    font-size: 16px;
    max-width: 500px;
    margin: 0 0 6px;
    line-height: 1.7;
}
.o-newsletter-section .o-news-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 520px !important;
    background: #fff !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 32px rgba(0,0,0,0.25) !important;
    gap: 0 !important;
}
.o-newsletter-section .o-news-form input[type="email"] {
    flex: 1 !important;
    padding: 16px 24px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 15px !important;
    color: #1E293B !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    width: auto !important;
}
.o-newsletter-section .o-news-form input[type="email"]::placeholder {
    color: #94a3b8 !important;
}
.o-newsletter-section .o-news-form button[type="submit"] {
    flex-shrink: 0 !important;
    padding: 16px 28px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 50px 50px 0 !important;
    background: #16A34A !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    width: auto !important;
    box-shadow: none !important;
    transition: background .25s !important;
}
.o-newsletter-section .o-news-form button[type="submit"]:hover {
    background: #15803D !important;
}

/* ===== FOOTER — Dark Slate + Green Accent ===== */
.o-footer {
    background: #0F172A !important;
    color: rgba(255,255,255,0.6);
}
.o-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    border-bottom-color: rgba(255,255,255,0.08) !important;
}
.o-footer-brand .o-footer-logo {
    color: #fff !important;
}
.o-footer-logo em {
    color: #16A34A !important;
}
.o-footer-brand p {
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
}
.o-footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.o-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: #16A34A;
    border-radius: 2px;
}
.o-footer-col ul li a {
    color: rgba(255,255,255,0.5);
    transition: color .2s, padding-left .2s;
}
.o-footer-col ul li a:hover {
    color: #16A34A !important;
    padding-left: 6px;
}
.o-footer-contact i {
    color: #16A34A !important;
}
.o-footer-socials a {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.6);
}
.o-footer-socials a:hover {
    background: #16A34A !important;
    border-color: #16A34A !important;
    color: #fff !important;
}
.o-footer-socials a:hover i,
.o-footer-socials a:hover svg,
.o-footer-socials a:hover span {
    color: #fff !important;
    fill: #fff !important;
}
.o-footer-bottom {
    border-top-color: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.4);
}
.o-payment-icons i {
    color: rgba(255,255,255,0.4);
    font-size: 28px;
    transition: color .2s;
}
.o-payment-icons i:hover { color: #16A34A; }

/* ===== NAV STRIP ===== */
.o-nav-strip {
    background: var(--o-white);
    border-bottom: 1px solid var(--o-border);
    position: relative;
    z-index: 99;
}
.o-nav-strip .on-container {
    display: flex;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .o-banners-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .o-search-wrap { display: none; }
    .o-nav-strip { display: none; }
    .o-hero-title { font-size: 28px; }
    .o-features-grid { grid-template-columns: repeat(2, 1fr); }
    .o-footer-grid { grid-template-columns: 1fr; }
    .o-newsletter-section .o-news-form { flex-direction: column !important; border-radius: 16px !important; }
    .o-newsletter-section .o-news-form button[type="submit"] { border-radius: 0 0 16px 16px !important; justify-content: center !important; }
}

/* ===== O_HEADER TEMPLATE PARITY OVERRIDES ===== */
.o-header {
    background: var(--o-bg-card);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
    transition: var(--o-transition);
}

.o-header--sticky {
    position: sticky;
    top: 0;
}

.o-header.o-scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.o-topbar .o-topbar-item i {
    font-size: 12px;
    opacity: 0.8;
}

.o-mobile-toggle {
    display: none;
    font-size: 22px;
    color: var(--o-text-main);
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
}

.o-mobile-toggle i {
    display: block;
}

.o-nav-desktop > li.menu-item-has-children > a {
    padding-right: 22px;
}

.o-nav-desktop > li.menu-item-has-children > a::before {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
}

@media (max-width: 768px) {
    .o-topbar-left {
        display: none;
    }

    .o-mobile-toggle {
        display: block;
    }

    .o-header-actions {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .o-header-btn small {
        display: none;
    }
}

/* Keep search bar identical to the provided template and override theme defaults. */
.o-search-wrap {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.o-search-wrap input {
    width: 100%;
    height: 44px;
    padding: 11px 48px 11px 20px;
    border: 2px solid var(--o-border);
    border-radius: var(--o-radius-full);
    font-size: 14px;
    background: var(--o-bg);
    color: var(--o-text-main);
    outline: none;
    transition: var(--o-transition);
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.o-search-wrap input:focus {
    border-color: var(--o-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.06);
}

.o-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--o-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: var(--o-transition);
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.o-search-btn:hover,
.o-search-btn:focus,
.o-search-btn:active {
    background: var(--o-primary-dark);
    color: #fff;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Theme override guard: some themes force generic input/button styles globally. */
#o-site-header .o-search-wrap #o-search-input {
    width: 100% !important;
    height: 44px !important;
    padding: 11px 48px 11px 20px !important;
    margin: 0 !important;
    border: 2px solid var(--o-border) !important;
    border-radius: 9999px !important;
    background: var(--o-bg) !important;
    color: var(--o-text-main) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#o-site-header .o-search-wrap #o-search-input:focus {
    border-color: var(--o-primary) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.06) !important;
}

#o-site-header .o-search-wrap #o-search-btn {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: var(--o-primary) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#o-site-header .o-search-wrap #o-search-btn i {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

#o-site-header .o-search-wrap #o-search-btn:hover,
#o-site-header .o-search-wrap #o-search-btn:focus,
#o-site-header .o-search-wrap #o-search-btn:active {
    background: var(--o-primary-dark) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

div#o-header-spacer {
    transition: 0.2s;
}