@font-face {
    font-family: 'cycasdor_neue';
    src: url('./../fonts/germagont-8o290.ttf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'cycasdor_helve';
    src: url('./../fonts/HelveticaNeueBold.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

html,
body {
    font-family: 'cycasdor_neue', 'cycasdor_helve', sans-serif !important;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

/* 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: flex;
}

.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: 80%;
    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;
        letter-spacing: 0;
        text-transform: capitalize;
    }
}

.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;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 25px;
    color: #ffffff;
    padding: 5px 10px;
    border: 1px solid;
}

/* 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;
    }
}


/* ========================== product page accordion =============== */
.cdr_produdtc_accordion_accordion {
    width: 100%;
    border-top: 1px solid #e5e5e5;
}

.cdr_produdtc_accordion_accordion-item {
    border-bottom: 1px solid #e5e5e5;
}

.cdr_produdtc_accordion_accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    font-size: 16px;
}

.cdr_produdtc_accordion_accordion-header:hover {
    opacity: 0.8;
}

.cdr_produdtc_accordion_chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cdr_produdtc_accordion_chevron.cdr_produdtc_accordion_active {
    transform: rotate(180deg);
}

.cdr_produdtc_accordion_accordion-content {
    display: none;
    padding: 0 0 16px 0;
}

.cdr_produdtc_accordion_accordion-content ul {
    list-style: none;
    padding-left: 0;
}

.cdr_produdtc_accordion_accordion-content li {
    margin-bottom: 8px;
}

.terms-conditions h3,
.terms-conditions h2 {
    font-size: 1.25rem;
}

section.shipping.mt-5 h1,
section.shipping.mt-5 h2 {
    font-size: 1.25rem !important;
}

.product-card-title {
    font-size: .8rem;
}

/*==================== PLOCIY PAGES RESPONSIVE ======================*/
@media (max-width: 500px) {

    .simple-return .page-title,
    .terms-conditions h1,
    .terms-conditions h2,
    .terms-conditions h3 {
        font-size: 1rem !important;
    }

    .simple-return .content p,
    .simple-return .alert.alert-info {
        font-size: .7rem;
        letter-spacing: .5px;
    }

    .simple-return .notice-title {
        font-size: 1rem !important;
    }

    section.terms-conditions.pt-5 {
        font-size: .7rem;
        letter-spacing: .5px;
    }

    section.shipping.mt-5 h1,
    section.shipping.mt-5 h2 {
        font-size: 1rem !important;
    }

    .cdr-privacy-policy p {
        font-size: .7rem;
    }

    .about-us p {
        font-size: .7rem;
    }

    p.lead.text-muted {
        font-size: 1rem;
    }

    .category-header p {
        font-size: .7rem !important;
        letter-spacing: .7px;
    }

    .product-card-title {
        font-size: .6rem !important;
    }
}

/*============== product review ==============*/
.product_review .review-card {
    background-color: white;
    border-radius: 8px;
    height: 250px;
    margin: 10px;
    text-align: left;
}

.product_review .reviewer-name {
    font-weight: 600;
    font-size: .9rem;
}

.product_review .rating{
    font-size: .8rem;
}

.product_review .verified{
    display: inline-block;
}

.product_review .verified i {
    background-color: #28a745;
    color: rgb(255, 255, 255);
    font-size: .5rem;
    padding: 0.2rem 0.2rem;
    border-radius: 100%;
}

.product_review .verified span{
    font-size: .7rem;
    letter-spacing: .5px;
    text-transform: capitalize;
}

.product_review .review-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.product_review .swiper-button-next::after, .product_review .swiper-button-prev::after {
    font-size: 25px;
    color: #2b2727;
    padding: 5px 10px;
    border: 1px solid black;
}

.cdr-product-mbl-view{
    display: none;
}

@media (max-width: 768px) {
    .cdr-product-mbl-view{
        display: block;
    }
    .product_review .review-card {
        height: 260px;
        width: 500px !important;
    }

    .product_review .swiper-button-next::after, .product_review .swiper-button-prev::after {
        font-size: 20px;
        color: #2b2727;
        padding: 5px 10px;
        border: none;
    }
    .product_review .swiper-button-next {
        right: -8px;
    }
    
    .product_review .swiper-button-prev {
        left: -6px;
    }
}