    :root {
      --primary: #f57224;
      --primary-dark: #d45703;
      --accent: #fe724c;
      --card-bg: #fff;
      --badge-green: #28a745;
      --badge-green-light: #e9f7ec;
      --badge-red: #ff3a5e;
      --bg: #f6f6fa;
      --border: #eee;
      --shadow: 0 6px 32px #f5722420, 0 2px 6px #0001;
      --radius: 18px;
    }
    html, body {
      background: var(--bg);
      font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
      margin: 0;
      color: #1a1a1a;
    }
    /* --- Header, Footer, and other styles are unchanged --- */
    header {
      background: linear-gradient(90deg, #fd7e1a 0%, #ff3a5e 100%);
      color: #fff;
      box-shadow: 0 2px 16px #f5722433;
      border-radius: 0 0 18px 18px;
      position: sticky;
      top: 0;
      z-index: 1000;
      padding-bottom: 6px;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform 0.38s cubic-bezier(.68,-0.6,.32,1.6), opacity 0.3s, backdrop-filter 0.3s, background-color 0.3s;
      backdrop-filter: none;
      background-color: rgba(253,126,26,1);
    }
    header.sticky-blur {
      backdrop-filter: saturate(180%) blur(8px);
      background-color: rgba(253,126,26,0.75);
    }
    header.header-hidden {
      transform: translateY(-120%);
      opacity: 0;
      pointer-events: none;
    }
    .header-main-pro {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 16px 9px 16px;
      width: 100%;
      max-width: 1200px;
      flex-wrap: nowrap;
    }
    .logo-pro {
      font-size: 2.3rem;
      font-weight: 900;
      letter-spacing: -2px;
      color: #fff;
      text-shadow: 0 3px 12px #0002;
      margin-right: 12px;
      flex-shrink: 0;
      cursor: pointer;
    }
    nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-grow: 1;
      justify-content: center;
    }
    .nav-link-pro {
      font-size: 1.05rem;
      padding: 7px 17px;
      color: #fff;
      border-radius: 11px;
      font-weight: 700;
      text-decoration: none;
      background: none;
      transition: background 0.17s, color 0.13s;
      cursor: pointer;
      white-space: nowrap;
    }
    .nav-link-pro.active,
    .nav-link-pro:hover {
      background: rgba(255, 255, 255, 0.837);
      color: #fe724c;
    }
    .lang-currency-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: 12px;
      flex-shrink: 0;
    }
    .lang-currency-switcher {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.884);
      color: #fe724c;
      border-radius: 9px;
      padding: 3px 0;
      font-size: 0.93rem;
      font-weight: 600;
      flex-wrap: nowrap;
      cursor: default;
    }
    .dropdown {
      position: relative;
    }
    .dropdown-toggle {
      background: none;
      border: none;
      font-size: 0.98em;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 5px;
      cursor: pointer;
      color: #fe724c;
      border-radius: 7px;
      padding: 3px 10px;
      transition: background 0.12s;
      user-select: none;
    }
    .dropdown-toggle:hover {
      background: #fff2;
    }
    .dropdown-menu {
      position: absolute;
      top: 110%;
      left: 0;
      min-width: 124px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 24px #fe724c26;
      z-index: 50;
      display: none;
      margin-top: 2px;
      padding: 5px 0;
    }
    .dropdown.open .dropdown-menu {
      display: block;
    }
    .dropdown-item {
      padding: 8px 17px;
      cursor: pointer;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 7px;
      color: #fe724c;
      transition: background 0.12s, color 0.13s;
      border-radius: 7px;
      white-space: nowrap;
    }
    .dropdown-item:hover {
      background: #ffe4d1;
      color: #d45703;
    }
    .flag {
      font-size: 1.08em;
    }
    .cart-btn {
      background: #fff3;
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 8px 19px 8px 11px;
      font-size: 1.1rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 7px;
      cursor: pointer;
      box-shadow: 0 2px 8px #f5722422;
      transition: background 0.13s;
    }
    .cart-btn:hover {
      background: #fff5;
      color: var(--primary-dark);
    }
    .cart-icon-badge {
      background: #fff;
      color: var(--primary);
      border-radius: 50%;
      font-size: 0.91em;
      padding: 2px 8px;
      font-weight: bold;
      margin-left: 3px;
      position: relative;
      top: -5px;
      transition: all 0.2s;
    }
    .cart-btn.animated {
      animation: cart-bounce 0.43s cubic-bezier(.68, -0.6, .32, 1.6);
    }
    @keyframes cart-bounce {
      0% {
        transform: scale(1);
      }
      22% {
        transform: scale(1.18) rotate(-6deg);
      }
      60% {
        transform: scale(0.95) rotate(2deg);
      }
      85% {
        transform: scale(1.07);
      }
      100% {
        transform: scale(1);
      }
    }
    .cart-icon-badge.animated {
      animation: badge-pop 0.36s cubic-bezier(.43, 2.1, .5, 1);
    }
    @keyframes badge-pop {
      0% {
        transform: scale(1);
      }
      30% {
        transform: scale(1.4);
      }
      100% {
        transform: scale(1);
      }
    }
/* ADD THIS NEW BANNER CSS */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    overflow: hidden;
}

