/**
 * TNCODTHEME - Homepage Styles
 * Clean, professional layout matching reference design
 * Version: 4.0
 * Author: digitaliny
 */

/* ===========================================
   COLOR VARIABLES - Clean Green Theme
   =========================================== */

:root {
    --hp-primary: var(--primary-color, #00b894);
    --hp-primary-dark: var(--secondary-color, #00a885);
    --hp-secondary: #2d3436;
    --hp-text: #2d3436;
    --hp-text-light: #636e72;
    --hp-border: #e0e0e0;
    --hp-bg: #f5f6fa;
    --hp-white: #ffffff;
    --hp-success: var(--primary-color, #00b894);
    --hp-danger: #e74c3c;
}

/* ===========================================
   CONTAINER
   =========================================== */

.tncodtheme-homepage {
    background: var(--hp-bg);
}

.tncodtheme-homepage .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===========================================
   HEADER - Modern Redesign
   =========================================== */

/* Announcement Bar - Animated Text Only */
.top-head-wrap.announcement-bar-only,
.top-head-wrap {
    background: rgba(0, 184, 148, 0.6) !important;
    padding: 12px 0 !important;
    margin-bottom: 15px !important;
    position: relative !important;
    overflow: hidden !important;
}

.announcement-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.announcement-text {
    display: inline-block;
    padding-right: 100%;
    animation: marquee-scroll 15s linear infinite;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause on hover */
.announcement-marquee:hover .announcement-text {
    animation-play-state: paused;
}

.top-head-wrap .share-links a,
.top-head-wrap .top-menu a {
    color: #fff !important;
    font-weight: 500;
}

.top-head-wrap .share-links a:hover,
.top-head-wrap .top-menu a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Main Header - Clean White */
.header.modern-header {
    background: transparent;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 5px 0;
}

/* ===========================================
   SINGLE ROUNDED HEADER BAR
   =========================================== */

.header-unified-bar {
    padding: 0 20px;
}

.header-unified-bar .container {
    max-width: 1200px;
    margin: 0 auto;
}

.header-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 184, 148, 0.15);
    border-radius: 50px;
    padding: 5px 25px;
    gap: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.header-bar-inner:hover {
    box-shadow: 0 8px 40px rgba(0, 184, 148, 0.1);
}

/* Logo Left - Equal width with cart */
.header-logo {
    flex: 0 0 20%;
    min-width: 150px;
}

.header-logo .site-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d3436;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-logo .site-logo a:hover {
    color: var(--hp-primary);
}

.header-logo .site-branding {
    margin: 0;
}

.header-logo .site-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.header-logo .site-title a {
    color: #2d3436;
    text-decoration: none;
}

.header-logo img {
    max-height: 45px;
    width: auto;
    border-radius: 15px;
    vertical-align: middle;
}

/* Menu Center - Takes remaining space */
.header-nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    align-items: center;
}

.header-menu-list>li {
    position: relative;
}

/* Menu separator */
.header-menu-list>li:not(:last-child)::after {
    content: '|';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
    font-weight: 300;
}

.header-menu-list>li>a {
    display: block;
    padding: 10px 18px;
    color: #4a4a5a;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-menu-list>li>a:hover {
    color: var(--primary-color, #00b894);
}

.header-menu-list>li.current-menu-item>a {
    color: var(--primary-color, #00b894);
    font-weight: 600;
}

/* Submenu */
.header-menu-list>li {
    position: relative;
}

.header-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 100;
}

.header-menu-list>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu-list .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #2d3436;
    font-size: 14px;
    text-decoration: none;
}

.header-menu-list .sub-menu li a:hover {
    background: rgba(0, 184, 148, 0.1);
    color: var(--hp-primary);
}

/* Icons Right - Equal width with logo */
.header-icons-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 20%;
    min-width: 150px;
}

.header-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--hp-primary);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    text-decoration: none;
    position: relative;
}

.header-icon-btn:hover {
    background: var(--hp-primary-dark);
    transform: scale(1.05);
}

