* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --black: #000000;
    --cream: #fef7ed;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

.landing-page {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.landing-page~.footer {
    display: none;
}

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

.soccer-match-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hazardandmbappe.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.soccer-match-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #939090;
    opacity: 0.8;
    z-index: 2;
}

.soccer-match-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hazardandmbappe.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 3;
}

.landing-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
    aspect-ratio: 16/9;
}

.landing-logo-container {
    margin-bottom: 40px;
}

.landing-logo {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0.7;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.landing-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    font-family: 'Jomhuria', cursive;
    font-size: 1.2rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.landing-btn-left {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.landing-btn-left:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #bbb;
}

.landing-btn-right {
    background: var(--primary-blue);
    color: white;
    border: 1px solid var(--primary-blue);
}

.landing-btn-right:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    border-color: var(--secondary-blue);
}


.latest-kits h2 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 30px;
}

.kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.kit-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.kit-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.kit-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.cta-button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.cta-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.main-website {
    min-height: 100vh;
    background-color: var(--white);
}

.main-website.hidden {
    display: none;
}

.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-link {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: background 0.2s ease;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
    background: #f8f9fa;
    color: var(--primary-blue);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kdr-blue), #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.logo-circle:hover {
    transform: rotate(360deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.logo-circle i {
    color: white;
    font-size: 1.2rem;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--kdr-blue);
    margin: 0;
    transition: color 0.3s ease;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    transition: color 0.3s ease;
}

.logo:hover .logo-text h1 {
    color: #1e40af;
}

.logo:hover .logo-text p {
    color: var(--kdr-blue);
}


.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.favorites-icon {
    position: relative;
    cursor: pointer;
    color: #fbbf24;
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.favorites-icon:hover {
    background-color: var(--gray-100);
}

.favorites-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f59e0b;
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    color: var(--primary-blue);
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.cart-icon:hover {
    background-color: var(--gray-100);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--error);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.page {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 40px 0;
}

.page.active {
    display: block;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

#add-to-cart-btn {
    width: 100%;
    margin-top: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-300);
    color: var(--gray-900);
    border-color: var(--gray-400);
}

.btn-tertiary {
    background: var(--gray-200);
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
}

.btn-tertiary:hover {
    background: var(--gray-300);
    color: var(--gray-900);
}

.features-section {
    padding: 60px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: var(--gray-100);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Featured Products Section */
.featured-products-section {
    background: #f8f9fa;
    padding: 40px 0;
    margin-top: 20px;
}

.featured-products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2B5BA6;
}

.featured-products-section p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.featured-products-grid .product-card {
    max-width: 250px;
    margin: 0 auto;
}

/* Product Badges */
.product-badges {
    display: flex;
    gap: 8px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.product-badge {
    background: #2B5BA6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.reviews-section {
    padding: 60px 0;
    background: var(--cream);
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 50px;
}

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

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--warning);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--gray-600);
}

.reviewer {
    font-weight: 600;
    color: var(--primary-blue);
}