#hero-slider {
    position: relative;
    width: 100%;
    height: 400px; /* You can adjust this height */
    overflow: hidden;
    border-radius: 8px;
    background-color: #e0e0e0; /* A fallback background color */
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}
    .search-bar-modern {
      position: relative;
      z-index: 9;
      display: flex;
      align-items: center;
      background: #fff;
      border-radius: 24px;
      padding: 2px 10px;
      box-shadow: 0 2px 12px #0001;
      margin: 12px auto 16px auto;
      max-width: 600px;
      top: 0;
      transition: top 0.3s ease;
    }
    .search-bar-modern.sticky-search {
      position: fixed;
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
      max-width: 580px;
      box-shadow: 0 4px 24px rgba(255, 114, 76, 0.6);
      animation: popIn 0.3s forwards;
      z-index: 1050;
    }
    @keyframes popIn {
      from {
        opacity: 0;
        transform: translateX(-50%) translateY(-15px);
      }
      to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }
    }
    .category-dropdown {
      border: none;
      background: none;
      font-weight: bold;
      color: #f57224;
      font-size: 1.1em;
      margin-right: 10px;
      border-radius: 14px;
      padding: 9px 12px;
      background: #fff7f5;
      box-shadow: 0 2px 8px #f5722422;
    }
    .search-bar-modern input[type="text"] {
      flex: 1;
      border: none;
      outline: none;
      font-size: 1.13em;
      padding: 10px 12px;
      background: transparent;
      color: #333;
    }
    .search-btn-modern {
      background: #f57224;
      color: #fff;
      border: none;
      border-radius: 25px;
      padding: 8px 26px;
      font-size: 1.12em;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.15s;
      margin-left: 8px;
    }
    .search-btn-modern:hover {
      background: #d45703;
    }
    .search-suggestions {
      position: absolute;
      top: 110%;
      left: 0;
      right: 0;
      background: #fff;
      border-radius: 0 0 24px 24px;
      box-shadow: 0 6px 24px #f5722414;
      z-index: 99;
      max-height: 260px;
      overflow-y: auto;
      border-top: 1px solid #f5722433;
      font-size: 1.08rem;
      padding-top: 6px;
      padding-bottom: 4px;
      display: none;
      animation: fadein 0.22s;
    }
    @keyframes fadein {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .suggestion-item {
      padding: 13px 22px;
      cursor: pointer;
      color: #222;
      border-radius: 7px;
      font-weight: 600;
      transition: background 0.13s, color 0.12s;
    }
    .suggestion-item b {
      color: #fe724c;
    }
    .suggestion-item:hover {
      background: #ffe4d1;
      color: #d45703;
    }
    .main-section {
      background: #fff;
      margin: 30px auto 36px auto;
      padding: 30px 12px 38px 12px;
      border-radius: var(--radius);
      max-width: 1200px;
      box-shadow: var(--shadow);
    }
    .section-title {
      font-size: 1.32rem;
      font-weight: 900;
      margin: 0 0 18px 7px;
      color: #ff3a5e;
    }
    
    /* === START: NEW ANIMATED & STYLED PRODUCT CARDS === */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
    }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes card-glow {
        from {
            box-shadow: 0 4px 15px rgba(0,0,0,0.06), 0 0 5px rgba(245, 114, 36, 0.1);
        }
        to {
            box-shadow: 0 8px 25px rgba(0,0,0,0.08), 0 0 20px rgba(245, 114, 36, 0.4);
        }
    }
    .product-card {
        background-color: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
        border: 1px solid #eee;
        overflow: hidden;
        position: relative;
        opacity: 0; /* Start hidden for entrance animation */
        animation: fadeInUp 0.6s ease-out forwards;
        transition: transform 0.3s ease;
    }
    /* Apply translateY on hover for all devices capable of hover (desktop) */
    .product-card:hover {
        transform: translateY(-8px);
    }
    /* Apply card-glow animation only on devices that support hovering */
    @media (hover: hover) {
        .product-card:hover {
            animation: fadeInUp 0.6s ease-out forwards, card-glow 1.2s infinite alternate;
        }
    }

    .card-image-container {
        height: 240px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fafafa;
        padding: 20px;
        box-sizing: border-box;
        transition: transform 0.4s ease;
    }
    .card-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    .product-card:hover .card-image-container {
        transform: scale(1.05);
    }
    .card-content-wrapper {
        padding: 20px;
    }
    .product-card .product-name {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1.4;
        min-height: 46px; /* For 2 lines of text */
        margin: 0 0 10px 0;
    }
    .product-card .product-price {
        font-size: 1.4rem;
        font-weight: 900;
        color: var(--primary);
        margin-bottom: 15px;
    }
    .card-buttons {
        display: flex;
        gap: 10px;
    }
    @keyframes shimmer-effect {
        0% { transform: translateX(-150%) skewX(-25deg); }
        100% { transform: translateX(150%) skewX(-25deg); }
    }
    .card-btn {
        border: none;
        border-radius: 8px;
        padding: 12px;
        font-size: 1rem;
        font-weight: 700;
        width: 100%;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: background-color 0.2s;
    }
    .card-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
        animation: shimmer-effect 2.5s infinite linear;
    }
    .card-btn.add-to-cart {
        background-color: var(--primary-dark);
        color: #fff;
    }
    .card-btn.buy-now {
        background-color: #eee;
        color: var(--primary-dark);
    }
    .card-btn.add-to-cart:hover { background-color: var(--accent); }
    .card-btn.buy-now:hover { background-color: var(--primary-dark); color: #fff; }

    /* Badges & Tags */
    .badge-hot {
        position: absolute;
        top: 10px;
        left: -10px;
        background: linear-gradient(45deg, var(--badge-red), var(--accent));
        color: #fff;
        padding: 6px 12px 6px 20px;
        font-size: 0.85rem;
        font-weight: 900;
        border-radius: 0 20px 20px 0;
        box-shadow: 0 2px 8px rgba(255, 58, 94, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        z-index: 2;
    }
    .tag-delivery {
        display: inline-block;
        background-color: var(--badge-green-light);
        color: var(--badge-green);
        padding: 4px 10px;
        font-size: 0.8rem;
        font-weight: 700;
        border-radius: 20px;
        margin-bottom: 12px;
    }
    
    /* Mobile adjustments for new card styles */
    @media (max-width: 650px) {
        .product-grid {
            gap: 15px;
            grid-template-columns: 1fr 1fr;
        }
        .card-image-container {
            height: 150px;
        }
        .card-content-wrapper {
            padding: 12px;
        }
        .product-card .product-name {
            font-size: 0.9rem;
            min-height: 40px;
        }
        .product-card .product-price {
            font-size: 1.2rem;
        }
        /* Adjusted button styles for mobile */
        .product-card .card-buttons {
            flex-direction: column; /* Stack buttons vertically */
            gap: 8px; /* Reduced gap */
        }
        .product-card .card-btn {
            padding: 8px 10px; /* Reduced padding */
            font-size: 0.9rem; /* Reduced font size */
        }
        .product-card:active {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
    }
    /* === END: NEW ANIMATED & STYLED PRODUCT CARDS === */
    
    .flying-image {
        position: fixed;
        z-index: 9999;
        border-radius: 10px;
        transition: all 0.7s cubic-bezier(0.5, 0, 0.9, 0.5); /* Ease-in curve */
    }


    .mini-cart-overlay {
      position: fixed;
      z-index: 2100;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      background: #1a1a1a80;
      display: none;
      animation: fadein 0.22s;
    }
    .mini-cart-overlay.active {
      display: block;
    }
    .mini-cart-drawer {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.8);
      width: 390px;
      max-width: 95vw;
      max-height: 80vh;
      background: #fff;
      box-shadow: 0 4px 28px #fe724c33;
      z-index: 2200;
      border-radius: 18px;
      display: flex;
      flex-direction: column;
      transition: transform 0.35s cubic-bezier(0.5, 1.1, 0.5, 1);
      opacity: 0;
      pointer-events: none;
    }
    .mini-cart-drawer.active {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, -50%) scale(1);
      animation: popupScale 0.35s cubic-bezier(0.5, 1.1, 0.5, 1) forwards;
    }
    @keyframes popupScale {
      0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0;
      }
      100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
      }
    }
    .mini-cart-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 23px 26px 8px 23px;
      border-bottom: 1.6px solid #fee0d1;
      font-size: 1.17em;
      font-weight: 900;
      background: #fff;
      border-radius: 18px 18px 0 0;
    }
    .mini-cart-close {
      cursor: pointer;
      font-size: 2em;
      color: #fd7e1a;
      font-weight: 900;
      transition: color 0.15s;
      background: none;
      border: none;
      line-height: 1;
      padding: 0;
    }
    .mini-cart-close:hover {
      color: #ff3a5e;
    }
    .mini-cart-items {
      flex: 1;
      overflow-y: auto;
      padding: 19px 20px 0 20px;
      max-height: calc(80vh - 134px);
    }
    .mini-cart-item {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 18px;
      border-radius: 9px;
      background: #fffa;
      box-shadow: 0 2px 12px #fd7e1a12;
      padding: 10px 8px 10px 8px;
      position: relative;
      animation: cartItemPop 0.44s cubic-bezier(0.49, 2.3, 0.48, 1);
    }
    @keyframes cartItemPop {
      0% {
        opacity: 0;
        transform: translateX(24px) scale(0.94);
      }
      76% {
        opacity: 1;
        transform: scale(1.06);
      }
      100% {
        opacity: 1;
        transform: translateX(0) scale(1);
      }
    }
    .mini-cart-item-img {
      width: 44px;
      height: 44px;
      object-fit: contain;
      border-radius: 7px;
      border: 1.5px solid #fee0d1;
      background: #fff;
    }
    .mini-cart-item-details {
      flex: 1;
      min-width: 0;
    }
    .mini-cart-item-title {
      font-weight: 900;
      color: #fe724c;
      font-size: 1.02em;
      margin-bottom: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .mini-cart-item-qty {
      font-size: 0.96em;
      color: #888;
      margin-bottom: 1px;
    }
    .mini-cart-item-price {
      font-weight: 700;
      color: #fd7e1a;
      font-size: 1.07em;
    }
    .mini-cart-item-remove {
      cursor: pointer;
      color: #ff3a5e;
      font-size: 1.24em;
      font-weight: 900;
      margin-left: 7px;
      transition: color 0.12s;
    }
    .mini-cart-item-remove:hover {
      color: #1a1a1a;
    }
    .mini-cart-footer {
      border-top: 1.7px solid #fee0d1;
      background: #fff7f5;
      padding: 19px 23px;
      text-align: right;
      border-radius: 0 0 18px 18px;
    }
    .mini-cart-total {
      font-weight: 900;
      color: #fd7e1a;
      font-size: 1.15em;
      margin-bottom: 13px;
    }
    .mini-cart-checkout {
      background: linear-gradient(90deg, #fe724c, #fd7e1a);
      color: #fff;
      padding: 11px 29px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 900;
      font-size: 1.08em;
      transition: background 0.18s;
      box-shadow: 0 2px 12px #fd7e1a12;
    }
    .mini-cart-checkout:hover {
      background: #fff;
      color: #fd7e1a;
      border: 2px solid #fe724c;
      box-shadow: 0 4px 20px #fd7e1a26;
    }
    .site-footer {
        background: #fff;
        color: #4a4a4a;
        padding: 50px 20px;
        margin-top: 40px;
        border-top: 4px solid var(--primary);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    }
    .footer-grid {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 40px;
    }
    .footer-col h3 {
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--primary-dark);
        margin-bottom: 15px;
        position: relative;
        padding-bottom: 8px;
    }
    .footer-col h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background: var(--accent);
        border-radius: 2px;
    }
    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-col ul li {
        margin-bottom: 10px;
    }
    .footer-col ul a {
        color: #555;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.2s;
    }
    .footer-col ul a:hover {
        color: var(--primary);
    }
    .footer-col .footer-contact a {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .newsletter-form {
        display: flex;
        margin-top: 10px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .newsletter-form input {
        flex-grow: 1;
        border: 1px solid #ddd;
        border-right: none;
        padding: 12px 15px;
        font-size: 1rem;
        outline: none;
    }
    .newsletter-form button {
        background: var(--primary);
        color: white;
        border: none;
        padding: 0 20px;
        font-weight: 700;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    .newsletter-form button:hover {
        background: var(--primary-dark);
    }
    .social-links {
        display: flex;
        gap: 15px;
        margin-top: 15px;
    }
    .social-links a {
        color: var(--primary);
        font-size: 1.5rem;
        transition: transform 0.2s, color 0.2s;
    }
    .social-links a:hover {
        color: var(--accent);
        transform: scale(1.1);
    }
    .footer-bottom {
        max-width: 1200px;
        margin: 40px auto 0 auto;
        padding-top: 20px;
        border-top: 1px solid #eee;
        text-align: center;
        font-weight: 700;
        color: #999;
    }
    @media (max-width: 650px) {
      .dw-bottom-nav {
        position: fixed;
        z-index: 9999; /* Increased z-index */
        left: 0;
        right: 0;
        bottom: 0;
        height: 56px;
        background: #fff;
        border-top: 1.5px solid #f2e2d6;
        box-shadow: 0 -2px 12px #f5722413;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0;
        font-family: 'Nunito Sans', Arial, sans-serif;
      }
      .dw-bottom-nav a,
      .dw-bottom-nav button {
        flex: 1 1 auto;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 0.96em;
        font-weight: 700;
        color: #fd7e1a;
        text-decoration: none;
        background: none;
        border: none;
        padding: 0;
        border-radius: 0;
        transition: background 0.13s, color 0.14s;
        cursor: pointer;
        outline: none;
        position: relative;
      }
      .dw-bottom-nav .dw-nav-active {
        color: #fe724c;
      }
      .dw-bottom-nav .dw-nav-cart {
        color: #fff !important;
        background: linear-gradient(90deg, #fd7e1a 0%, #ff3a5e 100%);
        border-radius: 19px;
        height: 38px;
        width: 38px;
        align-items: center;
        justify-content: center;
        margin-top: -16px;
        margin-bottom: 3px;
        box-shadow: 0 2px 8px #fd7e1a14;
        display: flex;
      }
      .dw-bottom-nav .dw-nav-cart .cart-icon-badge {
        position: absolute;
        top: -5px;
        right: -7px;
        background: #fff;
        color: #fd7e1a;
        font-size: 0.8em;
        padding: 2px 6px;
        border-radius: 8px;
        font-weight: 900;
        min-width: 18px;
        text-align: center;
        box-shadow: 0 1.5px 6px #fd7e1a22;
      }
      .lang-currency-wrap {
        display: none !important;
      }
      body {
        padding-bottom: 65px !important;
      }
    }
    #dwBackToTop {
      display: none;
      position: fixed;
      right: 17px;
      bottom: 70px;
      z-index: 9998; /* Increased z-index */
      background: #fe724c;
      color: #fff;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      font-size: 1.43em;
      box-shadow: 0 2px 8px #fd7e1a33;
      border: none;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      outline: none;
      transition: opacity 0.18s;
    }
    @media (max-width: 650px) {
      #dwBackToTop {
        display: flex;
      }
    }
    @media (max-width: 900px) {
      .main-section,
      .banner-slider {
        max-width: 100%;
      }
      .header-main-pro {
        flex-direction: column;
        gap: 7px;
        padding: 10px 2vw 6px 2vw;
        align-items: flex-start;
      }
      nav {
        gap: 3px;
      }
      .lang-currency-wrap {
        margin-right: 0;
      }
      .cart-btn {
        margin-left: 0;
      }
    }
    @media (max-width: 650px) {
      .mini-cart-drawer {
        width: 99vw;
        min-width: 0;
        border-radius: 14px 14px 0 0;
      }
      .banner-slider,
      .banner-slide img {
        height: 110px !important;
      }
      .main-section {
        margin: 16px 0 18px 0;
        padding: 18px 2vw 18px 2vw;
      }
    }
    @media (max-width: 480px) {
      .header-main-pro {
        padding: 6px 0 3px 0;
      }
      .lang-currency-switcher {
        flex-direction: column;
        gap: 5px;
        padding: 7px 0;
      }
      .banner-slider,
      .banner-slide img {
        height: 65px !important;
      }
    }
@media (max-width: 650px) {
  .lang-currency-wrap .cart-btn {
    display: none !important;
  }
  header {
    margin-bottom: 10px;
  }
  .dw-bottom-nav .dw-nav-cart {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .search-bar-modern {
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 10px 15px 15px 15px !important;
    padding: 15px !important;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 16px #fd7e1aaa;
  }
  .search-bar-modern select.category-dropdown {
    display: none; 
  }
  .search-bar-modern input[type="text"] {
    border: 2px solid #fd7e1a;
    border-radius: 20px;
    padding: 12px 20px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .search-btn-modern {
    background: linear-gradient(90deg, #fd7e1a 0%, #ff3a5e 100%);
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 14px 0;
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 4px 14px #fd7e1aaa;
    transition: background 0.25s;
  }
  .search-btn-modern:hover {
    background: linear-gradient(90deg, #ff3a5e 0%, #fd7e1a 100%);
  }
}
@media (max-width: 650px) {
  .search-bar-modern {
    max-width: 100%;
    width: 90vw; 
    margin: 0 auto 12px auto;
    padding: 10px 16px; 
    box-sizing: border-box;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(255, 114, 76, 0.6);
  }
  .search-bar-modern input[type="text"] {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px 18px;
    border-radius: 28px;
    border: 2px solid #fd7e1a;
    outline: none;
    box-sizing: border-box;
  }
  .search-btn-modern {
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 28px;
    margin-left: 10px;
  }
}
.cart-btn.animated {
  animation: cart-bounce 0.43s cubic-bezier(.68,-0.6,.32,1.6);
}
.cart-icon-badge.animated {
  animation: badge-pop 0.36s cubic-bezier(.43,2.1,.5,1);
}
.header-mobile { display: none; }
.ali-header {
  display: none;
}
@media (max-width: 768px) {
  .ali-header {
    display: block;
  }
}
@media (max-width: 650px) {
  .header-desktop,
  .search-bar-modern {
    display: none;
  }
  .header-mobile {
    display: flex;
    flex-direction: column;
    background: var(--primary);
    padding: 12px 16px;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-switcher-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.9);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
  }
  .mobile-switcher-btn:hover {
    background: #fff;
  }
  .mobile-search-wrapper {
    display: flex;
    margin-top: 10px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 999px;
    overflow: hidden;
  }
  .mobile-search-wrapper input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 1rem;
    outline: none;
  }
  .mobile-search-btn {
    background: #fff;
    border: none;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}
#mobileAccountLink {
  display: none;
}
@media (max-width: 650px) {
  #mobileAccountLink {
    display: inline-block;
  }
  #accountLink {
    display: none;
  }
}
#accountLink,
#mobileAccountLink {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
  user-select: none;
}
#accountLink:hover,
#mobileAccountLink:hover,
#accountLink:focus,
#mobileAccountLink:focus {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
  outline: none;
}
#mobileAccountLink {
  display: none;
}
@media (max-width: 650px) {
  #mobileAccountLink {
    display: inline-flex;
  }
  #accountLink {
    display: none;
  }
}
.auth-btn,
.account-btn {
  background: #fff3;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 19px 8px 11px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px #f5722422;
  transition: background 0.13s, color 0.13s;
  user-select: none;
}
.auth-btn:hover,
.account-btn:hover {
  background: #fff5;
  color: var(--primary-dark);
}
.auth-btn svg,
.account-btn svg {
  stroke: #fff;
}
.nav-link-pro {
  background: #fff3;
  color: #fff;
  border-radius: 50px;
  padding: 8px 19px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
  user-select: none;
}
.nav-link-pro:hover,
.nav-link-pro.active {
  background: #fff5;
  color: var(--primary-dark);
}
.lang-currency-switcher .dropdown-toggle {
  background: rgba(255 255 255 / 0.55);
  color: #fe724c;
  border: none;
  border-radius: 9px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
  min-width: 80px;
}
.lang-currency-switcher .dropdown-toggle:hover,
.lang-currency-switcher .dropdown-toggle:focus {
  background: rgba(255 255 255 / 0.8);
  color: #d45703;
  outline: none;
}
.lang-currency-switcher .dropdown-toggle svg {
  stroke: #fe724c;
  width: 12px;
  height: 7px;
}
.lang-currency-switcher .dropdown-toggle {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
  user-select: none;
  box-shadow: 0 2px 8px #f5722422;
}
.lang-currency-switcher .dropdown-toggle:hover,
.lang-currency-switcher .dropdown-toggle:focus {
  background-color: var(--primary-dark);
  outline: none;
}
.lang-currency-switcher .dropdown-toggle svg {
  stroke: white;
  width: 12px;
  height: 7px;
}
.lang-currency-switcher .dropdown-toggle {
  background: #fff3;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 19px 8px 11px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px #f5722422;
  transition: background 0.13s, color 0.13s;
  user-select: none;
  min-width: 90px;
}
.lang-currency-switcher .dropdown-toggle:hover,
.lang-currency-switcher .dropdown-toggle:focus {
  background: #fff5;
  color: var(--primary-dark);
  outline: none;
}
.lang-currency-switcher .dropdown-toggle svg {
  stroke: #fff;
  width: 12px;
  height: 7px;
}
.lang-currency-switcher .dropdown-toggle {
  background: #fff3 !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 8px 19px 8px 11px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  box-shadow: 0 2px 8px #f5722422 !important;
  transition: background 0.13s, color 0.13s !important;
  user-select: none !important;
}
.lang-currency-switcher .dropdown-toggle {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 19px 8px 11px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px #f5722422;
  transition: background-color 0.13s, color 0.13s;
  user-select: none;
}
.lang-currency-switcher .dropdown-toggle:hover,
.lang-currency-switcher .dropdown-toggle:focus {
  background-color: var(--primary-dark);
  outline: none;
}
.lang-currency-switcher .dropdown-toggle svg {
  stroke: white;
  width: 12px;
  height: 7px;
}
.lang-currency-switcher {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.lang-currency-switcher .dropdown-toggle {
  background: #fff3 !important;
  padding: 8px 14px !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 8px #f5722422 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  border: none !important;
  transition: background 0.13s ease !important;
}
.lang-currency-switcher .dropdown-toggle:hover,
.lang-currency-switcher .dropdown-toggle:focus {
  background: #fff5 !important;
  color: var(--primary-dark) !important;
  outline: none !important;
}
.lang-currency-switcher .dropdown-toggle svg {
  stroke: #fff !important;
  width: 12px !important;
  height: 7px !important;
}
.lang-currency-switcher .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}
.lang-currency-switcher .dropdown-toggle .flag {
  font-size: 1.1em;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}
