/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* iOS Safari specific fixes for backdrop-filter */
@supports (-webkit-touch-callout: none) {
    .navbar,
    .cart-overlay,
    .mobile-menu-overlay,
    .checkout-overlay,
    .dropdown-menu {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
        will-change: transform;
    }
}

/* Additional iOS Safari optimizations */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Force hardware acceleration for backdrop-filter elements */
    .navbar,
    .cart-overlay,
    .mobile-menu-overlay,
    .checkout-overlay,
    .dropdown-menu {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

body {
    font-family: 'Modeco Trial', 'Inter', sans-serif;
    background: #F5F5F3;
    overflow-x: hidden;
}

/* Custom font for Modeco Trial */
@font-face {
    font-family: 'Modeco Trial';
    src: url('./modeco-trial/ModecoTrial-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Modeco Trial';
    src: url('./modeco-trial/ModecoTrial-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Modeco Trial';
    src: url('./modeco-trial/ModecoTrial-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 64px;
    z-index: 1000;
    transition: background 0.3s ease;
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(8px)) {
    .navbar {
        background: rgba(255, 255, 255, 0.85);
    }
}

.navbar.dark {
    background: rgba(51, 43, 34, 0.8);
}

.navbar.light {
    background: rgba(255, 255, 255, 0.15);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Currency dropdown */
.currency-dropdown {
    position: relative;
}

.nav-link-button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(51, 43, 34, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 12px;
    display: none;
    flex-direction: column;
    gap: 12px;
    border-radius: 4px;
    min-width: 80px;
    margin-top: 8px;
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(8px)) {
    .dropdown-menu {
        background: rgba(51, 43, 34, 0.9);
    }
}

.dropdown-item {
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    padding-left: 12px;
    transition: all 0.3s ease;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(50% - 2px);
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: white;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-item:hover::before {
    opacity: 1;
}

.currency-dropdown.open #currency-menu {
    display: flex;
}

/* Search functionality */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: auto;
}

.search-trigger {
    width: auto;
    flex-shrink: 0;
}

.search-expanded {
    position: relative;
    width: 200px;
    background: transparent;
    z-index: 1001;
    transition: width 0.6s ease-in-out, opacity 0.6s ease-in-out;
    overflow: hidden;
    opacity: 0;
}

.search-container.search-active .search-expanded {
    width: 240px;
    opacity: 1;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    outline: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    transition-delay: 0.3s;
}

.search-container:not(.search-active) .search-input {
    transition-delay: 0s;
}

.search-container.search-active .search-input {
    opacity: 1;
}

.search-underline {
    width: 100%;
    height: 1px;
    background: white;
    margin-top: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
    transition-delay: 0.2s;
}

.search-container:not(.search-active) .search-underline {
    transition-delay: 0.1s;
}

.search-container.search-active .search-underline {
    transform: scaleX(1);
}

.search-input::placeholder {
    color: white;
    opacity: 0.8;
}

/* When search is expanded, adjust layout */
.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
    transition: all 0.8s ease-in-out;
}

.nav-right.search-active {
    justify-content: flex-start;
    gap: 20px;
}

.search-active .currency-dropdown {
    flex-shrink: 0;
    transition: all 0.8s ease-in-out;
}

.search-active .search-container {
    flex: 1;
    min-width: 240px;
    transition: all 0.8s ease-in-out;
}

.nav-link {
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
    opacity: 1;
    z-index: 1;
}

.nav-link:hover::after {
    width: 100% !important;
}

/* Alternative approach using border-bottom */
.nav-link-alt {
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.nav-link-alt:hover {
    border-bottom-color: white;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-text {
    color: white;
    font-size: 40px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 200;
    letter-spacing: 2px;
}

.logo-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    outline: none !important;
    border: none !important;
}

.logo-link:focus {
    outline: none !important;
    text-decoration: none !important;
    border: none !important;
}

.logo-link:hover {
    text-decoration: none !important;
    border: none !important;
}

.logo-link:visited {
    text-decoration: none !important;
    border: none !important;
}

.logo-link:active {
    text-decoration: none !important;
    border: none !important;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 795px;
    margin-top: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    margin-bottom: 8px;
}

.hero-line {
    width: 73px;
    height: 2px;
    background: white;
    margin: 0 auto 16px;
}

/* CTA link with baseline underline that expands on hover */
.cta-link {
    color: white;
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    white-space: nowrap;
}

.cta-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background: white;
    width: 51px; /* small default line */
    transition: width 0.3s ease;
}

.cta-link:hover::after {
    width: 100%;
}

/* Top Sellers Section */
.top-sellers {
    padding: 40px 64px 64px 64px;
    background: #F5F5F3;
}

.section-title {
    text-align: left;
    color: #332B22;
    font-size: 32px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 200;
    margin-bottom: 28px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    cursor: pointer;
}

.product-image-container {
    height: 340px;
    padding: 64px 0;
    background: #F3F2EF;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.product-image {
    max-width: 150%;
    max-height: 150%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: blur(3px);
}

.product-image-container::after {
    content: "COMING SOON";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
    white-space: nowrap;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    color: #332B22;
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
}

.product-price {
    color: #332B22;
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 200;
}



/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    right: -25%;
    width: 25%;
    height: 100vh;
    background: rgba(51, 43, 34, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 1001;
    transition: right 0.3s ease-in-out;
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(16px)) {
    .cart-overlay {
        background: rgba(51, 43, 34, 0.95);
    }
}

/* Mobile and tablet - more opaque backgrounds */
@media (max-width: 1200px) {
    .cart-overlay {
        background: rgba(51, 43, 34, 0.9) !important;
    }
    
    .mobile-menu-overlay {
        background: rgba(51, 43, 34, 0.9) !important;
    }
    
    .checkout-overlay {
        background: rgba(51, 43, 34, 0.9) !important;
    }
}

@media (max-width: 768px) {
    .cart-overlay {
        background: rgba(51, 43, 34, 0.95) !important;
    }
    
    .mobile-menu-overlay {
        background: rgba(51, 43, 34, 0.95) !important;
    }
    
    .checkout-overlay {
        background: rgba(51, 43, 34, 0.95) !important;
    }
}

.cart-overlay.active {
    right: 0;
}

.cart-content {
    padding: 80px 32px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    box-sizing: border-box;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    color: white;
}

.cart-title {
    font-size: 24px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
}

.cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 32px;
    min-height: 0;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    position: relative;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: #F3F2EF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-item-name {
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    margin-bottom: 4px;
    word-wrap: break-word;
    line-height: 1.2;
}

.cart-item-price {
    font-size: 14px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 200;
    opacity: 0.8;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-right: 45px;
    margin-top: auto;
}

.quantity-dropdown {
    position: relative;
}

.quantity-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: white;
    font-size: 14px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-align: center;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-toggle:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.quantity-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.quantity-dropdown.open .quantity-arrow {
    transform: rotate(180deg);
}

.quantity-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(51, 43, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-top: 4px;
    display: none;
    flex-direction: column;
    z-index: 10;
}

.quantity-dropdown.open .quantity-menu {
    display: flex;
}

.quantity-item {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-align: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quantity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(50% - 2px);
    transform: translateY(-50%);
    width: 3px;
    height: 12px;
    background: white;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quantity-item:hover::before {
    opacity: 1;
}

.quantity-item.active {
    opacity: 1;
    font-weight: 500;
}

.quantity-item.active::before {
    opacity: 1;
}

.quantity-item:not(.active) {
    opacity: 0.7;
}

.quantity-item:hover {
    opacity: 1;
}



/* Delete button */
.cart-item-delete {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 16px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-delete:hover {
    color: white;
    opacity: 1;
}

.cart-item-delete svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.cart-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    padding-bottom: 24px;
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    color: white;
}

.cart-total-label {
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
}

.cart-total-amount {
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 200;
}

.apple-pay-button {
    width: 100%;
    background: #000;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.apple-pay-button:hover {
    background: #333;
}

.apple-pay-icon {
    width: 20px;
    height: 20px;
    color: white;
    position: absolute;
    left: 16px;
}

/* Credit Card Button */
.credit-card-button {
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 12px;
}

.credit-card-button:hover {
    background: #e8e8e8;
}

.credit-card-icon {
    width: 20px;
    height: 20px;
    color: #000;
    position: absolute;
    left: 16px;
}

/* Responsive adjustments for cart */
@media (max-width: 768px) {
    .cart-overlay {
        width: 100%;
        right: -100%;
    }
    
    .cart-content {
        padding: 80px 24px 120px 24px;
    }
}

/* Bottom Banner */
.bottom-banner {
    position: relative;
    width: 100%;
    height: 681px;
    background: black;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
    position: relative;
}

.banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* Reduce image saturation by 25% when hovering the CTA links */
.hero:has(.cta-link:hover) .hero-image {
    filter: saturate(0.65);
}

.bottom-banner:has(.banner-link:hover) .banner-image {
    filter: saturate(0.65);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
}

/* Bottom banner link with baseline that expands on hover */
.banner-link {
    color: white;
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    white-space: nowrap;
    visibility: hidden;
}

.banner-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background: white;
    width: 73px; /* small default line */
    transition: width 0.3s ease;
}

.banner-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .navbar {
        padding: 0 32px;
    }
    
    .top-sellers {
        padding: 50px 32px 32px 32px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 0 16px;
    }
    
    .nav-left, .nav-right {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .top-sellers {
        padding: 40px 16px 16px 16px;
    }
    
    .section-title {
        font-size: 24px;
        text-align: left;
    }
    
    .hero, .bottom-banner {
        height: 400px;
    }
}

/* BAG Link */
.bag-link {
    display: block;
}

/* Mobile BAG Link */
.bag-link-mobile {
    display: none;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1002;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(51, 43, 34, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 1001;
    transition: right 0.3s ease-in-out;
}

/* Force mobile menu background on mobile and tablet */
@media (max-width: 1200px) {
    .mobile-menu-overlay {
        background: rgba(51, 43, 34, 0.9) !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-overlay {
        background: rgba(51, 43, 34, 0.95) !important;
    }
}



.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    padding: 80px 32px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}



.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav-link {
    color: white;
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-link:hover {
    opacity: 0.7;
}

.mobile-section-title {
    color: white;
    font-size: 14px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 200;
    opacity: 0.7;
    margin-bottom: 16px;
    display: block;
}

.mobile-currency-dropdown {
    position: relative;
}

.mobile-currency-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-align: left;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-currency-toggle:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.mobile-currency-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-currency-dropdown.open .mobile-currency-arrow {
    transform: rotate(180deg);
}

.mobile-currency-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(51, 43, 34, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-top: 4px;
    display: none;
    flex-direction: column;
    z-index: 10;
}

.mobile-currency-dropdown.open .mobile-currency-menu {
    display: flex;
}

.mobile-currency-item {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    text-align: left;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-currency-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(50% - 2px);
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: white;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-currency-item:hover::before {
    opacity: 1;
}

.mobile-currency-item.active {
    opacity: 1;
    font-weight: 500;
}

.mobile-currency-item.active::before {
    opacity: 1;
}

.mobile-currency-item:not(.active) {
    opacity: 0.7;
}

.mobile-currency-item:hover {
    opacity: 1;
}

.mobile-search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    padding: 8px 0;
    outline: none;
}

.mobile-search-input::placeholder {
    color: white;
    opacity: 0.7;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 1024px) {
    .nav-left, .nav-right {
        display: none;
    }
    
    .bag-link-mobile {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .navbar {
        padding: 0 24px;
    }
}

/* Checkout Overlay Styles */
.checkout-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 25%;
    height: 100vh;
    background: rgba(51, 43, 34, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}



.checkout-overlay.active {
    transform: translateX(0);
}

.checkout-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    box-sizing: border-box;
    padding: 0 32px;
}

.checkout-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-shrink: 0;
    gap: 16px;
}

.checkout-title {
    color: white;
    font-size: 24px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    margin: 0;
}

.checkout-back {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    cursor: pointer;
    padding: 8px 0;
    transition: opacity 0.3s ease;
    order: -1;
}

.checkout-back:hover {
    opacity: 0.7;
}

.checkout-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label {
    color: white;
    font-size: 14px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    opacity: 0.8;
}

.form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.form-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.form-row .form-group {
    flex: 0 0 calc(50% - 8px);
    min-width: 0;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
    flex-shrink: 0;
}

.checkout-total-label {
    color: white;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    opacity: 0.8;
}

.checkout-total-amount {
    color: white;
    font-size: 18px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
}

.checkout-submit-btn {
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 16px 24px;
    font-size: 16px;
    font-family: 'Modeco Trial', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.checkout-submit-btn:hover {
    background: #333;
}

/* Mobile responsive for checkout */
@media (max-width: 768px) {
    .checkout-overlay {
        width: 100%;
    }
    
    .checkout-content {
        margin-top: 80px;
        padding: 0 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}