.header-icon-btn i {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

/* Cart Count Badge */
.header-cart-btn .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Dropdown */
.header-search-toggle {
    position: relative;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 10px;
}

.header-search-toggle:hover .search-dropdown,
.header-search-toggle:focus-within .search-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.search-dropdown .search-field {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
}

.search-dropdown .search-submit {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #f5f6fa;
    border: none;
    color: #2d3436;
    font-size: 18px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .header-nav-center {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-bar-inner {
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .header-unified-bar {
        padding: 0 10px;
    }

    .header-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .header-logo .site-title {
        font-size: 1.2rem;
    }
}

/* ===========================================
   HERO SLIDER - Rounded, Not Full Width
   =========================================== */

.hero-section {
    padding: 0 20px;
    margin-bottom: 30px;
}

/* Main Slider Container - Rounded like Nav */
.hero-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.hero-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-slide a {
    display: block;
}

/* Slide Content Overlay */
.hero-slide {
    position: relative;
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 20px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: right;
}

.slide-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2d3436;
    margin: 0 0 12px;
    line-height: 1.3;
}

.slide-desc {
    font-size: 1rem;
    color: #636e72;
    margin: 0 0 20px;
    line-height: 1.6;
}

.slide-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--hp-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.slide-cta-btn:hover {
    background: var(--hp-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.4);
}

/* Responsive Slide Content */
@media (max-width: 768px) {
    .slide-content {
        right: 20px;
        left: 20px;
        max-width: none;
        padding: 20px 25px;
        bottom: 20px;
        top: auto;
        transform: none;
    }

    .slide-title {
        font-size: 1.3rem;
    }

    .slide-desc {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .slide-cta-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Slider Navigation Arrows */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--hp-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-slider-btn:hover {
    background: var(--hp-primary);
    color: #fff;
}

.hero-slider-btn i {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

.hero-slider-prev {
    right: 20px;
}

.hero-slider-next {
    left: 20px;
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slider-dot:hover,
.hero-slider-dot.active {
    background: var(--hp-primary);
    border-color: var(--hp-primary);
}

/* Fallback Placeholder */
.hero-banner-placeholder {
    background: var(--hp-primary);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-placeholder .hero-content {
    background: rgba(255, 255, 255, 0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide img {
        height: 250px;
    }

    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .hero-slider-prev {
        right: 10px;
    }

    .hero-slider-next {
        left: 10px;
    }

    .hero-slider-dot {
        width: 10px;
        height: 10px;
    }
}

.hero-banner {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    padding: 40px;
    border-radius: 0;
    overflow: hidden;
}

.hero-content {
    max-width: 450px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hp-secondary);
    margin: 0 0 10px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1rem;
    color: var(--hp-text-light);
    margin: 0 0 15px;
    line-height: 1.6;
}

.hero-discount {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.discount-label {
    font-size: 0.9rem;
    color: var(--hp-text-light);
}

.discount-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hp-primary);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--hp-primary);
    color: var(--hp-white);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--hp-primary-dark);
    transform: translateY(-2px);
    color: var(--hp-white);
}

.hero-btn i {
    font-size: 1.1rem;
}

/* ===========================================
   SECTION TITLE
   =========================================== */

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hp-secondary);
    text-align: center;
    margin: 0 0 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--hp-primary);
    border-radius: 2px;
}

/* ===========================================
   CATEGORIES SECTION
   =========================================== */

.categories-section {
    padding: 40px 0;
    background: var(--hp-white);
}

.categories-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.categories-slider::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--hp-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-item:hover .category-icon {
    border-color: var(--hp-primary);
    background: #e8f5e9;
}

.category-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.category-icon i {
    font-size: 28px;
    color: var(--hp-primary);
}

.category-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hp-secondary);
    text-align: center;
}

/* ===========================================
   FEATURES BAR - Premium Value Highlights
   =========================================== */

