/* ==========================================
   1. Base Reset & Typography
   =================================          */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    background-color: #1a1d20;
    color: #d1d5db;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}


a {
    color: #c99a5b;
    text-decoration: none;
    transition: color 0.2s ease;
}


a:hover {
    color: #e5b373;
}


/* ==========================================
   2. Headings
   =================================          */
h1, h2, h3 {
    color: #c99a5b;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}


h1 { font-size: 24px; }
h2 { font-size: 20px; margin-top: 30px; }
h3 { font-size: 18px; }


/* ==========================================
   3. Layout Containers & Structure
   =================================          */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}


.page-card {
    background-color: #212529;
    border: 1px solid #2a2e33;
    border-radius: 4px;
    padding: 40px 30px;
}


/* ==========================================
   4. Header & Top Bar
   =================================          */
.top-bar {
    background-color: #0d0e10;
    padding: 8px 20px;
    font-size: 13px;
    text-align: right;
    border-bottom: 1px solid #2a2e33;
}


.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}


.top-bar a {
    color: #9ca3af;
    margin-left: 18px;
}


.top-bar a:hover {
    color: #ffffff;
}


.header-banner {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    border-bottom: 1px solid #2a2e33;
    background-color: #16191d;
    text-align: center;
    line-height: 0;
}


.header-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ==========================================
   5. Navigation
   =================================          */
.main-nav {
    background-color: #212529;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2a2e33;
    border-top: 1px solid #2a2e33;
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}


.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}


.nav-links a {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}


.nav-links a:hover {
    color: #c99a5b;
}


.nav-cart {
    display: flex;
    align-items: center;
}


.nav-cart a {
    color: #c99a5b;
    text-decoration: none;
    font-size: 20px;
    transition: opacity 0.2s ease-in-out;
}


.nav-cart a:hover {
    opacity: 0.7;
}


.swc-nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.3s ease-in-out;
}


.swc-nav-link:hover {
    color: #c99a5b;
}


.swc-nav-link-active {
    color: #c99a5b;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.3s ease-in-out;
}


.swc-nav-link-active:hover {
    color: #e2e8f0;
}


/* ==========================================
   6. Buttons
   =================================          */
.btn {
    display: inline-block;
    border: 1px solid #c99a5b;
    color: #c99a5b;
    padding: 10px 22px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}


.btn:hover {
    background-color: #c99a5b;
    color: #1a1d20;
}


/* ==========================================
   7. Product Grid & Cards
   =================================          */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 30px !important;
}


.product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    box-sizing: border-box !important;
}


.product-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.product-card-body .btn-details {
    margin-top: auto;
}


.product-image-container {
    position: relative;
    width: 100% !important;
    height: 220px;
    overflow: hidden !important;
}


.product-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
}


/* ==========================================
   8. Sold Badges & Overlays
   =================================          */
.sold-badge-main,
.sold-badge-thumb,
.sold-overlay-dim {
    display: none;
}


.image-container-sold {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
}


.sold-badge-main {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #dc2626;
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
    z-index: 10;
    pointer-events: none;
}


.sold-badge-thumb {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: #dc2626;
    color: #ffffff;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    z-index: 10;
    pointer-events: none;
}


.sold-overlay-dim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 5;
}


body.is-sold .sold-badge-main,
body.is-sold .sold-badge-thumb,
body.is-sold .sold-overlay-dim {
    display: block;
}


.sold-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    background-color: rgba(220, 38, 38, 0.9);
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 24px;
    border: 3px solid #ffffff;
    border-radius: 4px;
    letter-spacing: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    pointer-events: none;
}


/* ==========================================
   9. Footer
   =================================          */
footer {
    background-color: #000000;
    border-top: 1px solid #2a2e33;
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 50px;
}


.footer-links {
    margin-bottom: 15px;
}


.footer-links a {
    color: #ffffff;
    margin: 0 10px;
}


.footer-links a:hover {
    color: #c99a5b;
}


.footer-contact {
    color: #c99a5b;
    margin: 15px 0;
    font-weight: 500;
}


.footer-contact a {
    color: #c99a5b;
}


.footer-copyright {
    color: #6b7280;
    font-size: 12px;
}


/* ==========================================
   10. Cookie Consent Banner
   =================================          */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a1d21;
    border-top: 1px solid #33383e;
    color: #e2e8f0;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
    display: none;
}


.cookie-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}


.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    font-size: 13px;
    line-height: 1.4;
}


.cookie-banner-text p {
    margin: 0;
}


.cookie-banner-buttons {
    display: flex;
    gap: 10px;
}


.btn-cookie {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}


.btn-cookie-necessary {
    background-color: #2a2e33;
    color: #e2e8f0;
}


.btn-cookie-necessary:hover {
    background-color: #383e47;
}


.btn-cookie-no {
    background-color: #7f1d1d;
    color: #fca5a5;
}


.btn-cookie-no:hover {
    background-color: #991b1b;
}


.btn-cookie-yes {
    background-color: #c99a5b;
    color: #121417;
}


.btn-cookie-yes:hover {
    background-color: #dbab68;
}


.cookie-privacy-link {
    color: #c99a5b;
    text-decoration: underline;
}


/* ==========================================
   11. Form Elements & Calendar Pickers
   =================================          */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(67%) sepia(35%) saturate(718%) hue-rotate(357deg) brightness(93%) contrast(88%);
    cursor: pointer;
    opacity: 0.9;
}


input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
/* ==========================================
   Footer Styles (Refined for Image Match)
   ==================================          */
footer {
    background-color: #0d0e10; /* Slightly lighter than body for contrast */
    border-top: 1px solid #2a2e33;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}


.footer-links a {
    color: #e2e8f0;
    margin: 0 10px;
    transition: color 0.2s ease;
}


.footer-links a:hover {
    color: #c99a5b; /* Gold on hover */
}


.footer-contact {
    color: #c99a5b;
    margin-bottom: 15px;
    font-weight: 500;
}


.footer-copyright {
    color: #6b7280;
    font-size: 12px;
}
/* Hide contact info from spam bots but keep it visible for humans */
.protected-email, 
.protected-phone {
    /* This makes the text invisible to screen readers and some bots, but still clickable/visible in browser */
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    color: #c99a5b;
}


/* Optional: Make it even more "invisible" by using a slightly different background or font size if needed */
.protected-email:hover, 
.protected-phone:hover {
    text-decoration: underline;
    cursor: pointer;
}
/* Product Card Layout - Needs position: relative to anchor the badge */
        .product-card {
            background-color: #16191d;
            border: 1px solid #2a2e33;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative;
        }


        /* Fully Visible Sold Badge Positioned Safely on the Card */
        .sold-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background-color: #ef4444;
            color: #ffffff;
            font-weight: 700;
            font-size: 11px;
            padding: 5px 12px;
            border-radius: 4px;
            letter-spacing: 1.5px;
            z-index: 20;
            box-shadow: 0 2px 6px rgba(0,0,0,0.4);
            text-transform: uppercase;
        }
        /* Global Zoom-Resilient Fixes for Static HTML Product Pages */


/* 1. Fluid main containers that scale with viewport and zoom */
.container, .page-card {
    width: 100%;
    max-width: min(1100px, 92vw);
    margin: 2.5rem auto;
    padding: clamp(1rem, 2.5vw, 2.5rem);
    box-sizing: border-box;
}

/* Email-Specific Product Image Styling */
.product-email-image {
    max-width: 150px !important;
    height: auto !important;
    border-radius: 4px;
    display: block;
}
