/* ---------- 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;
}

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;
}

.header-logo img {
    max-width: 80px;
    /* Smaller for header */
    height: auto;
    display: block;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav a {
    text-decoration: none;
    color: #000000;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.header-nav a:hover {
    opacity: 0.5;
}

/* ---------- 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;
}

.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;
    /* fallback */
}

.footer-logo img {
    display: inline-block;
    /* allows text-align to work */
    margin: 2rem auto;
    /* ensures centering if display is block */
}

/* ---------- UTILITY ---------- */
.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 stays inline */
.snipcart-items-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #000000;
    margin-left: 0.2rem;
}

/* Style the cart count number */
.snipcart-items-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #000000;
    background: none;
    border: none;
    margin-left: 0.1rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
    margin-top: 5rem;
    padding: 2rem;
    border-top: 1px solid #EEEEEE;
}

.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;
}