@import "tailwindcss";

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans:
        "Instrument Sans", ui-sans-serif, system-ui, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
}
:root {
    --color-background: #000000;
    --color-foreground: #ededed;
    --color-primary: #facc15;
    --color-primary-foreground: #000000;
    --color-muted: #27272a;
    --color-muted-foreground: #a1a1aa;
    --color-border: #27272a;
    --color-input: #27272a;
    --color-accent: #27272a;
    --color-accent-foreground: #ededed;

    --font-sans:
        ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;

    --container-padding: 1rem;
    --radius-md: 0.375rem;
    --radius-full: 9999px;
    --radius-xl: 0.75rem;
}

/* ========================================================================== */
/* RESET & BASE                                                               */
/* ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid var(--color-border);
}

body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

button {
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

img,
svg {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* ========================================================================== */
/* UTILITIES                                                                  */
/* ========================================================================== */

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    max-width: 1280px;
}

.hidden {
    display: none !important;
}
.flex {
    display: flex;
}
.grid {
    display: grid;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.fixed {
    position: fixed;
}
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.z-0 {
    z-index: 0;
}
.z-10 {
    z-index: 10;
}
.z-20 {
    z-index: 20;
}
.z-50 {
    z-index: 50;
}
.text-center {
    text-align: center;
}
.text-sm {
    font-size: 0.875rem;
}
.text-xs {
    font-size: 0.75rem;
}
.font-bold {
    font-weight: 700;
}
.font-semibold {
    font-weight: 600;
}
.font-medium {
    font-weight: 500;
}
.text-primary {
    color: var(--color-primary);
}
.text-muted {
    color: var(--color-muted-foreground);
}

/* ========================================================================== */
/* ANNOUNCEMENT BAR                                                           */
/* ========================================================================== */

.announcement-bar {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    position: relative;
    z-index: 20;
    display: none;
}

/* ========================================================================== */
/* BACKGROUND WATERMARK                                                       */
/* ========================================================================== */

.bg-watermark {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.05;
    overflow: hidden;
}

.bg-watermark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================================================== */
/* NAVBAR                                                                     */
/* ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 4rem;
    display: flex;
    align-items: center;
}

/* Offset body content below the fixed navbar */
body {
    padding-top: 4rem;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: var(--color-primary);
}

.logo-text-gradient {
    color: var(--color-primary);
    background: linear-gradient(
        to right,
        var(--color-primary),
        #fef08a,
        var(--color-primary)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Desktop nav links - hidden on mobile/tablet by default */
.nav-links {
    display: none;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ========================================================================== */
/* BUTTONS                                                                    */
/* ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
    height: 2.25rem;
}

.btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-md);
}

.btn-icon:hover {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

.btn-outline {
    border: 1px solid var(--color-input);
    background-color: transparent;
    padding: 0 0.75rem;
    gap: 0.5rem;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    padding: 0 1rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(230, 184, 0, 0.6);
}

.btn-large {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-glass {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
    border: 1px solid var(--color-input);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: var(--color-foreground);
}

.btn-glass:hover {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

/* ========================================================================== */
/* MOBILE MENU                                                                */
/* ========================================================================== */

/* Hamburger button - visible on mobile/tablet only */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.open {
    display: block;
    opacity: 1;
}

/* Sidebar Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: #000000;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    box-shadow: -10px 0 15px -3px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close-btn {
    padding: 0.5rem;
    color: var(--color-foreground);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close-btn:hover {
    color: var(--color-primary);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    overflow-y: auto;
}

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-foreground);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
    color: var(--color-primary);
}

.mobile-link.text-primary {
    color: var(--color-primary);
}

/* ========================================================================== */
/* HERO SECTION                                                               */
/* ========================================================================== */

.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 3rem 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--color-background),
        rgba(0, 0, 0, 0.9),
        transparent
    );
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    height: 100%;
    max-width: 80rem;
    margin: 0 auto;
    gap: 1.5rem;
    padding: 0 5%;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-full);
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: var(--color-primary);
    background-color: rgba(250, 204, 21, 0.05);
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--color-foreground);
    max-width: 50rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    max-width: 42rem;
    line-height: 1.625;
    margin: 0;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
    width: 100%;
}

