/* Product Page Styles - Converted from React/Tailwind */

/* Prevent text and image selection */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Allow text selection in form inputs and text areas */
.checkout-input,
.checkout-input *,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

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

/* Utility classes converted from Tailwind */
.min-h-screen {
    min-height: 100vh;
}

.bg-white {
    background-color: #ffffff;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.p-8 {
    padding: 2rem;
}

.relative {
    position: relative;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.z-50 {
    z-index: 50;
}

.w-full {
    width: 100%;
}

.h-32 {
    height: 8rem;
}

.overflow-hidden {
    overflow: hidden;
}

.pointer-events-none {
    pointer-events: none;
}

.absolute {
    position: absolute;
}

.max-w-4xl {
    max-width: 56rem;
}

.w-full {
    width: 100%;
}

.space-y-12 > * + * {
    margin-top: 3rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

/* Grid and Layout */
.grid {
    display: grid;
}

/* Ensure grid works properly on desktop */
@media (min-width: 768px) {
    .grid.md-grid-cols-3 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem !important;
    }
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-8 {
    gap: 3rem;
}

.gap-4 {
    gap: 1rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

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

/* Typography */
.text-sm {
    font-size: 0.875rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-light {
    font-weight: 300;
}

.font-black {
    font-weight: 900;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-500 {
    color: #6b7280;
}

.text-white {
    color: #ffffff;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-95 {
    opacity: 0.95;
}

/* Background colors with opacity */
.bg-white-15 {
    background-color: rgba(255, 255, 255, 0.15);
}

.bg-white-20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-white-30 {
    background-color: rgba(255, 255, 255, 0.3);
}

.bg-white-40 {
    background-color: rgba(255, 255, 255, 0.4);
}

.bg-white-50 {
    background-color: rgba(255, 255, 255, 0.5);
}

.bg-white-60 {
    background-color: rgba(255, 255, 255, 0.6);
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-200-8 {
    background-color: rgba(229, 231, 235, 0.08);
}

.bg-gray-300-10 {
    background-color: rgba(209, 213, 219, 0.1);
}

.bg-gray-400-15 {
    background-color: rgba(156, 163, 175, 0.15);
}

.bg-gray-500-20 {
    background-color: rgba(107, 114, 128, 0.2);
}

/* Borders */
.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-white-25 {
    border-color: rgba(255, 255, 255, 0.25);
}

.border-white-30 {
    border-color: rgba(255, 255, 255, 0.3);
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-gray-900 {
    border-color: #111827;
}

/* Border radius */
.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Shadows */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Backdrop blur */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Gradients */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, #9333ea, #db2777, #2563eb);
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, #f97316, #ef4444, #db2777);
}

.bg-gradient-to-tl {
    background-image: linear-gradient(to top left, rgba(209, 213, 219, 0.1), transparent, rgba(107, 114, 128, 0.2));
}

.from-purple-600 {
    --tw-gradient-from: #9333ea;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(147, 51, 234, 0));
}

.via-pink-600 {
    --tw-gradient-stops: var(--tw-gradient-from), #db2777, var(--tw-gradient-to, rgba(219, 39, 119, 0));
}

.to-blue-600 {
    --tw-gradient-to: #2563eb;
}

.from-orange-500 {
    --tw-gradient-from: #f97316;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 115, 22, 0));
}

.via-red-500 {
    --tw-gradient-stops: var(--tw-gradient-from), #ef4444, var(--tw-gradient-to, rgba(239, 68, 68, 0));
}

.to-pink-600 {
    --tw-gradient-to: #db2777;
}

.from-gray-200-8 {
    --tw-gradient-from: rgba(229, 231, 235, 0.08);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(229, 231, 235, 0));
}

.via-transparent {
    --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-gray-400-15 {
    --tw-gradient-to: rgba(156, 163, 175, 0.15);
}

.from-gray-300-10 {
    --tw-gradient-from: rgba(209, 213, 219, 0.1);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(209, 213, 219, 0));
}

.to-gray-500-20 {
    --tw-gradient-to: rgba(107, 114, 128, 0.2);
}

/* Glass effect backgrounds */
.bg-gradient-to-br.from-gray-200-8.via-transparent.to-gray-400-15 {
    background-image: linear-gradient(to bottom right, rgba(229, 231, 235, 0.08), transparent, rgba(156, 163, 175, 0.15));
}

.bg-gradient-to-tl.from-gray-300-10.via-transparent.to-gray-500-20 {
    background-image: linear-gradient(to top left, rgba(209, 213, 219, 0.1), transparent, rgba(107, 114, 128, 0.2));
}

/* Background clip */
.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* Padding and margins */
.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.w-24 {
    width: 6rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Width and height */
.w-3 {
    width: 0.75rem;
}

.h-3 {
    height: 0.75rem;
}

.w-2 {
    width: 0.5rem;
}

.h-2 {
    height: 0.5rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-1 {
    width: 0.25rem;
}

.h-1 {
    height: 0.25rem;
}

.w-full {
    width: 100%;
}

.h-80 {
    height: 20rem;
}

.h-48 {
    height: 12rem;
}

/* Positioning */
.top-20 {
    top: 5rem;
}

.left-8 {
    left: 2rem;
}

.top-32 {
    top: 8rem;
}

.right-12 {
    right: 3rem;
}

.top-1 {
    top: 0.25rem;
}

.left-2 {
    left: 0.5rem;
}

.top-4 {
    top: 1rem;
}

.right-3 {
    right: 0.75rem;
}

.bottom-1 {
    bottom: 0.25rem;
}

.left-4 {
    left: 1rem;
}

.bottom-2 {
    bottom: 0.5rem;
}

.right-1 {
    right: 0.25rem;
}

.top-0 {
    top: 0;
}

.left-1 {
    left: 0.25rem;
}

.top-3 {
    top: 0.75rem;
}

.right-2 {
    right: 0.5rem;
}

.bottom-1 {
    bottom: 0.25rem;
}

.left-3 {
    left: 0.75rem;
}

.bottom-2 {
    bottom: 0.5rem;
}

.right-0 {
    right: 0;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.-m-1 {
    margin: -0.25rem;
}

/* Transform */
.transform {
    transform: translateZ(0);
}

.rotate-12 {
    transform: rotate(12deg);
}

.scale-105 {
    transform: scale(1.05);
}

.scale-102 {
    transform: scale(1.02);
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-200 {
    transition-duration: 200ms;
}

/* Hover states */
.hover\:bg-gray-800:hover {
    background-color: #1f2937;
}

.hover\:border-gray-300:hover {
    border-color: #d1d5db;
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:scale-102:hover {
    transform: scale(1.02);
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

/* Capitalize */
.capitalize {
    text-transform: capitalize;
}

/* Blur */
.blur-sm {
    filter: blur(4px);
}

/* Inline block */
.inline-block {
    display: inline-block;
}

/* Button styles */
button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Product card styles */
.product-card {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
    padding: 1rem;
    margin: 2rem;
}

.product-card.selected {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-image {
    width: 100%;
    max-width: 300px;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.product-shot {
    width: 100%;
    max-width: 300px;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.product-card.selected .product-shot {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-card:hover .product-shot {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-title {
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 300;
    transition: color 0.3s ease;
    line-height: 1.4;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card.selected .product-title {
    color: #111827;
    font-weight: 500;
}

/* Size option styles */
.size-option {
    width: 6rem;
    padding: 0.75rem 0;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 300;
    text-transform: capitalize;
}

.size-option:hover {
    border-color: #d1d5db;
}

.size-option.selected {
    border-color: #111827;
    background-color: #111827;
    color: #ffffff;
}

/* Dual SVG ribbon scrolling animations */
@keyframes ribbon-scroll-1 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes ribbon-scroll-2 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-ribbon-scroll-1 {
    animation: ribbon-scroll-1 20s linear infinite;
}

.animate-ribbon-scroll-2 {
    animation: ribbon-scroll-2 20s linear infinite;
}

/* Responsive design */
@media (min-width: 768px) {
    .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        display: grid !important;
    }
    
    .products-container .grid.md-grid-cols-3 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem !important;
    }
    
    .md-text-5xl {
        font-size: 3rem;
    }
    
    .md-text-3xl {
        font-size: 1.875rem;
    }
    
    .md-hidden {
        display: none;
    }
    
    .product-image {
        max-width: 350px;
        width: 100%;
    }
    
    .product-shot {
        max-width: 350px;
        width: 100%;
    }
    
    .product-card {
        max-width: 350px;
        width: 100%;
    }
}

/* Mobile carousel styles */
.products-container {
    position: relative;
    overflow: visible;
    padding: 1rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.indicators-container {
    display: flex;
    gap: 0.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #111827;
    transform: scale(1.2);
}

/* Mobile grid adjustments */
@media (max-width: 767px) {
    .products-container {
        padding: 0 1rem;
    }
    
    .products-container .grid.grid-cols-1 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .products-container .grid.grid-cols-1::-webkit-scrollbar {
        display: none;
    }
    
    .products-container .grid.grid-cols-1 .product-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        margin-right: 3rem;
    }
    
    .products-container .grid.grid-cols-1 .product-card:last-child {
        margin-right: 0;
    }
    
    .product-image,
    .product-shot {
        max-width: 280px;
        margin: 0 auto;
        display: block;
        width: 100%;
    }
}

/* Additional utility classes */
.mt-3 {
    margin-top: 0.75rem;
}

.font-medium {
    font-weight: 500;
}

.ring-4 {
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.2);
}

.ring-gray-900\/20 {
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.2);
}

.drop-shadow-2xl {
    filter: drop-shadow(0 25px 50px -12px rgba(0, 0, 0, 0.25));
}

.drop-shadow-lg {
    filter: drop-shadow(0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.drop-shadow-xl {
    filter: drop-shadow(0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

/* SVG text styles */
.fill-gray-700 {
    fill: #374151;
}

/* Hidden elements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Modal styles */
.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.max-w-md {
    max-width: 28rem;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.block {
    display: block;
}

.text-sm {
    font-size: 0.875rem;
}

.font-medium {
    font-weight: 500;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.w-full {
    width: 100%;
}

.border {
    border-width: 1px;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.rounded {
    border-radius: 0.25rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.hover\:bg-gray-800:hover {
    background-color: #1f2937;
}

/* Form input focus states */
input:focus, select:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

/* Size guide spacing */
.size-guide-columns {
    display: flex;
    gap: 100px;
}

.size-labels-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.size-descriptions-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.size-label {
    font-weight: 600;
    color: #1f2937;
}

.size-description {
    color: #6b7280;
}

/* Legacy animated gradient text styles - kept for potential future use */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse-transform {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes float-movement {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(1deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(3px) rotate(-1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Legacy classes - kept for potential future use */
.animated-gradient-text {
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradient-shift 4s ease-in-out infinite, pulse-transform 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.animated-background {
    animation: float-movement 6s ease-in-out infinite;
}

.glass-platform {
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    right: -0.25rem;
    bottom: -0.25rem;
    z-index: 1;
    pointer-events: none;
}

/* Button disabled state */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



/* Custom buy button styles */
#buy-button {
    width: 150px;
    height: 60px;
    border: 3px solid #315cfd;
    border-radius: 45px;
    transition: all 0.3s;
    cursor: pointer;
    background: white;
    font-size: 1.2em;
    font-weight: 550;
    color: #315cfd;
}

#buy-button:hover {
    background: #315cfd;
    color: white;
    font-size: 1.5em;
}

/* Custom checkout button styles */
#checkout-button {
    width: 150px;
    height: 60px;
    border: 3px solid #10b981;
    border-radius: 45px;
    transition: all 0.3s;
    cursor: pointer;
    background: white;
    font-size: 1.2em;
    font-weight: 550;
    color: #10b981;
    position: relative;
}

#checkout-button:hover {
    background: #10b981;
    color: white;
    font-size: 1.5em;
}

/* Cart indicator styles */
.cart-slide-out {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transform: scale(0);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cart-slide-out.active {
    transform: scale(1);
}

/* Checkout page styles */
.checkout-gradient-bg {
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 100%;
}

.checkout-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    text-align: center;
}

.checkout-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-details {
    background: rgba(249, 250, 251, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.checkout-details h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.checkout-details p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.checkout-button {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    background: #1f2937;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.checkout-button:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Enhanced checkout modal styles */
.checkout-modal {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.checkout-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-modal-header {
    position: relative;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 24px 24px 0 0;
    background: rgba(249, 250, 251, 0.8);
}

.checkout-modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1f2937;
}

.checkout-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    font-weight: bold;
    animation: gradient-shift 3s ease-in-out infinite;
}

.checkout-modal-close:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    background-size: 200% 200%;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
    animation: gradient-shift 1.5s ease-in-out infinite;
}

.checkout-form-section {
    padding: 2rem;
    border-right: 1px solid rgba(229, 231, 235, 0.5);
}

.checkout-summary-section {
    padding: 2rem;
}

.checkout-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.checkout-form-group {
    margin-bottom: 1rem;
}

.checkout-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.checkout-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(229, 231, 235, 0.8);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.checkout-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: rgba(255, 255, 255, 1);
    position: relative;
}

/* Animated line indicator for form inputs */
.checkout-input:focus::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
    animation: line-expand 0.3s ease-out forwards;
}

@keyframes line-expand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.checkout-summary-box {
    background: rgba(249, 250, 251, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

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

.checkout-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-remove-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ef4444;
}

.checkout-remove-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
}

.checkout-remove-btn svg {
    width: 12px;
    height: 12px;
}

.checkout-item-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #1f2937;
}

.checkout-item-details {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.checkout-item-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid rgba(229, 231, 235, 0.8);
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
}

.checkout-payment-section {
    text-align: center;
    padding: 1.5rem 0;
}

.checkout-payment-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.checkout-payment-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checkout-payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.checkout-payment-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
} 

/* Hide scrollbars for checkout modal elements */
.checkout-modal-content {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.checkout-modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.checkout-summary-box {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.checkout-summary-box::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
} 

/* Enhanced country dropdown styling */
.checkout-input[name="country"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-input[name="country"]:hover {
    border-color: #8b5cf6;
    background-color: rgba(255, 255, 255, 1);
}

.checkout-input[name="country"]:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background-color: rgba(255, 255, 255, 1);
}

/* Style the dropdown options */
.checkout-input[name="country"] option {
    background-color: white;
    color: #1f2937;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.checkout-input[name="country"] option:hover {
    background-color: rgba(139, 92, 246, 0.1);
}

.checkout-input[name="country"] option:checked {
    background-color: rgba(139, 92, 246, 0.2);
    color: #1f2937;
    font-weight: 500;
} 

/* ==========================================================================
   CONFIG (Adjust for your store)
   - Chip mobile breakpoint: change 768px to your md breakpoint
   - Brand gradient defaults: override --grad-a and --grad-b on .ambient-chip
   ========================================================================== */
:root {
  --chip-mobile-breakpoint: 768px;
}

/* ==========================================================================
   Ambient chips (decorative floating labels)
   - Fixed positioned, non-interactive
   - Glassmorphism with subtle gradient type
   ========================================================================== */
.ambient-chip {
  position: fixed;
  z-index: 40; /* above content, below modals */
  pointer-events: none;

  /* Brandable variables */
  --bg: rgba(255, 255, 255, 0.18);
  --stroke: rgba(255, 255, 255, 0.35);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  --grad-a: #8fd3f4; /* set per chip inline to match product/section */
  --grad-b: #84fab0;

  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;

  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0))
      border-box;
  border: 1px solid transparent;

  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: var(--shadow);

  overflow: hidden;
}

/* Inner highlight for glass depth */
.ambient-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120px 120px at 20% 10%,
    rgba(255, 255, 255, 0.22),
    transparent 60%
  );
  pointer-events: none;
}

/* Optional micro-noise texture to avoid banding on large monitors */
.ambient-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0 0 0.015'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 120px 120px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Gradient text: subtle, premium feel */
.chip-text {
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 24px;
  line-height: 1;
  background-image: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  animation: chip-text-shift 8s ease-in-out infinite;
}

/* Optional hierarchy: left hero, right smaller */
.chip-left .chip-text {
  font-size: 28px;
}
.chip-right .chip-text {
  font-size: 22px;
  font-weight: 900;
}

@keyframes chip-text-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Idle motion: drift + scale + rest pause */
@keyframes chip-idle {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  20% {
    transform: translate3d(6px, -6px, 0) scale(1.03);
  }
  40% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1); /* rest period */
  }
}

.chip-left {
  animation: chip-idle 4.8s ease-in-out infinite;
}
.chip-right:nth-of-type(1) {
  animation: chip-idle 5.2s 0.3s ease-in-out infinite;
}
.chip-right:nth-of-type(2) {
  animation: chip-idle 5.4s 0.7s ease-in-out infinite;
}

/* Reduced motion: no animations for users who opt out */
@media (prefers-reduced-motion: reduce) {
  .ambient-chip,
  .chip-text {
    animation: none !important;
  }
}

/* Light scheme: slightly stronger glass for contrast */
@media (prefers-color-scheme: light) {
  .ambient-chip {
    --bg: rgba(255, 255, 255, 0.22);
    --stroke: rgba(255, 255, 255, 0.45);
  }
}

/* MOBILE BEHAVIOR
   - Hide chips on small screens to reduce visual clutter and overlap
   - Tune --chip-mobile-breakpoint to your design system (e.g., 640 / 768 / 1024)
*/
@media (max-width: 768px) {
  .ambient-chip {
    display: none !important;
  }
}

/* ==========================================================================
   Scroll indicator (bottom-right glass button with progress ring)
   ========================================================================== */
.scroll-indicator {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
  animation: scroll-bounce 2.4s ease-in-out infinite;
  will-change: transform, opacity;
}

.scroll-indicator:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Hide the label on very small screens to save space; keep the button */
@media (max-width: 480px) {
  .scroll-indicator .scroll-text {
    display: none;
  }
}

.scroll-arrow {
  --size: 44px;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;

  background-image: linear-gradient(
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.12)
    ),
    linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.6));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;

  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  position: relative;
  overflow: hidden;
}

/* Inner glow */
.scroll-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120px 120px at 50% 20%,
    rgba(255, 255, 255, 0.25),
    transparent 60%
  );
  pointer-events: none;
}

/* Progress ring (updates via JS --progress var) */
.scroll-arrow::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  mask: radial-gradient(circle at center, transparent 72%, black 73%);
  background: conic-gradient(
    from -90deg,
    rgba(99, 102, 241, 0.9) var(--progress, 0%),
    rgba(255, 255, 255, 0.12) var(--progress, 0%)
  );
  filter: blur(0.2px);
  pointer-events: none;
}

.scroll-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.scroll-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  color: #e5e7eb;
  background: rgba(17, 24, 39, 0.35);
  padding: 6px 10px;
  border-radius: 999px;

  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);

  background-image: linear-gradient(
      rgba(17, 24, 39, 0.35),
      rgba(17, 24, 39, 0.35)
    ),
    linear-gradient(135deg, rgba(14, 165, 233, 0.6), rgba(244, 114, 182, 0.6));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Scroll indicator bounce */
@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator {
    animation: none;
    transition: none;
  }
}

/* Hide any autocomplete text that might appear */
.checkout-form-group {
    position: relative;
}

.checkout-form-group div[style*="position: absolute"][style*="right: 10px"][style*="color: #6b7280"] {
    display: none !important;
}

/* Hide any autocomplete indicators */
.checkout-input::-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

/* Additional autocomplete hiding */
.checkout-input::placeholder {
    color: #9ca3af;
}

/* Hide any browser-added autocomplete text */
.checkout-form-group::after {
    content: none !important;
}

.checkout-form-group::before {
    content: none !important;
}

/* Ensure no external content is added to form groups */
.checkout-form-group * {
    box-sizing: border-box;
}

/* Hide any elements with autocomplete text */
.checkout-form-group div:contains("Auto-complete"),
.checkout-form-group div:contains("🔍") {
    display: none !important;
}