.account-menu {
 position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(255, 114, 76, 0.3);
  padding: 12px 0;
  min-width: 160px;
  /* Start hidden */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 1500;
  display: flex;
  flex-direction: column;
}
.account-menu a,
.account-menu button {
  padding: 10px 24px;
  font-weight: 700;
  color: #fe724c;
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.account-menu a:hover,
.account-menu button:hover {
  background-color: #fe724c;
  color: white;
  border-radius: 8px; /* Optional: adds a nice touch */
}
@media (max-width: 650px) {
  #accountBtn {
    display: none !important;
  }
}
@media (max-width: 650px) {
  #accountBtn,
  .account-dropdown {
    display: none !important;
  }
}
@media (max-width: 650px) {
  #accountBtn,
  .account-dropdown {
    display: none !important;
  }
  #mobileAccountBtn {
    display: inline-flex !important;
  }
}
@media (max-width: 650px) {
  #accountBtn,
  .account-dropdown {
    display: none !important;
  }
  #mobileAccountBtn {
    display: inline-flex !important;
  }
}
@media (max-width: 768px) {
  #accountBtn {
    display: none !important;
  }
}
.ali-header {
  background: linear-gradient(90deg, #f97316 0%, #ef4444 100%);
  border-radius: 20px 20px 28px 28px;
  margin: 18px auto 0 auto;
  padding: 16px 12px 20px 12px;
  max-width: 430px;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.10);
  position: relative;
}
.ali-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ali-logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.ali-lang-btn {
  background: #fff;
  color: #f97316;
  border: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 14px;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
.ali-lang-btn:hover { background: #ffe0c7; }
.ali-search-row {
  display: flex;
  align-items: center;
  margin-top: 0;
}
.ali-search-input {
  flex: 1;
  border: none;
  border-radius: 22px 0 0 22px;
  padding: 11px 14px 11px 18px;
  font-size: 1.08rem;
  outline: none;
  background: #fff;
  color: #1e1e1e;
}
.ali-search-btn {
  border: none;
  border-radius: 0 22px 22px 0;
  padding: 0 22px;
  background: #fd6e1d;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -1px;
  cursor: pointer;
  transition: background 0.2s;
}
.ali-search-btn:hover { background: #f97316; }
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.12);
  max-height: 240px;
  overflow-y: auto;
  z-index: 3000;
  font-size: 0.95rem;
  color: #111;
}
.search-suggestion-item {
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}
.search-suggestion-item:last-child {
  border-bottom: none;
}
.search-suggestion-item:hover,
.search-suggestion-item:focus {
  background: #f97316;
  color: #fff;
  outline: none;
}
.ali-modal {
  display: none;
  position: fixed;
  z-index: 4000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.32);
  align-items: center;
  justify-content: center;
}
.ali-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 28px 20px;
  max-width: 340px;
  width: 90vw;
  margin: auto;
  box-shadow: 0 4px 22px rgba(249,115,22,0.10);
  text-align: left;
}
.ali-modal-content label {
  font-weight: 600;
  margin-top: 8px;
  display: block;
}
.ali-modal-content select {
  width: 100%;
  padding: 8px 12px;
  margin: 6px 0 14px 0;
  border-radius: 8px;
  border: 1px solid #eee;
  font-size: 1rem;
}
.ali-modal-save {
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 10px 24px;
  font-weight: bold;
  margin-right: 8px;
  cursor: pointer;
}
.ali-modal-close {
  background: #eee;
  color: #f97316;
  border: none;
  border-radius: 9px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
}

