/* FONTS */

@font-face {
    font-family: BogartBold;
    src: url(./assets/fonts/BOGARTBOLDITALIC.TTF) format("truetype");
}

@font-face {
    font-family: BogartMed;
    src: url(./assets/fonts/BOGARTMEDIUM.TTF) format("truetype");
}



/* --- Refined 70s Cozy Retro Theme --- */

body {
    background: linear-gradient(135deg, #fbeec1 0%, #f7c873 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: BogartMed, serif;
    color: #5a3a1b;
    letter-spacing: 0.02em;
}

.main-content {
    width: 60vw;
    min-height: 70vh;
    margin: 3vw auto;
    background: #fffbe6;
    border-radius: 1.5vw;
    box-shadow: 0 8px 32px 0 rgba(90, 58, 27, 0.12);
    padding: 3vw 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 3px solid #e6b35a;
}

@keyframes floatIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.98) rotate(-2deg); }
    100% { opacity: 1; transform: none; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: BogartBold, serif;
    color: #b85c38;
    margin-bottom: 1vw;
    text-shadow: 1px 2px 0 #fff2d6, 2px 4px 0 #e6b35a;
    letter-spacing: 0.04em;
}

p, li, input, textarea, label, .mce-content-body {
    font-family: BogartMed, serif;
    font-size: 1.1vw;
    color: #5a3a1b;
    line-height: 1.7;
}

img {
    width: 28vw;
    max-width: 90%;
    border-radius: 1vw;
    box-shadow: 0 4px 16px 0 rgba(184, 92, 56, 0.13);
    margin: 1vw 0;
    border: 2px solid #e6b35a;
}

button, .btn, input[type="submit"] {
    font-family: BogartBold, serif;
    background: linear-gradient(90deg, #e6b35a 0%, #b85c38 100%);
    color: #fff2d6;
    border: none;
    border-radius: 1vw;
    padding: 0.7vw 2vw;
    font-size: 1.1vw;
    margin: 1vw 0.5vw;
    box-shadow: 0 2px 8px 0 rgba(90, 58, 27, 0.13);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
button:hover, .btn:hover, input[type="submit"]:hover {
    background: linear-gradient(90deg, #b85c38 0%, #e6b35a 100%);
    transform: scale(1.05) rotate(-1deg);
}

nav, .navbar {
    background: #b85c38;
    border-radius: 1vw;
    box-shadow: 0 2px 12px 0 rgba(90, 58, 27, 0.13);
    padding: 0.7rem 2vw;
    margin-bottom: 2vw;
    display: flex;
    gap: 2vw;
    justify-content: center;
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #e6b35a;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav a, .navbar a {
    color: #fff2d6;
    font-family: BogartBold, serif;
    text-decoration: none;
    font-size: 1.1vw;
    padding: 0.5vw 1.2vw;
    border-radius: 0.7vw;
    transition: background 0.2s, color 0.2s;
}
nav a:hover, .navbar a:hover {
    background: #e6b35a;
    color: #b85c38;
}

.divider {
    width: 100%;
    height: 2vw;
    background: repeating-linear-gradient(90deg, #e6b35a, #e6b35a 10vw, #b85c38 10vw, #b85c38 20vw);
    border-radius: 1vw;
    margin: 2vw 0;
    opacity: 0.7;
}

/* --- Footer Styles --- */
footer {
    width: 100vw;
    background: #b85c38;
    color: #fff2d6;
    text-align: center;
    padding: 2vw 0 1vw 0;
    font-family: BogartMed, serif;
    font-size: 1.1vw;
    margin-top: 4vw;
    border-top: 2px solid #e6b35a;
    letter-spacing: 0.04em;
}
footer a {
    color: #fff2d6;
    margin: 0 1vw;
    text-decoration: underline;
    font-family: BogartBold, serif;
    font-size: 1.1vw;
}
footer a:hover {
    color: #e6b35a;
}

/* --- Sticky Navbar --- */
nav, .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* --- Focus Styles for Accessibility --- */
button:focus, .btn:focus, input[type="submit"]:focus, nav a:focus, .navbar a:focus {
    outline: 2px solid #b85c38;
    outline-offset: 2px;
    background: #fff2d6;
    color: #b85c38;
}

/* --- Wavy SVG Divider --- */
.wavy-divider {
    width: 100vw;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="40" viewBox="0 0 100 40" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 20 Q 25 40 50 20 T 100 20 V40 H0Z" fill="%23e6b35a"/></svg>') repeat-x;
    background-size: 100vw 40px;
    border: none;
    margin: 0;
    padding: 0;
}

/* --- Vinyl Loader --- */
#vinyl-loader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20000;
    display: none;
}
#vinyl-loader .vinyl {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 40%, #222 60%, #b85c38 100%);
    border: 6px solid #e6b35a;
    position: relative;
    animation: spin 1.2s linear infinite;
}
#vinyl-loader .vinyl:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    background: #fff2d6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #b85c38;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 900px) {
    .main-content, nav, .navbar {
        width: 90vw;
        padding: 5vw 3vw;
    }
    h1, h2, h3, h4, h5, h6 {
        font-size: 5vw;
    }
    p, li, input, textarea, label, .mce-content-body, nav a, .navbar a, button, .btn, input[type="submit"] {
        font-size: 3.5vw;
    }
    img {
        width: 80vw;
        max-width: 100%;
    }
    nav, .navbar {
        flex-direction: column;
        gap: 2vw;
        align-items: center;
    }
    .divider {
        height: 4vw;
    }
}

@media (max-width: 500px) {
    .main-content, nav, .navbar {
        width: 98vw;
        padding: 6vw 2vw;
    }
    h1, h2, h3, h4, h5, h6 {
        font-size: 7vw;
    }
    p, li, input, textarea, label, .mce-content-body, nav a, .navbar a, button, .btn, input[type="submit"] {
        font-size: 4vw;
    }
    img {
        width: 95vw;
        max-width: 100%;
    }
    nav, .navbar {
        flex-direction: column;
        gap: 3vw;
        align-items: center;
    }
    .divider {
        height: 6vw;
    }
}

/* Shopify cart tweaks remain unchanged */

.shopify-buy__cart {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9999 !important;
    background: transparent !important;
    display: none;
}

.shopify-buy__cart--is-visible {
    display: block;
}

/* Subtle SVG noise overlay for retro grain effect */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
    mix-blend-mode: multiply;
    background-image: url('data:image/svg+xml;utf8,<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg"><filter id="noise" x="0" y="0"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23noise)"/></svg>');
    background-repeat: repeat;
    background-size: 220px 220px;
}

p {
    text-align: center; 
}