/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
.product-title,
.nav-link,
.price,
.masliv-logo,
.product-detail-title,
.add-to-cart-btn,
.meta p,
.caption,
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Specific adjustments */
.masliv-logo {
    /* This class will be on an img now, but we keep for any text fallback */
    display: inline-block;
    max-width: 200px;
    /* Adjust based on your logo size */
    height: auto;
}

.section-title {
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin: 4rem 0 2rem;
    text-align: left;
}

.product-title {
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.price {
    color: #666666;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.price-large {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: #000;
    margin: 1.5rem 0;
}

.description {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    max-width: 400px;
    margin-bottom: 2rem;
}

.caption {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: #999999;
}

/* ---------- HEADER ---------- */
.site-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #EEEEEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-logo img {
    max-width: 80px;
    height: auto;
    display: block;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    padding: 0;
    color: #000;
    line-height: 1;
}

@media (max-width: 600px) {
    .hamburger {
        display: block;
    }
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        z-index: 100;
    }
    .header-nav.open {
        display: flex;
    }
}

/* ---------- HERO ---------- */
.hero {
    width: 100%;
    background-color: #F9F9F9;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
}

.hero-text {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 1;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-cta {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.8);
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.65rem 1.4rem;
    transition: background 0.25s, color 0.25s;
}

.hero-cta:hover {
    background: #fff;
    color: #000;
}

/* ---------- ACTIVE NAV ---------- */
.header-nav a.nav-active {
    border-bottom: 1px solid #000;
    padding-bottom: 1px;
}

/* ---------- SIZE GUIDE TABLE ---------- */
.size-guide-section {
    margin-top: 4rem;
    border-top: 1px solid #eee;
    padding-top: 3rem;
}