.reviews-note {
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* Add Review Section */
.add-review-section {
    margin-top: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.add-review-section h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 30px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.review-form .form-group {
    display: flex;
    flex-direction: column;
}

.review-form .form-group label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.review-form .form-group input,
.review-form .form-group select,
.review-form .form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.review-form .form-group input:focus,
.review-form .form-group select:focus,
.review-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.review-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Pack Opening Page */
.pack-opening-content {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.pack-opening-content h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
}

.pack-opening-content p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.pack-opening-animation {
    margin: 40px 0 20px 0;
    min-height: 250px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pack-box {
    position: relative;
    width: 200px;
    height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pack-box:hover {
    transform: scale(1.05);
}

.pack-lid {
    width: 200px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 10px 10px 0 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.pack-body {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.pack-lid::before {
    content: 'PACK';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.pack-open-btn {
    font-size: 1.3rem;
    padding: 15px 40px;
    margin: 20px 0;
}

.pack-actions {
    margin-top: 50px;
    margin-bottom: 30px;
    display: none;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 1;
    visibility: visible;
    padding-bottom: 20px;
}

html.desktop .pack-actions {
    display: none !important;
}

.pack-action-cart.pack-action-confirmed,
.pack-actions .btn.pack-action-confirmed {
    background: #10b981 !important;
    color: #fff !important;
}

.revealed-shirt {
    animation: revealShirt 0.8s ease-out;
    max-width: 800px;
    margin: 0 auto;
    overflow: visible;
}

.revealed-shirt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.revealed-shirt-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.revealed-shirt img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: block;
}

.revealed-shirt-buttons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.pack-action-cart,
.pack-action-another {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pack-action-cart {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.pack-action-cart:hover {
    background: var(--primary-blue-dark);
    transform: scale(1.05);
}

.pack-action-another {
    background: var(--gray-200);
    color: var(--gray-800);
    border: 1px solid var(--gray-300);
}

.pack-action-another:hover {
    background: var(--gray-300);
    transform: scale(1.05);
}

.revealed-shirt-text {
    text-align: center;
}

.revealed-shirt h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.revealed-shirt p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0;
}

html.mobile .pack-action-cart,
html.mobile .pack-action-another {
    display: none !important;
}

@keyframes revealShirt {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateY(180deg);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1) rotateY(90deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes packOpen {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1) rotateY(10deg);
    }

    100% {
        transform: scale(1) rotateY(0deg);
    }
}

.pack-box.opening {
    animation: packOpen 0.6s ease-in-out;
}

/* Mystery Shirt Page */
.mystery-shirt-content {
    text-align: center;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.mystery-shirt-content h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.mystery-shirt-content p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.shirt-banner {
    margin: 40px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.shirt-carousel {
    display: flex;
    animation: scrollShirts 20s linear infinite;
    gap: 20px;
}

.shirt-carousel img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

@keyframes scrollShirts {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.mystery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.mystery-option {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.mystery-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.mystery-option.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    transform: scale(1.05);
}

.mystery-option.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.option-header {
    margin-bottom: 20px;
}

.option-header h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.savings {
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.mystery-option p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.mystery-customization {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.mystery-customization h3 {
    font-size: 1.8rem;
    color: var(--gray-800);
    margin-bottom: 30px;
}

.customization-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customization-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.customization-form .form-group label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.customization-form .form-group input,
.customization-form .form-group select {
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.customization-form .form-group input:focus,
.customization-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.customization-form .form-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.size-selection-type {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.radio-label:hover {
    border-color: var(--primary-blue);
    background-color: var(--gray-50);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-label input[type="radio"]:checked~span,
.radio-label input[type="radio"]:checked {
    border-color: var(--primary-blue);
    background-color: var(--blue-50);
    color: var(--primary-blue);
}

.custom-size-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.custom-size-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-size-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.custom-size-select {
    padding: 10px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.mystery-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 40px 0 20px 0;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 30px 0 15px 0;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.pricing-table {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row span:first-child {
    font-weight: 500;
    color: var(--gray-800);
}

.pricing-row span:last-child {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.social-links {
    margin: 30px 0;
}

.instagram-link,
.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 25px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.instagram-link:hover,
.email-link:hover,
.depop-link:hover,
.vinted-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.depop-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.vinted-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.shipping-countries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.country-column ul {
    list-style: none;
    padding: 0;
}

.country-column li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.country-column li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .shipping-countries {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.info-boxes {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 12px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 5px;
}

.info-box h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.info-box p {
    color: var(--gray-600);
    margin: 0;
}

.info-box a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

.install-instructions {
    margin: 30px 0;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.12));
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
}

.install-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.install-text h3 {
    margin: 0 0 6px 0;
    color: var(--gray-800);
}

.install-text p {
    margin: 0;
    color: var(--gray-600);
}

/* Product Pages Layout */
#new-season-page,
#retro-page {
    min-height: calc(100vh - 200px);
    background: var(--gray-100);
    padding: 0;
    margin: 0;
}

.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 5px 0;
}

.filters-row {
    display: flex;
    gap: 3px;
    padding: 6px 20px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: nowrap;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

.products-scrollable {
    height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 20px 0;
}


.search-container {
    flex: 4;
    min-width: 300px;
    max-width: 500px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    z-index: 1;
    font-size: 16px;
}

.clear-search {
    position: absolute;
    right: 12px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
    font-size: 14px;
}

.clear-search:hover {
    color: #6b7280;
    background-color: #f3f4f6;
}

.filters-row .filter-group {
    margin-bottom: 0;
    flex-shrink: 0;
}

.filters-row .search-input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
    height: 40px;
}

.search-input:focus {
    outline: none;
    border-color: var(--kdr-blue);
}

.filter-dropdowns {
    display: flex;
    gap: 2px;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: space-between;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.filter-select {
    padding: 5px 6px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 80px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 5px center;
    background-repeat: no-repeat;
    background-size: 10px;
    padding-right: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    position: relative;
}

.filter-select:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* Style the dropdown options */
.filter-select option {
    padding: 12px 16px;
    background: white;
    color: var(--gray-800);
    font-weight: 500;
    border: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 0;
}

.filter-select option:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
    color: var(--primary-blue);
    transform: translateX(4px);
}

.filter-select option:checked {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-800);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.filter-group label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 1px;
}

.version-checkboxes,
.sleeve-checkboxes {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.version-checkboxes .checkbox-label,
.sleeve-checkboxes .checkbox-label {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
}

.version-checkboxes .checkbox-label:hover,
.sleeve-checkboxes .checkbox-label:hover {
    background: #e9ecef;
    border-color: var(--primary-blue);
}

.version-checkboxes .checkbox-label input[type="checkbox"],
.sleeve-checkboxes .checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.version-checkboxes .checkbox-label input[type="checkbox"]:checked+.checkmark,
.sleeve-checkboxes .checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.version-checkboxes .checkbox-label input[type="checkbox"]:checked+.checkmark:after,
.sleeve-checkboxes .checkbox-label input[type="checkbox"]:checked+.checkmark:after {
    display: block;
}

.products-main {
    padding: 20px;
    overflow-y: auto;
    background: var(--gray-100);
    min-height: calc(100vh - 280px);
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid .product-card {
    max-width: 250px;
    margin: 0 auto;
}

.page {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 10px 0;
}

/* Filters Sidebar */
/* Filters Sidebar Styling */
.filters-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
}

.filters-sidebar .filter-group {
    margin-bottom: 20px;
}

.filters-sidebar .filters-sidebar select,
.filters-sidebar input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--gray-800);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filters-sidebar select:focus,
.filters-sidebar input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.15);
}

.filters-sidebar select:hover,
.filters-sidebar input:hover {
    border-color: var(--secondary-blue);
}

.filters h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 8px;
    position: relative;
}

.filters h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.filter-group:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}


.filter-group select,
.filter-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.filter-group select:hover,
.filter-group input:hover {
    border-color: var(--secondary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.filters-section {
    margin-bottom: 40px;
}



.filters-sidebar select,
.filters-sidebar input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--gray-800);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filters-sidebar select:focus,
.filters-sidebar input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.15);
}

.filters-sidebar select:hover,
.filters-sidebar input:hover {
    border-color: var(--secondary-blue);
}


.product-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.favorite-btn i {
    color: #d1d5db;
    font-size: 14px;
    transition: all 0.3s ease;
}

.favorite-btn.favorited i {
    color: #f59e0b;
}

.favorite-btn:hover i {
    color: #f59e0b;
}

/* Disable hover effects on touch devices for favorite button */
html.touch .favorite-btn:hover,
html.mobile .favorite-btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: none !important;
}

html.touch .favorite-btn:hover i,
html.mobile .favorite-btn:hover i {
    color: #d1d5db !important;
}

html.touch .favorite-btn.favorited:hover i,
html.mobile .favorite-btn.favorited:hover i {
    color: #f59e0b !important;
}

/* Use active state instead of hover on touch devices */
html.touch .favorite-btn:active,
html.mobile .favorite-btn:active {
    background: rgba(255, 255, 255, 1);
    transform: scale(0.95);
}

html.touch .favorite-btn.favorited:active i,
html.mobile .favorite-btn.favorited:active i {
    color: #f59e0b;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px;
}

.product-image-front {
    opacity: 1;
    z-index: 2;
}

.product-image-back {
    opacity: 0;
    z-index: 1;
}

.product-card:hover .product-image-front {
    opacity: 0;
}

.product-card:hover .product-image-back {
    opacity: 1;
}

/* Ensure retro products are always visible */
.retro-products .product-card {
    opacity: 1;
    visibility: visible;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
    line-height: 1.2;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}


.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-sm.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-sm.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-sm.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-sm.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
}

.product-version {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 8px;
    font-weight: 500;
    background: var(--gray-100);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}


.custom-order-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.custom-order-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.custom-order-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.custom-order-content p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.contact-method h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.contact-method a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-method a:hover {
    text-decoration: underline;
}

.custom-order-info {
    background: var(--gray-100);
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: left;
}

.custom-order-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.custom-order-info ul {
    list-style: none;
    padding: 0;
}

.custom-order-info li {
    padding: 8px 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 25px;
}

.custom-order-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.back-button {
    background: var(--gray-200);
    color: var(--gray-800);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--gray-300);
}

.product-image-gallery {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.gallery-btn {
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-detail-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.size-guide {
    margin: 30px 0;
}

.size-guide h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.size-option {
    padding: 10px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.size-option:hover,
.size-option.selected {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: var(--white);
}

.customization-options {
    margin: 30px 0;
}

.customization-options h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.customization-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
}

.customization-option:last-child {
    border-bottom: none;
}

.customization-option label {
    font-weight: 500;
    color: var(--gray-800);
}

.customization-option input {
    padding: 8px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    width: 200px;
}

.customization-option input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.customization-price {
    font-weight: 600;
    color: var(--primary-blue);
}

.cart-content {
    max-width: 800px;
    margin: 0 auto;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.empty-cart h3 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.empty-cart p {
    color: var(--gray-600);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.12);
    transform: translateY(-2px);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.cart-item:hover .cart-item-image {
    transform: scale(1.05);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
    line-height: 1.2;
}

.cart-item-details {
    color: var(--gray-600);
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--gray-100);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 0 1px 2px rgba(30, 58, 138, 0.1);
}

.quantity-controls {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #1e40af;
    transform: scale(1.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--gray-800);
    padding: 0 8px;
    background: var(--gray-50);
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-info {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 4px;
    font-weight: 500;
}

.cart-item-remove {
    background: linear-gradient(135deg, var(--error), #dc2626);
    color: var(--white);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.cart-item-remove:hover {
    background: linear-gradient(135deg, #dc2626, var(--error));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.cart-total {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
}

.cart-total::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.cart-total h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cart-total p {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
    opacity: 0.9;
}

.checkout-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.checkout-btn:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
}


.checkout-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.checkout-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 30px;
}

.checkout-actions {
    margin: 15px 0 5px;
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.field-error {
    border-color: var(--error) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.order-summary {
    background: var(--gray-100);
    padding: 24px;
    border-radius: 12px;
    height: fit-content;
}

.stripe-section {
    display: none;
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px dashed rgba(99, 102, 241, 0.4);
    border-radius: 14px;
    padding: 24px;
}

.stripe-section h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--gray-800);
}

.stripe-section p {
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

#payment-element {
    margin-top: 16px;
    margin-bottom: 16px;
}

#payment-message {
    color: var(--error);
    font-size: 0.9rem;
    margin-top: 12px;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--error);
}

#payment-message.hidden {
    display: none;
}


.order-summary.compact {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.order-summary.compact h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.order-summary.compact .order-summary-item-with-image {
    padding: 10px 0;
}

.order-summary.compact .order-summary-image {
    width: 48px;
    height: 48px;
}

.order-summary.compact .order-summary-item-name {
    font-size: 0.85rem;
}

.order-summary.compact .order-summary-item-price {
    font-size: 0.95rem;
}

.order-summary h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.order-summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.order-summary-item-with-image {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.order-summary-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.order-summary-item-details {
    flex: 1;
    min-width: 0;
}

.order-summary-item-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 3px;
    font-size: 0.9rem;
    line-height: 1.2;
}

.order-summary-item-customization {
    color: var(--gray-600);
    font-size: 0.75rem;
    margin-bottom: 8px;
    background: var(--gray-100);
    padding: 6px 10px;
    border-radius: 4px;
    display: block;
    word-wrap: break-word;
    max-width: 100%;
    line-height: 1.4;
}

.order-summary-customization-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    justify-content: space-between;
    width: 100%;
}

.order-summary-customization-item:last-child {
    margin-bottom: 0;
}

.order-summary-customization-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-right: 12px;
    min-width: 60px;
    flex-shrink: 0;
}

.order-summary-customization-value {
    color: var(--gray-600);
    text-align: right;
    flex: 1;
}

/* Customer Information Display */
.customer-info-display {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.customer-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.customer-info-item:last-child {
    margin-bottom: 0;
}

.customer-info-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-right: 12px;
    min-width: 80px;
    flex-shrink: 0;
}

.customer-info-value {
    color: var(--gray-600);
    flex: 1;
}

.order-summary-item-price {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1rem;
}

.order-summary-item-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
    align-items: flex-start;
    margin-top: 4px;
}

.btn-danger {
    background: linear-gradient(135deg, var(--error), #dc2626);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, var(--error));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.footer {
    background: var(--gray-800);
    color: var(--white);
    padding: 60px 0 20px 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section .instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-section .instagram-link:hover {
    color: var(--secondary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-600);
    color: var(--gray-300);
}

/* Customization Popup */
.customization-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

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

.popup-content {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    height: 90vh;
    background: var(--white);
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    padding: 30px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-600);
    z-index: 1;
}

.popup-close:hover {
    color: var(--error);
}

/* Favorites Dropdown */
.favorites-dropdown {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 400px;
    max-height: 70vh;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    flex-direction: column;
}

.favorites-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.favorites-dropdown-header h3 {
    margin: 0;
    color: var(--gray-800);
}

.close-favorites {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
}

.close-favorites:hover {
    color: var(--error);
}

.favorites-dropdown-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.favorites-dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-100);
}

.favorites-dropdown-item:last-child {
    border-bottom: none;
}

.favorites-dropdown-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.favorites-dropdown-item-info {
    flex: 1;
}

.favorites-dropdown-item-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.favorites-dropdown-item-price {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
}

.favorites-dropdown-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.favorites-add-to-cart-btn,
.favorites-remove-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.favorites-add-to-cart-btn {
    background: #f0f9ff;
    color: var(--primary-blue);
}

.favorites-add-to-cart-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.05);
}

.favorites-remove-btn {
    background: #fef2f2;
    color: #dc2626;
}

.favorites-remove-btn:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.05);
}

