/* ==========================================
   CART DRAWER STYLES
   ========================================== */

/* Cart Badge on Nav */
.nav-cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge.has-items {
    opacity: 1;
    transform: scale(1);
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--bg-darker, #1A0F1E);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-header h2 {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 1.5rem;
    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--text-muted, #D3C6D6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart-btn:hover {
    color: #fff;
}

/* Cart Items */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted, #D3C6D6);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

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

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-desc {
    font-size: 0.8rem;
    color: var(--text-muted, #D3C6D6);
    margin: 0 0 0.3rem;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cart-qty-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cart-qty-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.cart-qty-value {
    min-width: 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.cart-item-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.2rem 0.5rem;
}

.cart-item-remove:hover {
    color: #ff4d4d;
}

.partner-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted, #D3C6D6);
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.3rem;
}

/* Cart Footer */
.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted, #D3C6D6);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1rem 0;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* ==========================================
   PRELOADER
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark, #2A1A30);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.preloader-logo {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 2rem;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary, #F2BBA7), var(--accent, #E8A8B4));
    border-radius: 10px;
    animation: preloaderFill 1.2s ease forwards;
}

@keyframes preloaderFill {
    to { width: 100%; }
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-darker, #1A0F1E);
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.close-mobile-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.mobile-menu-links a {
    text-decoration: none;
    color: var(--text-muted, #D3C6D6);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: #fff;
}

/* ==========================================
   STORY SECTION
   ========================================== */
.story-section {
    padding: 8rem 0;
}

.story-grid {
    display: grid;
    gap: 2rem;
}

.story-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 3rem;
}

.story-block h3 {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.story-block p {
    color: var(--text-muted, #D3C6D6);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.story-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

.value-icon {
    margin-bottom: 1rem;
}

.value-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-muted, #D3C6D6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================
   SECTION DIVIDERS
   ========================================== */
.section-divider {
    padding: 2rem 0;
    text-align: center;
}

.divider-stars {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.divider-stars span {
    width: 4px;
    height: 4px;
    background: var(--primary, #F2BBA7);
    border-radius: 50%;
    opacity: 0.5;
}

.divider-stars span:nth-child(2) {
    width: 6px;
    height: 6px;
    opacity: 0.8;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: 8rem 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
}

.faq-question .plus {
    font-size: 1.5rem;
    color: var(--primary, #F2BBA7);
    transition: transform 0.3s ease;
}

.faq-item.active .plus {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    color: var(--text-muted, #D3C6D6);
    line-height: 1.7;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
    padding: 6rem 0;
}

.newsletter-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-content h2 {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: var(--text-muted, #D3C6D6);
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.95rem;
    outline: none;
    min-width: 250px;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary, #F2BBA7);
}

/* ==========================================
   SOCIAL FLOATING BUTTONS
   ========================================== */
.social-floats {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 90;
}

.social-float {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.social-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   GLASS PANEL (reusable)
   ========================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ==========================================
   PERSONALIZATION FORM
   ========================================== */
.personalization-form {
    margin-bottom: 1rem;
}

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

.personalization-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted, #D3C6D6);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.personalization-form input,
.personalization-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.9rem;
    outline: none;
    resize: none;
    transition: border-color 0.3s ease;
}

.personalization-form input:focus,
.personalization-form textarea:focus {
    border-color: var(--primary, #F2BBA7);
}

/* ==========================================
   NAV CTA BUTTON RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-cta-btn {
        display: none;
    }

    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        min-width: auto;
    }

    .story-block {
        padding: 2rem;
    }

    .social-floats {
        bottom: 1rem;
        right: 1rem;
    }

    .social-float {
        width: 44px;
        height: 44px;
    }
}

/* Navigation Pill Links (Studio Page) */
.nav-links-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-link-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.nav-link-pill:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
