:root {
            --ec-primary: #000000;
            --ec-secondary: #ffffff;
            --ec-accent: #ff0000;
            --ec-gray: #f5f5f5;
            --ec-dark-gray: #333333;
            --ec-light-gray: #eeeeee;
            --ec-border: #dddddd;
            --ec-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --text-main: #666666;
            --text-dark: #000000;
            --border-color: #f1f1f1;
            --font-family: 'Inter', sans-serif;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                  --card-bg: #ffffff;
      --muted: #7f8c8d;
      --accent-1: #3498db;
      --accent-2: #2ecc71;
      --text: #2c3e50;
      --glass: rgba(255,255,255,0.6);
      --cate_transition: 400ms cubic-bezier(.2,.9,.25,1);
      --card-radius: 14px;
      --cate_shadow: 0 12px 30px rgba(18, 25, 36, 0.08);
          --lo-se-font: 'Inter', sans-serif;
    --lo-se-dark: #000000;
    --lo-se-gray: #777777;
    --lo-se-ease: cubic-bezier(0.25, 1, 0.5, 1);

                --re-se-primary: #FF6B35; 
            --re-se-bg: #ffffff;
            --re-se-card-border: #ececec;
            --re-se-text-main: #1a1a1a;
            --re-se-text-muted: #666666;
            --re-se-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: var(--font-family);
        }

        body {
            background-color: var(--ec-secondary);
            color: var(--ec-primary);
            min-height: 150vh;
        }

        /* Header Container */
        .ec-header {
            background-color: var(--ec-secondary);
            border-bottom: 1px solid var(--ec-border);
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
            box-shadow: 0px 12px 65px rgba(0, 0, 0, 0.226);
        }

        .ec-header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Desktop Header */
        .ec-desktop-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 70px;
        }

        /* Logo */
        .ec-logo {
            flex: 0 0 150px;
            transition: var(--ec-transition);
        }

        .ec-logo img {
            height: 40px;
            width: auto;
            transition: transform 0.5s ease;
        }

        .ec-logo:hover img {
            transform: scale(1.05);
        }

        /* Navigation */
        .ec-nav {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .ec-nav-list {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .ec-nav-item {
            position: relative;
        }

        .ec-nav-link {
            color: var(--ec-primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            padding: 8px 0;
            display: inline-block;
            transition: var(--ec-transition);
            position: relative;
        }

        .ec-nav-link:hover {
            color: #555;
        }

        .ec-nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--ec-primary);
            animation: ecLinkUnderline 0.5s ease-out;
        }

        @keyframes ecLinkUnderline {
            from { width: 0; }
            to { width: 100%; }
        }

        /* Shop Dropdown */
.ec-shop-dropdown {
    position: fixed;
    top: var(--ec-header-height);
    left: 50%;

    width: 100vw;
    max-width: 1400px;

    transform: translateX(-50%) translateY(25px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background-color: var(--ec-secondary);
    border: 1px solid var(--ec-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    padding: 25px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    transition:
        opacity 0.35s ease,
        transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        visibility 0s linear 0.45s;

    z-index: 9999;
    border-radius: 0 0 8px 8px;
}


.ec-nav-item:hover .ec-shop-dropdown,
.ec-nav-item.is-open .ec-shop-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0) scale(1);

    transition-delay: 0s;
}



        @keyframes ecDropdownAppear {
            0% {
                opacity: 0;
                transform: translateY(15px) scale(0.95);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .ec-dropdown-column h4 {
            font-size: 16px;
            margin-bottom: 15px;
            font-weight: 600;
            border-bottom: 1px solid var(--ec-border);
            padding-bottom: 8px;
            position: relative;
        }

        .ec-dropdown-column h4::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--ec-primary);
            transition: width 0.3s ease;
        }

        .ec-dropdown-column:hover h4::after {
            width: 80px;
        }

        .ec-category-list {
            list-style: none;
        }

        .ec-category-list li {
            margin-bottom: 10px;
            transform: translateX(0);
            transition: transform 0.3s ease;
        }

        .ec-category-list li:hover {
            transform: translateX(5px);
        }

        .ec-category-list a {
            color: var(--ec-primary);
            text-decoration: none;
            font-size: 14px;
            transition: var(--ec-transition);
            display: inline-block;
            padding: 2px 0;
        }

        .ec-category-list a:hover {
            color: #777;
            padding-left: 8px;
        }

        .ec-product-preview {
            position: relative;
            margin-bottom: 15px;
            overflow: hidden;
            border-radius: 4px;
            transform: translateY(0);
            transition: transform 0.4s ease;
        }

        .ec-product-preview:hover {
            transform: translateY(-5px);
        }

        .ec-product-preview img {
            width: 100%;
            object-fit: cover;
            transition: transform 0.9s ease;
        }

        .ec-product-preview:hover img {
            transform: scale(1.28);
        }

        .ec-product-text {
            position: absolute;
            bottom: 20px;
            left: 10%;
            width: 80%;
            background: white;
            border-radius: 6px;
            color: black;
            padding: 15px 8px 8px;
            font-size: 14px;
            font-weight: 600;
            text-align: center;
            opacity: 1;
            transition: var(--ec-transition);
        }
        .ec-product-text:hover {
            background-color: var(--ec-primary);
            color: var(--ec-secondary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        /* Header Icons */
        .ec-header-icons {
            display: flex;
            align-items: center;
            gap: 22px;
            flex: 0 0 150px;
            justify-content: flex-end;
        }

        .ec-icon {
            position: relative;
            color: var(--ec-primary);
            font-size: 18px;
            cursor: pointer;
            transition: var(--ec-transition);
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ec-icon:hover {
            color: #777;
            transform: translateY(-2px);
        }

        .ec-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--ec-accent);
            color: var(--ec-secondary);
            font-size: 10px;
            font-weight: bold;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: ecBadgePulse 2s infinite;
        }

        @keyframes ecBadgePulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Search Overlay */
        .ec-search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--ec-secondary);
            z-index: 2000;
            display: none;
            flex-direction: column;
            padding: 20px;
            animation: ecSearchOverlayAppear 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
        }

        @keyframes ecSearchOverlayAppear {
            0% { 
                opacity: 0;
                transform: translateY(-20px);
            }
            100% { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        .ec-search-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--ec-border);
        }

        .ec-search-title {
            font-size: 24px;
            font-weight: 600;
            animation: ecTitleSlideIn 0.6s 0.2s ease-out backwards;
        }

        @keyframes ecTitleSlideIn {
            0% {
                opacity: 0;
                transform: translateX(-20px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .ec-close-search {
            font-size: 24px;
            cursor: pointer;
            transition: var(--ec-transition);
        }

        .ec-close-search:hover {
            transform: rotate(90deg);
        }

        .ec-search-input-container {
            margin: 30px 0;
            max-width: 800px;
            width: 100%;
            align-self: center;
            animation: ecInputSlideUp 0.6s 0.3s ease-out backwards;
        }

        @keyframes ecInputSlideUp {
            0% {
                opacity: 0;
                transform: translateY(20px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .ec-search-input {
            width: 100%;
            padding: 18px;
            font-size: 18px;
            border: 2px solid var(--ec-border);
            border-radius: 0;
            outline: none;
            transition: var(--ec-transition);
            background-color: #f9f9f9;
        }

        .ec-search-input:focus {
            border-color: var(--ec-primary);
            background-color: var(--ec-secondary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .ec-search-products {
            flex: 1;
            width: 100%;
            max-width: 1400px;
            align-self: center;
            animation: ecProductsFadeIn 0.8s 0.4s ease-out backwards;
        }

        @keyframes ecProductsFadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

        /* Cart Sidebar */
        .ec-cart-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 380px;
            height: 100%;
            background-color: var(--ec-secondary);
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.12);
            z-index: 2001;
            display: flex;
            flex-direction: column;
            transition: right 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
        }

        .ec-cart-sidebar.open {
            right: 0;
        }

        .ec-cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid var(--ec-border);
            position: sticky;
            top: 0;
            background-color: var(--ec-secondary);
            z-index: 10;
        }

        .ec-cart-title {
            font-size: 20px;
            font-weight: 600;
        }

        .ec-close-cart {
            font-size: 20px;
            cursor: pointer;
            transition: var(--ec-transition);
        }

        .ec-close-cart:hover {
            transform: rotate(90deg);
        }

        .ec-progress-bar {
            height: 4px;
            background-color: var(--ec-light-gray);
            margin: 0 20px;
            border-radius: 2px;
            overflow: hidden;
        }

        .ec-progress-fill {
            height: 100%;
            width: 30%;
            background: linear-gradient(90deg, var(--ec-primary), #555);
            transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
            background-size: 200% 100%;
            animation: ecProgressShimmer 2s infinite linear;
        }

        @keyframes ecProgressShimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .ec-cart-items {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
        }

        .ec-cart-item {
            display: flex;
            padding: 15px 0;
            border-bottom: 1px solid var(--ec-border);
            animation: ecCartItemAppear 0.5s ease-out backwards;
        }

        @keyframes ecCartItemAppear {
            0% {
                opacity: 0;
                transform: translateX(20px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .ec-cart-item-img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            margin-right: 15px;
            border-radius: 4px;
            transition: var(--ec-transition);
        }

        .ec-cart-item:hover .ec-cart-item-img {
            transform: scale(1.05);
        }

        .ec-cart-item-details {
            flex: 1;
        }

        .ec-cart-item-name {
            font-weight: 600;
            margin-bottom: 5px;
        }

        .ec-cart-item-price {
            color: var(--ec-dark-gray);
            margin-bottom: 10px;
            font-size: 14px;
        }

        .ec-cart-item-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .ec-quantity-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .ec-quantity-btn {
            width: 28px;
            height: 28px;
            border: 1px solid var(--ec-border);
            background: var(--ec-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: var(--ec-transition);
            font-weight: bold;
        }

        .ec-quantity-btn:hover {
            background-color: var(--ec-primary);
            color: var(--ec-secondary);
            border-color: var(--ec-primary);
            transform: scale(1.1);
        }

        .ec-quantity-value {
            min-width: 30px;
            text-align: center;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .ec-quantity-value.updated {
            animation: ecQuantityPulse 0.3s ease;
        }

        @keyframes ecQuantityPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        .ec-remove-item {
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            font-size: 13px;
            transition: var(--ec-transition);
            padding: 5px 10px;
            border-radius: 3px;
        }

        .ec-remove-item:hover {
            color: var(--ec-accent);
            background-color: rgba(255, 0, 0, 0.05);
            transform: translateY(-1px);
        }

        .ec-cart-footer {
            padding: 20px;
            border-top: 1px solid var(--ec-border);
            background-color: var(--ec-secondary);
            animation: ecFooterSlideUp 0.5s 0.2s ease-out backwards;
        }

        @keyframes ecFooterSlideUp {
            0% {
                opacity: 0;
                transform: translateY(20px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .ec-cart-subtotal {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            font-weight: 600;
            font-size: 18px;
        }

        .ec-subtotal-value {
            transition: all 0.3s ease;
        }

        .ec-subtotal-value.updated {
            animation: ecPriceChange 0.5s ease;
        }

        @keyframes ecPriceChange {
            0% { color: var(--ec-primary); }
            50% { color: var(--ec-accent); transform: scale(1.1); }
            100% { color: var(--ec-primary); transform: scale(1); }
        }

        .ec-cart-buttons {
            display: flex;
            gap: 10px;
        }

        .ec-cart-btn {
            flex: 1;
            padding: 14px;
            text-align: center;
            text-decoration: none;
            font-weight: 600;
            border: 1px solid var(--ec-primary);
            transition: var(--ec-transition);
            position: relative;
            overflow: hidden;
        }

        .ec-cart-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.7s ease;
        }

        .ec-cart-btn:hover::before {
            left: 100%;
        }

        .ec-view-cart {
            background-color: var(--ec-secondary);
            color: var(--ec-primary);
        }

        .ec-view-cart:hover {
            background-color: var(--ec-primary);
            color: var(--ec-secondary);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .ec-checkout {
            background-color: var(--ec-primary);
            color: var(--ec-secondary);
        }

        .ec-checkout:hover {
            background-color: #222;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Overlay */
        .ec-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            display: none;
            animation: ecOverlayFadeIn 0.4s ease-out forwards;
            cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M6 6L26 26M6 26L26 6' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 16 16, auto;
        }

        @keyframes ecOverlayFadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

        /* Mobile Header */
        .ec-mobile-header {
            display: none;
            align-items: center;
            justify-content: space-between;
            height: 60px;
            padding: 0 15px;
        }

        .ec-hamburger {
            font-size: 20px;
            cursor: pointer;
            flex: 0 0 30px;
            transition: var(--ec-transition);
        }

        .ec-hamburger:hover {
            transform: scale(1.1);
        }

        .ec-mobile-logo {
            flex: 1;
            text-align: center;
        }

        .ec-mobile-logo img {
            height: 30px;
            transition: transform 0.5s ease;
        }

        .ec-mobile-logo:hover img {
            transform: scale(1.05);
        }

        .ec-mobile-icons {
            display: flex;
            gap: 15px;
            flex: 0 0 60px;
            justify-content: flex-end;
        }

        /* Mobile Sidebar Menu */
        .ec-mobile-sidebar {
            position: fixed;
            top: 0;
            left: -300px;
            width: 280px;
            height: 100%;
            background-color: var(--ec-secondary);
            box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
            z-index: 2002;
            display: flex;
            flex-direction: column;
            transition: left 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
        }

        .ec-mobile-sidebar.open {
            left: 0;
        }

        .ec-mobile-sidebar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid var(--ec-border);
        }

        .ec-mobile-sidebar-title {
            font-size: 18px;
            font-weight: 600;
        }

        .ec-close-mobile-sidebar {
            font-size: 20px;
            cursor: pointer;
            transition: var(--ec-transition);
        }

        .ec-close-mobile-sidebar:hover {
            transform: rotate(90deg);
        }

        .ec-mobile-nav {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
        }

        .ec-mobile-nav-list {
            list-style: none;
        }

        .ec-mobile-nav-item {
            margin-bottom: 10px;
            animation: ecMobileNavItem 0.5s ease-out backwards;
        }

        @keyframes ecMobileNavItem {
            0% {
                opacity: 0;
                transform: translateX(-20px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .ec-mobile-nav-link {
            display: block;
            padding: 12px 0;
            color: var(--ec-primary);
            text-decoration: none;
            font-weight: 500;
            border-bottom: 1px solid var(--ec-light-gray);
            transition: var(--ec-transition);
        }

        .ec-mobile-nav-link:hover {
            color: #777;
            padding-left: 10px;
        }

        .ec-accordion-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: var(--ec-transition);
        }

        .ec-accordion-toggle:hover {
            color: #777;
        }

        .ec-accordion-content {
            padding-left: 15px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
        }

        .ec-accordion-content.open {
            max-height: 500px;
        }

        /* Mobile Search Sidebar */
        .ec-mobile-search-sidebar {
            position: fixed;
            top: 0;
            right: -300px;
            width: 280px;
            height: 100%;
            background-color: var(--ec-secondary);
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
            z-index: 2003;
            display: flex;
            flex-direction: column;
            transition: right 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
        }

        .ec-mobile-search-sidebar.open {
            right: 0;
        }

        .ec-mobile-search-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid var(--ec-border);
            position: sticky;
            top: 0;
            background-color: var(--ec-secondary);
            z-index: 10;
        }

        .ec-mobile-search-title {
            font-size: 18px;
            font-weight: 600;
        }

        .ec-close-mobile-search {
            font-size: 20px;
            cursor: pointer;
            transition: var(--ec-transition);
        }

        .ec-close-mobile-search:hover {
            transform: rotate(90deg);
        }

        .ec-mobile-search-input {
            padding: 18px;
            width: 100%;
            border: none;
            border-bottom: 1px solid var(--ec-border);
            outline: none;
            font-size: 16px;
            background-color: #f9f9f9;
            transition: var(--ec-transition);
        }

        .ec-mobile-search-input:focus {
            background-color: var(--ec-secondary);
            border-bottom-color: var(--ec-primary);
        }

        .ec-mobile-search-results {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
        }

        .ec-mobile-product-item {
            display: flex;
            padding: 12px 0;
            border-bottom: 1px solid var(--ec-light-gray);
            animation: ecMobileSearchItem 0.5s ease-out backwards;
            transition: var(--ec-transition);
        }

        @keyframes ecMobileSearchItem {
            0% {
                opacity: 0;
                transform: translateX(20px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .ec-mobile-product-item:hover {
            background-color: #f9f9f9;
            transform: translateX(5px);
        }

        .ec-mobile-product-img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            margin-right: 15px;
            border-radius: 4px;
        }

        .ec-mobile-product-details {
            flex: 1;
        }

        .ec-mobile-product-stars {
            color: #ffc107;
            font-size: 12px;
            margin-bottom: 5px;
        }

        .ec-mobile-product-name {
            font-weight: 500;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .ec-mobile-product-prices {
            display: flex;
            gap: 10px;
        }

        .ec-mobile-product-original-price {
            color: #999;
            text-decoration: line-through;
            font-size: 13px;
        }

        .ec-mobile-product-offer-price {
            color: var(--ec-primary);
            font-weight: 600;
            font-size: 14px;
        }

        /* ============================================
           ENHANCED PRODUCT CARD - REUSABLE COMPONENT
           ============================================ */
        .ec-product-card {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            transition: var(--ec-transition);
            background: var(--ec-secondary);
            border: 1px solid var(--ec-light-gray);
            opacity: 1;
            transform: translateY(20px);
        }

        /* .ec-product-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .ec-product-card.lazy-loaded {
            animation: ecProductCardAppear 0.6s ease-out forwards;
        }

        @keyframes ecProductCardAppear {
            0% {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        } */

        .ec-product-card:hover {
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .ec-product-image-container {
            position: relative;
            overflow: hidden;
            height: 300px;
            background-color: var(--ec-gray);
        }

        .ec-product-image-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
        }

.ec-main-product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition-property: opacity, transform;
    transition-duration: 0.5s, 0.8s;
    transition-timing-function: ease, cubic-bezier(0.19, 1, 0.22, 1);

    transform-origin: center center;
    will-change: opacity, transform;
}

.ec-main-product-image.secondary {
    opacity: 0;
    transform: scale(1.02); /* slight zoomed but hidden */
}


.ec-product-card:hover .ec-main-product-image.primary {
    /* opacity: 0; */
}




        /* Enhanced Hover Overlay - Bottom Only */
.ec-product-hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    z-index: 2;
}


        .ec-product-card:hover .ec-product-hover-overlay {
            opacity: 1;
            transform: translateY(0);
        }

        .ec-eye-icon {
            color: var(--ec-primary);
            font-size: 18px;
            cursor: pointer;
            transition: var(--ec-transition);
            background: rgba(255, 255, 255, 0.7);
            width: 30px;
            height: 30px;
            border-radius: 20%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ec-eye-icon {
            align-self: center;

            opacity: 0;
            transform: translateY(25px);
            transition: opacity 0.4s ease 0.15s,
                        transform 0.4s ease 0.15s;
        }


        .ec-eye-icon:hover {
            transform: scale(1.1) rotate(5deg);
        }

        .ec-size-selector {
            display: flex;
            justify-content: center;
            gap: 8px;
            width: 100%;
            background-color: rgba(0,0,0,0.55);

            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.4s ease, transform 0.4s ease;
            pointer-events: auto; 
        }


        .ec-size-option {
            width: 20px;
            height: 20px;
            color: black;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            cursor: pointer;
            transition: var(--ec-transition);
            border: 1px solid transparent;
        }

        .ec-size-option:hover {
            background-color: var(--ec-secondary);
            color: var(--ec-primary);
            border-color: var(--ec-secondary);
            transform: translateY(-2px);
        }

        .ec-size-option.active {
            background-color: var(--ec-secondary);
            color: var(--ec-primary);
            border-color: var(--ec-secondary);
        }

        .ec-product-info {
            padding: 15px 10px;
            background-color: var(--ec-secondary);
        }

        .ec-product-rating {
            color: #ffc107;
            font-size: 12px;
            margin-bottom: 8px;
            display: flex;
            gap: 2px;
        }

        .ec-product-name {
            font-weight: 600;
            margin-bottom: 5px;
            font-size: 15px;
            transition: var(--ec-transition);
            line-height: 1.3;
        }

        .ec-product-card:hover .ec-product-name {
            color: #555;
        }
.ec-product-card:hover .ec-size-selector {
    opacity: 1;
    transform: translateY(0);
}

.ec-product-card:hover .ec-eye-icon {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {

    .ec-product-hover-overlay {
        pointer-events: auto;
    }

    .ec-size-selector,
    .ec-eye-icon {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
}

        .ec-product-price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .ec-product-price {
            font-weight: 600;
            font-size: 16px;
            color: var(--ec-primary);
        }

        .ec-product-price.original {
            color: #999;
            text-decoration: line-through;
            font-size: 14px;
            font-weight: normal;
            margin-left: 5px;
        }

    .ec-add-to-cart-icon {
        position: relative;
        color: var(--ec-secondary);
        cursor: pointer;
        background: var(--ec-accent);
        width: 36px;
        height: 36px;
        border-radius: 6%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition:
            background-color 0.4s ease,
            color 0.4s ease,
            transform 0.35s ease,
            box-shadow 0.35s ease;
    }


    .ec-add-to-cart-icon::before {
        content: "";
        position: absolute;
        top: 0;
        left: -140%;
        width: 140%;
        height: 100%;
        background: linear-gradient(
            120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.12) 40%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0.12) 60%,
            transparent 100%
        );
        transform: skewX(-20deg);
        transition: left 0.75s ease;
        pointer-events: none;
    }

    /* Hover state */
    .ec-add-to-cart-icon:hover::before {
        left: 120%;
    }

    .ec-add-to-cart-icon:hover {
        background-color: var(--ec-primary);
        color: var(--ec-secondary);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }

    /* Click feedback (premium micro-interaction) */
    .ec-add-to-cart-icon:active {
        transform: scale(0.95);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }

    .ec-buy-now-btn {
    position: relative;
    width: 100%;
    padding: 16px 20px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* ✨ Slim premium shine */
.ec-buy-now-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 35%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.08) 65%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

/* Hover */
.ec-buy-now-btn:hover::before {
    left: 120%;
}

.ec-buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

/* Click */
.ec-buy-now-btn:active {
    transform: scale(0.97);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}


        .ec-product-thumbnails {
            display: flex;
            gap: 8px;
            justify-content: center;
            padding-top: 10px;
            border-top: 1px solid var(--ec-light-gray);
        }

        .ec-product-thumbnail {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid var(--ec-border);
            cursor: pointer;
            transition: var(--ec-transition);
        }

        .ec-product-thumbnail.active {
            border-color: var(--ec-primary);
            transform: scale(1.1);
        }

        .ec-product-thumbnail:hover {
            transform: scale(1.1);
        }

        /* PRODUCT CARD VARIATIONS */
        /* List Product Card (for product listings) */
        .ec-product-card.list-view {
            display: flex;
            max-width: 100%;
            height: 196px;
        }
        
        .ec-product-card.list-view .ec-product-image-container {
            flex: 0 0 180px;
            height: 100%;
        }
        
        .ec-product-card.list-view .ec-product-info {
            flex: 1;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .ec-product-card.list-view .ec-product-name {
            font-size: 18px;
        }
        
        .ec-product-card.list-view .ec-product-price {
            font-size: 20px;
        }
        
        .ec-product-card.list-view .ec-product-thumbnails {
            justify-content: flex-start;
        }
        
        .ec-product-card.list-view .ec-product-hover-overlay {
            display: none;
        }

        /* Modals */
        .ec-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 3000;
            display: none;
            align-items: center;
            justify-content: center;
            animation: ecModalOverlay 0.4s ease-out forwards;
            cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M6 6L26 26M6 26L26 6' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 16 16, auto;
        }

        @keyframes ecModalOverlay {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

        .ec-modal-content {
            background-color: var(--ec-secondary);
            max-width: 900px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: ecModalSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
            border-radius: 8px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            cursor: default;
        }

        @keyframes ecModalSlideIn {
            0% { 
                transform: translateX(-100px) scale(0.9);
                opacity: 0;
            }
            100% { 
                transform: translateX(0) scale(1);
                opacity: 1;
            }
        }

        .ec-close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            z-index: 10;
            transition: var(--ec-transition);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.9);
        }

        .ec-close-modal:hover {
            background: var(--ec-primary);
            color: var(--ec-secondary);
            transform: rotate(90deg);
        }

        /* Mobile Footer Nav */
        .ec-mobile-footer-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: var(--ec-secondary);
            border-top: 1px solid var(--ec-border);
            display: none;
            justify-content: space-around;
            padding: 12px 0 10px;
            z-index: 999;
            box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
        }

        .ec-mobile-footer-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--ec-primary);
            font-size: 11px;
            transition: var(--ec-transition);
            position: relative;
            padding: 5px;
            border-radius: 8px;
        }

        .ec-mobile-footer-item:hover {
            color: #555;
            transform: translateY(-5px);
        }

        .ec-mobile-footer-icon {
            font-size: 18px;
            margin-bottom: 3px;
            transition: var(--ec-transition);
        }

        .ec-mobile-footer-item:hover .ec-mobile-footer-icon {
            transform: scale(1.1);
        }

        /* Swiper Customization */
        .ec-swiper-container {
            padding: 20px 0 40px;
        }

        .swiper-slide {
            display: flex;
            justify-content: center;
        }

        /* ============================================
           HERO BANNER SLIDER
           ============================================ */
        .ec-hero-slider {
            width: 100%;
            height: 90vh;
            max-height: 800px;
            position: relative;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .ec-hero-swiper {
            width: 100%;
            height: 100%;
        }

        .ec-hero-slide {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .ec-hero-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 10s ease;
        }

        .ec-hero-slide.swiper-slide-active img {
            transform: scale(1.05);
        }

.ec-hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: var(--ec-primary);
    z-index: 10;
}

/* INITIAL STATE */
.ec-hero-content,
.ec-hero-content h1,
.ec-hero-content p,
.ec-hero-btn {
    opacity: 0;
}

/* ACTIVE SLIDE */
.ec-hero-slide.swiper-slide-active .ec-hero-content {
    animation: heroContentIn 1s ease forwards;
}

.ec-hero-slide.swiper-slide-active h1 {
    animation: heroTitleIn 0.8s ease 0.3s forwards;
}

.ec-hero-slide.swiper-slide-active p {
    animation: heroTextIn 0.8s ease 0.5s forwards;
}

.ec-hero-slide.swiper-slide-active .ec-hero-btn {
    animation: heroBtnIn 0.8s ease 0.7s forwards;
}

/* KEYFRAMES */
@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(-50%); }
}

@keyframes heroTitleIn {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroTextIn {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroBtnIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}


        .ec-hero-slide.swiper-slide-active .ec-hero-content {
            opacity: 1;
            transform: translateY(-50%);
        }

        .ec-hero-content h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 20px;
            line-height: 1.1;
            /* text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); */
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease 0.3s;
        }

        .ec-hero-slide.swiper-slide-active .ec-hero-content h1 {
            opacity: 1;
            transform: translateX(0);
        }

        .ec-hero-content p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            line-height: 1.6;
            /* text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); */
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease 0.5s;
        }

        .ec-hero-slide.swiper-slide-active .ec-hero-content p {
            opacity: 1;
            transform: translateX(0);
        }

.ec-hero-btn {
    position: relative;
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--ec-primary);
    color: var(--ec-secondary);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden; /* very important */
    opacity: 0;
    transform: translateY(30px);
    transition: 
        transform 0.6s ease,
        box-shadow 0.6s ease,
        opacity 0.8s ease 0.7s;
}

/* slide active animation */
.ec-hero-slide.swiper-slide-active .ec-hero-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ✨ Wave layer */
.ec-hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 40%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.15) 60%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

/* hover effect */
.ec-hero-btn:hover::before {
    left: 120%;
}

/* hover lift */
.ec-hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

        

        .ec-hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
        }

        .ec-hero-slider .swiper-pagination {
            z-index: 10;
            text-align: left!important;
            bottom: 120px !important;
            left: 10%;
        }

        .ec-hero-slider .swiper-pagination-bullet {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border:5px solid rgba(255, 255, 255, 0.5);
            background-color:black;
            box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
            opacity: 0.5;
            transition: var(--ec-transition);
        }

        .ec-hero-slider .swiper-pagination-bullet-active {
            opacity: 1;
            width: 30px;
            border-radius: 10px;
            background-color: black;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        }

        .ec-hero-slider .swiper-button-next,
        .ec-hero-slider .swiper-button-prev {
            color: var(--ec-secondary);
            background-color: rgba(0, 0, 0, 0.3);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            transition: var(--ec-transition);
        }

        .ec-hero-slider .swiper-button-next:hover,
        .ec-hero-slider .swiper-button-prev:hover {
            background-color: rgba(0, 0, 0, 0.7);
            transform: scale(1.1);
        }

        .ec-hero-slider .swiper-button-next:after,
        .ec-hero-slider .swiper-button-prev:after {
            font-size: 20px;
        }
        @media (max-width: 568px) {
            .ec-hero-slider .swiper-pagination {
                left: 0%;
                bottom: 0!important;
            }
            .ec-hero-slider .swiper-pagination-bullet {
                width: 15px;
                height: 15px;
                border-width: 3px;
            }
        }

        /* ============================================
           PRODUCT TABS SECTION
           ============================================ */
        .ec-product-tabs-section {
            max-width: 1200px;
            margin: 0 auto 80px;
            padding: 0 15px;
        }

        .ec-product-tabs-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .ec-product-tabs-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .ec-product-tabs-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--ec-primary);
        }

        .ec-product-tabs {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 40px;
        }

        .ec-tab-btn {
            padding: 12px 30px;
            background-color: transparent;
            border: 2px solid var(--ec-border);
            color: var(--ec-dark-gray);
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: var(--ec-transition);
            border-radius: 0;
            position: relative;
            overflow: hidden;
        }

        .ec-tab-btn:hover {
            border-color: var(--ec-primary);
            color: var(--ec-primary);
        }

        .ec-tab-btn.active {
            background-color: var(--ec-primary);
            color: var(--ec-secondary);
            border-color: var(--ec-primary);
        }

        .ec-tab-btn.active::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            animation: ecTabShimmer 2s infinite;
        }

        @keyframes ecTabShimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        .ec-tab-content {
            display: none;
            animation: ecTabFadeIn 0.6s ease-out;
        }

        .ec-tab-content.active {
            display: block;
        }

        @keyframes ecTabFadeIn {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        .ec-tab-product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }

        /* Demo Content */
        .ec-demo-content {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 15px;
        }

        .ec-demo-title {
            font-size: 28px;
            margin-bottom: 30px;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }

        .ec-demo-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--ec-primary);
        }

        .ec-demo-text {
            margin-bottom: 20px;
            line-height: 1.6;
            color: var(--ec-dark-gray);
            text-align: center;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .ec-product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .ec-product-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 40px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Responsive Styles */
        @media (max-width: 1200px) {
            .ec-hero-content h1 {
                font-size: 3rem;
            }
            
            .ec-tab-product-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 992px) {
            .ec-desktop-header {
                display: none;
            }
            
            .ec-mobile-header {
                display: flex;
            }
            
            .ec-mobile-footer-nav {
                display: flex;
            }
            
            .ec-cart-sidebar {
                width: 320px;
            }
            
            .ec-product-card.list-view {
                flex-direction: column;
                height: auto;
            }
            
            .ec-product-card.list-view .ec-product-image-container {
                flex: 0 0 200px;
                width: 100%;
            }
            
            .ec-hero-slider {
                height: 70vh;
            }
            
            .ec-hero-content {
                left: 5%;
                max-width: 500px;
            }
            
            .ec-hero-content h1 {
                font-size: 2.5rem;
            }
            
            .ec-tab-product-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .ec-hero-slider .swiper-button-next,
            .ec-hero-slider .swiper-button-prev {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .ec-product-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 20px;
            }
            
            .ec-cart-sidebar {
                width: 100%;
                right: -100%;
            }
            
            .ec-modal-content {
                width: 95%;
            }
            
            .ec-demo-title {
                font-size: 24px;
            }
            
            .ec-hero-slider {
                height: 60vh;
            }
            
            .ec-hero-content h1 {
                font-size: 2rem;
            }
            
            .ec-hero-content p {
                font-size: 1rem;
            }
            
            .ec-product-tabs-title {
                font-size: 1.8rem;
            }
            
            .ec-tab-btn {
                padding: 10px 20px;
                font-size: 14px;
            }
            
            .ec-tab-product-grid {
                gap: 15px;
            }
            .ec-product-thumbnail{
                width: 26px;
                height: 26px;
            }
        }

        @media (max-width: 576px) {
            .ec-hero-slider {
                height: 50vh;
            }
            
            .ec-hero-content {
                left: 0;
                transform: translate(-50%, -50%);
                width: 90%;
                max-width: 100%;
            }
            
            .ec-hero-content h1 {
                font-size: 1.8rem;
            }
            
            .ec-hero-content p {
                font-size: 0.9rem;
                margin-bottom: 20px;
            }
            
            .ec-hero-btn {
                padding: 12px 25px;
                font-size: 14px;
            }
            
            .ec-product-tabs {
                flex-wrap: wrap;
                margin-bottom: 10px;
            }
            
            .ec-tab-btn {
                flex: 1;
                padding: 10px 10px;
            }
            
            .ec-tab-product-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .ec-mobile-sidebar {
                width: 70%;
                left: -100%;
            }
            
            .ec-mobile-search-sidebar {
                width: 100%;
                right: -100%;
            }
            
            .ec-product-grid {
                grid-template-columns: repeat(2,1fr);
            }
            
            .ec-mobile-footer-item span {
                font-size: 10px;
            }
            
            .ec-hero-slider {
                height: 45vh;
            }
            
            .ec-hero-content h1 {
                font-size: 1.5rem;
            }
            
            .ec-hero-content p {
                font-size: 0.85rem;
            }
            
            .ec-tab-product-grid {

                max-width: 300px;
                margin: 0 auto;
            }
        }

.mar_noti_wrap {
    width: 100%;
    overflow: hidden;
    line-height: 1;
    background: #fff;
    padding: 0 5px;
}

.mar_noti_track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;

    padding-left: 100vw; /* start from right outside */
    animation: mar_noti_scroll 18s linear infinite;
    will-change: transform;
}

