/* Wish UI Styles */
:root {
    --mobile-header-height: 56px;
    --desktop-header-height: 80px;
    --navbar-height: 40px;
}

/* Header/Navigation Styles */
.wish-header {
    padding: 8px 10px;
    background: white;
}

.wish-logo {
    font-size: 28px;
    font-weight: bold;
}

.wish-logo img {
    height: 32px;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    border: none;
    background: #f2f4f5;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 16px;
    color: #666;
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #888;
}

.header-btn {
    color: #333;
    text-decoration: none;
    position: relative;
}

.count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4a4a;
    color: white;
    font-size: 10px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Mobile menu styles moved to wish-header.css */

/* Mobile menu styles moved to wish-header.css */

/* Sign In Section */
.wish-signin-section {
    padding: 20px 15px;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.wish-section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.wish-section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.wish-signin-btn {
    display: block;
    background-color: #2196f3;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 16px;
}

.wish-signup-link {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.wish-signup-link a {
    color: #2196f3;
    text-decoration: none;
    font-weight: bold;
}

.wish-signout-link {
    display: block;
    text-align: center;
    color: #666;
    text-decoration: none;
    margin-top: 10px;
}

/* Menu Options */
.wish-menu-options {
    padding: 10px 0;
}

.wish-menu-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    position: relative;
}

.wish-menu-option i {
    margin-right: 15px;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.wish-menu-option span {
    font-size: 16px;
}

.wish-menu-divider {
    height: 10px;
    background-color: #f5f5f5;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.wish-menu-section {
    padding: 10px 0;
}

.wish-menu-heading {
    font-size: 18px;
    font-weight: bold;
    padding: 5px 15px;
    margin-bottom: 5px;
    color: #333;
}

.wish-count-badge {
    position: absolute;
    right: 15px;
    background-color: #ff4a4a;
    color: white;
    font-size: 12px;
    border-radius: 10px;
    padding: 0 8px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-items li {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-menu-items li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.header-dropdown .dropdown-menu {
    min-width: 180px;
    padding: 8px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-dropdown .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
}

/* Navigation Menu */
.wish-nav {
    background: white;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.wish-nav::-webkit-scrollbar {
    display: none;
}

.nav-items {
    display: flex;
    padding: 0 15px;
    margin: 0;
    white-space: nowrap;
}

.nav-items li {
    list-style: none;
}

.nav-items li a {
    padding: 8px 16px 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
}

.nav-items li a.active {
    color: #000;
    font-weight: 500;
}

.nav-items li a.active i {
    color: #c73b24;
}

/* Slider Styles */
/* Mobile Promotional Banner Slider */
.promo-slider-container {
    padding: 0px;
    margin-top: 20px;
}

/* Desktop Banner Slider */
.desktop-banner-container {
    margin-block: 40px;
    position: relative;
    overflow: visible;
}

/* Remove desktop dots container as we're using the default Owl Carousel dots */

.desktop-banner-slide {
    position: relative;
    overflow: hidden;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 38px;
}

.desktop-banner-slide .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.desktop-banner-slide:hover .banner-bg {
    transform: scale(1.05);
}

.desktop-banner-slide .banner-content {
    position: relative;
    max-width: 600px;
    padding: 40px;
    z-index: 2;
}

.desktop-banner-slide .banner-content.left {
    margin-right: auto;
}

.desktop-banner-slide .banner-content.right {
    margin-left: auto;
}

.desktop-banner-slide .banner-content.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.desktop-banner-slide .subtitle {
    font-size: 20px;
    margin-bottom: 15px;
    color: #666;
    font-weight: 500;
}

.desktop-banner-slide .title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
}

.desktop-banner-slide p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

.desktop-banner-slide .btn-shop-now {
    display: inline-block;
    background-color: #0ea5e9;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.desktop-banner-slide .btn-shop-now:hover {
    background-color: #0284c7;
    transform: translateY(-2px);
}

/* Custom Navigation Buttons */
.banner-nav-buttons {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-70%);
    z-index: 10;
    pointer-events: none;
}

.banner-nav-prev,
.banner-nav-next {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.banner-nav-prev:hover,
.banner-nav-next:hover {
    background-color: white;
    transform: scale(1.1);
}

.banner-nav-prev i,
.banner-nav-next i {
    font-size: 24px;
    color: #333;
}

/* Desktop Banner Slider Dots */
.desktop-banner-slider .owl-dots {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 15px 0 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    top: -32px;
}

.desktop-banner-slider .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
    background-color: transparent !important;
    width: auto !important;
    aspect-ratio: 1/1 !important;
    border-radius: 50%;
}

.desktop-banner-slider .owl-dots .owl-dot:focus {
    display: inline-block;
    margin: 0 5px;
    background-color: transparent !important;
    width: auto !important;
    aspect-ratio: 1/1 !important;
    border-radius: 50%;
    outline: none !important;
}

.desktop-banner-slider .owl-dots .owl-dot span {
    width: 9px;
    height: 9px;
    display: block;
    background: #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.desktop-banner-slider .owl-dots .owl-dot.active span {
    background: #666;
    width: 10px;
    height: 10px;
}

.promo-banner-slider {
    padding: 10px 0 0px 0;
}

.promo-banner-slider .owl-dots {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 15px 0 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    top: -50px;
}

.promo-banner-slider .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

#page_wrapper > div.promo-slider-container > div > div > div.owl-dots > button {
    background-color: transparent !important;
    width: auto !important;
    aspect-ratio: 1/1 !important;
    border-radius: 50%;
}

.promo-banner-slider .owl-dots .owl-dot span {
    width: 9px;
    height: 9px;
    display: block;
    background: #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.promo-banner-slider .owl-dots .owl-dot.active span {
    background: #666;
    width: 10px;
    height: 10px;
}

/* Mobile Banner Slide */
.mobile-banner-slide {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-radius: 10px;
    margin: 10px 5px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-banner-slide .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.mobile-banner-slide:hover .banner-bg {
    transform: scale(1.05);
}

.mobile-banner-slide .banner-content {
    position: relative;
    max-width: 100%;
    padding: 15px;
    z-index: 2;
}

.mobile-banner-slide .banner-content.left {
    margin-right: auto;
    text-align: left;
}

.mobile-banner-slide .banner-content.right {
    margin-left: auto;
    text-align: right;
}

.mobile-banner-slide .banner-content.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mobile-banner-slide .subtitle {
    font-size: 12px;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

.mobile-banner-slide .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.2;
}

.mobile-banner-slide p {
    font-size: 12px;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.4;
}

.mobile-banner-slide .btn-shop-now {
    display: inline-block;
    background-color: #0ea5e9;
    color: white;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-banner-slide .btn-shop-now:hover {
    background-color: #0284c7;
}

/* Mobile Navigation Buttons removed */

@media (min-width: 375px) {
    .mobile-banner-slide {
        height: 220px;
    }

    .mobile-banner-slide .subtitle {
        font-size: 14px;
    }

    .mobile-banner-slide .title {
        font-size: 22px;
    }

    .mobile-banner-slide p {
        font-size: 14px;
    }

    .mobile-banner-slide .btn-shop-now {
        padding: 8px 20px;
        font-size: 14px;
    }
}

.shop-now-btn {
    background: white;
    color: black;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Tech items for dark promo */
.tech-item {
    position: absolute;
    background-size: contain;
}

.item1 {
    top: 15px;
    right: 15px;
    width: 70px;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z'/%3E%3C/svg%3E")
        no-repeat;
    opacity: 0.8;
    transform: rotate(-10deg);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.item2 {
    bottom: 15px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h3c1.66 0 3-1.34 3-3v-7c0-4.97-4.03-9-9-9z'/%3E%3C/svg%3E")
        no-repeat;
    opacity: 0.8;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.promo-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.promo-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.2;
}

.promo-code-section {
    font-size: 14px;
    color: #000;
    line-height: 1.4;
}

@media (min-width: 375px) {
    .promo-title {
        font-size: 18px;
    }

    .promo-code-section {
        font-size: 14px;
    }
}

.promo-code {
    display: inline-block;
    font-weight: 400;
    font-size: 12px;
}

@media (min-width: 375px) {
    .promo-code {
        padding: 5px 14px;
        font-size: 14px;
    }
}

/* Decorative elements */
.shopping-cart-icon {
    position: absolute;
    bottom: 15px;
    left: 10%;
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFD700' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E")
        no-repeat;
    opacity: 0.8;
    background-size: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239333EA' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E")
        no-repeat;
    background-size: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.star1 {
    top: 15px;
    right: 15%;
    animation: pulse 2s ease-in-out infinite;
}

.star2 {
    bottom: 20px;
    right: 25%;
    transform: rotate(45deg);
    animation: pulse 2.5s ease-in-out infinite;
}

.basket-icon {
    position: absolute;
    top: 15%;
    right: 10%;
    width: 35px;
    height: 35px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFD700' d='M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43L6.79 9H2c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c.92 0 1.69-.62 1.93-1.46l2.54-9.27L23 10c0-.55-.45-1-1-1h-4.79zM9 9l3-4.4L15 9H9zm3 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E")
        no-repeat;
    opacity: 0.8;
    background-size: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    animation: float 4s ease-in-out infinite;
}

@media (min-width: 375px) {
    .shopping-cart-icon {
        width: 32px;
        height: 32px;
    }

    .star-icon {
        width: 25px;
        height: 25px;
    }

    .basket-icon {
        width: 40px;
        height: 40px;
    }
}

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

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

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:active {
    transform: scale(0.98);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background-color: #f8f8f8;
}

.product-info {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    font-weight: 500;
    max-width: 100% !important;
}

.product-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #e53935;
    margin-top: auto;
}

#first-products-section,
#remaining-products-section {
    min-height: 50px;
}

/* Section title styles */
.section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 15px 5px;
    color: #333;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 24px;
        margin: 30px 0 20px;
        color: #333;
        font-weight: 700;
    }
}

/* Loading indicator styles */
.product-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
}

/* Modern Spinner Loader */
.spinner-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(45, 181, 165, 0.2);
    border-radius: 50%;
    border-top-color: var(--wish-teal);
    animation: spinner 0.8s linear infinite;
    position: relative;
}

.spinner-loader:before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 3px solid transparent;
    border-bottom-color: var(--wish-teal);
    border-radius: 50%;
    animation: spinner-reverse 0.8s linear infinite;
    opacity: 0.6;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner-reverse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

/* Pulse Dot Loader */
.pulse-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-loader .dot {
    width: 10px;
    height: 10px;
    background-color: var(--wish-teal);
    border-radius: 50%;
    margin: 0 5px;
    animation: pulse 1.5s ease-in-out infinite;
}

.pulse-loader .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.pulse-loader .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Category Section */
.category-section {
    padding: 10px 15px;
    background-color: white;
}

.category-heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
    color: #000;
}

@media (min-width: 768px) {
    .category-heading {
        font-size: 24px;
    }
}

.category-subheading {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .category-subheading {
        font-size: 16px;
    }
}

.category-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.category-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Desktop Category Grid */
.desktop-category-section {
    padding: 15px 0;
    background-color: white;
    margin-bottom: 30px;
}

.desktop-category-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    flex-wrap: wrap;
}

.desktop-category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 16.666%;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.desktop-category-circle:hover .category-circle-icon {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-circle-icon {
    width: 80px;
    height: 80px;
    background: #f2f4f5;
    border-radius: 50%;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-circle-icon img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.category-circle-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-align: center;
    margin-top: 5px;
}

@media (max-width: 992px) {
    .category-circle-icon {
        width: 70px;
        height: 70px;
    }
}

.category-item {
    text-align: center;
    flex: 0 0 auto;
    width: 80px;
    text-decoration: none;
}

.category-icon {
    width: 65px;
    height: 65px;
    background: #f2f4f5;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-name {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}
