/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font: 'Assistant', sans-serif;
    --text: rgba(18, 18, 18, 0.75);
    --text-dark: #121212;
    --bg: #ffffff;
    --border: #e5e5e5;
    --badge-bg: rgba(18, 18, 18, 0.7);
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
    background: #121212;
    color: #fff;
    text-align: center;
    padding: 10px 1rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ===== Header ===== */
.header {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text);
    transition: color 0.2s;
    padding: 4px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-dark);
    transition: width 0.2s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    padding: 4px;
    transition: opacity 0.2s;
}

.icon-btn:hover {
    opacity: 0.6;
}

/* ===== Hero ===== */
.hero {
    width: 100%;
    overflow: hidden;
}

.hero-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.hero-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    transform: translate(-50%, -50%);
    border: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== Hero Text ===== */
.hero-text {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto 1.2rem;
}

.hero-text p {
    font-size: 1rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Section Title ===== */
.section-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* ===== Products Grid ===== */
.featured-products {
    padding: 2rem 0 3rem;
}

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

.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 1;
    background: #f5f5f5;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.04);
}

.sold-out-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--badge-bg);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.product-name {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-top: 0.6rem;
    line-height: 1.4;
}

.product-price {
    font-size: 0.8rem;
    color: var(--text);
    margin-top: 0.2rem;
}

/* View All Button */
.view-all-wrap {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all {
    display: inline-block;
    border: 1px solid var(--text-dark);
    color: #fff;
    background: var(--text-dark);
    padding: 12px 40px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.25s;
}

.btn-view-all:hover {
    background: transparent;
    color: var(--text-dark);
}

/* ===== How it Works ===== */
.how-it-works {
    padding: 4rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: #f7f7f7;
    padding: 2rem;
    border-radius: 0;
}

.step-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.7;
}

/* ===== Customer Reviews ===== */
.customer-reviews {
    padding: 4rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-card {
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 0;
}

.review-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 1rem;
}

.review-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.review-card p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-author {
    font-size: 0.8rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== Top Rated ===== */
.top-rated {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-rated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.top-rated-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 3rem;
}

.top-rated-content {
    background: rgba(255, 255, 255, 0.92);
    padding: 3rem 4rem;
    text-align: center;
    max-width: 600px;
}

.top-rated-content h2 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.top-rated-content p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.newsletter>.container>p {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 360px;
    margin: 0 auto;
    border: 1px solid var(--text-dark);
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.85rem;
    outline: none;
    background: transparent;
}

.newsletter-form button {
    background: none;
    border: none;
    border-left: 1px solid var(--text-dark);
    padding: 12px 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--text);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-dark);
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--text);
}

/* ===== Responsive ===== */
@media(max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .top-rated-content {
        padding: 2rem;
    }

    .nav {
        gap: 1rem;
    }
}

@media(max-width: 600px) {
    .header-inner {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

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

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        z-index: 99;
    }

    .nav.open {
        display: flex;
    }

    .nav .nav-link {
        padding: 14px 1.5rem;
        border-top: 1px solid #f0f0f0;
    }

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

/* Mobile menu button — hidden on desktop */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-dark);
}

/* ===== Contact Page ===== */
.contact-page {
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.contact-page h1 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--text-dark);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    align-self: flex-start;
    background: var(--text-dark);
    color: #fff;
    border: 1px solid var(--text-dark);
    padding: 12px 32px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-send:hover {
    background: transparent;
    color: var(--text-dark);
}

/* ===== Catalog Page ===== */
.catalog-page {
    padding: 3rem 0;
}

.catalog-page .section-title {
    margin-bottom: 0.5rem;
}

.catalog-count {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.catalog-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.filter-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-btn:hover {
    border-color: var(--text-dark);
}

.filter-btn svg {
    width: 12px;
    height: 12px;
}

/* ===== Search Overlay ===== */
#search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

#search-overlay.active {
    display: flex;
}

.search-modal {
    background: #fff;
    width: 90%;
    max-width: 580px;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.search-modal-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 16px;
}

.search-modal-header input {
    flex: 1;
    border: none;
    padding: 16px 8px;
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    outline: none;
}

#search-close {
    background: none;
    border: none;
    color: #121212;
    cursor: pointer;
    padding: 8px;
    display: flex;
}

#search-results {
    max-height: 50vh;
    overflow-y: auto;
    padding: 8px 0;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #121212;
    transition: background 0.15s;
}

.search-result:hover {
    background: #f7f7f7;
}

.search-result img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 2px;
}

.search-result span {
    font-size: 0.9rem;
}

.no-results {
    padding: 16px;
    color: rgba(18, 18, 18, 0.6);
    font-size: 0.9rem;
    text-align: center;
}

/* Powered by Shopify */
.footer-copy a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s;
}

.footer-copy a:hover {
    color: var(--text-dark);
}