/* 
  THEME: Ancient Future Cult
  PALETTE: 
  - Void Black: #050505
  - Bone White: #F5F5F5
  - Rebellion Pink: #FF9EAA
  - Appleocalypse Green: #B0FB5D
*/

@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Rubik+Wet+Paint&display=swap');

:root {
    --color-void: #050505;
    --color-bone: #F5F5F5;
    --color-pink: #FF9EAA;
    --color-green: #B0FB5D;

    --font-headline: 'Rubik Wet Paint', 'Creepster', display;
    --font-body: 'Space Mono', monospace;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--color-void);
    color: var(--color-bone);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.text-pink {
    color: var(--color-pink);
}

.text-green {
    color: var(--color-green);
}

.font-headline {
    font-family: var(--font-headline);
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-void);
}

::-webkit-scrollbar-thumb {
    background: var(--color-pink);
    border-radius: 4px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.9), transparent);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 69px;
    /* Adjust height to fit navbar */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 158, 170, 0.5));
    /* Subtle pink glow */
}

.nav-links a {
    color: var(--color-bone);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-green);
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: var(--color-green);
}

#mobile-track-btn {
    display: none;
}

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

.hero-content {
    z-index: 2;
    opacity: 0;
    animation: fadeIn 2s var(--ease-out-expo) forwards 0.5s;
}

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

.glitch-text {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(176, 251, 93, 0.3);
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: 'DEATH IS\A OVERRATED';
    white-space: pre;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: var(--color-pink);
    z-index: -1;
    animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-text::after {
    color: var(--color-green);
    z-index: -2;
    animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.cta-btn {
    background: transparent;
    border: 2px solid var(--color-pink);
    color: var(--color-pink);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background: var(--color-pink);
    color: var(--color-void);
    box-shadow: 0 0 20px var(--color-pink);
}

/* Manifesto Section - Cinematic Scroll */
#manifesto {
    padding: 0;
    background: var(--color-void);
}

.scroll-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--ease-out-expo);
    padding: 2rem;
}

.scroll-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.big-title {
    font-size: 8rem;
    color: var(--color-bone);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.reveal-text {
    font-size: 2.5rem;
    line-height: 1.4;
    max-width: 900px;
}

.highlight-block {
    background: var(--color-bone);
    color: var(--color-void);
    flex-direction: column;
}

.highlight-block h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.highlight-block p {
    font-size: 1.5rem;
}

/* Culture Section */
#culture {
    padding: 6rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    text-align: center;
}

.culture-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-green);
}

.culture-card p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* THE ARMORY */
#armory {
    padding-top: 6rem;
    background-color: var(--color-void);
    position: relative;
    padding-bottom: 4rem;
}



.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 8rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-pink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-image {
    position: relative;
    height: 400px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease;
}

.overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover .overlay-image {
    opacity: 1;
}

.product-card:hover .product-image>img {
    opacity: 0;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #888;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--color-bone);
}

.add-btn {
    background: var(--color-bone);
    color: var(--color-void);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.add-btn:hover {
    background: var(--color-pink);
    color: var(--color-void);
}

/* Uniform Showcase */
.uniform-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle at center, #1a1a1a, #000);
    padding: 4rem;
    border: 1px solid #333;
    margin-bottom: 6rem;
}

.uniform-text {
    flex: 1;
    padding-right: 4rem;
}

.uniform-text h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.uniform-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.uniform-images {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping */
    gap: 1rem;
    position: relative;
    justify-content: center;
}

.uniform-images img {
    width: calc(50% - 0.5rem);
    /* Fit 2 per row */
    height: auto;
    object-fit: cover;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.uniform-images img:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Lifestyle Banner */
.lifestyle-banner {
    height: 60vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lifestyle-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.banner-content {
    z-index: 2;
    text-align: center;
}

.banner-content h2 {
    font-size: 4rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Responsive */
/* FAQ Section */
#faq {
    padding: 8rem 0;
    border-top: 1px solid #111;
}

.faq-grid {
    display: flex;
    overflow-x: auto;
    gap: 3rem;
    margin-top: 4rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-pink) transparent;
}

.faq-grid::-webkit-scrollbar {
    height: 4px;
}

.faq-grid::-webkit-scrollbar-thumb {
    background: var(--color-pink);
    border-radius: 10px;
}

.faq-item {
    flex: 0 0 400px;
    /* Fixed width for horizontal flow */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    transition: all 0.3s var(--ease-out-expo);
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .faq-item {
        flex: 0 0 85vw;
        /* Almost full width on mobile */
    }
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-pink);
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.faq-item p {
    color: #999;
    line-height: 1.6;
    font-family: var(--font-body);
}

/* --- THE ARCHIVE (GALLERY) --- */
#archive {
    padding: 10rem 0;
    border-top: 1px solid #111;
    overflow: hidden;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
    margin-top: 4rem;
}