.hero-actions button {
    width: 100%;
}

/* ========================================================================== */
/* FEATURES SECTION                                                           */
/* ========================================================================== */

.features-section {
    padding: 6rem 0;
    background-color: rgba(39, 39, 42, 0.3);
    border-top: 1px solid rgba(39, 39, 42, 0.4);
    border-bottom: 1px solid rgba(39, 39, 42, 0.4);
    position: relative;
    z-index: 10;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    background-color: var(--color-background);
    border: 1px solid rgba(39, 39, 42, 0.5);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.feature-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    background-color: rgba(250, 204, 21, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.feature-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--color-muted-foreground);
}

/* ========================================================================== */
/* TRUST SECTION                                                              */
/* ========================================================================== */

.trust-section {
    padding: 6rem 0;
    background-color: var(--color-foreground);
    color: var(--color-background);
    position: relative;
    z-index: 10;
}

.trust-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.trust-heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.trust-text-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: rgba(0, 0, 0, 0.8);
}

.trust-highlight {
    font-weight: 600;
    color: rgba(250, 204, 21, 0.9);
    padding: 1rem;
    background: rgba(0, 0, 0, 0.9);
    border-radius: var(--radius-md);
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trust-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-list-icon {
    color: var(--color-primary);
}

.trust-badge-card {
    height: 100%;
    min-height: 300px;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================================================== */
/* LEGAL SECTION                                                              */
/* ========================================================================== */

.legal-section {
    padding: 3rem 0;
    background-color: #000000;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.legal-content {
    max-width: 56rem;
    margin: 0 auto;
    /*text-align: center;*/
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ========================================================================== */
/* FOOTER                                                                     */
/* ========================================================================== */

.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    background-color: rgba(39, 39, 42, 0.2);
    position: relative;
    z-index: 10;
}

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

.footer-brand {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--color-primary);
}

.footer-copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

/* ========================================================================== */
/* VISIBILITY HELPERS                                                         */
/* ========================================================================== */

/* Shown on mobile only, hidden on tablet+ */
.hidden-md {
    display: flex;
}

/* Hidden on mobile, shown on tablet+ */
.hidden-mobile {
    display: none;
}

/* ========================================================================== */
/* STICKY HEADER                                                              */
/* ========================================================================== */

/* Visual upgrade once scrolled past the announcement bar */
.navbar.is-sticky {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom-color: var(--color-border);
}

/* ========================================================================== */
/* RESPONSIVE — TABLET  (768px +)                                             */
/* ========================================================================== */

@media (min-width: 768px) {
    /* Container */
    .container {
        max-width: 768px;
    }

    /* Navbar — show desktop links, hide hamburger */
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--color-muted-foreground);
    }

    .mobile-menu-btn {
        display: none;
    }

    /* Hero */
    .hero-section {
        height: 80vh;
        min-height: 80vh;
        padding: 0;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-actions {
        flex-direction: row;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Trust */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Visibility helpers */
    .hidden-md {
        display: none;
    }

    .hidden-mobile {
        display: flex;
    }
}

/* ========================================================================== */
/* RESPONSIVE — DESKTOP  (1024px +)                                           */
/* ========================================================================== */

@media (min-width: 1024px) {
    /* Container */
    .container {
        max-width: 1024px;
    }
}

/* ========================================================================== */
/* RESPONSIVE — WIDE DESKTOP  (1280px +)                                      */
/* ========================================================================== */

@media (min-width: 1280px) {
    /* Container */
    .container {
        max-width: 1280px;
    }
}

/*AGE POPUP MODAL STYLES*/

/* Age Gate Overlay */
.age-gate {
    position: fixed;
    inset: 0;
    display: none; /* toggled via JS */
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 99999;

    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Card */
.age-gate__card {
    width: min(520px, 100%);
    background: rgba(0, 0, 0, 0.82);
    color: var(--color-foreground);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    position: relative;
}

/* subtle inner glow like your UI */
.age-gate__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.08);
}

