
    /* ============================
   Z-INDEX FIX FOR DROPDOWN
============================ */

/* Increase z-index for category section and dropdown */
.othoba-category-section {
    background: #f7f4f4;
    padding: 15px 0;
    position: relative;
    z-index: 0; /* Increased from 100 to 9999 */
    overflow: visible !important; /* Changed from hidden */
}

/* Ensure category items have proper z-index */
.othoba-category-item-wrapper {
    position: relative;
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    z-index: 10000; /* Added */
}

/* Dropdown z-index fix */
.othoba-subcategory-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    max-width: 220px;
    width: max-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999 !important; /* Increased significantly */
    text-align: left;
}

/* Show dropdown on hover */
.othoba-category-item-wrapper:hover .othoba-subcategory-dropdown {
    opacity: 1;
    visibility: visible;
}

/* Banner section z-index adjustment */
.banner-section {
    margin: 30px 0;
    padding: 10px 0;
    position: relative;
    z-index: 1; /* Lower than category dropdown */
}

/* Add to existing CSS - ensure no overflow issues */
.othoba-category-slider .owl-stage-outer {
    overflow: visible !important;
    padding: 0 15px;
    position: relative;
    z-index: 1000;
}

.othoba-category-slider .owl-stage {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    position: relative;
    z-index: 1000;
}

/* Ensure banner content stays behind dropdown */
.banner-slider,
.banner-item,
.banner-slider .owl-stage-outer,
.banner-slider .owl-stage {
    position: relative;
    z-index: 1 !important;
}

/* Fix for mobile dropdown positioning */
@media (max-width: 768px) {
    .othoba-subcategory-dropdown {
        position: fixed !important; /* Changed from absolute to fixed for mobile */
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        border-radius: 8px 8px 0 0;
        max-height: 60vh;
        overflow-y: auto;
        z-index: 999999 !important;
        animation: slideUp 0.3s ease;
    }
    
    /* Hide dropdown by default on mobile */
    .othoba-subcategory-dropdown {
        display: none;
    }
    
    /* Show dropdown on click for mobile */
    .othoba-category-item-wrapper.active .othoba-subcategory-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    /* Add overlay for mobile dropdown */
    .dropdown-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999998;
    }
    
    .othoba-category-item-wrapper.active ~ .dropdown-overlay {
        display: block;
    }
}