.archive-item {
    position: relative;
    overflow: hidden;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: crosshair;
}

.archive-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(110%);
    transition: transform 0.8s var(--ease-out-expo), filter 0.5s ease, opacity 0.5s ease;
    opacity: 0.6;
}

.archive-item::before {
    content: attr(data-id);
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--color-pink);
    z-index: 2;
    background: rgba(0, 0, 0, 0.9);
    padding: 3px 8px;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
    z-index: 3;
}

.archive-overlay span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--color-green);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
}

/* Dynamic Brutalist Geometry */
.archive-item[data-id="A_01"] {
    grid-column: span 6;
    grid-row: span 3;
}

.archive-item[data-id="A_02"] {
    grid-column: span 3;
    grid-row: span 2;
}

.archive-item[data-id="A_03"] {
    grid-column: span 3;
    grid-row: span 2;
}

.archive-item[data-id="A_04"] {
    grid-column: span 3;
    grid-row: span 2;
}

.archive-item[data-id="A_05"] {
    grid-column: span 3;
    grid-row: span 2;
}

.archive-item[data-id="A_06"] {
    grid-column: span 6;
    grid-row: span 1;
}

.archive-item[data-id="A_07"] {
    grid-column: span 3;
    grid-row: span 2;
}

.archive-item[data-id="A_08"] {
    grid-column: span 6;
    grid-row: span 2;
}

.archive-item[data-id="A_09"] {
    grid-column: span 3;
    grid-row: span 2;
}

.archive-item[data-id="A_10"] {
    grid-column: span 12;
    grid-row: span 2;
}

/* Hover States Enhancement */
/* Hover & Active States */
.archive-item:hover img,
.archive-item.active img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.1);
    opacity: 1;
}

.archive-item:hover .archive-overlay,
.archive-item.active .archive-overlay {
    transform: translateY(0);
    opacity: 1;
}

.archive-item:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 3px);
    pointer-events: none;
    z-index: 2;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Tablet Refinement */
@media (max-width: 1024px) {
    .archive-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 180px;
    }

    .archive-item[data-id="A_01"] {
        grid-column: span 6;
        grid-row: span 2;
    }

    .archive-item[data-id="A_02"] {
        grid-column: span 3;
        grid-row: span 1;
    }

    .archive-item[data-id="A_03"] {
        grid-column: span 3;
        grid-row: span 1;
    }

    .archive-item[data-id="A_04"] {
        grid-column: span 3;
        grid-row: span 2;
    }

    .archive-item[data-id="A_05"] {
        grid-column: span 3;
        grid-row: span 2;
    }

    .archive-item[data-id="A_06"] {
        grid-column: span 6;
        grid-row: span 1;
    }
}

/* Mobile Overhaul */
@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 0.5rem;
    }

    .archive-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .archive-item[data-id="A_01"] {
        grid-row: span 2 !important;
    }
}

