/* Framistry Studio Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Great+Vibes&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --brand-dark: #23150d;
    --brand-accent: #3a2014;
    --brand-gold: #c9933e;
    --brand-cream: #faf6f0;
    --brand-light: #f5eee6;
    --brand-border: #ebdcd0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2c221e;
    background-color: var(--brand-cream);
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-script {
    font-family: 'Great Vibes', cursive;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1e7de;
}
::-webkit-scrollbar-thumb {
    background: #8d624a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5b3a29;
}

/* Custom Frame Preview Borders */
.frame-wood {
    background: #4a2f1d !important;
    border: 8px solid #361f10;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 15px 30px rgba(0,0,0,0.25);
}

.frame-black {
    background: #111111 !important;
    border: 8px solid #000000;
    box-shadow: inset 0 0 8px rgba(255,255,255,0.1), 0 15px 30px rgba(0,0,0,0.3);
}

.frame-gold {
    background: #d4af37 !important;
    border: 8px solid #b8860b;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 15px 30px rgba(184, 134, 11, 0.35);
}

.frame-white {
    background: #ffffff !important;
    border: 8px solid #e0dcd6;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.1), 0 15px 30px rgba(0,0,0,0.15);
}

/* Active style toggle button */
.frame-style-btn.active {
    border-color: #23150d !important;
    background-color: #efe2d3 !important;
    transform: scale(1.03);
}

/* Smooth transition for cart drawer */
#cartDrawer.open {
    opacity: 1;
    pointer-events: auto;
}

#cartDrawer.open #cartPanel {
    transform: translateX(0);
}

/* Modal animation */
.modal-active {
    display: flex !important;
    animation: fadeIn 0.25s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
