:root {
    /* Color Palette */
    --vanta-black: #050505;
    --dark-grey: #121212;
    --mid-grey: #2a2a2a;
    --light-grey: #888888;
    --pure-white: #ffffff;
    --accent: #5a3e85; /* Subtle purple/void accent */
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--vanta-black);
    color: var(--pure-white);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise overlay for texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--pure-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-img {
    height: 30px;
    filter: invert(1); /* Assuming original logo is black, making it white */
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--pure-white);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--pure-white);
    transition: var(--transition-smooth);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--vanta-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.mobile-nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 2rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.4) 0%,
        rgba(5, 5, 5, 0.7) 50%,
        var(--vanta-black) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-family: 'New Rocker', cursive; /* Alternate spiky fonts imported: 'Metal Mania', 'MedievalSharp', or 'UnifrakturMaguntia' */
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--pure-white);
    color: var(--vanta-black);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: var(--transition-smooth);
    border: 1px solid var(--pure-white);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--pure-white);
}

/* Shop Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.product-card {
    cursor: pointer;
}

.product-image-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--dark-grey);
    margin-bottom: 1.5rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* CSS Placeholders for missing images */
.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.5;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .placeholder-img::before {
    transform: scale(1.05);
}

.dark-gradient::before { background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); }
.dark-gradient-2::before { background: linear-gradient(to bottom, #222 0%, #050505 100%); }
.dark-gradient-3::before { background: radial-gradient(circle at center, #1f1f1f 0%, #000 100%); }

.placeholder-text {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.2);
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.2em;
    transform: rotate(-90deg);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
    transform: translateY(0);
}

.quick-add {
    background: var(--pure-white);
    color: var(--vanta-black);
    border: none;
    padding: 0.8rem 2rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-fast);
}

.quick-add:hover {
    background: var(--light-grey);
}

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

.product-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-price {
    color: var(--light-grey);
    font-size: 0.9rem;
}

/* About Section */
.about {
    background-color: var(--dark-grey);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--light-grey);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.about-visual {
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--mid-grey), var(--vanta-black));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphShape 10s ease-in-out infinite both alternate;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8), 0 0 20px rgba(90, 62, 133, 0.2);
}

/* Contact Section */
.contact-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-sub {
    color: var(--light-grey);
    margin-bottom: 3rem;
}

.contact-form {
    margin-bottom: 4rem;
}

.input-group {
    display: flex;
    border-bottom: 1px solid var(--mid-grey);
    transition: border-color var(--transition-fast);
}

.input-group:focus-within {
    border-color: var(--pure-white);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--pure-white);
    padding: 1rem 0;
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
}

.input-group input::placeholder {
    color: var(--mid-grey);
    letter-spacing: 0.1em;
}

.submit-btn {
    background: transparent;
    border: none;
    color: var(--pure-white);
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 0 1rem;
    transition: color var(--transition-fast);
}

.submit-btn:hover {
    color: var(--light-grey);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--pure-white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--light-grey);
}

/* Footer */
.footer {
    border-top: 1px solid var(--mid-grey);
    padding: 3rem 0 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 20px;
    filter: invert(1);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--light-grey);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--light-grey);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--pure-white);
}

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes morphShape {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

/* Simple Reveal Animation Classes */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-fade {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero-title { font-size: 4rem; }
    .hero-tagline { font-size: 0.9rem; }
    
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { height: 300px; }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* ===== CART UI ===== */
.cart-icon-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-icon-link svg {
    transition: transform var(--transition-fast);
}

.cart-icon-link:hover svg {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent);
    color: var(--pure-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background-color: var(--vanta-black);
    border-left: 1px solid var(--mid-grey);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-smooth);
}

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

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--mid-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: var(--light-grey);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.close-cart:hover {
    color: var(--pure-white);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}
.cart-items::-webkit-scrollbar-track {
    background: transparent;
}
.cart-items::-webkit-scrollbar-thumb {
    background: var(--mid-grey);
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    background: var(--dark-grey);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--light-grey);
    font-size: 0.85rem;
    margin-bottom: auto;
}

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

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--mid-grey);
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--pure-white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.qty-btn:hover {
    background: var(--dark-grey);
}

.qty-display {
    width: 30px;
    text-align: center;
    font-size: 0.85rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--light-grey);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.remove-item:hover {
    color: var(--pure-white);
    text-decoration: underline;
}