/* Responsive Customizations */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        /* More void space */
    }

    .uniform-showcase {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1rem;
        background: radial-gradient(circle at center, #1a1a1a, #000);
        /* Restore gradient */
    }

    .uniform-text {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .uniform-images {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .uniform-images img {
        width: calc(50% - 0.25rem) !important;
        border-radius: 4px;
    }

    .banner-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Navigation - Mobile Header */
    nav {
        flex-direction: row;
        /* Horizontal layout */
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0.5rem;
        /* Minimal padding */
        background: rgba(5, 5, 5, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-wrap: nowrap;
        /* Force single line */
    }

    .logo-img {
        height: 70px;
        /* Increased Logo Size */
    }

    /* Hide specific links on mobile */
    /* Mobile Header Layout */
    .nav-links a[href="#manifesto"],
    .nav-links a[href="#armory"],
    .nav-links #open-orders-btn {
        display: none !important;
    }

    #mobile-track-btn {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--color-bone);
        font-size: 0.6rem;
        gap: 0.2rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nav-links {
        position: static;
        width: auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        gap: 0;
        /* Remove gap as we only have one item now */
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        height: auto;
        flex-wrap: nowrap;
        /* Force single line */
    }

    .nav-links.active {
        transform: none;
        box-shadow: none;
    }

    .nav-links a {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
        display: flex;
        flex-direction: row;
        /* Side-by-side */
        align-items: center;
        gap: 0.3rem;
        margin: 0;
        opacity: 0.8;
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--color-bone);
        white-space: nowrap;
        /* Prevent text wrap */
    }

    .nav-icon {
        width: 20px;
        height: 20px;
        stroke: currentColor;
    }

    .nav-links a::after {
        display: none;
        /* Remove underline effect on mobile */
    }



    /* Hero - Immersive */
    #hero {
        min-height: 100svh;
        /* Perfect Mobile Height */
        background-attachment: scroll;
        /* Fix mobile parallax jitter */
    }

    .glitch-text {
        font-size: 3.5rem;
        /* Bigger impact */
        line-height: 1;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        opacity: 0.8;
        max-width: 300px;
        margin: 0 auto 2rem auto;
    }

    .cta-btn {
        width: 80%;
        max-width: 300px;
        font-size: 1.1rem;
        padding: 1.2rem;
        box-shadow: 0 10px 30px rgba(176, 251, 93, 0.2);
        /* Glow */
    }

    /* Manifesto - Reader Mode */
    .scroll-section {
        min-height: 60vh;
        /* Condensed for scroll flow */
        padding: 1rem;
    }

    .big-title {
        font-size: 3.5rem;
    }

    /* Armory - Card Focus */
    .product-card {
        margin-bottom: 3rem;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        /* Soften edges */
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 2rem;
    }

    .uniform-images {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .uniform-images img {
        width: calc(50% - 0.25rem);
        /* Tighter grid */
        border-radius: 4px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

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

    .social-link {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    /* Modals - Bottom Sheet vibe */
    .modal-content {
        width: 100%;
        height: 100%;
        max-width: none;
        border: none;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #050505;
        /* Solid void */
    }

    .close-modal {
        top: 2rem;
        right: 2rem;
    }
}

/* Notification */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-green);
    color: var(--color-void);
    padding: 1rem 2rem;
    font-weight: bold;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    font-family: var(--font-body);
}

/* Checkout Modal */
.modal {
    display: flex;
    /* Hidden by default toggled via JS class */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.visible {
    opacity: 1;
    pointer-events: all;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--color-void);
    border: 1px solid var(--color-pink);
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 50px rgba(255, 158, 170, 0.2);
    transform: translateY(50px);
    transition: transform 0.3s var(--ease-out-expo);
}

.modal.visible .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-bone);
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--color-pink);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.modal-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.cart-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px dashed #333;
    font-family: var(--font-body);
}

.cart-total {
    text-align: right;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    /* Simple font for numbers */
}

/* Global Number & Placeholder Styling */
.price,
.item-price,
.strike,
.cart-total,
b,
#cart-total-price,
#cart-subtotal,
#delivery-charge,
#discount-amount {
    font-family: 'Space Mono', monospace !important;
    letter-spacing: 0 !important;
}

::placeholder {
    font-family: var(--font-body) !important;
}

.coupon-section .cta-btn {
    height: 100% !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- CONSOLIDATED CHECKOUT & UTILITY STYLES --- */

.modal-footer {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #333;
}

.cult-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-bone);
    color: var(--color-pink);
    font-family: var(--font-body);
    font-size: 1.2rem;
    padding: 0.5rem;
    width: 100%;
    text-align: center;
    outline: none;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s;
}

.cult-input:focus {
    border-color: var(--color-green);
}

.strike {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.8em;
    margin-right: 0.5rem;
    font-family: 'Space Mono', monospace !important;
}

.variant-options {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
}

.variant-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-bone);
    color: var(--color-bone);
    padding: 0.8rem;
    cursor: pointer;
    flex: 1;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.variant-btn b {
    font-family: 'Space Mono', monospace !important;
    font-weight: bold;
    letter-spacing: 0;
}

.variant-btn:hover {
    background: var(--color-pink);
    color: var(--color-void);
    border-color: var(--color-pink);
}

/* Modal - Professional Checkout Layout */
.modal-content.checkout-modal {
    max-width: 1100px !important;
    width: 95vw !important;
    height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--color-pink);
}

.modal-header {
    padding: 2.5rem 3rem 1rem 3rem;
    flex-shrink: 0;
    text-align: center;
}