.mar_noti_wrap:hover .mar_noti_track {
    animation-play-state: paused;
}

.mar_noti_item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(14px, 2vw, 18px);
    color: var(--em-color__dark);
    font-weight: 500;
    padding: 5px;
}

.mar_noti_icon {
    font-size: 1.1em;
    color: #ffb300;
    animation: mar_noti_flash 1.8s infinite ease-in-out;
}

/* subtle premium glow */
@keyframes mar_noti_flash {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes mar_noti_scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


.mar_noti_track {
    animation-duration: 40s; /* slower */
}

/* category section start  */
/* Container */
    .cate_container{
      width:100%;
      max-width:1400px;
      margin:0 auto;
    }

    .cate_header{ text-align:center;margin-bottom:48px }
    .cate_title{
      display:inline-block;
      font-size:2rem;
      color:var(--text);
      position:relative;
      padding-bottom:12px;
      opacity:0;
      transform:translateY(-12px);
      animation: ctFade 700ms ease forwards;
    }
    .cate_title::after{
      content:"";
      position:absolute;
      left:50%;
      transform:translateX(-50%);
      bottom:0;
      width:90px;
      height:4px;
      border-radius:3px;
      background:linear-gradient(90deg,var(--accent-1),var(--accent-2));
    }

    /* Grid */
    .cate_grid{
      display:grid;
      grid-template-columns:repeat(5,1fr);
      gap:28px;
      align-items:stretch;
      opacity:0;
      animation: gridFade 900ms ease 200ms forwards;
    }

    /* Card base */
    .cate_item{
      background:var(--card-bg);
      border-radius:var(--card-radius);
      overflow:hidden;
      position:relative;
      height:380px;
      box-shadow:var(--cate_shadow);
      transition: transform var(--cate_transition), box-shadow var(--cate_transition);
      transform-origin:center;
      cursor:pointer;
      outline: none;
      will-change: transform;
      border: 1px solid rgba(15,23,42,0.03);
    }

    /* focus accessible */
    .cate_item:focus{
      box-shadow: 0 18px 50px rgba(15,23,42,0.12);
      transform: translateY(-10px) scale(1.01);
    }

    /* Image */
    .cate_image_container{position:relative;width:100%;height:100%;}
    .cate_image{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      transition: transform 900ms cubic-bezier(.2,.9,.25,1), filter 700ms ease;
      transform-origin:center;
      backface-visibility:hidden;
    }

    /* Slight parallax / zoom on hover */
    .cate_item:hover .cate_image,
    .cate_item:focus .cate_image{
      transform:scale(1.08) translateY(-3px);
      filter: saturate(1.04) contrast(1.02);
    }

    /* Glassy caption centered at bottom (exact centered) */
    .cate_text_container{
      position:absolute;
      left:50%;
      transform:translateX(-50%);
      bottom:18px;
      z-index:4;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:10px 16px;
      border-radius:10px;
      background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.35));
      box-shadow: 0 6px 20px rgba(14,20,30,0.06);
      backdrop-filter: blur(6px);
      transition: background var(--cate_transition), transform var(--cate_transition), box-shadow var(--cate_transition);
      max-width: calc(100% - 40px);
      pointer-events: none; /* to allow clicks to pass to the card; size controls are not inside */
    }

    /* When card hovered, make caption darker & scale up slightly */
    .cate_item:hover .cate_text_container,
    .cate_item:focus .cate_text_container{
      background: linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.58));
      transform: translateX(-50%) translateY(-4px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    }

    /* Category name (single line + ellipsis) */
    .cate_name{
      color:var(--text);
      font-weight:600;
      font-size:1.12rem;
      display:block;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      max-width: 260px;            /* ensures ellipsis on longer names */
      pointer-events: none;        /* ensure caption doesn't swallow clicks */
      transition: color var(--cate_transition);
      display:flex;
      align-items:center;
      gap:10px;
      justify-content:center;
    }

    /* On hover the text becomes white */
    .cate_item:hover .cate_name,
    .cate_item:focus .cate_name{
      color: #fff;
    }

    /* Arrow / icon on the right */
    .cate_arrow{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      color:var(--accent-1);
      font-size:0.92rem;
      opacity:0;
      transform:translateX(-6px);
      transition: opacity 260ms ease, transform 260ms ease;
    }

    .cate_item:hover .cate_arrow,
    .cate_item:focus .cate_arrow{
      opacity:1;
      transform:translateX(0);
      color: #ffffff;
    }

    /* Slight glossy top overlay */
    .cate_item::before{
      content:"";
      position:absolute;
      left:0;right:0;top:0;
      height:40%;
      background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
      pointer-events:none;
      transition: opacity 400ms ease;
    }

    /* subtle shine animation on hover */
    .cate_item:hover::after,
    .cate_item:focus::after{
      content:"";
      position:absolute;
      left:-30%;
      top:-40%;
      width:30%;
      height:140%;
      background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.25), rgba(255,255,255,0.0));
      transform: rotate(20deg);
      animation: shine 900ms linear 1;
      pointer-events:none;
    }

    @keyframes shine{
      0%{ left:-30% }
      100%{ left:130% }
    }

    /* Entrance animations */
    @keyframes ctFade { from{ opacity:0; transform:translateY(-12px)} to{opacity:1; transform:none} }
    @keyframes gridFade { from{opacity:0} to{opacity:1} }

    @keyframes itemIn {
      0%{ opacity:0; transform: translateY(18px) scale(.985) }
      60%{ opacity:1; transform: translateY(-6px) scale(1.005) }
      100%{ opacity:1; transform: translateY(0) scale(1) }
    }

    /* small responsive tweaks */
    @media (max-width:1200px){ .cate_grid{ grid-template-columns:repeat(4,1fr) } .cate_item{ height:360px } }
    @media (max-width:992px){ .cate_grid{ grid-template-columns:repeat(3,1fr) } .cate_item{ height:340px } }
    @media (max-width:768px){
      .cate_grid{ grid-template-columns:repeat(2,1fr); gap:20px }
      .cate_item{ height:320px }
      .cate_text_container{ bottom:14px }
    }
    @media (max-width:480px){
      .cate_grid{ grid-template-columns:repeat(2,1fr); gap:14px }
      .cate_item{ height:280px }
      .cate_name{ max-width:160px; font-size:1rem }
    }
    @media (max-width:360px){
      .cate_grid{ grid-template-columns:1fr }
      .cate_item{ height:300px }
    }

    /* prefers-reduced-motion safety */
    @media (prefers-reduced-motion: reduce){
      .cate_image,
      .cate_item,
      .cate_text_container,
      .cate_item::after { transition: none !important; animation: none !important; }
    }