.features-bar {
    padding: 40px 0;
    background: var(--hp-primary);
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.features-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 36px !important;
    color: #fff !important;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.feature-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ===========================================
   PRODUCTS SECTION
   =========================================== */

.products-section {
    padding: 50px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* ===========================================
   PRODUCT CARD - Clean Design
   =========================================== */

.product-card {
    background: var(--hp-white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--hp-border);
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 5;
    color: var(--hp-white);
}

.badge-sale {
    background: var(--hp-danger);
}

.badge-new {
    background: var(--hp-primary);
}

.badge-hot {
    background: #f39c12;
}

.badge-bestseller {
    background: #9b59b6;
}

/* RTL Badge Position */
.rtl .product-badge {
    right: auto;
    left: 10px;
}

/* Product Image */
.product-image {
    display: block;
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f9f9f9;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image .no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-text-light);
    font-size: 48px;
}

/* Product Info */
.product-info {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--hp-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--hp-primary);
}

/* Product Price */
.product-price {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.product-price .woocommerce-Price-amount {
    color: var(--hp-primary);
}

.product-price del {
    font-size: 0.85rem;
    color: var(--hp-text-light);
    font-weight: 400;
    margin-right: 8px;
}

.product-price del .woocommerce-Price-amount {
    color: var(--hp-text-light);
}

.product-price ins {
    text-decoration: none;
}

/* Product Button */
.product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--hp-primary);
    color: var(--hp-white);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-btn:hover {
    background: var(--hp-primary-dark);
    color: var(--hp-white);
}

.product-btn i {
    font-size: 1rem;
}

/* ===========================================
   VIEW ALL BUTTON
   =========================================== */

.view-all {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    color: var(--hp-primary);
    border: 2px solid var(--hp-primary);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--hp-primary);
    color: var(--hp-white);
}

/* ===========================================
   NO PRODUCTS MESSAGE
   =========================================== */

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 30px;
    background: var(--hp-white);
    border-radius: 12px;
    border: 2px dashed var(--hp-border);
}

.no-products i {
    font-size: 48px;
    color: var(--hp-text-light);
    margin-bottom: 20px;
}

.no-products.woo-notice i {
    color: #f39c12;
}

.no-products p {
    font-size: 1.1rem;
    color: var(--hp-text-light);
    margin-bottom: 20px;
}

.add-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--hp-primary);
    color: var(--hp-white);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.add-product-btn:hover {
    background: var(--hp-primary-dark);
    color: var(--hp-white);
}

/* ===========================================
   SALES SECTION - Product Slider
   =========================================== */

.sales-section {
    background: var(--hp-white);
    padding: 50px 0;
}

/* Section Header with Title + Nav - RTL Layout */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-bottom: 25px;
}

.section-header .section-title {
    margin: 0;
    padding: 0;
}

.section-header .section-title::after {
    display: none;
}