.empty-cart-msg {
    color: var(--light-grey);
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--mid-grey);
    background: var(--vanta-black);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--pure-white);
    color: var(--vanta-black);
    border: none;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.checkout-btn:hover {
    background: var(--light-grey);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--vanta-black);
    border: 1px solid var(--mid-grey);
    padding: 1rem 1.5rem;
    color: var(--pure-white);
    display: flex;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-smooth);
}

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

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--mid-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: var(--light-grey);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.close-cart:hover {
    color: var(--pure-white);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}
.cart-items::-webkit-scrollbar-track {
    background: transparent;
}
.cart-items::-webkit-scrollbar-thumb {
    background: var(--mid-grey);
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    background: var(--dark-grey);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--light-grey);
    font-size: 0.85rem;
    margin-bottom: auto;
}

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

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--mid-grey);
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--pure-white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.qty-btn:hover {
    background: var(--dark-grey);
}

.qty-display {
    width: 30px;
    text-align: center;
    font-size: 0.85rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--light-grey);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.remove-item:hover {
    color: var(--pure-white);
    text-decoration: underline;
}

.empty-cart-msg {
    color: var(--light-grey);
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--mid-grey);
    background: var(--vanta-black);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--pure-white);
    color: var(--vanta-black);
    border: none;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.checkout-btn:hover {
    background: var(--light-grey);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--vanta-black);
    border: 1px solid var(--mid-grey);
    padding: 1rem 1.5rem;
    color: var(--pure-white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInToast 0.3s ease;
}

@keyframes slideInToast {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== CHECKOUT MODAL ===== */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

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

.checkout-modal {
    background: var(--dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 900px;
    max-width: 95vw;
    height: 600px;
    max-height: 90vh;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    display: flex;
    transition: transform var(--transition-smooth);
    transform: translateY(20px);
}

.checkout-modal-overlay.active .checkout-modal {
    transform: translateY(0);
}

.close-checkout {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--light-grey);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color var(--transition-fast);
}

.close-checkout:hover {
    color: var(--pure-white);
}

.checkout-grid {
    display: flex;
    width: 100%;
    height: 100%;
}

.checkout-form-container {
    flex: 1.3;
    padding: 3rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.checkout-summary-container {
    flex: 0.8;
    background: rgba(5, 5, 5, 0.4);
    border-left: 1px solid var(--mid-grey);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.checkout-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.checkout-steps {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.step-indicator {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--light-grey);
    position: relative;
    padding-bottom: 0.5rem;
}

.step-indicator.active {
    color: var(--pure-white);
    font-weight: 700;
}

.step-indicator.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--pure-white);
}

.checkout-step-panel {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInStep 0.4s ease forwards;
}

.checkout-step-panel.active {
    display: flex;
}

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

.step-heading {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row.split {
    flex-direction: row;
    gap: 1.5rem;
}

.form-row.split .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-grey);
}

.form-group input, .form-group select {
    background: rgba(5, 5, 5, 0.5);
    border: 1px solid var(--mid-grey);
    color: var(--pure-white);
    padding: 0.8rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--pure-white);
}

.form-group select option {
    background: var(--vanta-black);
    color: var(--pure-white);
}

.btn-checkout-next, .btn-checkout-submit {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--pure-white);
    color: var(--vanta-black);
    border: none;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-checkout-next:hover, .btn-checkout-submit:hover {
    background: var(--light-grey);
}