/* === PRODUCT FILTERING & SORTING STYLES === */
.product-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 7px 22px 7px;
  flex-wrap: wrap;
  gap: 15px;
}
.product-controls .control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-controls label {
  font-weight: 700;
  color: #333;
}
/* =================================================================== */
/* =========== PROFESSIONAL STYLES FOR DROPDOWNS =================== */
/* =================================================================== */

.product-controls select {
    /* Reset native appearance */
    -webkit-appearance: none;
    appearance: none;
    
    /* Custom Arrow using SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23D45703' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;

    /* Branded Styling */
    background-color: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-controls select:hover {
    border-color: var(--primary);
}

.product-controls select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 114, 36, 0.2);
}
   .site-footer {
        background: #fff;
        color: #4a4a4a;
        padding: 50px 20px;
        margin-top: 40px;
        border-top: 4px solid var(--primary);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    }
    .footer-grid {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 40px;
    }
    .footer-col h3 {
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--primary-dark);
        margin-bottom: 15px;
    }
    .footer-col ul { list-style: none; padding: 0; margin: 0; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul a {
        color: #555;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.2s;
    }
    .footer-col ul a:hover { color: var(--primary); }
    .payment-methods-logos {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }
    .payment-methods-logos img {
        height: 30px;
        opacity: 0.8;
    }
    .footer-bottom {
        max-width: 1200px;
        margin: 40px auto 0 auto;
        padding-top: 20px;
        border-top: 1px solid #eee;
        text-align: center;
        font-weight: 700;
        color: #999;
    }
    /* --- Skeleton Loader Styles --- */
.skeleton-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.skeleton-image {
    width: 100%;
    padding-top: 75%;
    background-color: #eef0f2;
    animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-content {
    padding: 20px;
}
.skeleton-line {
    height: 16px;
    background-color: #eef0f2;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-line.short {
    width: 60%;
    height: 12px;
}
@keyframes pulse {
    0% { background-color: #eef0f2; }
    50% { background-color: #e2e5e7; }
    100% { background-color: #eef0f2; }
}
/* --- Skeleton Loader Styles --- */
.skeleton-card {
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.skeleton-image {
    width: 100%;
    padding-top: 75%;
    background-color: #eef0f2;
    animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-content {
    padding: 20px;
}
.skeleton-line {
    height: 16px;
    background-color: #eef0f2;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-line.short {
    width: 60%;
    height: 12px;
}
@keyframes pulse {
    0% { background-color: #eef0f2; }
    50% { background-color: #e2e5e7; }
    100% { background-color: #eef0f2; }
}
    :root {
      --primary: #f57224;
      --primary-dark: #d45703;
      --accent: #fe724c;
      --card-bg: #fff;
      --bg: #f6f6fa;
      --radius: 18px;
      --shadow: 0 6px 32px rgba(245, 114, 36, 0.15);
      --star-color: #ffc107;
      --star-color-inactive: #ddd;
    }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      font-family: 'Poppins', sans-serif;
      margin: 0;
      color: #333;
    }
    /* --- HEADER, CART, AND FOOTER STYLES --- */
    header {
      background: linear-gradient(90deg, #fd7e1a 0%, #ff3a5e 100%);
      color: #fff;
      box-shadow: 0 2px 16px #f5722433;
      border-radius: 0 0 18px 18px;
      position: sticky;
      top: 0;
      z-index: 1000;
      padding-bottom: 6px;
    }
    .header-main-pro {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 16px 9px 16px;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }
    .logo-pro {
      font-size: 2.3rem; font-weight: 900; letter-spacing: -2px;
      color: #fff; text-shadow: 0 3px 12px #0002;
      cursor: pointer; text-decoration: none;
    }
    header nav {
      display: flex; align-items: center; gap: 10px;
      flex-grow: 1; justify-content: center;
    }
    .nav-link-pro {
      font-size: 1.05rem; padding: 7px 17px; color: #fff;
      border-radius: 11px; font-weight: 700; text-decoration: none;
      background: none; transition: background 0.17s, color 0.13s;
    }
    .nav-link-pro:hover, .nav-link-pro.active {
      background: rgba(255, 255, 255, 0.837); color: #fe724c;
    }
    .header-controls {
      display: flex;
      align-items: center;
      gap: 15px;
      position: relative; /* Add this if it's not there */
  z-index: 10;       /* <-- ADD THIS LINE */
}
    .dropdown { position: relative; }
    .dropdown-toggle {
        background: rgba(255, 255, 255, 0.15); border: none; font-size: 0.98em; font-weight: 700;
        display: flex; align-items: center; gap: 8px; cursor: pointer;
        color: #fff; border-radius: 50px; padding: 8px 15px;
        transition: background 0.12s; user-select: none;
    }
    .dropdown-toggle:hover { background: rgba(255, 255, 255, 0.25); }
    .dropdown-menu {
      position: absolute; top: 120%; right: 0; min-width: 140px;
      background: #fff; border-radius: 10px; box-shadow: 0 4px 24px #00000026;
      z-index: 50; display: none; margin-top: 2px; padding: 5px;
      overflow: hidden;
    }
    .dropdown.open .dropdown-menu { display: block; }
    .dropdown-item {
      padding: 10px 15px; cursor: pointer; font-weight: 700;
      display: flex; align-items: center; gap: 7px;
      color: var(--primary-dark); transition: background 0.12s, color 0.13s;
      border-radius: 7px; white-space: nowrap; text-decoration: none;
    }
    .dropdown-item:hover { background: #ffe4d1; }
    .cart-btn {
      background: #fff3; color: #fff; border: none; border-radius: 50px;
      padding: 8px 19px 8px 11px; font-size: 1.1rem; font-weight: 700;
      display: flex; align-items: center; gap: 7px; cursor: pointer;
      box-shadow: 0 2px 8px #f5722422; transition: background 0.13s;
    }
    .cart-btn:hover { background: #fff5; }
    .cart-icon-badge {
      background: #fff; color: var(--primary); border-radius: 50%;
      font-size: 0.91em; padding: 2px 8px; font-weight: bold;
    }
    .mini-cart-overlay {
      position: fixed; z-index: 2100; left: 0; top: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5); 
      backdrop-filter: blur(8px);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
    }
    .mini-cart-overlay.active { 
      opacity: 1;
      visibility: visible;
    }
    .mini-cart-drawer {
      position: fixed;
      top: 50%;
      left: 50%;
      width: 390px;
      max-width: 90vw;
      max-height: 80vh;
      background: #fff;
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
      z-index: 2200;
      border-radius: var(--radius);
      display: flex; flex-direction: column;
      transform: translate(-50%, -50%) scale(0.8);
      opacity: 0;
      transition: transform 0.4s cubic-bezier(0.4, 1.5, 0.6, 1), opacity 0.3s;
    }
    .mini-cart-overlay.active .mini-cart-drawer {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    .mini-cart-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 25px; border-bottom: 1.6px solid #eee;
      font-size: 1.25em; font-weight: 900;
    }
    .mini-cart-close { cursor: pointer; font-size: 1.5em; color: #aaa; transition: color 0.2s; background:none; border:none; padding:0; }
    .mini-cart-close:hover { color: var(--primary); }
    .mini-cart-items { flex: 1; overflow-y: auto; padding: 20px 25px 0 25px; }
    .mini-cart-item { 
        display: flex; align-items: center; gap: 15px; margin-bottom: 20px; 
    }
    .mini-cart-item-img { width: 50px; height: 50px; object-fit: contain; border-radius: 8px; border: 1px solid #eee; }
    .mini-cart-item-details { flex: 1; min-width: 0; text-align: left; }
    .mini-cart-item-title {
      font-weight: 700; color: #333; font-size: 1rem; margin-bottom: 2px;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .mini-cart-item-price { font-weight: 700; color: var(--primary); font-size: 1rem; }
    .mini-cart-item-remove { cursor: pointer; color: #ff3a5e; font-size: 1.1em; transition: color 0.2s; }
    .mini-cart-footer { border-top: 1.7px solid #eee; background: #fafafa; padding: 20px 25px; border-radius: 0 0 var(--radius) var(--radius); }
    .mini-cart-total { font-weight: 900; color: #333; font-size: 1.2em; margin-bottom: 15px; display: flex; justify-content: space-between; }
    .mini-cart-checkout {
      background: linear-gradient(90deg,#fe724c,#fd7e1a); color: #fff;
      padding: 14px; border: none; border-radius: 12px; cursor: pointer;
      font-weight: 700; font-size: 1.1em; transition: all 0.2s; width: 100%;
    }
    .mini-cart-checkout:hover { transform: scale(1.03); box-shadow: 0 4px 15px rgba(245,114,36,0.3); }

    .site-footer {
        background: #fff;
        color: #4a4a4a;
        padding: 50px 20px;
        margin-top: 40px;
        border-top: 4px solid var(--primary);
    }
    .footer-grid {
        max-width: 1200px; margin: 0 auto; display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
    }
    .footer-col h3 { font-size: 1.2rem; font-weight: 900; color: var(--primary-dark); margin-bottom: 15px; }
    .footer-col ul { list-style: none; padding: 0; margin: 0; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul a { color: #555; text-decoration: none; font-weight: 700; transition: color 0.2s; }
    .footer-col ul a:hover { color: var(--primary); }
    .payment-methods-logos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
    .payment-methods-logos img { height: 30px; opacity: 0.8; }
    .footer-bottom {
        max-width: 1200px; margin: 40px auto 0 auto; padding-top: 20px;
        border-top: 1px solid #eee; text-align: center; font-weight: 700; color: #999;
    }
    .dw-bottom-nav {
        position: fixed; z-index: 1111; left: 0; right: 0; bottom: 0;
        height: 56px; background: #fff; border-top: 1.5px solid #f2e2d6;
        box-shadow: 0 -2px 12px #f5722413;
        display: none;
        justify-content: space-around; align-items: center;
    }
    @media (max-width: 900px) {
        .header-main-pro nav, .header-controls { display: none; }
        .dw-bottom-nav { display: flex; }
        body { padding-bottom: 60px; }
    }
    .dw-bottom-nav a, .dw-bottom-nav button {
        flex: 1 1 auto; height: 100%; display: flex; flex-direction: column;
        justify-content: center; align-items: center; font-size: 0.96em;
        font-weight: 700; color: #fd7e1a; text-decoration: none;
        background: none; border: none;
    }
    .dw-bottom-nav .dw-nav-cart {
        flex: 0 0 auto; color: #fff !important;
        background: linear-gradient(90deg, #fd7e1a 0%, #ff3a5e 100%);
        border-radius: 50%; width: 44px; height: 44px; margin-top: -6px;
    }

    /* --- PAGE SPECIFIC STYLES --- */
    .container { max-width: 1100px; margin: 40px auto; padding: 20px; }
    .back-link {
        font-size: 1rem; font-weight: 700; color: var(--primary);
        text-decoration: none; display: inline-flex; align-items: center;
        gap: 8px; margin-bottom: 20px; transition: color 0.2s;
    }
    .back-link:hover { color: var(--primary-dark); }
    .product-details-grid {
      display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px;
      background: var(--card-bg); padding: 40px; border-radius: var(--radius);
      box-shadow: var(--shadow); align-items: flex-start;
    }
    .product-image-container {
      position: relative;
      border-radius: var(--radius); overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    .product-image-container img {
      width: 100%; height: auto; display: block;
      transition: transform 0.4s ease;
    }
    .product-image-container:hover img { transform: scale(1.05); }
    .product-info {
      display: flex; flex-direction: column;
    }
    .product-title {
      font-size: 2.2rem; font-weight: 900; color: var(--primary-dark);
      line-height: 1.2; margin: 0 0 10px 0;
    }
    .product-delivery {
      font-weight: 700; color: #32cb89; margin-bottom: 20px;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .product-price { font-size: 2.5rem; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
    .product-description {
      font-size: 1rem; line-height: 1.7; color: #555;
      margin-bottom: 30px; border-left: 4px solid var(--primary);
      padding-left: 15px;
    }
    .product-actions { display: flex; gap: 15px; margin-top: auto; }
    .action-button {
      flex-grow: 1; padding: 15px 20px; font-size: 1.1rem;
      font-weight: 700; border-radius: 12px; border: none;
      cursor: pointer; text-align: center; text-decoration: none;
      color: white; transition: all 0.3s ease;
      display: inline-flex; align-items: center; justify-content: center;
      gap: 10px; position: relative; overflow: hidden;
    }
    .add-to-cart { background: var(--primary-dark); }
    .buy-now { background: var(--accent); }
    .action-button:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
    .action-button::before {
        content: ''; position: absolute; top: 0; left: -100%;
        width: 100%; height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.6s ease;
    }
    .action-button:hover::before { left: 100%; }
    
    /* === STYLES FOR TABS & REVIEWS === */
    .product-info-tabs, .reviews-container {
        margin-top: 40px;
        background: var(--card-bg);
        padding: 40px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }
    .tab-buttons {
        display: flex;
        border-bottom: 2px solid #eee;
        margin-bottom: 30px;
    }
    .tab-button {
        padding: 15px 25px;
        cursor: pointer;
        background: none;
        border: none;
        font-size: 1.1rem;
        font-weight: 700;
        color: #888;
        position: relative;
        transition: color 0.3s;
    }
    .tab-button::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--primary);
        transform: scaleX(0);
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .tab-button.active {
        color: var(--primary-dark);
    }
    .tab-button.active::after {
        transform: scaleX(1);
    }
    .tab-content {
        display: none;
        animation: fadeInContent 0.6s ease;
    }
    @keyframes fadeInContent { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
    .tab-content.active {
        display: block;
    }
    .tab-content ul {
        list-style: none;
        padding-left: 0;
    }
    .tab-content li {
        padding: 10px 0 10px 25px;
        position: relative;
        font-size: 1.05rem;
    }
    .tab-content li::before {
        content: '✓';
        color: var(--primary);
        font-weight: 900;
        position: absolute;
        left: 0;
    }
    .section-title {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--primary-dark);
        border-bottom: 3px solid var(--primary);
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
    .review-card {
        border-bottom: 1px solid #eee;
        padding: 25px 0;
    }
    .review-card:last-child { border-bottom: none; }
    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 10px;
    }
    .review-author-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .review-author-info i {
        font-size: 1.5rem;
        color: var(--primary);
        background-color: #fef4f0;
        padding: 8px;
        border-radius: 50%;
    }
    .review-author {
        font-weight: 900;
        font-size: 1.1rem;
    }
    .review-date {
        font-size: 0.85rem;
        color: #888;
    }
    .star-rating {
        color: var(--star-color);
        font-size: 1.2rem;
    }
    .review-text {
        font-size: 1rem;
        line-height: 1.6;
        color: #555;
        padding-left: 54px;
    }
    #review-form {
        background: #fdfdfd;
        border: 1px solid #eee;
        border-radius: var(--radius);
        padding: 30px;
    }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-weight: 700; margin-bottom: 8px; }
    .form-group input, .form-group textarea {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        border: 1px solid #ddd;
        font-size: 1rem;
        box-sizing: border-box;
        transition: border-color 0.2s, box-shadow 0.2s;
    }
    .form-group input:focus, .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(245, 114, 36, 0.2);
    }
    .form-group textarea { min-height: 120px; resize: vertical; }
    .star-rating-input {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        gap: 5px;
    }
    .star-rating-input input { display: none; }
    .star-rating-input label {
        font-size: 2rem;
        color: var(--star-color-inactive);
        cursor: pointer;
        transition: color 0.2s;
    }
    .star-rating-input input:checked ~ label,
    .star-rating-input label:hover,
    .star-rating-input label:hover ~ label {
        color: var(--star-color);
    }
    .submit-button {
        background-color: var(--primary-dark);
        color: white;
        padding: 12px 25px;
        border: none;
        border-radius: 10px;
        font-weight: 700;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .submit-button:hover { background-color: var(--primary); }
    #form-message {
        margin-top: 15px;
        font-weight: 700;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
    }
    
    /* === RELATED PRODUCTS & HOT BADGE STYLES === */
    .related-products-container {
        margin-top: 40px;
    }
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 25px;
    }
    .product-card {
        background: #fff;
        border-radius: var(--radius);
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        overflow: hidden;
        text-decoration: none;
        color: #333;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        position: relative; /* Needed for badge */
    }
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }
    .product-card-img {
        width: 100%;
        height: 180px;
        object-fit: contain;
        padding: 10px;
        background-color: #fff;
    }
    .product-card-info {
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    .product-card-title {
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .product-card-price {
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--primary);
        margin-top: auto;
    }
    .hot-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: linear-gradient(45deg, #ff4e50, #f9d423);
        color: white;
        padding: 5px 12px;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 900;
        display: flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 2px 8px #00000033;
    }

    @media (max-width: 900px) {
        .product-details-grid { grid-template-columns: 1fr; gap: 30px; padding: 25px; }
        .product-title { font-size: 1.8rem; }
        .product-price { font-size: 2rem; }
    }
    
    /* --- ✨ NEW SKELETON STYLES ✨ --- */
    .skeleton-details-grid {
        display: grid; grid-template-columns: 1fr; gap: 30px;
        background: var(--card-bg); padding: 40px; border-radius: var(--radius);
        box-shadow: var(--shadow); align-items: flex-start;
    }
    @media (min-width: 900px) {
        .skeleton-details-grid { grid-template-columns: 1fr 1.2fr; gap: 50px; }
    }
    .skeleton-image-container {
        width: 100%; padding-top: 100%;
        background-color: #eef0f2; border-radius: var(--radius);
        animation: pulse 1.5s infinite ease-in-out;
    }
    .skeleton-info { padding-top: 10px; }
    .skeleton-line {
        height: 1em; background-color: #eef0f2;
        border-radius: 4px; margin-bottom: 20px;
        animation: pulse 1.5s infinite ease-in-out;
    }
    .skeleton-line.title { height: 2.2em; width: 85%; }
    .skeleton-line.price { width: 45%; height: 2.5em; margin-bottom: 30px; }
    .skeleton-line.text { width: 100%; height: 1em; }
    .skeleton-line.text-short { width: 90%; }
    .skeleton-button {
        height: 52px; width: 220px;
        background-color: #eef0f2; border-radius: 12px;
        margin-top: 30px; animation: pulse 1.5s infinite ease-in-out;
    }
    @keyframes pulse {
        0% { background-color: #eef0f2; }
        50% { background-color: #e2e5e7; }
        100% { background-color: #eef0f2; }
    }
/* In styles.css, add this new rule */
.account-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Add this new rule to the very end of styles.css */
@media (min-width: 901px) {
  .header-controls .account-dropdown {
    display: inline-block;
  }
}
/* Add this entire block to the end of styles.css */

/* New unified style for all header buttons */
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
    user-select: none;
}
.header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.header-btn .fa-chevron-down {
    font-size: 0.8em;
    opacity: 0.7;
}

/* Modal for Lang/Currency */
.ali-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 4000;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}
.ali-modal.show {
    display: flex;
}
.ali-modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  animation: modal-pop 0.3s cubic-bezier(0.4, 1.5, 0.6, 1);
}
@keyframes modal-pop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.ali-modal-content h3 {
    margin: 0 0 20px 0;
    font-weight: 900;
    color: var(--primary-dark);
}
.ali-modal-content label {
  font-weight: 700;
  margin-top: 10px;
  display: block;
  color: #555;
}
.ali-modal-content select {
  width: 100%;
  padding: 12px;
  margin: 8px 0 15px 0;
  border-radius: 10px;
  border: 2px solid #eee;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}
.ali-modal-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.ali-modal-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}
.ali-modal-btn.save {
    background: var(--primary);
    color: white;
}
.ali-modal-btn.cancel {
    background: #eee;
    color: #333;
}
/* Add this to the end of styles.css */

/* New AliExpress Style Account Control */
.account-control {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s;
}
.account-control:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.account-control .fa-user {
    font-size: 1.5rem;
    color: #fff;
}
.account-control .account-text {
    display: flex;
    flex-direction: column;
    color: #fff;
    line-height: 1.2;
}
.account-control .welcome-text {
    font-size: 0.9em;
    font-weight: 400;
}
.account-control .auth-action {
    font-size: 1em;
    font-weight: 700;
}

/* Auth Modal Styles */
.auth-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 5000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.auth-modal-overlay.show {
    display: flex;
}
.auth-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modal-pop 0.3s ease-out;
}
.auth-modal-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 2rem;
    background: none; border: none;
    color: #aaa; cursor: pointer;
}
.auth-modal-content h3 {
    text-align: center;
    margin: 0 0 5px 0;
    font-weight: 900;
}
.auth-modal-content p {
    text-align: center;
    color: #888;
    margin-bottom: 25px;
}
.auth-providers { display: flex; flex-direction: column; gap: 10px; }
.auth-provider-btn {
    width: 100%; padding: 12px;
    border-radius: 8px; border: 1px solid #ddd;
    font-size: 1rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 10px;
    background: #fff;
}
.auth-provider-btn.google { color: #db4437; }
.auth-separator { text-align: center; margin: 20px 0; color: #ccc; font-weight: 700; }
#emailLoginForm label { display: block; font-weight: 700; margin-bottom: 5px; }
#emailLoginForm input { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #ccc; font-size: 1rem; box-sizing: border-box; }
.auth-continue-btn {
    width: 100%; padding: 12px;
    margin-top: 15px; border-radius: 8px;
    border: none; font-size: 1.1rem; font-weight: 700;
    cursor: pointer; background: var(--primary); color: white;
}
/* Add this to the end of styles.css */

/* Auth Dropdown Menu Styles */
.account-control {
    position: relative; /* Required for the dropdown positioning */
}

.auth-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 15px;
    margin-top: 10px;
    z-index: 2000;
    
    /* Animation setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Show the dropdown on hover */
.account-control:hover .auth-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-dropdown-signin-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 10px;
}

.auth-dropdown-menu .register-link {
    display: block;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.auth-dropdown-menu hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.auth-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: #333;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.auth-dropdown-menu a:hover {
    background-color: #f0f2f5;
}

.auth-dropdown-menu .fas {
    width: 20px;
    text-align: center;
    color: #888;
}
/* =================================================================== */
/* ================== BANNER 1: UNIQUE MICROSOFT KEYS ================ */
/* =================================================================== */

.unique-banner {
    position: relative;
    width: 100%; /* Changed for slider */
    height: 100%; /* Changed for slider */
    background: linear-gradient(135deg, #1e1e1e 0%, #121212 100%);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 107, 0, 0.2);
    transform-style: preserve-3d;
    display: flex; /* Added for centering */
    justify-content: center; /* Added for centering */
    align-items: center; /* Added for centering */
}

.banner-content-layer {
    position: relative;
    z-index: 5;
    padding: 3rem 4rem;
    width: 50%;
    text-align: left;
}

.unique-banner h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.4);
    animation: slide-up 1s ease-out 0.2s forwards;
    opacity: 0;
}

.unique-banner p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.8);
    max-width: 450px;
    animation: slide-up 1s ease-out 0.4s forwards;
    opacity: 0;
}

.unique-banner .pro-btn {
    background: linear-gradient(45deg, #FF4500, #FF6347);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.4);
    display: inline-block;
    animation: slide-up 1s ease-out 0.6s forwards;
    opacity: 0;
}

.unique-banner .pro-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.6);
}

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

.visuals-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.visual-element {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo-windows {
    top: 15%;
    right: 10%;
    width: 250px;
    color: #FF4500;
    animation: float-logo 8s ease-in-out infinite;
    z-index: 3;
}

.logo-office {
    bottom: 10%;
    right: 35%;
    width: 180px;
    color: #d32f2f;
    animation: float-logo 10s ease-in-out infinite 1s;
    z-index: 2;
}

.shape-1 {
    top: 5%; left: 45%; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.2) 0%, transparent 70%);
    animation: pulse-shape 12s infinite;
}

.shape-2 {
    bottom: -20%; right: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.15) 0%, transparent 70%);
    animation: pulse-shape 15s infinite 2s;
}

@keyframes float-logo {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-shape {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* =================================================================== */
/* =============== BANNER 2: STREAMING & VPNS (POWERFUL) ============= */
/* =================================================================== */

.powerful-banner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 5%;
    background: linear-gradient(135deg, #2a2a2e 0%, #1a1a1a 100%);
    color: #fff;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.powerful-banner::before, .powerful-banner::after {
    content: '';
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF4500, #FF6347);
    animation: pulse-glow 8s infinite alternate;
}

.powerful-banner::before {
    width: 400px; height: 400px; top: -150px; left: -100px; opacity: 0.2; filter: blur(80px);
}

.powerful-banner::after {
    width: 300px; height: 300px; bottom: -120px; right: -80px; opacity: 0.25; filter: blur(60px); animation-delay: -4s;
}

@keyframes pulse-glow {
    from { transform: scale(0.9); opacity: 0.15; }
    to { transform: scale(1.1); opacity: 0.25; }
}

.promo-badge {
    position: absolute;
    top: 25px; left: -10px;
    background-color: #d32f2f;
    color: #fff;
    padding: 0.8rem 1.5rem 0.8rem 2.5rem;
    font-weight: bold;
    z-index: 3;
    clip-path: polygon(0% 0%, 100% 0%, 90% 50%, 100% 100%, 0% 100%, 10% 50%);
    animation: slide-in-badge 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes slide-in-badge {
    from { transform: translateX(-100%); opacity: 0;}
    to { transform: translateX(0); opacity: 1;}
}

.left-content {
    flex-basis: 55%;
    padding-right: 2rem;
    z-index: 2;
}

.powerful-banner h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 87, 34, 0.5);
}

.powerful-banner p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.cta-buttons a {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0.5rem 1rem 0.5rem 0;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cta-primary {
    background: linear-gradient(45deg, #FF4500, #FF6347);
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
}

.cta-secondary {
    background-color: transparent;
    border: 2px solid #ff6347;
}

.cta-buttons a:hover {
    transform: translateY(-3px) scale(1.05);
}

.right-visual {
    flex-basis: 45%;
    position: relative;
    z-index: 2;
    animation: float-main 6s ease-in-out infinite;
}

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

.right-visual .card-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16/10;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.5s ease-out;
    background: linear-gradient(45deg, #FF6347, #FF4500);
    padding: 10px;
}

.card-1 {
    transform: rotate(-5deg) translate(-10%, -5%);
    z-index: 1;
}

.card-2 {
    transform: rotate(5deg) translate(10%, 5%);
    z-index: 2;
}

.image-container {
     width: 100%;
     height: 100%;
     background-size: cover;
     background-position: center;
     border-radius: 10px;
}

.card-1 .image-container {
    background-image: url('https://images.unsplash.com/photo-1558507314-78326ade135d?q=80&w=2070&auto=format&fit=crop');
}

.card-2 .image-container {
    background-image: url('https://images.unsplash.com/photo-1593359677879-a4bb92f829d1?q=80&w=2070&auto=format&fit=crop');
}

.powerful-banner:hover .card-1 {
     transform: rotate(-8deg) translate(-20%, -5%) scale(1.05);
}

.powerful-banner:hover .card-2 {
     transform: rotate(8deg) translate(0%, 5%) scale(1.05);
}

/* =================================================================== */
/* ============= BANNER 3: ANTIVIRUS & GAMING (GLASS) ================ */
/* =================================================================== */

.glass-banner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.glass-banner .background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(-45deg, #d32f2f, #ff4500, #ff6347, #b71c1c);
    background-size: 400% 400%;
    animation: gradient-flow 15s ease infinite;
}

.glass-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-sizing: border-box;
}

.content-section {
    flex-basis: 45%;
    text-align: center;
    animation: fade-in-content 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fade-in-content {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section .icon {
    font-size: 6rem;
    color: #fff;
    text-shadow: 0 0 25px rgba(255, 107, 0, 0.6);
    margin-bottom: 1rem;
    animation: float-icon 6s ease-in-out infinite;
}

.content-section.gaming .icon { animation-delay: -3s; }

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

.content-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.content-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.pro-btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.5);
    backdrop-filter: blur(5px);
}

.pro-btn-glass:hover {
    background: rgba(255, 107, 0, 0.8);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
}

.separator {
    width: 2px;
    height: 70%;
    background: linear-gradient(to bottom, transparent, rgba(255,107,0,0.7), transparent);
    z-index: 3;
}

/* =================================================================== */
/* ================== BANNER 4: FLASH SALE PROMOTION ================= */
/* =================================================================== */

.flash-sale-banner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: ken-burns 20s infinite;
}

.background-slideshow .slide.active {
    opacity: 1;
}

.background-slideshow .slide:nth-child(2) { animation-delay: -5s; }
.background-slideshow .slide:nth-child(3) { animation-delay: -10s; }
.background-slideshow .slide:nth-child(4) { animation-delay: -15s; }

@keyframes ken-burns {
    0% { transform: scale(1.1) translateX(-5%); }
    50% { transform: scale(1.2) translateX(5%); }
    100% { transform: scale(1.1) translateX(-5%); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}

.flash-sale-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.flash-sale-content h2 {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: flicker 2s infinite alternate;
    text-shadow: 0 0 10px #FF4500, 0 0 20px #FF4500, 0 0 40px #d32f2f, 0 0 60px #d32f2f;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 0 0 10px #FF4500, 0 0 20px #FF4500, 0 0 40px #d32f2f, 0 0 60px #d32f2f;
    }
    20%, 24%, 55% {        
        text-shadow: none;
    }
}

.flash-sale-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.timer-unit {
    background: rgba(0,0,0,0.5);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 0, 0.5);
}

.timer-unit span {
    display: block;
}

.timer-unit .number {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    color: #FF6B00;
}

.timer-unit .label {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.pro-btn-flash {
    background: linear-gradient(45deg, #FF4500, #FF6347);
    color: #fff;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(255, 69, 0, 0.5);
    display: inline-block;
    text-transform: uppercase;
    animation: pulse-button 1.5s infinite;
}

@keyframes pulse-button {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* =================================================================== */
/* ===================== RESPONSIVE ADJUSTMENTS ====================== */
/* =================================================================== */

@media (max-width: 992px) {
    /* Banner 1 */
    .unique-banner {
        flex-direction: column;
        height: auto;
        padding: 2rem;
    }
    .banner-content-layer {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    .unique-banner p { max-width: 100%; }
    .visuals-layer { display: none; }

    /* Banner 2 */
    .powerful-banner {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
    }
    .left-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    .cta-buttons {
        justify-content: center;
    }
    .powerful-banner h2 { font-size: 2.5rem; }
    .powerful-banner p { max-width: 100%; }

    /* Banner 3 */
    .glass-banner { height: auto; }
    .glass-panel { flex-direction: column; padding: 3rem 5%; height: auto;}
    .separator { display: none; }
    .content-section:first-child { margin-bottom: 3rem; }
    .content-section h3 { font-size: 2rem; }

    /* Banner 4 */
    .flash-sale-banner { height: auto; padding: 4rem 2rem; }
    .flash-sale-content h2 { font-size: 3rem; }
    .timer-unit .number { font-size: 2rem; }
    #countdown-timer { gap: 0.5rem; }
}
/* =================================================================== */
/* ===================== HERO SLIDER STYLES (Final) ================== */
/* =================================================================== */

.hero-slider-wrapper {
    position: relative;
    width: 98%; 
    max-width: 1400px; 
    margin: 1.5rem auto; 
    overflow: hidden;
    border-radius: 18px; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
}

#hero-slider {
    position: relative;
    width: 100%;
    height: 480px; /* Increased height to guarantee fit */
    overflow: hidden;
    background-color: #e0e0e0;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* =================================================================== */
/* ============== FLASH SALE BANNER SPACING FIX ====================== */
/* =================================================================== */

.flash-sale-content h2 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
}

.flash-sale-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#countdown-timer {
    margin: 1.2rem 0;
}

.pro-btn-flash {
    padding: 0.9rem 2.5rem; /* Further reduced vertical padding */
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    #hero-slider {
        height: 400px; /* Adjusted height for mobile */
    }
    .flash-sale-content h2 {
        font-size: 3.5rem;
    }
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .slider-nav.prev {
        left: 15px;
    }
    .slider-nav.next {
        right: 15px;
    }
}
/* =================================================================== */
/* ====================== WISHLIST BUTTON STYLE ====================== */
/* =================================================================== */

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid #eee;
    color: #888;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.wishlist-btn:hover {
    background-color: #ff3a5e;
    color: white;
    transform: scale(1.1);
    border-color: transparent;
}

/* Style for when the item is already in the wishlist */
.wishlist-btn.active {
    background-color: #ff3a5e;
    color: white;
    border-color: transparent;
}
/* =================================================================== */
/* ============== WISHLIST BUTTON FEEDBACK STYLE ===================== */
/* =================================================================== */

.wishlist-btn .fa-heart {
    font-family: "Font Awesome 6 Free";
    font-weight: 400; /* This makes the icon hollow (far) */
}

.wishlist-btn.active {
    background-color: #ffe0e6;
    color: #ff3a5e;
    border-color: #ffc2cf;
}

.wishlist-btn.active .fa-heart {
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* This makes the icon solid (fas) */
}
/* =================================================================== */
/* ============== PRODUCT CARD STAR RATING STYLES ==================== */
/* =================================================================== */

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    color: #ffc107; /* Star color */
}

.product-rating .review-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888; /* Grey color for the count */
}
/* ======================================= */
/* FLASH SALE CAROUSEL STYLES              */
/* ======================================= */
.flash-sale-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 2rem;
}

.flash-sale-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flash-sale-title .fa-bolt {
    font-size: 2rem;
    color: #ffc107;
}

.flash-sale-title h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0;
}

.flash-sale-countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #555;
}

.flash-sale-countdown .time-box {
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    line-height: 1;
}

.flash-sale-countdown em {
    font-style: normal;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ccc;
}

.flash-sale-carousel-wrapper {
    position: relative;
    padding: 0 40px; /* Space for navigation arrows */
}

#flashSaleCarousel .product-card .product-price {
    color: var(--badge-red); /* Discounted price color */
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

/* Swiper.js Navigation Arrows */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #fff;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}
.swiper-button-prev { left: 0; }
.swiper-button-next { right: 0; }
/* ======================================= */
/* FINAL FLASH SALE BADGE & BUTTON STYLES  */
/* ======================================= */

/* New Badge for Flash Sale Items */
.badge-flash-sale {
    position: absolute;
    top: 10px;
    left: -10px;
    background: linear-gradient(45deg, #ffc107, #ff9800);
    color: #1a1a1a;
    padding: 6px 12px 6px 20px;
    font-size: 0.85rem;
    font-weight: 900;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Special Button for Carousel Flash Sale Cards */
.card-btn.flash-sale-btn {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: #fff;
    width: 100%;
    animation: pulse-animation 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 114, 36, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(245, 114, 36, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 114, 36, 0);
    }
}
/* ======================================= */
/* PRODUCT COMPARISON POP-UP STYLES        */
/* ======================================= */

.comparison-popup-container {
    position: absolute;
    z-index: 1100; /* Ensure it appears above other content */
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    padding: 30px;
    
    /* Start hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; /* Can't interact with it when hidden */
}

.comparison-popup-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.comparison-table th {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .product-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.comparison-table .feature-label {
    text-align: left;
    font-weight: 700;
    color: #555;
}

.comparison-table .fa-check-circle {
    color: var(--success);
    font-size: 1.5rem;
}

.comparison-table .fa-times-circle {
    color: var(--danger);
    font-size: 1.5rem;
}

.comparison-table .current-product-col {
    background-color: #fef4f0; /* Highlight the current product */
    border: 2px solid var(--primary);
    border-radius: var(--radius);
}
/* ======================================= */
/* LAYOUT FOR CENTERED PAGES               */
/* ======================================= */

/* This wrapper ensures the header, main content, and footer behave correctly */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Make the main content area grow to fill available space */
.page-wrapper main {
    flex-grow: 1;
    width: 100%; /* Ensure main takes up full width for centering */
}

/* Prevent header and footer from shrinking */
.page-wrapper .site-header,
.page-wrapper .site-footer {
    flex-shrink: 0;
}

/* ======================================= */
/* UPGRADED FLY-TO-CART & BUTTON ANIMATION */
/* ======================================= */

/* This keyframe defines the curved path and shrinking effect */
@keyframes fly-to-cart-curve {
    0% {
        transform: translate(var(--start-x), var(--start-y)) scale(0.3);
        opacity: 1;
    }
    30% {
        /* This intermediate step creates the "arc" of the curve */
        transform: translate(var(--control-x), var(--control-y)) scale(0.4);
        opacity: 1;
    }
    100% {
        /* The final destination at the cart icon */
        transform: translate(var(--end-x), var(--end-y)) scale(0);
        opacity: 0.5;
    }
}

/* This is the keyframe for the "bump" animation on the cart icon */
@keyframes cart-bump {
    0% { transform: scale(1); }
    30% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* The style for the small product image that will fly */
.flying-image {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Adds a nice shadow */
    animation-name: fly-to-cart-curve;
    animation-duration: 0.8s; /* "Average fast" speed */
    animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
    pointer-events: none;
}

/* This class will trigger the bump animation */
.cart-btn.animated {
    animation: cart-bump 0.4s ease-out;
}

/* New style for the "Added!" button state */
.card-btn.add-to-cart.added {
    background: var(--badge-green);
    color: white;
    transform: scale(1.05);
}
/* =================================================================== */
/* ======================== BLOG PAGE STYLES ========================= */
/* =================================================================== */

.page-header { text-align: center; margin-bottom: 40px; }
.page-header h1 { font-size: 2.8rem; font-weight: 900; color: var(--primary-dark); margin: 0; }
.page-header p { font-size: 1.2rem; color: #666; margin-top: 10px; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: #333;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(245, 114, 36, 0.2);
}

.post-card-content {
    padding: 25px;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 15px 0;
}

.post-snippet {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
}

/* Single Post Page Styles */
.blog-post {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.post-title-main {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.2;
}

.post-meta-main {
    font-size: 1rem;
    font-weight: 700;
    color: #777;
    margin: -10px 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}
.post-content h2 { font-size: 1.8rem; color: var(--primary-dark); margin-top: 2rem; }
.post-content h3 { font-size: 1.5rem; color: var(--accent); margin-top: 1.5rem; }
.post-content p { margin-bottom: 1.5em; }
.post-content a { color: var(--primary); font-weight: 700; }
.post-content ul, .post-content ol { padding-left: 25px; }
.post-content li { margin-bottom: 10px; }
/* === ADMIN MODAL FIX === */
.modal-overlay.show {
    display: flex !important;
    opacity: 1 !important;
}
/* === MOBILE UX ENHANCEMENTS === */

/* Refined Mobile Header */
@media (max-width: 650px) {
  .ali-header {
    background: var(--primary);
    padding: 12px 16px;
    margin: 0;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .ali-search-row {
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
  }

  .ali-search-input {
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
  }

  .ali-search-btn {
    background: var(--primary-dark);
    height: auto;
    align-self: stretch;
    border-radius: 0 50px 50px 0;
    padding: 0 18px;
  }
  .ali-search-btn i {
    color: #fff;
  }
}
/* ======================================= */
/* === FINAL MOBILE HEADER & SEARCH STYLES === */
/* ======================================= */

/* By default, hide the mobile-specific header on large screens */
.header-mobile {
    display: none;
}

/* When the screen is 768px or less, these styles will activate */
@media (max-width: 768px) {
    /* Hide the original desktop header and search bar */
    .header-desktop,
    .search-bar-modern {
        display: none !important;
    }

    /* Show and style the new mobile header */
    .header-mobile {
        display: flex !important;
        flex-direction: column;
        background: linear-gradient(90deg, #fd7e1a 0%, #ff3a5e 100%);
        padding: 16px;
        border-radius: 0 0 28px 28px; /* Slightly larger radius for a modern feel */
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    .mobile-header-top {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 16px;
    }

    .header-mobile .logo-pro {
        font-size: 2.2rem;
        text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    }

    /* This creates the wide, screen-fitting search bar */
    .mobile-search-wrapper {
        display: flex;
        width: 100%;
        background: #fff;
        border-radius: 50px; /* Fully rounded "pill" shape */
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        height: 48px; /* Set a fixed height */
    }

    .mobile-search-wrapper input {
        flex: 1;
        border: none;
        padding: 10px 20px;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        outline: none;
        color: #333;
        width: 100%; /* Fix for some browser inconsistencies */
    }

    .mobile-search-btn {
        background: var(--primary-dark);
        border: none;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .mobile-search-btn span {
        color: #fff;
        font-size: 1.2rem;
    }

    .header-mobile .search-suggestions {
        position: relative;
        top: 8px;
        left: 0;
        right: 0;
        border-radius: 20px;
    }
}
/* ======================================= */
/* PRODUCT COMPARISON POP-UP STYLES        */
/* ======================================= */

.comparison-popup-container {
    position: absolute;
    z-index: 1100; /* Ensure it appears above other content */
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    padding: 30px;
    
    /* Start hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; /* Can't interact with it when hidden */
}

.comparison-popup-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.comparison-table th {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .product-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.comparison-table .feature-label {
    text-align: left;
    font-weight: 700;
    color: #555;
}

.comparison-table .fa-check-circle {
    color: var(--badge-green);
    font-size: 1.5rem;
}

.comparison-table .fa-times-circle {
    color: var(--danger);
    font-size: 1.5rem;
}

.comparison-table .current-product-col {
    background-color: #fef4f0; /* Highlight the current product */
    border: 2px solid var(--primary);
    border-radius: var(--radius);
}
/* ======================================= */
/* UPGRADED PRODUCT COMPARISON POP-UP      */
/* ======================================= */

.comparison-popup-container {
    position: fixed; /* Changed to fixed to center on the screen */
    top: 50%;
    left: 50%;
    z-index: 2000;
    width: 90%;
    max-width: 800px; /* Limits the maximum width */
    max-height: 80vh; /* Limits the maximum height */
    overflow-y: auto; /* Allows scrolling if content is too long */
    
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    padding: 30px;
    
    /* Start hidden and off-center */
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -40%) scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.comparison-popup-container.show {
    opacity: 1;
    visibility: visible;
    /* Animate to the perfect center */
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 12px; /* Reduced padding */
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.comparison-table th {
    font-weight: 700;
    font-size: 1rem; /* Slightly smaller font */
}

.comparison-table .product-image {
    width: 80px; /* Smaller image */
    height: 80px;
    object-fit: contain;
}

.comparison-table .feature-label {
    text-align: left;
    font-weight: 700;
    color: #555;
    font-size: 0.9rem; /* Smaller font */
}

.comparison-table .fa-check-circle {
    color: var(--badge-green);
    font-size: 1.3rem; /* Smaller icon */
}

.comparison-table .fa-times-circle {
    color: var(--danger);
    font-size: 1.3rem; /* Smaller icon */
}

.comparison-table .current-product-col {
    background-color: #fef4f0;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
}