/* category section end */

/* Footer start  */
.premium-footer {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--border-color);
    position: relative;
    color: var(--text-dark);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

.footer-col { flex: 1; }

/* Brand Section */
.footer-logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    cursor: default;
}

.address, .contact-item {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-item a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

.get-direction {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1.5px solid #000;
    margin: 20px 0;
    padding-bottom: 2px;
    transition: var(--transition);
}

.get-direction:hover { border-bottom-color: transparent; opacity: 0.7; }

/* Social Links Hover */
.social-links { display: flex; gap: 10px; margin-top: 10px; }

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-3px);
}

/* Links Hover Effects */
.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: capitalize;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 15px; }

.footer-links li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    position: relative;
    transition: var(--transition);
}

.footer-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #000;
    transition: var(--transition);
}

.footer-links li a:hover { color: #000; }
.footer-links li a:hover::after { width: 100%; }

/* Newsletter Styling */
.newsletter { flex: 1.4; }
.newsletter p { font-size: 14px; color: var(--text-main); margin-bottom: 20px; line-height: 1.6; }

.subscribe-form { display: flex; flex-direction: column; gap: 12px; }

.subscribe-form input {
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
}

.subscribe-form input:focus { border-color: #000; outline: none; }

.subscribe-form button {
    background: #000;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button:hover { background: #333; letter-spacing: 2px; }

/* Footer Bottom */
.footer-divider { border: 0; border-top: 1px solid var(--border-color); margin: 60px 0 30px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.copyright { font-size: 13px; color: #888; }
.payment-methods img { height: 24px; filter: grayscale(1); transition: 0.3s; margin-left: 10px; }
.payment-methods img:hover { filter: grayscale(0); transform: scale(1.1); }

.mobile-toggle { display: none; }

/* Scroll Top */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #000;
    cursor: pointer;
    display: none;
    transition: 0.3s;
    z-index: 100;
}

.scroll-top:hover { background: #000; color: #fff; }

/* Responsive Accordion Styles */
@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 0; }
    .footer-col { border-bottom: 1px solid var(--border-color); padding: 15px 0; }
    .brand-info { border-bottom: none; }
    
    .footer-heading {
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }
    
    .mobile-toggle { display: block; font-size: 14px; transition: transform 0.3s; }
    
    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }
    
    .active .accordion-content { max-height: 300px; margin-top: 15px; }
    .active .mobile-toggle { transform: rotate(45deg); }
    
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
/* Footer end  */

.lo_se_slider_section {
    padding: 30px 0;
    background-color: #ffffff;
    font-family: var(--lo-se-font);
    max-width: 1400px;
    margin: 0 auto;
}

.lo_se_header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.lo_se_title {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.lo_se_subtitle {
    font-size: 15px;
    color: var(--lo-se-gray);
}

/* Swiper Container */
.lo_se_swiper_container {
    width: 100%;
    position: relative;
    padding-bottom: 60px; /* Space for pagination */
}

.lo_se_image_wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    cursor: grab;
}

.lo_se_image_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--lo-se-ease);
}

/* Premium Hover Zoom */
.lo_se_image_wrapper:hover img {
    transform: scale(1.08);
}

/* Custom Pagination on Left Bottom */
.lo_se_pagination.swiper-pagination-bullets {
    text-align: left !important;
    left: 40px !important;
    bottom: 10px !important;
    width: auto !important;
}

/* Hide pagination if empty/single slide (Handled by Swiper, but added safety) */
.swiper-pagination-lock {
    display: none !important;
}

/* Pagination Bullet Style */
.lo_se_pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #000;
    opacity: 0.2;
    margin: 0 6px !important;
    border-radius: 0; /* Square/Rectangle looks more premium */
    transition: all 0.4s var(--lo-se-ease);
}

