:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #ff0000;
    --font-heading: 'IBM Plex Mono', monospace;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    background: var(--bg-color);
    z-index: 1000;
}

.logo img {
    height: auto;
    max-width: 199px;
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-family: var(--font-heading);
    font-size: 20px;
    text-transform: none;
    letter-spacing: 1px;
    color: #000000;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #ff0000;
    text-decoration: none;
    border-bottom: none;
    opacity: 1;
}

/* Mobile Menu (Hidden by default on desktop) */
.mobile-menu-btn {
    display: none;
}

/* Main Content */
main {
    min-height: 80vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}



/* Hero / Quote Section */
.hero-quote {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-quote h3 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 400;
}

/* Gallery Grid (Placeholder) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 75%;
    margin-top: 50px;
}

.gallery-item {
    background: #f0f0f0;
    aspect-ratio: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    /* Zoom in effect */
}

.gallery-item:hover {
    opacity: 1;
}

/* Removed overlay styles */
.gallery-overlay {
    display: none;
}

.gallery-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
    margin-top: 10px;
}

.gallery-item-tags {
    font-family: var(--font-heading);
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

/* About Page */
.about-content {
    width: 75%;
    margin: 0 auto;
    text-align: center;
}

.about-content h1 {
    font-size: 48px;
    margin-bottom: 40px;
    margin-top: 0;
}

.secondary-text-large {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.about-content a {
    color: #ff0000;
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: none;
    opacity: 1;
}

/* Contact Page */
.contact-form-wrapper {
    width: 75%;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.contact-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 0;
}

.contact-header p {
    margin-bottom: 40px;
    text-align: center;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label.title {
    display: block;
    margin-bottom: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.cms-input.field-element {
    width: 100%;
    padding: 9px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    color: rgb(99, 99, 99);
    background-color: #ffffff;
    border-radius: 0;
    /* Ensure no rounded corners if default */
}

textarea.cms-input.field-element {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 22.4px 38.4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    text-transform: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 400;
}

.submit-btn:hover {
    background: #ff0000;
    color: #ffffff;
    opacity: 1;
}

.contact-footer a {
    color: #ff0000;
    text-decoration: none;
}

.contact-footer a:hover {
    color: #ff0000;
    text-decoration: none;
    opacity: 1;
    cursor: text;
    /* Optional: if you want it to not look clickable, but it is a link so maybe keep pointer */
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    font-size: 12px;
    font-family: var(--font-heading);
    border-top: 1px solid #eee;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    nav ul {
        display: none;
        /* Hide nav on mobile for now, or implement burger */
    }

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

    .hero-quote h3 {
        font-size: 18px;
    }

    /* Mobile Gallery - Stacked Images */
    .item-gallery {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
        margin-bottom: 20px;
    }

    .swiper-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
        margin: 0;
    }

    .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    /* Stack Breadcrumbs and Nav on Mobile */
    .slider-box-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0;
        /* Ensure padding is consistent */
    }

    .item-detail {
        padding: 0;
    }

    .slider-box-breadcrumbs {
        width: 100%;
        line-height: 1.4;
        font-size: 0;
        text-align: center;
    }

    .slider-box-breadcrumbs a {
        display: none;
    }

    .slider-box-breadcrumbs .subtitle {
        font-size: 16px;
    }

    .slider-box-next-prev {
        width: 100%;
        display: flex;
        justify-content: center;
        /* Prev on left, Next on right */
        font-size: 16px;
        /* Ensure readable size */
    }

    /* Mobile Layout Adjustments */
    main {
        padding: 10%;
    }

    .gallery-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-form-wrapper {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Item Detail Page */
/* Item Detail Page */
.item-detail {
    max-width: 1440px;
    /* Increased to allow 1400px gallery */
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.item-detail h1 {
    margin-bottom: 40px;
    font-size: 32px;
    display: none;
    /* Hidden as per script logic, ensuring here too */
}

/* Breadcrumbs & Header */
.slider-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    color: #000000;
    padding: 0 20px;
}

.slider-box-breadcrumbs a,
.slider-box-next-prev a {
    color: #000000;
    text-decoration: none;
}

.slider-box-breadcrumbs a:hover,
.slider-box-next-prev a:hover {
    color: #ff0000;
}

.slider-box-breadcrumbs .subtitle {
    color: #ff0000;
}

.slider-box-next-prev .divider {
    margin: 0 10px;
}

/* Swiper Gallery */
.item-gallery {
    width: 100%;
    height: 75vh;
    max-height: 900px;
    min-height: 400px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    width: auto;
    max-width: 90vw;
    height: 100%;
    transition: opacity 0.3s;
}



.swiper-slide img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Custom Navigation Areas */
.swiper-button-next,
.swiper-button-prev {
    color: #ff0000;
    width: 15%;
    height: 100%;
    top: 0;
    margin-top: 0;
    opacity: 1;
    transition: opacity 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.item-info {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

.item-info p {
    margin-bottom: 30px;
}

.buy-button {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 22.4px 38.4px;
    font-family: 'IBM Plex Mono', monospace;
    text-transform: none;
    font-weight: 400;
    border: none;
    transition: all 0.3s ease;
    font-size: 16px;
    text-decoration: none;
}

.buy-button:hover {
    background: #ff0000;
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
}

/* Cookie Consent Popup */
.cookieconsent-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 0 11.2px;
    z-index: 1053;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    margin: 0;
}

.cookieconsent-content {
    flex-grow: 1;
}

.cookieconsent-content p {
    color: rgb(255, 255, 255);
    font-family: "IBM Plex Mono", monospace;
    font-size: 14px;
    padding: 11.2px 0;
    margin: 0;
}

.js-cookieconsent-close {
    background-color: rgba(0, 0, 0, 0);
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-family: "IBM Plex Mono", monospace;
    font-size: 14px;
    margin: 11.2px;
    padding: 9.6px;
    text-decoration: none;
    white-space: nowrap;
}

.button-underline {
    text-decoration: underline;
}

.cookieconsent-hide {
    display: none !important;
}