/* Premium Shopify Style CSS with Sexy Animations */
:root {
    --bg-color: #ffffff;
    --text-main: #000000;
    --text-muted: #666666;
    --primary: #000000;
    --primary-hover: #333333;
    --border: #e6e6e6;
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Header */
.header {
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.logo span {
    color: #ff3b30;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 20px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        gap: 32px;
        margin: 0 auto 32px;
        padding: 0 16px;
    }
    .header {
        padding: 16px 20px;
    }
}

/* Gallery Section */
.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 40px;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 900px) {
    .gallery-section {
        position: relative;
        top: 0;
    }
}

.main-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.main-media:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

.video-container {
    width: 100%;
    height: 100%;
}

.main-media video, .main-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

.hidden {
    display: none !important;
}

.mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: #000;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 10;
    font-size: 1.2rem;
}

.mute-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumbnail-list::-webkit-scrollbar {
    height: 0px; /* Hide scrollbar for cleaner look */
}

.thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    opacity: 0.6;
    transform: scale(0.95);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1);
}

.thumbnail img, .thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1);
}

.thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Product Info */
.info-section {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.product-header {
    margin-bottom: 32px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

.product-header h1 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (max-width: 900px) {
    .product-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .product-header h1 {
        font-size: 1.8rem;
    }
    .form-container {
        padding: 20px;
        margin-top: 24px;
    }
    .option-label {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

.description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Interactive Form */
.form-container {
    margin-top: 32px;
    position: relative;
    background: #fafafa;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.step-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

/* Custom Sexy Radios */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    .custom-label {
        grid-column: span 1 !important;
    }
}

.option-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
    font-weight: 500;
    font-size: 1.05rem;
    opacity: 0;
    animation: fadeUp 0.4s forwards;
}

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

.option-label:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

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

.radio-box {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.radio-box i {
    font-size: 14px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.option-label:has(input:checked) {
    border-color: #000;
    background: #fafafa;
}

.option-label:has(input:checked) .radio-box {
    background: #000;
    border-color: #000;
}

.option-label:has(input:checked) .radio-box i {
    opacity: 1;
    transform: scale(1);
}

/* Price specific options */
.price-label {
    justify-content: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.price-label:has(input:checked) {
    background: #000;
    color: #fff;
}

.custom-label {
    grid-column: span 2;
    font-size: 1.05rem;
}

/* Custom Input Section */
.custom-input-section {
    margin-top: 16px;
    animation: fadeUp 0.3s forwards;
}

.custom-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 0 16px;
    transition: var(--transition);
    background: #fff;
}

.custom-input-wrapper:focus-within {
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.currency-symbol {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
}

#custom-price-input {
    width: 100%;
    padding: 16px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    background: transparent;
}

.error-msg {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 8px;
    font-weight: 500;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.waitlist-form input {
    padding: 18px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.05rem;
    background: #fff;
    outline: none;
    transition: var(--transition);
}

.waitlist-form input:focus {
    border-color: #000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    position: relative;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.submit-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.submit-btn:active {
    transform: scale(0.98);
}

.small-btn {
    padding: 14px;
    margin-top: 16px;
    font-size: 1rem;
    width: 100%;
}

.success-box {
    text-align: center;
    padding: 20px 0;
}

.success-icon-wrap {
    width: 80px;
    height: 80px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleUp {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-icon-wrap i {
    font-size: 3rem;
    color: #10b981;
}

.success-box h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.success-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Live Notification Toast */
.live-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translateX(150px) scale(0.9);
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 600px) {
    .live-toast {
        top: 16px;
        right: 16px;
        transform: translateX(150px) scale(0.9);
        width: auto;
        max-width: calc(100% - 32px);
    }
    .live-toast.show {
        transform: translateX(0) scale(1) !important;
    }
}

.live-toast.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.toast-icon {
    font-size: 1.3rem;
}

.toast-content p {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-main);
}

.toast-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}