.checkout-nav-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-checkout-back {
    flex: 0.4;
    padding: 1rem;
    background: transparent;
    color: var(--pure-white);
    border: 1px solid var(--mid-grey);
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-checkout-back:hover {
    border-color: var(--pure-white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-checkout-submit {
    flex: 1;
    margin-top: 0;
}

/* Order Summary */
.summary-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.checkout-summary-items {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

.checkout-summary-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.summary-item-img {
    width: 50px;
    height: 60px;
    object-fit: cover;
    background: var(--dark-grey);
    border-radius: 2px;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.summary-item-meta {
    font-size: 0.75rem;
    color: var(--light-grey);
    margin-top: 0.2rem;
}

.summary-item-price {
    font-size: 0.85rem;
    font-weight: 600;
}

.checkout-summary-pricing {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--light-grey);
}

.summary-row.total {
    border-top: 1px solid var(--mid-grey);
    padding-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pure-white);
    font-family: var(--font-display);
}

/* Success View */
.checkout-success-view {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-grey);
    z-index: 20;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    animation: fadeInSuccess 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.checkout-success-view.active {
    display: flex;
}

@keyframes fadeInSuccess {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    color: var(--accent);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(90, 62, 133, 0.3));
}

.success-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.success-message {
    color: var(--light-grey);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.success-details {
    background: rgba(5, 5, 5, 0.3);
    border: 1px solid var(--mid-grey);
    padding: 1.5rem 2.5rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-align: left;
    max-width: 400px;
    width: 100%;
}

.success-details p {
    display: flex;
    justify-content: space-between;
}

.btn-success-close {
    padding: 1rem 3rem;
    background: var(--pure-white);
    color: var(--vanta-black);
    border: none;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-success-close:hover {
    background: var(--light-grey);
}

/* Responsiveness for Checkout */
@media (max-width: 768px) {
    .checkout-modal {
        flex-direction: column;
        height: 90vh;
    }
    
    .checkout-grid {
        flex-direction: column-reverse;
        height: 100%;
        overflow-y: auto;
    }
    
    .checkout-form-container {
        flex: none;
        padding: 2rem;
    }
    
    .checkout-summary-container {
        flex: none;
        border-left: none;
        border-bottom: 1px solid var(--mid-grey);
        padding: 2rem;
    }
}

/* ===== PRODUCT DETAIL MODAL ===== */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

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

.product-modal {
    background: var(--dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 950px;
    max-width: 95vw;
    height: 650px;
    max-height: 90vh;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: transform var(--transition-smooth);
    transform: translateY(20px);
}

.product-modal-overlay.active .product-modal {
    transform: translateY(0);
}

.close-product-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--light-grey);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color var(--transition-fast);
}

.close-product-modal:hover {
    color: var(--pure-white);
}

.product-modal-grid {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-modal-gallery {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
    position: relative;
}

.main-image-container {
    width: 100%;
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease-in-out;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
    user-select: none;
}

.gallery-arrow:hover {
    background: var(--pure-white);
    color: var(--vanta-black);
    border-color: var(--pure-white);
}

.gallery-arrow.prev {
    left: 1rem;
}

.gallery-arrow.next {
    right: 1rem;
}

.product-modal-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: center;
}

.product-modal-thumbnails::-webkit-scrollbar {
    height: 3px;
}

.product-modal-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

.modal-thumb {
    width: 55px;
    height: 55px;
    border-radius: 2px;
    border: 2px solid transparent;
    cursor: pointer;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.modal-thumb:hover {
    opacity: 0.9;
}

.modal-thumb.active {
    border-color: var(--pure-white);
    opacity: 1;
}

.product-modal-info {
    flex: 0.8;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    background: var(--dark-grey);
}

.product-modal-category {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.25em;
    margin-bottom: 0.5rem;
}

.product-modal-title {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--pure-white);
}

.product-modal-price {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.product-modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--light-grey);
    margin-bottom: 2rem;
}

.product-modal-options {
    margin-bottom: 2.5rem;
}

.options-label {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.size-buttons-grid {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.modal-size-btn {
    flex: 1;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--pure-white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 2px;
}

.modal-size-btn:hover:not(:disabled) {
    border-color: var(--pure-white);
}

.modal-size-btn.active {
    background: var(--pure-white);
    color: var(--vanta-black);
    border-color: var(--pure-white);
}

.modal-size-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: rgba(255, 255, 255, 0.05);
}

.stock-indicator {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
    min-height: 1.2rem;
}

.stock-low {
    color: var(--orange);
}

.stock-ok {
    color: var(--light-grey);
}

.stock-critical {
    color: var(--red);
}

.modal-add-to-cart-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--pure-white);
    color: var(--vanta-black);
    border: none;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 2px;
    margin-top: auto;
}

.modal-add-to-cart-btn:hover:not(:disabled) {
    background: var(--light-grey);
}

.modal-add-to-cart-btn:disabled {
    background: var(--mid-grey);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Responsiveness for Product Modal & Checkout */
@media (max-width: 768px) {
    .checkout-modal {
        flex-direction: column;
        height: 90vh;
    }
    
    .checkout-grid {
        flex-direction: column-reverse;
        height: 100%;
        overflow-y: auto;
    }
    
    .checkout-form-container {
        flex: none;
        padding: 2rem;
    }
    
    .checkout-summary-container {
        flex: none;
        border-left: none;
        border-bottom: 1px solid var(--mid-grey);
        padding: 2rem;
    }

    .product-modal {
        height: 90vh;
        overflow-y: auto;
    }

    .product-modal-grid {
        flex-direction: column;
    }

    .product-modal-gallery {
        flex: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
    }

    .main-image-container {
        height: 300px;
    }

    .product-modal-info {
        flex: none;
        padding: 2rem 1.5rem;
    }
}