/* Cart Dropdown */
.cart-dropdown {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 400px;
    max-height: 70vh;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    flex-direction: column;
}

.cart-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.cart-dropdown-header h3 {
    margin: 0;
    color: var(--gray-800);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
}

.close-cart:hover {
    color: var(--error);
}

.cart-dropdown-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-dropdown-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
}

.cart-dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-100);
}

.cart-dropdown-item:last-child {
    border-bottom: none;
}

.cart-dropdown-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-dropdown-item-info {
    flex: 1;
}

.cart-dropdown-item-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cart-dropdown-item-price {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-dropdown-item-remove {
    background: var(--error);
    color: var(--white);
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-dropdown-item-remove:hover {
    background: #dc2626;
}

/* Popup Product Detail Styles */
.popup-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.popup-image-gallery {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.popup-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 12px 12px 12px;
    display: flex;
    justify-content: center;
}

.popup-gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.popup-gallery-btn {
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-gallery-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.popup-product-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.popup-product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.popup-size-guide h3,
.popup-customization-options h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 20px 0 10px 0;
}

.popup-size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.popup-size-option {
    padding: 8px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.popup-size-option:hover,
.popup-size-option.selected {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: var(--white);
}

.popup-customization-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.popup-customization-option:last-child {
    border-bottom: none;
}

.popup-customization-option label {
    font-weight: 500;
    color: var(--gray-800);
    flex: 1;
}

.popup-customization-option input,
.popup-customization-option select {
    padding: 8px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    width: 200px;
    font-size: 0.9rem;
}

.popup-customization-option input:focus,
.popup-customization-option select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.popup-customization-price {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* Custom Order Form */
.custom-order-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.custom-order-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
    text-align: center;
}

.custom-order-form .form-group {
    margin-bottom: 20px;
}

.custom-order-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.custom-order-form .form-group input,
.custom-order-form .form-group select,
.custom-order-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.custom-order-form .form-group input:focus,
.custom-order-form .form-group select:focus,
.custom-order-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.custom-order-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.file-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    cursor: pointer;
}

.file-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.file-input:hover {
    border-color: var(--secondary-blue);
}

.file-input-info {
    margin-top: 8px;
}

.file-input-info p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    font-style: italic;
}

/* Checkbox Filter Styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label:hover input~.checkmark {
    border-color: var(--primary-blue);
    background-color: var(--gray-50);
}

.checkbox-label input:checked~.checkmark {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked~.checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Filter Dropdown Styling */
.filter-dropdown {
    position: relative;
    margin-bottom: 12px;
}

.filter-dropdown-btn {
    width: 100%;
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s ease;
    font-size: 13px;
}

.filter-dropdown-btn:hover {
    border-color: var(--primary-blue);
    background: var(--gray-50);
}

.filter-dropdown-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: var(--white);
}