.modal-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.checkout-body {
    display: grid !important;
    grid-template-columns: 380px 1fr !important;
    gap: 3rem !important;
    padding: 2rem 3rem !important;
    overflow-y: auto !important;
    flex: 1 !important;
    min-height: 0 !important;
    scrollbar-width: thin;
    scrollbar-color: var(--color-pink) transparent;
}

.checkout-section h3 {
    font-family: var(--font-headline);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-green);
    letter-spacing: 2px;
    border-bottom: 2px solid var(--color-green);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Coupon & Order Summary */
.coupon-section .cult-input {
    width: 100% !important;
    margin-bottom: 0 !important;
    font-size: 1rem !important;
    text-align: left !important;
    padding: 0.8rem !important;
    border: 1px solid #333 !important;
}

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

.form-group label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: bold;
    letter-spacing: 1px;
}

.form-group .cult-input {
    width: 100%;
    padding: 1rem;
    background: #0d0d0d;
    border: 1px solid #222;
    color: var(--color-bone);
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Item Listing */
.cart-items-list {
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.item-info span:first-child {
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}

/* Force Simple Font for ALL Numbers/Prices */
.cart-total,
#cart-total-price,
#cart-subtotal,
#delivery-charge,
#discount-amount,
.price,
.item-price,
#total-amount,
.cart-item span {
    font-family: 'Space Mono', monospace !important;
    letter-spacing: 0 !important;
    font-weight: bold !important;
}

.remove-btn {
    background: transparent;
    border: 1px solid #333;
    color: #666;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: 0.3s;
}

.remove-btn:hover {
    background: var(--color-pink);
    color: #000;
    border-color: var(--color-pink);
}

.modal-footer {
    padding: 1.5rem 3rem !important;
    background: #000 !important;
    border-top: 1px solid #222 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

/* --- MOBILE RESPONSIVE OVERHAUL --- */
@media (max-width: 768px) {
    .modal-content.checkout-modal {
        width: 100vw !important;
        height: 100vh !important;
        height: 100svh !important;
        max-height: 100vh !important;
        border: none !important;
        border-radius: 0 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
    }

    .checkout-body {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
        gap: 3rem !important;
    }

    .modal-header h2 {
        font-size: 2rem !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    .modal-footer {
        justify-content: center !important;
        padding: 1rem !important;
    }

    .modal-footer .cta-btn {
        width: 100% !important;
    }

    .cart-total {
        text-align: left !important;
        font-size: 1.2rem !important;
    }
}

/* Footer */
footer {
    background: #000;
    border-top: 1px solid #333;
    padding: 3rem 0;
    margin-top: 4rem;
}

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

.footer-company h3 {
    font-family: var(--font-headline);
    color: var(--color-bone);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-company p {
    color: #666;
    font-size: 0.9rem;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-contact p {
    font-size: 0.9rem;
}

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

.social-link {
    color: var(--color-bone);
    text-decoration: none;
    font-family: var(--font-body);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--color-green);
    border-bottom-color: var(--color-green);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ORDERS MODAL & LIST STYLES */
.orders-modal {
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: var(--color-green);
    background: rgba(255, 255, 255, 0.05);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-id {
    font-family: var(--font-headline);
    color: var(--color-pink);
    font-size: 1.2rem;
}

.order-status {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.status-success {
    background: rgba(176, 251, 93, 0.2);
    color: var(--color-green);
}

.status-pending {
    background: rgba(255, 255, 0, 0.2);
    color: #ffeb3b;
}

.status-failed {
    background: rgba(255, 158, 170, 0.2);
    color: var(--color-pink);
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
}

.delivery-estimate {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: var(--color-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-link {
    display: block;
    margin-top: 1rem;
    text-align: right;
    font-size: 0.8rem;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
}

.support-link:hover {
    color: var(--color-bone);
}

/* Mobile Optimizations for Orders */
@media (max-width: 600px) {

    /* Fix scrolling: Align to top so content doesn't get cut off */
    #orders-modal {
        align-items: flex-start !important;
        padding-top: 3rem;
        padding-bottom: 2rem;
        overflow-y: auto !important;
    }

    .orders-modal {
        width: 95%;
        padding: 1rem;
        /* Let wrapper handle scroll */
        max-height: none !important;
        height: auto !important;
        margin: 0 auto 2rem auto;
    }

    .order-card {
        padding: 1rem;
        gap: 0.8rem;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .order-status {
        align-self: flex-start;
        font-size: 0.7rem;
    }

    .order-id {
        font-size: 1rem;
    }

    .support-link {
        text-align: center;
    }
}