/* Slider Navigation Buttons */
.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--hp-primary);
    background: transparent;
    color: var(--hp-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.slider-btn:hover {
    background: var(--hp-primary);
    color: #fff;
}

.slider-btn i {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

/* Slider Wrapper */
.products-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Slider Container */
.products-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 5px;
}

.products-slider::-webkit-scrollbar {
    display: none;
}

/* Individual Product Slide */
.product-slide {
    flex: 0 0 280px;
    min-width: 280px;
}

.product-slide .product-card {
    height: 100%;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 992px) {
    .hero-banner {
        min-height: 350px;
        padding: 30px 20px;
    }

    .hero-content {
        max-width: 380px;
        padding: 25px;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: auto;
        padding: 20px;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
        background: rgba(255, 255, 255, 0.98);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .discount-value {
        font-size: 1.5rem;
    }

    .features-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-item {
        padding: 15px 10px;
    }

    .feature-item i {
        width: 50px;
        height: 50px;
        font-size: 24px !important;
    }

    .feature-text strong {
        font-size: 0.9rem;
    }

    .feature-text span {
        font-size: 0.75rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .feature-text strong {
        font-size: 0.8rem;
    }

    .feature-text span {
        font-size: 0.7rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-icon i {
        font-size: 22px;
    }

    .category-name {
        font-size: 0.75rem;
    }
}

/* ===========================================
   RTL ADJUSTMENTS
   =========================================== */

.rtl .view-all-btn i {
    transform: rotate(180deg);
}

.rtl .hero-btn i {
    order: 1;
}

.rtl .product-price del {
    margin-right: 0;
    margin-left: 8px;
}

/* RTL Slider */
.rtl .section-header {
    flex-direction: row-reverse;
}

.rtl .slider-nav {
    flex-direction: row-reverse;
}

.rtl .products-slider {
    direction: rtl;
}

.rtl .product-slide {
    direction: rtl;
}

/* ===========================================
   TNCODTHEME FOOTER - Modern Design
   =========================================== */

.tncodtheme-footer {
    margin-top: 0;
}

/* CTA Section - Green with Opacity */
.footer-cta {
    background: rgba(0, 184, 148, 0.6);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    border-radius: 30px 30px 0 0;
    margin: 0 20px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -100px auto 25px;
    background: var(--hp-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 184, 148, 0.4);
}

.cta-icon i {
    font-size: 32px !important;
    color: #fff !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

.cta-24 {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--hp-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 15px;
    min-width: 35px;
    text-align: center;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    line-height: 1.4;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 25px;
    line-height: 1.6;
}

.cta-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: var(--hp-primary);
    color: #fff !important;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 184, 148, 0.3);
}

.cta-phone-btn:hover {
    background: var(--hp-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
    color: #fff !important;
}

.cta-phone-btn i {
    font-size: 1rem;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

/* Footer Bottom - Light Theme */
.footer-bottom {
    background: #f5f6fa;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #3d4a5c;
    background: transparent;
    color: #3d4a5c !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon-btn:hover {
    background: #3d4a5c;
    color: #fff !important;
}

.social-icon-btn i {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands' !important;
    font-weight: 900 !important;
}

.social-icon-btn i.fab {
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
}

/* Footer Navigation */
.footer-links {
    flex: 1;
    text-align: center;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav li a {
    color: #2d3436;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: var(--hp-primary);
}

/* Footer Copyright - Logo on Right for RTL */
.footer-site-logo {
    flex-shrink: 0;
}

.footer-site-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d3436;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-site-logo a:hover {
    color: var(--hp-primary);
}

.copyright-text {
    font-size: 0.85rem;
    color: #636e72;
}

/* Footer Copyright Row - Below Nav Links */
.footer-copyright-row {
    text-align: center;
    padding-top: 20px;
    margin-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* ===== IMPROVED SEARCH & CART DROPDOWNS ===== */

/* Better Search Dropdown UI */
.search-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    padding: 20px;
    min-width: 350px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.search-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.header-search-toggle:hover .search-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.search-dropdown .woocommerce-product-search,
.search-dropdown form {
    display: flex;
    gap: 10px;
}

.search-dropdown input[type="search"],
.search-dropdown .search-field {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.search-dropdown input[type="search"]:focus,
.search-dropdown .search-field:focus {
    border-color: var(--hp-primary);
}

.search-dropdown button,
.search-dropdown .search-submit {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--hp-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-dropdown button:hover,
.search-dropdown .search-submit:hover {
    background: var(--hp-primary-dark);
}

/* Cart Hover Dropdown */
.header-cart-btn {
    position: relative;
}

.cart-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    padding: 20px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.header-cart-btn:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.cart-dropdown-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #2d3436;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.cart-dropdown-title i {
    color: var(--hp-primary);
    margin-left: 8px;
}

.cart-dropdown-link {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: var(--hp-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s;
}

.cart-dropdown-link:hover {
    background: var(--hp-primary-dark);
    color: #fff;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-cta {
        margin: 0 10px;
        padding: 50px 20px 40px;
        border-radius: 20px 20px 0 0;
    }

    .cta-icon {
        width: 70px;
        height: 70px;
        margin-top: -85px;
    }

    .cta-icon i {
        font-size: 28px !important;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .cta-text {
        font-size: 0.9rem;
    }

    .cta-phone-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        order: 1;
    }

    .footer-links {
        order: 2;
    }

    .footer-nav {
        gap: 15px;
    }

    .footer-copyright {
        order: 3;
        flex-direction: column;
        gap: 8px;
    }
}