.filter-dropdown-btn i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.filter-dropdown-btn.active i {
    transform: rotate(180deg);
}

.filter-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    padding: 15px;
}

.filter-dropdown-content.show {
    display: block;
}

.filter-dropdown-content .checkbox-group {
    margin-top: 0;
}

@media (max-width: 768px) {
    .landing-logo {
        height: 140px;
        max-width: 250px;
    }

    .landing-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .landing-btn {
        min-width: 180px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav {
        display: none;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .checkout-content {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filters select,
    .filters input {
        min-width: auto;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .filters-row {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .filters-row .search-input {
        min-width: auto;
        max-width: none;
    }

    .products-main {
        padding: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .cart-dropdown-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cart-dropdown-item img {
        width: 80px;
        height: 80px;
        margin-right: 0;
        align-self: center;
    }

    .cart-dropdown-item-actions {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .landing-title {
        font-size: 1.5rem;
    }

    .kit-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .popup-content {
        width: 90%;
        right: 5%;
        left: 5%;
        transform: translateY(-50%);
    }

    .popup-product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-dropdown {
        width: 90%;
        right: 5%;
    }
}

/* Form Disclaimer */
.form-disclaimer {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 20px 0;
}

.form-disclaimer p {
    margin: 0;
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Success Page */
.success-content {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 30px;
}

.success-content h1 {
    color: var(--gray-800);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.success-content p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.success-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    min-width: 180px;
}

/* Enhanced Cart Dropdown */
.cart-dropdown-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.cart-dropdown-item:hover {
    background: #f8f9fa;
}

.cart-dropdown-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.cart-dropdown-item-info {
    flex: 1;
    min-width: 0;
}

.cart-dropdown-item-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cart-dropdown-item-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-customization {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 5px;
}

.customization-tag {
    background: var(--primary-blue);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cart-dropdown-item-price {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1rem;
}

.cart-dropdown-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cart-customize-btn,
.cart-dropdown-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.cart-customize-btn {
    background: #f0f9ff;
    color: var(--primary-blue);
}

.cart-customize-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.05);
}

.cart-dropdown-item-remove {
    background: #fef2f2;
    color: #dc2626;
}

.cart-dropdown-item-remove:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.05);
}

.cart-total {
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    border-top: 1px solid #e5e7eb;
    background: #f8f9fa;
    font-size: 1.1rem;
    color: var(--gray-800);
}

.cart-subtotal {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 5px;
}

.cart-delivery {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.cart-final-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

/* Smooth Animations */
.cart-dropdown {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-dropdown-content {
    animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New Custom Order Page Styles */
.custom-order-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.custom-order-header {
    text-align: center;
    margin-bottom: 50px;
}

.custom-order-header h1 {
    font-size: 3rem;
    color: var(--kdr-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.custom-order-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.custom-order-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.custom-order-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-order-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
    position: relative;
}

.custom-order-content h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 2px;
}

.custom-order-content p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.custom-order-info {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.custom-order-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.custom-order-info ul {
    list-style: none;
    padding: 0;
}

.custom-order-info li {
    padding: 8px 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 25px;
}

.custom-order-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.custom-order-form {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 25px 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.custom-order-form:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.custom-order-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.custom-order-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 2px;
}

.custom-order-form .form-group {
    margin-bottom: 18px;
}

.custom-order-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.custom-order-form .form-group input,
.custom-order-form .form-group select,
.custom-order-form .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.custom-order-form .form-group input:focus,
.custom-order-form .form-group select:focus,
.custom-order-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.custom-order-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    cursor: pointer;
}

.file-input-info {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-methods {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 60px 0;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
    padding: 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-method:hover i {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    color: white;
}

.contact-method h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.contact-method a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-method a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.contact-method p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.custom-order-form-section .form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--kdr-blue);
}

.file-input-info {
    margin-top: 8px;
}

.file-input-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.btn-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

.custom-order-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    height: fit-content;
}

.info-cards {
    margin-bottom: 30px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kdr-blue);
    background: #e3f2fd;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: inline-block;
}

.info-card h4 {
    font-size: 1.1rem;
    color: var(--kdr-blue);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.contact-info h4 {
    color: var(--kdr-blue);
    margin-bottom: 15px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-method i {
    color: var(--kdr-blue);
    font-size: 1.2rem;
    width: 20px;
}

.contact-method strong {
    color: var(--kdr-blue);
}

.honeypot {
    display: none;
}

/* Mobile Responsive for Custom Order */
@media (max-width: 768px) {
    .custom-order-content h1 {
        font-size: 2.5rem;
    }

    .custom-order-content h2 {
        font-size: 1.5rem;
    }

    .custom-order-content p {
        font-size: 1rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-method {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .custom-order-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.cart-dropdown-item {
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth transitions for all interactive elements */
.btn,
.filter-dropdown-btn,
.cart-customize-btn,
.cart-dropdown-item-remove {
    transition: all 0.2s ease;
}

.btn:hover,
.filter-dropdown-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Product card hover effects */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Loading message styles */
.loading-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.loading-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.loading-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* Additional button style for quaternary */
.btn-quaternary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-quaternary:hover {
    background: linear-gradient(135deg, #5a6268, #3d4449);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Review Popup */
.review-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.review-popup-content {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.review-form .form-group {
    margin-bottom: 15px;
}

.review-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 15px;
}

.review-popup-header h3 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1.5rem;
}

.close-review {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-600);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-review:hover {
    color: var(--error);
    background-color: var(--gray-100);
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-800);
}

.review-form .form-group input,
.review-form .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.review-form .form-group input:focus,
.review-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.review-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Star Rating - Center aligned */
.star-rating {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
    flex-direction: row-reverse;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 2.5rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star-rating label:hover,
.star-rating label:hover~label {
    color: #fbbf24;
}

.star-rating label:hover {
    transform: scale(1.1);
}

.star-rating input:checked~label {
    color: #fbbf24;
}

/* Checkbox Container */
.checkbox-container {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-700);
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.checkbox-label:hover {
    background-color: var(--gray-50);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark-custom {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked+.checkmark-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* Countries Popup */
.countries-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.countries-popup-content {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 24px;
    max-width: 420px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.countries-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 15px;
}

.countries-popup-header h3 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1.5rem;
}

.close-countries {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-600);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-countries:hover {
    color: var(--error);
    background-color: var(--gray-100);
}

.countries-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.countries-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.countries-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-weight: 500;
}

.countries-list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .countries-list {
        grid-template-columns: 1fr;
    }

    .countries-popup-content {
        padding: 20px;
        margin: 0;
    }
}

/* Mobile-specific improvements using current-device classes */
html.mobile .btn,
html.mobile .nav-link,
html.mobile .header-icon,
html.mobile .cart-icon,
html.mobile .favorite-icon {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
}

html.mobile .product-card {
    padding: 15px;
}

html.mobile .product-card img {
    margin-bottom: 12px;
}

html.mobile .product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

html.mobile .product-card .product-price {
    font-size: 1.3rem;
}

/* Better form inputs on mobile */
html.mobile input[type="text"],
html.mobile input[type="email"],
html.mobile input[type="tel"],
html.mobile textarea,
html.mobile select {
    font-size: 16px;
    /* Prevents zoom on iOS */
    padding: 14px 16px;
    min-height: 44px;
}

html.mobile .form-group {
    margin-bottom: 20px;
}

/* Optimized popups for mobile */
html.mobile .popup-content,
html.mobile .customization-popup-content {
    width: 100% !important;
    max-width: 100% !important;
    height: 70vh !important;
    max-height: 70vh !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(0) !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 15px 12px 12px 12px !important;
    margin: 0 !important;
    overflow-y: auto;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3) !important;
    animation: slideUp 0.3s ease-out;
}

/* Desktop-only and mobile-only utility classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

html.mobile .desktop-only {
    display: none !important;
}

html.mobile .mobile-only {
    display: block !important;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

html.mobile .review-popup-content {
    width: 95% !important;
    max-width: 95% !important;
    max-height: 70vh !important;
    overflow-y: auto;
    padding: 15px !important;
    margin: 10px auto !important;
    border-radius: 12px !important;
}

html.mobile .review-popup-content .review-form {
    padding: 0 !important;
}

html.mobile .review-popup-content .review-form .form-group {
    margin-bottom: 12px !important;
}

html.mobile .review-popup-content .review-form textarea {
    min-height: 80px !important;
    max-height: 120px !important;
    font-size: 14px !important;
    padding: 8px !important;
}

html.mobile .review-popup-content .review-form input {
    font-size: 14px !important;
    padding: 8px !important;
}

html.mobile .popup-product-detail {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
}

html.mobile .popup-image-gallery {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    max-width: 200px;
    margin: 0 auto 10px auto;
    border-radius: 8px;
    overflow: hidden;
}

html.mobile .popup-product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 8px;
    display: block;
    background: #f8f9fa;
}

html.mobile .popup-product-info {
    padding: 0;
    position: relative;
}

.mobile-scroll-indicator {
    display: none;
}

html.mobile .mobile-scroll-indicator {
    display: block;
    position: absolute;
    right: 10px;
    top: 50px;
    color: var(--primary-blue);
    font-size: 1.5rem;
    animation: bounceDown 2s infinite;
    z-index: 5;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

html.mobile .mobile-scroll-indicator::before {
    content: '';
    width: 2px;
    height: 30px;
    background: var(--primary-blue);
    display: block;
    animation: bounceDown 2s infinite;
}

html.mobile .mobile-scroll-indicator i {
    font-size: 1.2rem;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

html.mobile .popup-product-info h1 {
    font-size: 1rem !important;
    margin-bottom: 4px;
    line-height: 1.2;
}

html.mobile .popup-product-price {
    font-size: 1.1rem !important;
    margin-bottom: 8px;
}

html.mobile .popup-size-guide h3,
html.mobile .popup-customization-options h3 {
    font-size: 0.85rem !important;
    margin: 8px 0 6px 0;
}

html.mobile .popup-size-options {
    gap: 5px;
    margin-bottom: 8px;
}

html.mobile .popup-size-option {
    padding: 6px 8px;
    font-size: 0.8rem;
    min-height: 32px;
}

html.mobile .popup-customization-options {
    margin-bottom: 8px;
    max-height: none !important;
    overflow-y: visible !important;
}

html.mobile .popup-customization-options .form-group {
    margin-bottom: 8px;
}

html.mobile .popup-customization-options label {
    font-size: 0.8rem !important;
    margin-bottom: 4px;
}

html.mobile .popup-customization-options input,
html.mobile .popup-customization-options select {
    font-size: 16px !important;
    padding: 8px !important;
    min-height: 38px;
}

html.mobile .popup-customization-options select {
    max-height: none !important;
    overflow-y: visible !important;
}

html.mobile .popup-product-actions {
    position: relative !important;
    background: transparent !important;
    padding: 0 !important;
    margin-top: 10px;
    display: flex !important;
    flex-direction: column;
    gap: 6px;
}

html.mobile .popup-product-actions .btn {
    width: 100%;
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
    min-height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

html.mobile .popup-close {
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    z-index: 10001;
}

/* Better spacing for mobile */
html.mobile .container {
    padding: 0 15px;
}

html.mobile .products-grid {
    gap: 12px;
    padding: 10px 0;
}

html.mobile .products-main {
    padding: 10px;
}

/* Mobile navigation improvements */
html.mobile .nav {
    display: none;
}

html.mobile .mobile-menu-btn {
    display: flex;
}

html.mobile .header {
    padding: 12px 0;
}

html.mobile .logo-text h1 {
    font-size: 1.2rem;
}

html.mobile .logo-text p {
    font-size: 0.7rem;
}

/* Better cart dropdown on mobile */
html.mobile .cart-dropdown {
    width: 95%;
    right: 2.5%;
    max-height: 80vh;
}

html.mobile .cart-dropdown-item {
    padding: 12px;
}

html.mobile .cart-dropdown-item img {
    width: 70px;
    height: 70px;
}

/* Optimized checkout on mobile */
html.mobile .checkout-content {
    grid-template-columns: 1fr;
    gap: 20px;
}

html.mobile .order-summary {
    position: relative;
    top: 0;
    margin-top: 20px;
}

/* Better star rating on mobile */
html.mobile .star-rating label {
    font-size: 2rem;
    padding: 8px;
}

/* Improved filters on mobile */
html.mobile .filters-row {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
}

html.mobile .filter-dropdown-btn {
    min-height: 44px;
    padding: 12px 16px;
}

html.mobile .search-input {
    min-height: 44px;
    padding: 12px 16px;
}

/* Better product detail page on mobile */
html.mobile .product-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
}

html.mobile .product-detail-images {
    margin-bottom: 20px;
}

html.mobile .product-detail-info h2 {
    font-size: 1.5rem;
}

/* Improved buttons on mobile */
html.mobile .btn-primary,
html.mobile .btn-secondary,
html.mobile .btn-tertiary {
    padding: 14px 24px;
    font-size: 1rem;
    min-height: 44px;
}

/* Better landing page on mobile */
html.mobile .landing-logo {
    height: 120px;
    width: 120px;
}

html.mobile .landing-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 1rem;
}

html.mobile .landing-buttons {
    width: 100%;
    padding: 0 20px;
}

/* Improved hero section on mobile */
html.mobile .hero-section {
    padding: 40px 20px;
}

html.mobile .hero-section h1 {
    font-size: 2rem;
    line-height: 1.2;
}

html.mobile .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

html.mobile .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
}

/* Pack opening page mobile optimization */
html.mobile .pack-opening-content {
    padding: 20px 15px 30px 15px !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

html.mobile .pack-opening-content h1 {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
}

html.mobile .pack-opening-content p {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
}

html.mobile .pack-opening-animation {
    margin: 20px 0 10px 0 !important;
    min-height: 200px !important;
    max-height: 300px !important;
}

html.mobile .pack-box {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 20px auto !important;
}

html.mobile .revealed-shirt {
    padding: 15px !important;
    max-height: 280px !important;
    overflow: visible !important;
    max-width: 300px !important;
}

html.mobile .revealed-shirt-container {
    flex-direction: column !important;
    gap: 0 !important;
}

html.mobile .revealed-shirt-image-wrapper {
    order: 1;
    margin-bottom: 15px;
}

html.mobile .pack-action-cart,
html.mobile .pack-action-another {
    display: none !important;
}

html.mobile .pack-actions {
    order: 2;
}

html.mobile .revealed-shirt img {
    max-width: 200px !important;
    max-height: 200px !important;
}

html.mobile .revealed-shirt h3 {
    font-size: 1rem !important;
    margin: 10px 0 5px 0 !important;
}

html.mobile .revealed-shirt p {
    font-size: 0.9rem !important;
}

html.mobile .pack-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 20px auto;
    padding-bottom: 20px;
}

html.mobile .pack-actions .btn {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
}

/* Better text readability on mobile */
html.mobile p,
html.mobile .product-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

html.mobile h1 {
    font-size: 2rem;
    line-height: 1.2;
}

html.mobile h2 {
    font-size: 1.5rem;
    line-height: 1.3;
}

html.mobile h3 {
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Improved spacing for touch interactions */
html.mobile .product-card,
html.mobile .kit-card {
    margin-bottom: 15px;
}

html.mobile .section {
    padding: 30px 0;
}

/* Better form layout on mobile */
html.mobile .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
}

html.mobile .customization-popup-content {
    padding: 20px 15px;
}

html.mobile .customization-options {
    gap: 15px;
}

/* Improved pack opening on mobile */
html.mobile .pack-container {
    padding: 20px 15px;
}

html.mobile .pack-open-btn {
    width: 100%;
    max-width: 300px;
    padding: 16px 24px;
    font-size: 1.1rem;
}

html.mobile .pack-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

html.mobile .pack-actions .btn {
    width: 100%;
    max-width: 300px;
}

/* Better mystery shirt page on mobile */
/* Mystery page mobile optimizations */
html.mobile .mystery-shirt-content {
    padding: 20px 15px !important;
}

html.mobile .mystery-shirt-content h1 {
    font-size: 1.75rem !important;
    margin-bottom: 12px;
}

html.mobile .mystery-shirt-content p {
    font-size: 1rem !important;
    margin-bottom: 25px;
}

html.mobile .shirt-banner {
    margin: 20px 0;
    padding: 15px;
}

html.mobile .shirt-carousel img {
    width: 80px;
    height: 80px;
}

html.mobile .mystery-options {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin: 30px 0 !important;
    padding: 0 10px;
}

html.mobile .mystery-option {
    padding: 20px !important;
    margin-bottom: 0;
}

html.mobile .mystery-option.featured {
    transform: none;
}

html.mobile .mystery-option:hover,
html.mobile .mystery-option.featured:hover {
    transform: none;
}

html.mobile .option-header h3 {
    font-size: 1.2rem !important;
    margin-bottom: 8px;
}

html.mobile .mystery-option .price {
    font-size: 1.5rem !important;
    margin-bottom: 5px;
}

html.mobile .mystery-option p {
    font-size: 0.9rem !important;
    margin-bottom: 15px;
}

html.mobile .mystery-option .btn {
    width: 100%;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
}

html.mobile .mystery-customization {
    padding: 20px 15px !important;
    margin-top: 20px !important;
    max-width: 100%;
}

html.mobile .mystery-customization h3 {
    font-size: 1.3rem !important;
    margin-bottom: 20px;
}

html.mobile .customization-form {
    gap: 15px;
}

html.mobile .customization-form .form-group {
    margin-bottom: 15px;
}

html.mobile .customization-form .form-group label {
    font-size: 0.9rem !important;
    margin-bottom: 6px;
}

html.mobile .customization-form .form-group input,
html.mobile .customization-form .form-group select {
    padding: 12px !important;
    font-size: 16px !important;
    min-height: 44px;
}

html.mobile .size-selection-type {
    flex-direction: column;
    gap: 10px;
}

html.mobile .radio-label {
    padding: 12px;
    font-size: 0.9rem;
    min-height: 44px;
    align-items: center;
}

html.mobile .custom-size-inputs {
    gap: 12px;
}

html.mobile .custom-size-group select {
    min-height: 44px;
    font-size: 16px !important;
}

html.mobile .back-to-options {
    width: 100%;
    padding: 12px 20px !important;
    margin-bottom: 15px !important;
}

/* iOS-specific improvements */
html.ios input[type="text"],
html.ios input[type="email"],
html.ios input[type="tel"],
html.ios textarea,
html.ios select {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
}

html.ios .btn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* Android-specific improvements */
html.android .btn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* Touch device improvements */
html.touch .product-card:hover {
    transform: none;
    /* Disable hover effects on touch devices */
}

html.touch .btn:hover {
    transform: none;
}

html.touch .kit-card:hover {
    transform: none;
}

/* Landscape orientation on mobile */
html.mobile.landscape .popup-content,
html.mobile.landscape .review-popup-content {
    max-height: 85vh;
}

html.mobile.landscape .cart-dropdown {
    max-height: 75vh;
}

/* More aggressive mobile fixes - override existing styles */
html.mobile .header .container {
    padding: 10px 15px;
}

html.mobile .logo-circle {
    width: 40px;
    height: 40px;
}

html.mobile .logo-image {
    width: 40px;
    height: 40px;
}

html.mobile .logo-text h1 {
    font-size: 1rem !important;
    margin: 0;
}

html.mobile .logo-text p {
    font-size: 0.65rem !important;
    margin: 0;
}

html.mobile .header-icons {
    gap: 10px;
}

html.mobile .header-icon {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
}

html.mobile .container {
    padding: 0 12px !important;
    max-width: 100%;
}

html.mobile .hero-section {
    padding: 30px 15px !important;
}

html.mobile .hero-section h1 {
    font-size: 1.75rem !important;
    line-height: 1.2;
    margin-bottom: 15px;
}

html.mobile .hero-section p {
    font-size: 0.9rem !important;
    margin-bottom: 20px;
}

html.mobile .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}

html.mobile .product-card {
    padding: 10px !important;
}

html.mobile .product-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

html.mobile .product-card h3 {
    font-size: 0.9rem !important;
    line-height: 1.3;
    margin-bottom: 6px;
}

html.mobile .product-price {
    font-size: 1.1rem !important;
}

html.mobile .btn {
    font-size: 0.9rem !important;
    padding: 12px 20px !important;
}

html.mobile h1 {
    font-size: 1.75rem !important;
}

html.mobile h2 {
    font-size: 1.4rem !important;
}

html.mobile h3 {
    font-size: 1.1rem !important;
}

html.mobile .section {
    padding: 20px 0 !important;
}

html.mobile .filters-row {
    padding: 12px !important;
    gap: 10px !important;
}

html.mobile .filter-dropdown-btn,
html.mobile .search-input {
    font-size: 0.9rem !important;
    padding: 10px 14px !important;
}

html.mobile .popup-content {
    width: 98% !important;
    max-width: 98% !important;
    padding: 15px !important;
    margin: 5px !important;
}

/* Review popup mobile styles consolidated above */

html.mobile .customization-popup-content {
    padding: 15px !important;
    width: 95% !important;
}

html.mobile .cart-dropdown {
    width: 98% !important;
    right: 1% !important;
    padding: 10px !important;
}

html.mobile .cart-dropdown-item {
    padding: 10px !important;
    font-size: 0.85rem;
}

html.mobile .cart-dropdown-item img {
    width: 60px !important;
    height: 60px !important;
}

html.mobile .checkout-content {
    padding: 15px !important;
}

html.mobile .form-group label {
    font-size: 0.9rem !important;
    margin-bottom: 6px;
}

html.mobile input,
html.mobile textarea,
html.mobile select {
    font-size: 16px !important;
    /* Prevents zoom on iOS */
    padding: 12px !important;
}

html.mobile .landing-logo {
    height: 100px !important;
    width: 100px !important;
}

html.mobile .landing-btn {
    font-size: 0.9rem !important;
    padding: 12px 20px !important;
    width: 90%;
    max-width: 250px;
}

html.mobile .kit-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

html.mobile .kit-card {
    padding: 12px !important;
}

html.mobile .kit-card h3 {
    font-size: 0.95rem !important;
}

html.mobile .price {
    font-size: 1.1rem !important;
}

/* Fix filters - make them compact with filter icon */
html.mobile .filters-row {
    padding: 8px !important;
    gap: 8px !important;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
    flex-direction: row;
    align-items: center;
}

html.mobile .search-container {
    flex: 1;
    margin-bottom: 0;
}

html.mobile .search-input-wrapper {
    width: 100%;
}

html.mobile .search-input {
    font-size: 14px !important;
    padding: 8px 35px 8px 35px !important;
    min-height: 36px;
    width: 100%;
    border-radius: 6px;
}

/* Hide filter icon on desktop */
.mobile-filter-btn {
    display: none !important;
}

html.mobile .mobile-filter-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

html.mobile .mobile-filter-btn:active {
    background: var(--gray-100);
    transform: scale(0.95);
}

html.mobile .mobile-filter-btn i {
    font-size: 1.1rem;
    color: var(--gray-700);
}

/* Packs Easter Egg Button */
.packs-easter-egg-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.packs-easter-egg-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.packs-easter-egg-btn:active {
    transform: scale(0.95);
}

html.mobile .packs-easter-egg-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    bottom: 15px;
    left: 15px;
}

html.mobile .filter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-blue);
    color: white;
    border-radius: 10px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    border: 2px solid white;
}

html.mobile .filter-dropdowns {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    padding: 20px 15px 15px 15px;
    max-height: 60vh;
    overflow-y: auto;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

html.mobile .filter-dropdowns.active {
    display: block;
}

html.mobile .filter-dropdowns .filter-group {
    margin-bottom: 12px;
    width: 100%;
}

html.mobile .filter-dropdowns .filter-group:last-child {
    margin-bottom: 0;
}

html.mobile .filter-dropdowns .filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

html.mobile .filter-select {
    font-size: 16px !important;
    /* Prevents zoom on iOS */
    padding: 10px 35px 10px 12px !important;
    min-height: 44px;
    width: 100%;
    border-radius: 8px;
    border: 1.5px solid var(--gray-300);
    background: white;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    box-sizing: border-box;
}

html.mobile .favorites-dropdown,
html.mobile .cart-dropdown {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: min(360px, calc(100% - 32px));
    top: 70px;
    max-height: 55vh;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.35);
}

html.mobile .favorites-dropdown-header,
html.mobile .cart-dropdown-header {
    padding: 14px !important;
}

html.mobile .favorites-dropdown-content,
html.mobile .cart-dropdown-content {
    padding: 14px !important;
}

html.mobile .install-instructions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

html.mobile .install-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
}

html.mobile .custom-order-content p {
    margin-bottom: 20px;
}

html.mobile .custom-order-content h2 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

html.mobile .contact-methods {
    margin: 20px 0 10px;
    gap: 15px;
}

html.mobile .contact-method {
    padding: 18px;
}

html.mobile .checkout-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

html.mobile .checkout-form {
    padding: 20px;
}

html.mobile .checkout-form h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

html.mobile .checkout-actions {
    text-align: left;
    margin-bottom: 10px;
}

html.mobile .order-summary {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

html.mobile .order-summary h2 {
    font-size: 1.3rem;
}

html.mobile .paypal-section {
    margin-top: 12px;
}

/* Product listings - make much smaller */
html.mobile .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 8px 0 !important;
}

html.mobile .product-card {
    padding: 8px !important;
    margin-bottom: 8px;
}

html.mobile .product-image-container {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    padding: 0 !important;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 8px;
}

html.mobile .product-card img,
html.mobile .product-image,
html.mobile .product-image-front,
html.mobile .product-image-back {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 8px;
    display: block;
}

html.mobile .product-card h3 {
    font-size: 0.8rem !important;
    line-height: 1.2;
    margin-bottom: 4px;
    min-height: 2.4em;
}

html.mobile .product-price {
    font-size: 1rem !important;
    margin-bottom: 6px;
}

html.mobile .product-card .btn {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
    min-height: 36px;
}

/* Custom order page - reduce scrolling */
html.mobile .custom-order-content {
    padding: 12px !important;
}

html.mobile .custom-order-content h1 {
    font-size: 1.5rem !important;
    margin-bottom: 12px;
    line-height: 1.2;
}

html.mobile .custom-order-content h2 {
    font-size: 1.2rem !important;
    margin-bottom: 10px;
    line-height: 1.3;
}

html.mobile .custom-order-content p {
    font-size: 0.85rem !important;
    margin-bottom: 10px;
    line-height: 1.4;
}

html.mobile .custom-order-form {
    padding: 12px !important;
    margin-top: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

html.mobile .custom-order-form .form-group {
    margin-bottom: 12px;
}

html.mobile .custom-order-form .form-group label {
    font-size: 0.85rem !important;
    margin-bottom: 6px;
}

html.mobile .custom-order-form .form-group input,
html.mobile .custom-order-form .form-group select,
html.mobile .custom-order-form .form-group textarea {
    font-size: 16px !important;
    /* Prevents zoom on iOS */
    padding: 12px !important;
    min-height: 44px;
    width: 100%;
}

html.mobile .custom-order-form .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

html.mobile .custom-order-info {
    padding: 12px !important;
    margin-top: 12px;
    background: #f0f9ff;
    border-radius: 8px;
}

html.mobile .custom-order-info h3 {
    font-size: 1rem !important;
    margin-bottom: 8px;
}

html.mobile .custom-order-info ul {
    font-size: 0.8rem;
    padding-left: 18px;
    margin: 0;
}

html.mobile .custom-order-info li {
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Checkout page optimizations */
html.mobile .checkout-content {
    padding: 10px !important;
    gap: 12px !important;
    flex-direction: column;
    max-width: 100%;
}

html.mobile .checkout-form {
    padding: 0;
    width: 100%;
    order: 1;
}

html.mobile .checkout-form h2 {
    font-size: 1.1rem !important;
    margin-bottom: 10px;
    line-height: 1.2;
    padding: 0 5px;
}

html.mobile .checkout-form .form-group {
    margin-bottom: 12px;
    padding: 0 5px;
}

html.mobile .checkout-form .form-group label {
    font-size: 0.8rem !important;
    margin-bottom: 5px;
    display: block;
    font-weight: 500;
}

html.mobile .checkout-form .form-group input,
html.mobile .checkout-form .form-group select {
    font-size: 16px !important;
    /* Prevents zoom on iOS */
    padding: 10px 12px !important;
    min-height: 44px;
    width: 100%;
    border-radius: 6px;
    border: 1.5px solid var(--gray-300);
    box-sizing: border-box;
}

html.mobile .checkout-form .form-group select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 30px;
}

html.mobile .form-disclaimer {
    padding: 8px 10px !important;
    margin: 12px 5px !important;
    font-size: 0.75rem;
    line-height: 1.3;
}

html.mobile .order-summary {
    padding: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 15px;
    position: relative !important;
    top: 0 !important;
    background: #f8f9fa;
    border-radius: 8px;
    width: 100%;
    order: 0;
}

html.mobile .order-summary h2 {
    font-size: 1rem !important;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-300);
}

html.mobile .order-summary-item {
    padding: 6px 0;
    font-size: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.4;
}

html.mobile .order-summary-item:last-child {
    border-bottom: none;
}

html.mobile .order-summary-total {
    font-size: 1rem !important;
    padding: 10px 0;
    margin-top: 8px;
    border-top: 2px solid var(--gray-400);
    font-weight: 700;
}

html.mobile .checkout-form .btn-primary {
    width: calc(100% - 10px);
    padding: 14px 20px !important;
    font-size: 1rem !important;
    margin: 15px 5px 0 5px;
    min-height: 48px;
    border-radius: 8px;
}

/* Product detail page fixes */
html.mobile .product-detail {
    padding: 12px !important;
    gap: 15px !important;
}

html.mobile .product-detail-images {
    margin-bottom: 15px;
}

html.mobile .product-detail-images img {
    max-height: 300px;
    width: 100%;
    object-fit: contain;
}

html.mobile .product-detail-info h2 {
    font-size: 1.3rem !important;
    margin-bottom: 12px;
    line-height: 1.2;
}

html.mobile .product-detail-info .product-price {
    font-size: 1.4rem !important;
    margin-bottom: 15px;
}

html.mobile .product-detail-info .product-description {
    font-size: 0.9rem !important;
    margin-bottom: 15px;
    line-height: 1.5;
}

html.mobile .size-selector,
html.mobile .customization-options {
    margin-bottom: 15px;
}

html.mobile .size-selector label,
html.mobile .customization-options label {
    font-size: 0.85rem !important;
    margin-bottom: 8px;
}

html.mobile .size-option {
    padding: 10px 12px;
    font-size: 0.85rem;
    min-width: 50px;
    min-height: 40px;
}

html.mobile .product-detail .btn-primary {
    width: 100%;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    margin-top: 15px;
}