.size-guide-section h2 {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.size-guide-section > p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: #666;
    max-width: 500px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.size-table {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.size-table th {
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #999;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 1rem 0.5rem 0;
}

.size-table td {
    padding: 0.5rem 1rem 0.5rem 0;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.size-table tr:last-child td {
    border-bottom: none;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- PRODUCT GRID (homepage) ---------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.product-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    /* optional, helps with cover */
    background-color: #f5f5f5;
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.product-meta {
    display: flex;
    flex-direction: column;
}

/* ---------- PRODUCT PAGE LAYOUT ---------- */
.product-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.product-images {
    width: 100%;
}

.main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #F5F5F5;
    margin-bottom: 1rem;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    aspect-ratio: 1 / 1;
    background-color: #F0F0F0;
    cursor: pointer;
}

.product-details {
    display: flex;
    flex-direction: column;
}

.product-details h1 {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.add-to-cart-btn {
    background: none;
    border: 1px solid #000;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    cursor: pointer;
    width: fit-content;
    margin: 1.5rem 0;
    transition: 0.2s;
}

.add-to-cart-btn:hover {
    background: #000;
    color: #fff;
}

.meta {
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #666;
}

.meta p {
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- FOOTER ---------- */
.site-footer {
    margin-top: 5rem;
    padding: 2rem;
    border-top: 1px solid #EEEEEE;
}

.footer-logo {
    text-align: left;
}

/* ---------- PRODUCT HOVER IMAGE SWAP ---------- */
.product-image {
    position: relative;
}

.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-item:hover .hover-img {
    opacity: 1;
}

/* ---------- IMAGE UTILITY ---------- */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- BADGES ---------- */
.badge-wrap {
    position: relative;
}

.badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    z-index: 1;
}

.badge-made-to-order {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666;
    border: 1px solid #ddd;
    padding: 0.3rem 0.6rem;
    margin-bottom: 1.5rem;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #000;
}

/* ---------- VARIANT SELECTORS ---------- */
.variant-selectors {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.selector-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.selector-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.size-guide {
    color: #999;
    font-size: 0.65rem;
    text-decoration: underline;
    text-decoration-color: #ccc;
}

.selector-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.selector-btn {
    background: none;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    color: #000;
}

.selector-btn:hover {
    border-color: #000;
}

.selector-btn.active {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* ---------- RELATED PRODUCTS ---------- */
.related-products {
    border-top: 1px solid #eee;
    margin-top: 5rem;
    padding-top: 3rem;
}

.related-products .section-title {
    margin: 0 0 2rem;
}

/* ---------- SCROLL FADE-IN ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ---------- THUMBNAILS ---------- */
.thumbnail {
    cursor: pointer;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #000;
    color: #fff;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    display: none;
    z-index: 200;
    transition: opacity 0.2s;
}

.back-to-top:hover {
    opacity: 0.7;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #666;
    flex-wrap: wrap;
}

.cookie-banner a {
    color: #000;
}

.cookie-accept {
    background: #000;
    color: #fff;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.cookie-accept:hover {
    opacity: 0.7;
}

.footer-logo img {
    display: inline-block;
    /* allows text-align to work */
    margin: 2rem auto;
    /* ensures centering if display is block */
}

/* ---------- UTILITY ---------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.view-all {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    border-bottom: 1px solid #000;
    padding-bottom: 0.25rem;
    display: inline-block;
    margin-top: 3rem;
}

/* ---------- ABOUT PAGE ---------- */
.hero,
.about-hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 75vh;
    /* or 60vh, 500px, etc. */
    overflow: hidden;
}

.hero img,
.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.about-content h1 {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    font-weight: 400;
}

.about-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-content .lead {
    font-weight: 400;
    color: #000;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 3rem;
}

.about-details h2 {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.about-details p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .about-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



/* ---------- SHIPPING SECTION ---------- */
.shipping-section {
    margin-top: 4rem;
    border-top: 1px solid #eee;
    padding-top: 3rem;
}

.shipping-section h2 {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.shipping-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.shipping-details h3 {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: #000;
}

.shipping-details p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.shipping-note {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    max-width: 600px;
}


/* Make contact section text match shipping */
.contact-section p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    /* same as shipping details */
    color: #666;
    /* same gray */
    margin-bottom: 0.5rem;
}

.contact-email {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    /* slightly larger than text, but not huge */
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    display: inline-block;
    margin-top: 0.25rem;
}

/* Optional: make the "CONTACT" heading same as shipping heading */
.contact-section h2 {
    font-size: 0.9rem;
    /* match shipping h2 */
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

/*  target the cart container */
#snipcart {
    /* Change the primary button color (from default to something else) */
    --color-buttonPrimary: #1C1C1C;
    /* Your soft black */
    --color-buttonPrimaryHover: #333333;
    /* A lighter shade for hover */

    /* Change the main accent color */
    --color-primary: #1C1C1C;

    /* Change link colors */
    --color-link: #1C1C1C;
    --color-linkHover: #666666;

    /* Change font family to match your site */
    --font-family: 'Inter', sans-serif;
}




#snipcart .snipcart-cart-header__title {
    letter-spacing: 0.3em;
}

#snipcart-footer {
    display: none;
}


.header-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.header-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    /* Vacier's wide spacing */
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-nav a:hover {
    opacity: 0.5;
}

/* Cart count */
.snipcart-items-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #000000;
    background: none;
    border: none;
    margin-left: 0.1rem;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    max-width: 50px;
    height: auto;
    display: inline-block;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Left column links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s;
    width: fit-content;
}

.footer-links a:hover {
    opacity: 0.5;
}

/* Middle column newsletter */
.footer-newsletter p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: 300px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid #000;
    max-width: 300px;
}

.newsletter-form input {
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    width: 100%;
    outline: none;
}

.newsletter-form button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.5rem;
    color: #000;
    transition: opacity 0.2s;
}

.newsletter-form button:hover {
    opacity: 0.5;
}

/* Right column payments */
.footer-payments span {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    display: block;
    margin-bottom: 0.8rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 1.5rem;
    color: #666;
    transition: color 0.2s;
}

.payment-icons i:hover {
    color: #000;
}

/* Social links (below the three columns) */
.footer-social {
    margin: 2rem 0 1.5rem;
    text-align: center;
}

.footer-social span {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    color: #666;
    font-size: 1rem;
    transition: color 0.2s;
    text-decoration: none;
}

.social-icons a:hover {
    color: #000;
}

/* Footer bottom copyright */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.footer-bottom .caption {
    color: #999;
    font-size: 0.7rem;
}