/* For desktop - keep normal behavior */
@media (min-width: 769px) {
    .othoba-subcategory-dropdown {
        position: absolute !important;
        top: calc(100% + 5px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: max-content !important;
        max-width: 220px !important;
        min-width: 200px !important;
        animation: none;
    }
}

/* Add this to your existing media queries */
@media (max-width: 768px) {
    .othoba-category-item-wrapper {
        z-index: 10000;
    }
}

/* Quick test: Add a border to see dropdown position */
.othoba-subcategory-dropdown {
    border: 1px solid #ddd; /* Optional: for debugging */
}
    /* Add these to your main CSS file */
.pulse-animation {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
    /* ===============================
   OTHOBA HOT DEALS
================================ */
/* IMAGE ZOOM EFFECT */
.buy-now {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #000;
    background: #fff;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
}

.buy-now:hover {
    background: #000;
    color: #fff;
}

.hot-deals-slider .owl-nav button {
    position: absolute;
    top: 45%;
    background: #fff !important;
    border: 1px solid #ddd !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px !important;
}

.hot-deals-slider .owl-nav .owl-prev {
    left: -15px;
}

.hot-deals-slider .owl-nav .owl-next {
    right: -15px;
}

.hot-deals-slider .owl-nav button:hover {
    background: #ff0000 !important;
    color: #fff !important;
}

.hot-deal-image {
    overflow: hidden;
}

.hot-deal-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.hot-deal-card:hover .hot-deal-image img {
    transform: scale(1.08);
}

.othoba-hot-deals {
    padding: 40px 0;
    background: #fff;
}

.hot-deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.hot-deals-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ff0000;
}

.more-products {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.more-products:hover {
    color: #ff0000;
}

/* CARD */
.hot-deal-card {
    display: flex;
    border: 1.5px solid #f79545;
    border-radius: 6px;
    padding: 20px;
    height: 100%;
}

/* IMAGE */
.hot-deal-image {
    width: 45%;
    text-align: center;
}

.hot-deal-image img {
    max-width: 100%;
    height: auto;
}

/* CONTENT */
.hot-deal-content {
    width: 55%;
    padding-left: 20px;
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-title a {
    color: #222;
    text-decoration: none;
}

.product-title a:hover {
    color: #ff0000;
}

/* RATING */
.rating {
    color: #f59e0b;
    font-size: 15px;
    margin-bottom: 10px;
}

.rating span {
    color: #777;
    font-size: 14px;
}

/* PRICE */
.price {
    margin-bottom: 18px;
}

.price .new {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-right: 10px;
}

.price .old {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

/* ACTIONS */
.actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.buy-now {
    border: 2px solid #000;
    background: #fff;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
}

.buy-now i {
    margin-right: 6px;
}

.buy-now:hover {
    background: #000;
    color: #fff;
}

.icon-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

.icon-btn:hover {
    color: #ff0000;
}

.product-section-banner {
    max-width: 1200px;
    margin: 0 auto;
}

.product-section-banner img {
    width: 1200px;
    height: 210px;
    object-fit: cover; /* keeps image proportion nicely */
    border-radius: 6px; /* optional, Othoba-style */
}

    /* ============================
   NEWSLETTER & APP STRIP
============================ */
.newsletter-app-strip {
      background: radial-gradient(circle at top, #ffb3de, #ffccf9);

    padding: 22px 0;
    color: black;
}

.newsletter-app-strip .strip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.newsletter-left,
.newsletter-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-icon {
    width: 46px;
    height: 46px;
    border: 2px solid #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-icon i {
    font-size: 22px;
}

.newsletter-text h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.newsletter-text p {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
}

.download-btn {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 26px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #fff;
    color: #4aa3df;
}

/* ============================
   OTHOBA CATEGORY ICON STRIP - FIXED ALIGNMENT
============================ */
.othoba-category-section {
    background: #f7f4f4;
    padding: 15px 0;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* FIX: Center the entire section */
.othoba-category-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* FIX: Perfect center alignment */
.othoba-category-slider {
    display: block;
    width: 100%;
}

/* FIX: Owl stage alignment */
.othoba-category-slider .owl-stage {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* FIX: Each item container */
.othoba-category-slider .owl-item {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto;
}

/* FIX: Wrapper for perfect centering */
.othoba-category-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 8px 5px;
    position: relative;
}

/* FIX: Category item alignment */
.othoba-category-item {
    text-align: center;
    text-decoration: none;
    color: #222;
    display: block;
    position: relative;
    z-index: 2;
}

/* CIRCLE BACKGROUND */
.othoba-category-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #ffb3de, #ffccf9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* IMAGE */
.othoba-category-circle img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* FIX: Category name - no wrap, centered */
.othoba-category-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    padding: 0 3px;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    margin-top: 5px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HOVER EFFECT */
.othoba-category-item:hover .othoba-category-circle {
    background:#ffccf9;
    border: 8px solid white;
    transform: translateY(-3px);
}

/* IMAGE SHRINK ON HOVER */
.othoba-category-item:hover .othoba-category-circle img {
    transform: scale(0.85);
}

.othoba-category-item:hover .othoba-category-name {
    color: #ff0000;
}

/* OWL CAROUSEL FIXES */
.othoba-category-slider .owl-stage-outer {
    overflow: visible !important;
    padding: 0 15px;
}

/* REMOVE DOTS */
.othoba-category-slider .owl-dots {
    display: none;
}

/* NAV ARROWS - Initially hidden */
.othoba-category-slider .owl-nav {
    display: none;
}

/* For desktop, show navigation */
@media (min-width: 769px) {
    .othoba-category-slider .owl-nav {
        display: block;
    }
    
    .othoba-category-slider .owl-nav button {
        position: absolute;
        top: 35%;
        background: #fff !important;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        z-index: 100;
    }
    
    .othoba-category-slider .owl-nav .owl-prev {
        left: -18px;
    }
    
    .othoba-category-slider .owl-nav .owl-next {
        right: -18px;
    }
}

/* ============================
   SUBCATEGORY DROPDOWN STYLES
============================ */
.othoba-subcategory-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    max-width: 220px;
    width: max-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    text-align: left;
}

/* Show dropdown on hover */
.othoba-category-item-wrapper:hover .othoba-subcategory-dropdown {
    opacity: 1;
    visibility: visible;
}

/* Dropdown UL styling */
.othoba-subcategory-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.othoba-subcategory-dropdown ul li {
    padding: 0;
    margin: 0;
    position: relative;
}

/* Subcategory links */
.othoba-subcategory-dropdown ul li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
}

.othoba-subcategory-dropdown ul li:last-child a {
    border-bottom: none;
}

.othoba-subcategory-dropdown ul li a:hover {
    background-color: #f5f5f5;
    color: #007bff;
    padding-left: 18px;
}

/* Add a small arrow/triangle at the top */
.othoba-subcategory-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
    z-index: 1;
}

/* FIX: Prevent text from overlapping */
.othoba-category-item-wrapper {
    min-height: 140px;
}

/* ============================
   RESPONSIVE FIXES
============================ */

/* For tablets */
@media (max-width: 992px) {
    .othoba-category-circle {
        width: 75px;
        height: 75px;
    }
    
    .othoba-category-name {
        font-size: 11px;
        padding: 0 2px;
        min-height: 28px;
    }
    
    .othoba-category-item-wrapper {
        min-height: 130px;
    }
}

/* For mobile - 5 items per row */
@media (max-width: 768px) {
    .othoba-category-section {
        padding: 12px 0;
    }
    
    .othoba-category-circle {
        width: 65px;
        height: 65px;
        margin-bottom: 6px;
    }
    
    .othoba-category-name {
        font-size: 10px;
        font-weight: 600;
        padding: 0 1px;
        line-height: 1.1;
        min-height: 26px;
    }
    
    /* FIX: Force 5 items per row in mobile */
    .othoba-category-slider .owl-item {
        width: 20% !important;
        flex: 0 0 20% !important;
        max-width: 20% !important;
        min-width: 20% !important;
        padding: 0 2px !important;
    }
    
    .othoba-category-item-wrapper {
        padding: 5px 2px;
        min-height: 120px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .othoba-category-circle {
        width: 55px;
        height: 55px;
    }
    
    .othoba-category-name {
        font-size: 9px;
        font-weight: 600;
        min-height: 24px;
    }
    
    .othoba-category-item-wrapper {
        padding: 3px 1px;
        min-height: 110px;
    }
}

/* Banner Section Styles */
.banner-section {
    margin: 30px 0;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.banner-slider .banner-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.banner-slider .banner-item:hover {
    transform: translateY(-5px);
}
/* LEFT MAIN BANNER - EXACT SIZE */
.banner-slider .banner-item {
    width: 914px;
    height: 500px;
}

.banner-slider .banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Owl Carousel customizations for banner */
.banner-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #333 !important;
    font-size: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.banner-slider .owl-nav button:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-50%) scale(1.1);
}

.banner-slider .owl-nav .owl-prev {
    left: 15px;
}

.banner-slider .owl-nav .owl-next {
    right: 15px;
}

.banner-slider .owl-nav button span {
    font-size: 24px;
    line-height: 1;
}

.banner-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.banner-slider .owl-dot span {
    background: rgba(255, 255, 255, 0.6) !important;
    margin: 0 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    transition: all .3s ease;
}
.banner-slider .owl-dot.active span {
    background: #fff !important;
    transform: scale(1.2);
}

/* No banner message */
.no-banner {
    text-align: center;
    padding: 40px 20px;
    /*background: #f8f9fa;*/
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.no-banner i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 15px;
}

.no-banner h5 {
    color: #495057;
    margin-bottom: 10px;
}

/* Small banner styles */
.small-banner-box {
    height: 120px;
    position: relative;
    transition: all 0.3s ease;
    width: 292px;
    height: 151px;
    border-radius: 10px;
    overflow: hidden;
}
.small-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.small-banner-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.small-banner-box img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.small-banner-box:hover img {
    transform: scale(1.05);
}
.banner-slider {
    display: flex;
    justify-content: center;
}

/* Policy Section Styles */
.policy-section {
    background: #fff;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin: 20px 0;
}

.policy-item {
    height: 100%;
    transition: all 0.3s ease;
}

.policy-item:hover {
    background: #f8f9fa;
}

.policy-item h6 {
    font-size: 14px;
    color: #222;
    text-transform: uppercase;
}

.policy-item p {
    font-size: 12px;
    line-height: 1.4;
}

/* Fallback for empty right banner section */
.right-banner-placeholder {
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 500;
    text-align: center;
}

/* ============================
   RESPONSIVE DESIGN
============================ */

/* Tablet and Desktop */
@media (max-width: 768px) {
    .newsletter-app-strip .strip-box {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Banner section */
    .banner-section {
        margin: 20px 0;
    }
    
    .banner-slider .banner-item img {
        max-height: 250px;
    }
    
    .banner-slider .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 18px !important;
    }
    
    .banner-slider .owl-nav .owl-prev {
        left: 10px;
    }
    
    .banner-slider .owl-nav .owl-next {
        right: 10px;
    }
    
    .banner-slider .owl-dots {
        bottom: 15px;
    }
    
    .banner-slider .owl-dot span {
        width: 8px;
        height: 8px;
    }
    
    .banner-slider .owl-dot.active span {
        width: 20px;
    }
    
    .small-banner-box {
        height: 100px;
    }
    
    /* Policy section */
    .policy-item {
        padding: 15px 10px !important;
    }
    
    .policy-item h6 {
        font-size: 12px;
    }
    
    .policy-item p {
        font-size: 11px;
    }
    
    /* Ensure dropdown doesn't overflow on mobile */
    .othoba-subcategory-dropdown {
        min-width: 180px;
        max-width: 180px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Mobile - 5 categories per line */
@media (max-width: 576px) {
    /* Category section mobile fixes */
    .othoba-category-section {
        padding: 15px 0;
    }
    
    .othoba-category-circle {
        width: 55px !important;
        height: 55px !important;
        margin-bottom: 5px !important;
    }
    
    .othoba-category-name {
        font-size: 10px !important;
        font-weight: 600;
        line-height: 1.2;
        word-wrap: break-word;
        text-align: center;
        padding: 0 2px;
    }
    
    /* Force 5 items per row in mobile */
    .othoba-category-slider .owl-item {
        width: 20% !important; /* 5 items = 100%/5 = 20% */
        padding: 2px !important;
        min-width: 20% !important;
    }
    
    /* Remove owl carousel transform effects that break layout */
    .othoba-category-slider .owl-stage {
        display: flex !important;
        transform: translate3d(0px, 0px, 0px) !important;
        transition: all 0s ease 0s !important;
        width: 100% !important;
    }
    
    .othoba-category-slider .owl-stage-outer {
        overflow: hidden !important;
        width: 100%;
    }
    
    /* Hide navigation arrows on mobile */
    .othoba-category-slider .owl-nav {
        display: none !important;
    }
    
    /* Ensure proper spacing */
    .othoba-category-item-wrapper {
        padding: 5px 2px !important;
    }
    
    /* Banner images */
    .banner-slider .banner-item img {
        max-height: 180px;
    }
    
    .banner-slider .owl-nav button {
        width: 30px;
        height: 30px;
        font-size: 16px !important;
    }
    
    .small-banner-box {
        height: 80px;
    }
    
    /* Policy section grid */
    .policy-section .col-6 {
        border: none;
        border-bottom: 1px solid #eaeaea;
    }
    
    .policy-section .col-6:nth-child(odd) {
        border-right: 1px solid #eaeaea;
    }
    
    .policy-section .col-6:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .othoba-category-circle {
        width: 50px !important;
        height: 50px !important;
    }
    
    .othoba-category-name {
        font-size: 9px !important;
    }
    
    .othoba-category-item-wrapper {
        padding: 3px 1px !important;
    }
}

/* Large mobile to tablet */
@media (min-width: 577px) and (max-width: 768px) {
    .othoba-category-slider .owl-item {
        width: 14.28% !important; /* 7 items per row */
    }
}

/* Responsive banner handling */
@media (max-width: 1200px) {
    .banner-slider .banner-item {
        width: 100%;
        height: auto;
        aspect-ratio: 914 / 500;
    }

    .small-banner-box {
        width: 100%;
        height: auto;
        aspect-ratio: 292 / 151;
    }
}