.age-gate__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    border: 1px solid rgba(250, 204, 21, 0.25);
    background: rgba(250, 204, 21, 0.06);
    margin-bottom: 14px;
}

.age-gate__title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    font-family: var(--font-sans);
}

.age-gate__desc {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-muted-foreground);
    font-family: var(--font-sans);
}

.age-gate__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.age-btn {
    appearance: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 120ms ease,
        box-shadow 120ms ease,
        background 120ms ease,
        border-color 120ms ease,
        opacity 120ms ease;
    font-family: var(--font-sans);
    user-select: none;
}

.age-btn:active {
    transform: translateY(1px);
}

.age-btn--primary {
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    border-color: rgba(250, 204, 21, 0.45);
    box-shadow: 0 10px 24px rgba(250, 204, 21, 0.1);
}

.age-btn--primary:hover {
    box-shadow: 0 14px 30px rgba(250, 204, 21, 0.16);
}

.age-btn--ghost {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-foreground);
}

.age-btn--ghost:hover {
    border-color: rgba(250, 204, 21, 0.25);
    background: rgba(250, 204, 21, 0.05);
}

.age-gate__fineprint {
    margin: 14px 0 0;
    font-size: 12px;
    color: rgba(237, 237, 237, 0.65);
    line-height: 1.5;
    font-family: var(--font-sans);
}

/* small screens */
@media (max-width: 420px) {
    .age-gate__title {
        font-size: 24px;
    }
    .age-gate__card {
        padding: 22px;
    }
    .age-btn {
        width: 100%;
    }
}

/* Product Styles - Shop & Product Detail Pages */

/* Shop Layout */
.shop-section {
    padding: 4rem 0;
    min-height: 80vh;
}

.shop-header {
    margin-bottom: 3rem;
    text-align: center;
}

.shop-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1rem;
}

.shop-subtitle {
    color: var(--color-muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative; /* Needed for badge positioning if we want it outside container */
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px -10px rgba(250, 204, 21, 0.15);
}

.product-image-container {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background-color: transparent;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.5s ease;
}

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

.badge-coming-soon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-top: auto;
    padding-top: 1rem;
}

.product-actions {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.btn-add-cart {
    background-color: var(--color-primary);
    color: var(--color-background);
    border: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    transition: background-color 0.2s;
    width: 100%;
    /* Ensure full width on mobile */
}

.btn-add-cart:disabled {
    background-color: var(--color-muted);
    color: var(--color-muted-foreground);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-add-cart:disabled:hover {
    background-color: var(--color-muted);
}

.continue-shopping {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-md);
    font-weight: 600;
}

@media (min-width: 640px) {
    .btn-add-cart {
        width: auto;
    }
}

.btn-add-cart:hover {
    background-color: var(--color-primary);
}

.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-foreground);
}

.btn-view-details:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ========================================================================== */
/* PRODUCT DETAIL PAGE STYLES                                                 */
/* ========================================================================== */

.product-detail-section {
    padding: 2rem 0 4rem;
    min-height: 80vh;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--color-primary);
}

.product-detail-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Left Column: Gallery */
.product-gallery {
    position: relative;
}

.main-image-container {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Image Badge */
.purity-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(20, 20, 20, 0.9);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

/* Right Column: Info */
.product-main-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header & Stock Status */
.product-header {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.product-badge {
    color: var(--color-muted-foreground);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.product-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.product-price-large {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.product-actions-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .product-actions-area {
        flex-direction: row;
    }
}

.quantity-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-input);
    border-radius: var(--radius-md);
    height: 3rem;
}

.qty-btn {
    width: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
}

.qty-btn:hover {
    color: var(--color-foreground);
    background-color: rgba(255, 255, 255, 0.05);
}

#qty-input {
    width: 3rem;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--color-foreground);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

#qty-input::-webkit-outer-spin-button,
#qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-cart-large {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-background);
    border: none;
    font-weight: 600;
    padding: 0.875rem;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.btn-add-cart-large:hover {
    filter: brightness(1.1);
}

