/* Header Styles */
.notification-bar {
    background-color: #000000;
    color: white;
    padding: 6px 0;
    text-align: center;
    position: relative;
    font-size: .8rem;
}

.close-notification {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.category-nav {
    display: flex;
    gap: 20px;
}

.category-nav a {
    text-decoration: none;
    color: #000;
    padding: 5px 8px;
    text-transform: uppercase;
    font-size: .9rem;
}

.category-nav a.active {
    background-color: #000;
    color: white;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 240px;
    padding: 15px 0;
    margin: 5px 0 0;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown.show .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #000;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
    font-weight: bold;
}

.dropdown-menu a.sale {
    color: #e64a19;
}

.logo {
    text-align: center;
}

.logo img {
    height: 30px;
}

/* Hamburger Menu */
.hamburger-menu {
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
    /* Higher z-index to stay on top */
}

.hamburger-svg {
    width: 30px;
    height: 25px;
}

.hamburger-line {
    stroke: #000;
    stroke-width: 2;
    stroke-linecap: round;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active .line-1 {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .line-2 {
    opacity: 0;
}

.hamburger-menu.active .line-3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
    overflow-y: auto;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.show {
    transform: translateX(280px);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 15px;
}

.mobile-menu-item {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-menu-item a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    display: block;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
}

.mobile-dropdown-content {
    display: none;
    padding-left: 15px;
    margin-top: 10px;
}

.mobile-dropdown-content.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-dropdown-content a {
    padding: 8px 0;
    font-weight: normal;
}

.mobile-dropdown-content a.sale {
    color: #e64a19;
}

.mobile-menu-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.mobile-menu-footer-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.mobile-menu-footer-item i {
    margin-right: 15px;
    width: 20px;
}

.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-actions .icon {
    cursor: pointer;
}

.secondary-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.secondary-nav a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.secondary-nav a.sale {
    color: #e64a19;
}

.search-container {
    position: relative;
    width: 200px;
}

.search-container input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-container .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* country selector */
div#cdr-countrySelector {
    z-index: 100000;
}

/* Product Styles (from previous code) */
.product-thumbnail {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    cursor: pointer;
    width: 100%;
    height: auto;
}

.product-thumbnail.active {
    border: 1px solid #000;
}

/* .main-image-container {
    position: relative;
} */

.cart-product-title {
    font-size: .9rem;
}

.cart-size {
    font-size: .8rem;
}

.cart-quantity {
    font-size: .8rem;
}

@media (max-width: 500px) {
    .cart-product-title {
        font-size: .7rem;
    }

    .cart-size {
        font-size: .7rem;
    }

    .cart-quantity {
        font-size: .78rem;
    }
}

.deal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff0000;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.price-container {
    margin-top: 20px;
}

.current-price {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
}

.original-price {
    text-decoration: line-through;
    color: #ff0000;
}

.discount-percentage {
    color: #ff0000;
}

.product-info h2 {
    text-transform: uppercase;
    font-weight: bold;
}

.add-to-bag {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: white;
    border: none;
}

.shipping-info {
    border: 1px solid #ddd;
    margin-top: 20px;
}

.shipping-row {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.shipping-row span {
    letter-spacing: 0px;
}

@media (max-width: 500px) {
    .shipping-row strong {
        font-size: .9rem;
    }
}

.shipping-row:last-child {
    border-bottom: none;
}

.info-icon {
    color: #666;
    cursor: pointer;
}

/* Swiper Slider Styles */
.swiper-container {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-swiper {
    display: none;
}

.swiper-pagination {
    position: relative;
    margin-top: 15px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #000;
}

/* Custom Size Dropdown Styles */
.size-dropdown-container {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.size-dropdown-header {
    width: 100%;
    padding: 12px;
    border: 1px solid #000000;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #000000;
}

.size-dropdown-header.selected {
    color: #000;
    font-weight: bold;
    border-color: #000;
}

.size-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    display: none;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.size-dropdown-content.show {
    display: block;
}

.size-option {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.size-option:last-child {
    border-bottom: none;
}

.size-option:hover {
    background-color: #f9f9f9;
}

/* New styles for stock and price */
.size-option .size-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: bold;
}

.size-option .size-price {
    color: #666;
    font-size: 14px;
}

.size-option .stock-info {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: bold;
}

.size-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.size-option.disabled .stock-info {
    color: #999;
}

.size-dropdown-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.size-dropdown-overlay.show {
    display: block;
}

/* Mobile Size Dropdown Styles */
@media(max-width: 768px) {
    .size-dropdown-content {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        max-height: 70vh;
        border: none;
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateY(0);
        display: block;
    }

    .size-dropdown-content.show {
        transform: translateY(-100%);
    }

    .size-dropdown-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background-color: white;
    }

    .size-dropdown-close {
        font-size: 24px;
        cursor: pointer;
    }

    .product-info-mobile {
        padding: 15px;
        background-color: #eee;
        border-bottom: 1px solid #ddd;
    }

    .product-title-mobile {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .product-price-mobile {
        font-weight: bold;
    }
}

/* Responsive Styles */
@media(max-width: 768px) {
    .category-nav {
        display: none;
    }

    .main-nav {
        padding: 15px;
    }

    .product-swiper {
        display: block;
    }

    .desktop-product-view {
        display: none;
    }
}

@media(max-width: 500px) {
    .main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .user-actions {
        display: none;
    }

    .logo {
        flex-grow: 1;
        text-align: center;
    }

    .mobile-cart-icon {
        display: block;
        font-size: 1.2rem;
    }

    .product-info h2 {
        font-size: 1.4rem;
    }
}

/* Hide mobile elements on desktop */
@media(min-width: 769px) {
    .hamburger-menu {
        display: none;
    }

    .mobile-cart-icon {
        display: none;
    }

    .product-info h2 {
        font-size: 1.5rem;
    }

    body.menu-open {
        overflow: hidden;
    }
}

.accordion-info {
    padding: 20px 10px;
}

.accordion-info h4 {
    background: #000;
    color: #fff;
    padding: 20px 10px;
}

.accordion-info .accordion-button {
    color: #000;
    background-color: #e1e1e1;
    box-shadow: none;
    font-weight: bolder;
}

.accordion-info .accordion-button:not(.collapsed) {
    color: #000;
    background-color: #e1e1e1;
    box-shadow: none;
    font-weight: bolder;
}


.accordion-info .accordion-body {
    background: #fff;
    color: #000;
    padding: 10px 20px;
}

.accordion-button::after {
    flex-shrink: 0;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    margin-left: auto;
    content: "";
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") no-repeat;
    background-size: var(--bs-accordion-btn-icon-width);
    transition: var(--bs-accordion-btn-icon-transition);
    color: #fff;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: var(--bs-accordion-btn-icon-transform);
}

.info-boxes-container {
    border: 1px solid #e7e7e7;
}

.row-joined {
    margin-left: 0;
    margin-right: 0;
}

.info-boxes-container .info-box:not(:last-child) {
    border-right: 1px solid #e7e7e7;
}

.info-boxes-container .info-box {
    margin: 1.4rem 0 1.2rem;
    padding: 1.2rem;
    padding-right: 1.5rem;
}

.info-box-icon-left {
    justify-content: center;
}

.info-box {
    display: flex;
    align-items: center;
    color: #222529;
}

.info-boxes-container i {
    padding: 0 0.1em;
    line-height: 0;
    font-size: 32px;
    color: #0d6efd;
}

.info-box .icon {
    width: 64px;
    height: 64px;
    border: 1px dashed blue;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-boxes-container .icon-shipping {
    font-size: 3.5rem;
}

.info-box {
    display: flex;
    align-items: center;
    color: #222529;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.info-box h4 {
    color: #212529;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center;
}

.info-boxes-container p {
    font-weight: 400;
    letter-spacing: 0.01em;
}

.info-box p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 2.0;
    text-align: center;
}

.text-body {
    color: #777 !important;
}

/* Color Selection Styles */
.color-selection {
    margin: 20px 0;
}

.color-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-option {
    position: relative;
    width: 60px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-option:hover {
    transform: translateY(-3px);
}

.color-option.active {
    border-bottom: 2px solid #000;
}

.color-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.color-image-container {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.color-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.color-name {
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-option .stock-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 2px;
    color: #ff6b6b;
    font-weight: bold;
    white-space: nowrap;
}