/* Active Bullet (Long Bar Effect) */
.lo_se_pagination .swiper-pagination-bullet-active {
    width: 30px;
    opacity: 1;
    background: #000;
    border-radius: 4px;
}

/* Spotlight/Hotspot */
.lo_se_spotlight {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.lo_se_spotlight::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    border: 1px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: lo_se_ripple 2s infinite;
}

@keyframes lo_se_ripple {
    0% { width: 100%; height: 100%; opacity: 1; }
    100% { width: 300%; height: 300%; opacity: 0; }
}

@media (max-width: 1024px) {
    .lo_se_image_wrapper { height: 550px; }
    .lo_se_pagination.swiper-pagination-bullets { left: 20px !important; }
}


/* review section start  */
.re_se_section {
            padding: 100px 0;
            overflow: hidden;
        }

        .re_se_container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 40px;
            position: relative;
        }

        /* Header Style */
        .re_se_header {
            text-align: center;
            margin-bottom: 60px;
        }

        .re_se_title {
            font-size: 42px;
            font-weight: 600;
            color: var(--re-se-text-main);
            margin: 0 0 10px 0;
            letter-spacing: -0.5px;
        }

        .re_se_subtitle {
            font-size: 16px;
            color: var(--re-se-text-muted);
            font-weight: 400;
        }

        /* Card Style */
        .re_se_card {
            background: #fff;
            border: 1px solid var(--re-se-card-border);
            border-radius: 12px;
            padding: 40px;
            height: auto;
            display: flex;
            flex-direction: column;
            transition: var(--re-se-transition);
            box-sizing: border-box;
            cursor: default;
        }

        .re_se_card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.06);
            border-color: transparent;
        }

        .re_se_stars {
            color: var(--re-se-primary);
            margin-bottom: 20px;
            font-size: 13px;
            letter-spacing: 2px;
        }

        .re_se_review_title {
            font-size: 20px;
            font-weight: 600;
            color: var(--re-se-text-main);
            margin-bottom: 15px;
        }

        .re_se_text {
            font-size: 15px;
            line-height: 1.7;
            color: var(--re-se-text-muted);
            margin-bottom: 30px;
            flex-grow: 1;
        }

        .re_se_user_info strong {
            display: block;
            font-size: 15px;
            color: var(--re-se-text-main);
            margin-bottom: 4px;
        }

        .re_se_user_info span {
            font-size: 13px;
            color: #999;
        }

        /* Product Box Section */
        .re_se_product_link {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px solid #f1f1f1;
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
            color: inherit;
        }

        .re_se_product_link img {
            width: 55px;
            height: 70px;
            object-fit: cover;
            border-radius: 6px;
            background: #f9f9f9;
        }

        .re_se_prod_details {
            flex-grow: 1;
        }

        .re_se_p_name {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: var(--re-se-text-main);
            margin-bottom: 4px;
        }

        .re_se_p_price {
            font-size: 14px;
            font-weight: 600;
            color: var(--re-se-primary);
        }

        .re_se_p_price del {
            color: #bbb;
            font-weight: 400;
            margin-right: 8px;
        }

        /* Button Hover Effect */
        .re_se_arrow_btn {
            width: 38px;
            height: 38px;
            border: 1px solid #e0e0e0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            transition: var(--re-se-transition);
            background: #fff;
        }

        .re_se_card:hover .re_se_arrow_btn {
            background: var(--re-se-text-main);
            color: #fff;
            border-color: var(--re-se-text-main);
            transform: rotate(-45deg); /* Points up-right like the image */
        }

        /* Swiper Navigation Customization */
        .re_se_nav {
            position: absolute;
            top: 55%;
            width: 50px;
            height: 50px;
            border: 1px solid #ddd;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff;
            cursor: pointer;
            z-index: 10;
            transition: var(--re-se-transition);
            color: #333;
        }

        .re_se_nav:hover {
            background: var(--re-se-text-main);
            color: #fff;
            border-color: var(--re-se-text-main);
        }

        .re_se_prev { left: -20px; }
        .re_se_next { right: -20px; }

        @media (max-width: 1200px) {
            .re_se_nav { display: none; } /* Hide side arrows on small screens */
            .re_se_container { padding: 0 20px; }
        }