/* Trust Badges - Updated Layout */
.product-trust-badges {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: none;
    padding-top: 0;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-item svg {
    color: var(--color-primary);
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
}

.trust-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.trust-desc {
    display: block;
    color: var(--color-muted-foreground);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Product Details Grid Layout */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .product-details-grid {
        grid-template-columns: 3fr 2fr;
        align-items: start;
    }
}

.detail-section {
    margin-bottom: 3rem;
}

.detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.icon-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-title svg {
    color: var(--color-primary);
}

.detail-text {
    color: var(--color-muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Profile & Findings Cards */
.profile-card,
.findings-card {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.profile-item,
.finding-item {
    margin-bottom: 1.5rem;
}

.profile-label,
.finding-title {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-value,
.finding-desc {
    color: var(--color-muted-foreground);
    font-size: 0.95rem;
}

.finding-source {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--color-muted-foreground);
    opacity: 0.8;
}

/* Right Column Cards (COA & Specs) */
.spec-card {
    background-color: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.spec-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-label {
    color: var(--color-muted-foreground);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.spec-value {
    color: #ffffff;
    font-family: monospace;
    font-weight: 600;
}

.spec-value.highlight {
    color: #ffffff;
}

.spec-value.success {
    color: #4ade80;
}

/* COA Card */
.coa-card {
    background-color: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.coa-preview-container {
    padding: 1rem;
    background-color: #ffffff;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.coa-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0.9;
}

.coa-info-bar {
    padding: 0.75rem 1rem;
    background-color: rgba(30, 30, 30, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.batch-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-family: monospace;
    font-size: 0.7rem;
}

.batch-id {
    color: #ffffff;
    font-weight: 700;
}

.batch-status-text {
    color: #4ade80;
}

.btn-view-pdf-small {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-view-pdf-small:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ========================================================================== */
/* FULL WIDTH COA SECTION                                                     */
/* ========================================================================== */

.coa-full-width-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Certificate of Analysis */
.coa-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    /* Constrain width for readability even in full width container */
    margin-left: 0;
    /* Keep aligned left */
}

/* Desktop: Allow COA to be wider or grid if desired, but keeping it stacked is fine. 
   If user wants it full width of container, remove max-width or set to 100% */
@media (min-width: 1024px) {
    .coa-section {
        max-width: 100%;
        /* Use full container width on desktop */
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Two column layout for info boxes? */
        /* Actually, let's keep the stacked look for the info boxes but maybe side-by-side */
        grid-template-areas:
            "header header"
            "chem purity"
            "image image";
        gap: 1.5rem;
    }

    .coa-header {
        grid-area: header;
    }

    .chemical-info-box {
        grid-area: chem;
    }

    .purity-report-box {
        grid-area: purity;
    }

    .coa-image-container {
        grid-area: image;
    }
}

.coa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.batch-info {
    font-size: 0.8rem;
    font-family: monospace;
    line-height: 1.4;
    color: var(--color-foreground);
}

.batch-status {
    margin-top: 0.25rem;
}

.status-passed {
    color: #4ade80;
    /* Green-400 */
    font-weight: bold;
}

.btn-view-pdf {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view-pdf:hover {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.chemical-info-box {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

/* Optional watermark background effect */
.info-bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background-image: url("../images/logo_cropped.png");
    /* Assuming logo exists */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
}

.chem-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.chem-row {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.chem-row:last-child {
    margin-bottom: 0;
}

.chem-label {
    font-size: 0.7rem;
    color: var(--color-muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.chem-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-foreground);
    font-family: var(--font-sans);
}

.purity-report-box {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

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

.report-row:last-child {
    border-bottom: none;
}

.report-label {
    color: var(--color-muted-foreground);
    font-size: 0.9rem;
}

.report-value {
    color: var(--color-foreground);
    font-weight: 600;
    font-family: monospace;
}

.status-match {
    color: #4ade80;
    /* Green-400 */
}

.coa-image-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

.coa-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Subpage Styles */

/* Shop Layout */
.shop-section {
    padding: 4rem 0;
    min-height: 80vh;
}

.shop-header {
    margin-bottom: 3rem;
    text-align: center;
}

.shop-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1rem;
}

.shop-subtitle {
    color: var(--color-muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative; /* Needed for badge positioning if we want it outside container */
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px -10px rgba(250, 204, 21, 0.15);
}

.product-image-container {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background-color: transparent;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.5s ease;
}

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

.badge-coming-soon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-top: auto;
    padding-top: 1rem;
}

.product-actions {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.btn-add-cart {
    background-color: var(--color-primary);
    color: var(--color-background);
    border: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    transition: background-color 0.2s;
    width: 100%;
    /* Ensure full width on mobile */
}

.btn-add-cart:disabled {
    background-color: var(--color-muted);
    color: var(--color-muted-foreground);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-add-cart:disabled:hover {
    background-color: var(--color-muted);
}

.continue-shopping {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-md);
    font-weight: 600;
}

@media (min-width: 640px) {
    .btn-add-cart {
        width: auto;
    }
}

.btn-add-cart:hover {
    background-color: var(--color-primary);
}

.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-foreground);
}

.btn-view-details:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ========================================================================== */
/* UPDATED PRODUCT DETAIL STYLES                                              */
/* ========================================================================== */

.product-detail-section {
    padding: 2rem 0 4rem;
    min-height: 80vh;
}

/* Image Badge */
.purity-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(20, 20, 20, 0.9);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

/* Header & Stock Status */
.product-header {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.product-badge {
    color: var(--color-muted-foreground);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.product-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.product-price-large {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

/* Trust Badges - Updated Layout */
.product-trust-badges {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: none;
    padding-top: 0;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-item svg {
    color: var(--color-primary);
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
}

.trust-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.trust-desc {
    display: block;
    color: var(--color-muted-foreground);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Product Details Grid Layout */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .product-details-grid {
        grid-template-columns: 3fr 2fr;
        align-items: start;
    }
}

.detail-section {
    margin-bottom: 3rem;
}

.detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.icon-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-title svg {
    color: var(--color-primary);
}

.detail-text {
    color: var(--color-muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Profile & Findings Cards */
.profile-card,
.findings-card {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.profile-item,
.finding-item {
    margin-bottom: 1.5rem;
}

.profile-label,
.finding-title {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-value,
.finding-desc {
    color: var(--color-muted-foreground);
    font-size: 0.95rem;
}

.finding-source {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--color-muted-foreground);
    opacity: 0.8;
}

/* Right Column Cards (COA & Specs) */
.spec-card {
    background-color: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.spec-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-label {
    color: var(--color-muted-foreground);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.spec-value {
    color: #ffffff;
    font-family: monospace;
    font-weight: 600;
}

.spec-value.highlight {
    color: #ffffff;
}

.spec-value.success {
    color: #4ade80;
}

/* COA Card */
.coa-card {
    background-color: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.coa-preview-container {
    padding: 1rem;
    background-color: #ffffff;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.coa-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.9;
}

.coa-info-bar {
    padding: 0.75rem 1rem;
    background-color: rgba(30, 30, 30, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.batch-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-family: monospace;
    font-size: 0.7rem;
}

.batch-id {
    color: #ffffff;
    font-weight: 700;
}

.batch-status-text {
    color: #4ade80;
}

.btn-view-pdf-small {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-view-pdf-small:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-add-cart-large {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-background);
    border: none;
    font-weight: 600;
    padding: 0.875rem;
    border-radius: var(--radius-md);
    transition: filter 0.2s;
}

.btn-add-cart-large:hover {
    filter: brightness(1.1);
}

/* ========================================================================== */
/* CHECKOUT PAGE STYLES                                                       */
/* ========================================================================== */

.checkout-section {
    padding: 3rem 0 5rem;
    min-height: 80vh;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 2rem;
}

.checkout-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

.checkout-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Forms */
.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

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

.span-2 {
    grid-column: span 2;
}

@media (max-width: 640px) {
    .span-2 {
        grid-column: span 1;
    }
}

.form-group label {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-input);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    color: var(--color-foreground);
    font-size: 0.95rem;
    transition: border-color 0.2s;
    width: 100%;
    /* Ensure input takes full width of container */
    max-width: 100%;
    /* Prevent it from overflowing */
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    margin-bottom: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Payment Placeholder */
.payment-placeholder {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
    align-items: center;
    justify-content: center;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    /* Green-400 */
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-checkout {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 1.25rem 1rem;
    background-color: var(--color-primary);
    color: var(--color-background);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-checkout:hover {
    filter: brightness(1.1);
}

/* Order Summary */
.order-summary {
    position: sticky;
    top: 6rem;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

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

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-name {
    font-weight: 600;
    color: var(--color-foreground);
    font-size: 0.95rem;
}

.cart-item-qty {
    font-size: 0.8rem;
    color: var(--color-muted-foreground);
}

.cart-item-price {
    font-weight: 600;
    color: var(--color-foreground);
}

.summary-totals {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    color: var(--color-muted-foreground);
    font-size: 0.95rem;
}

.total-final {
    color: var(--color-foreground);
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.empty-cart-message {
    text-align: center;
    color: var(--color-muted-foreground);
    padding: 2rem 0;
    font-style: italic;
}

/* ========================================================================== */
/* AUTHENTICATION PAGES (SIGN IN / SIGN UP)                                   */
/* ========================================================================== */

.auth-section {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    max-width: 480px;
    width: 100%;
}

.auth-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-foreground);
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--color-muted-foreground);
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.forgot-password-link {
    font-size: 0.8rem;
    color: var(--color-primary);
    transition: opacity 0.2s;
}

.forgot-password-link:hover {
    opacity: 0.8;
}

.btn-auth {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-muted-foreground);
    font-size: 0.9rem;
}

.link-primary {
    color: var(--color-primary);
    font-weight: 500;
}

.link-primary:hover {
    text-decoration: underline;
}

/* ========================================================================== */
/* CART PAGE                                                                  */
/* ========================================================================== */

.cart-section {
    padding: 3rem 0 5rem;
    min-height: 80vh;
}

.cart-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 2rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr 380px;
    }
}

/* Cart List */
.cart-header-row {
    display: none;
    /* Hidden on mobile */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .cart-header-row {
        display: grid;
    }
}

.cart-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .cart-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        align-items: center;
    }
}

.cart-product-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-product-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.cart-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-product-name {
    font-weight: 600;
    color: var(--color-foreground);
    font-size: 1rem;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--color-muted-foreground);
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    padding: 0;
    margin-top: 0.25rem;
    text-decoration: underline;
}

.btn-remove:hover {
    color: #ef4444;
}

.col-price {
    font-weight: 600;
    color: var(--color-foreground);
    display: none;
    /* Hide individual price on mobile as total shows it */
}

@media (min-width: 768px) {
    .col-price {
        display: block;
    }
}

.col-quantity {
    display: flex;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-input);
    border-radius: var(--radius-md);
    height: 2.5rem;
}

.qty-btn {
    width: 2rem;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--color-muted-foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.qty-btn:hover {
    color: var(--color-foreground);
    background-color: rgba(255, 255, 255, 0.05);
}

.qty-input-small {
    width: 2.5rem;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--color-foreground);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    -moz-appearance: textfield;
}

.col-total {
    color: var(--color-foreground);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .col-total {
        justify-content: flex-start;
        width: auto;
    }

    .col-total::before {
        content: none;
    }
}

.col-total::before {
    content: "Total:";
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-muted-foreground);
    margin-right: 0.5rem;
}

@media (min-width: 768px) {
    .col-total::before {
        display: none;
    }
}

/* Cart Summary Sidebar */
.cart-summary-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.summary-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.cart-security-badge {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-muted-foreground);
    font-size: 0.85rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.75rem;
    border-radius: var(--radius-md);
}

/* Empty State */
.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
    min-height: 400px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-muted-foreground);
}

.empty-cart-state h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-foreground);
}

.empty-cart-state p {
    color: var(--color-muted-foreground);
    margin-bottom: 2rem;
    max-width: 400px;
}

.hidden {
    display: none !important;
}

/* ========================================================================== */
/* CONTACT PAGE                                                               */
/* ========================================================================== */

.contact-section {
    padding: 4rem 0;
    min-height: 80vh;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    text-align: center;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--color-muted-foreground);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }
}

/* Contact Form Card */
.contact-form-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.btn-contact {
    margin-top: 2rem;
    padding: 1.25rem 1rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-md);
}

.btn-contact:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-foreground);
}

.contact-link {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    display: inline-block;
    width: fit-content;
}

.contact-link:hover {
    text-decoration: none;
    border-bottom-color: var(--color-primary);
}

.contact-note {
    font-size: 0.85rem;
    color: var(--color-muted-foreground);
    margin-top: 0.25rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-primary);
    padding: 0;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    width: fit-content;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-text:hover {
    text-decoration: none;
    border-bottom-color: var(--color-primary);
}

/* FAQ Preview */
.faq-preview-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: none;
}

.faq-preview-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-foreground);
}

.faq-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-list li a {
    color: var(--color-muted-foreground);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.faq-list li a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.faq-list li a::after {
    content: "→";
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s;
}

.faq-list li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================================================== */
/* LEGAL CONTENT PAGES (Privacy, Terms, Shipping, Refund)                     */
/* ========================================================================== */

.legal-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.legal-content {
    color: var(--color-muted-foreground);
    line-height: 1.7;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.legal-content section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin: 0;
}

.legal-content strong {
    color: var(--color-foreground);
    font-weight: 600;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-content li {
    margin: 0;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.table-container {
    overflow-x: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.legal-table th {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--color-foreground);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-table .highlight-row td {
    font-weight: 600;
    color: var(--color-primary);
}

/* Track Order Tracking Result Styling */
.tracking-result-card {
    margin-top: 3rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(250, 204, 21, 0.2); /* Primary color border */
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tracking-header {
    background-color: rgba(250, 204, 21, 0.05);
    border-bottom: 1px solid rgba(250, 204, 21, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .tracking-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.tracking-status-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-status-title svg {
    color: var(--color-primary);
}

.tracking-est-delivery {
    color: var(--color-muted-foreground);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.tracking-est-delivery span {
    color: var(--color-foreground);
    font-weight: 500;
}

.tracking-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.tracking-body {
    padding: 2rem 1.5rem;
}

.tracking-timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -1.85rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 2px solid var(--color-background);
    background-color: rgba(255, 255, 255, 0.3);
}

.timeline-dot.active {
    background-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.2);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.timeline-status {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-foreground);
}

.timeline-details {
    font-size: 0.8rem;
    color: var(--color-muted-foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* THANK YOU PAGE ONLY */

.thankyou-wrap {
    display: flex;
    justify-content: center;
}

.thankyou-card {
    width: 100%;
    max-width: 720px;
}

.thankyou-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.thankyou-note {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.thankyou-note strong {
    color: var(--color-foreground);
}

.thankyou-email {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.thankyou-email:hover {
    border-bottom-color: var(--color-primary);
    opacity: 0.9;
}

.toast {
    background: #111;
    color: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    margin-top: 10px;
    min-width: 220px;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}
.toast.success {
    background: #16a34a;
}

.checkout-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    animation: fadeIn 0.3s ease-in-out;
    width: 75%;
    margin: 0 auto 30px;
}

.checkout-alert h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
}

.checkout-alert p {
    margin: 0 0 12px 0;
    font-size: 14px;
    opacity: 0.9;
}

.alert-icon {
    font-size: 24px;
    font-weight: bold;
    width: 32px;
    text-align: center;
}

.alert-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

/* Success */
.checkout-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}
.checkout-success .alert-btn {
    background: #10b981;
    color: #fff;
}

/* Cancel */
.checkout-cancel {
    background: #fffbeb;
    border: 1px solid #f59e0b;
    color: #92400e;
}
.checkout-cancel .alert-btn {
    background: #f59e0b;
    color: #fff;
}

/* Failure */
.checkout-failure {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #7f1d1d;
}
.checkout-failure .alert-btn {
    background: #ef4444;
    color: #fff;
}