/* review section end */

/* shop gram and feature section start */
 /* --- SECTION 1: SHOP GRAM (sh_gr_) --- */
    .sh_gr_section { padding: 60px 0; text-align: center; background: #fff; }
    .sh_gr_container { max-width: 1300px; margin: 0 auto; padding: 0 20px; position: relative; }
    .sh_gr_title { font-size: 32px; font-weight: 600; margin-bottom: 8px; }
    .sh_gr_subtitle { color: var(--re-se-text-muted); margin-bottom: 40px; font-size: 15px; }

    .sh_gr_swiper { padding-bottom: 50px !important; }
    .sh_gr_img_card { border-radius: 12px; overflow: hidden; position: relative; }
    .sh_gr_img_card img { width: 100%; display: block; transition: transform 0.5s ease; }
    .sh_gr_img_card:hover img { transform: scale(1.1); }

    /* Custom Pagination Styling */
    .sh_gr_pagination.swiper-pagination-bullets { bottom: 0 !important; }
    .sh_gr_pagination .swiper-pagination-bullet { background: #ccc; opacity: 1; margin: 0 6px !important; }
    .sh_gr_pagination .swiper-pagination-bullet-active { 
        background: transparent; border: 2px solid #000; transform: scale(1.3); 
    }

    /* --- SECTION 2: FEATURES (fetu_) --- */
    .fetu_section { padding: 40px 0 80px; background: #fff; }
    .fetu_container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
    
    /* Desktop Grid Layout */
    .fetu_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .fetu_card { 
        border: 1px solid var(--re-se-border-color); border-radius: 12px; 
        padding: 45px 25px; text-align: center; transition: all 0.4s ease;
    }
    .fetu_card:hover { border-color: #000; transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
    .fetu_icon { font-size: 35px; margin-bottom: 20px; color: var(--re-se-text-main); }
    .fetu_card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
    .fetu_card p { font-size: 14px; color: var(--re-se-text-muted); line-height: 1.5; }

    /* Mobile Handling: Hide grid, show swiper */
    .fetu_mobile_wrapper { display: none; }

    @media (max-width: 1024px) {
        .fetu_grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
        .fetu_grid { display: none; }
        .fetu_mobile_wrapper { display: block; padding-bottom: 50px; }
        .sh_gr_title { font-size: 26px; }
    }
/* shop gram and feature section end */

/* prouct details start  */

/* prouct details end */