/* ---------------------
   GENERAL STYLES
---------------------- */
:root {
    --header-background: #ffffff;
    --header-menu-size: 1.05rem;
    --hero-height: clamp(260px, 52vw, 320px);
    --hero-height-mobile: clamp(200px, 65vw, 240px);
    --header-padding-y: 1.3rem;
    --product-card-min-width: 220px;
    --product-card-max-width: 320px;
    --single-product-image-max-width: 520px;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    background: #ffffff;
    color: #2d2a26;
    line-height: 1.6;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

h1, h2, h3 {
    margin: 0 0 1rem 0;
    color: #1f1b17;
}

a {
    color: inherit;
}

main {
    padding: 2.5rem 0 4rem;
}

/* ---------------------
   HEADER
---------------------- */
.site-header {
    background: var(--header-background, #ffffff);
    padding: var(--header-padding-y, 1.3rem) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo a {
    font-weight: 700;
    font-size: 1.6rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    font-size: var(--header-menu-size, 1.05rem);
    font-weight: 600;
}

.menu a {
    text-decoration: none;
    color: #2c2a28;
    padding: 0.4rem 0;
    position: relative;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.01em;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #2e2c2a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.menu a:hover::after,
.menu .current-menu-item > a::after {
    transform: scaleX(1);
}

/* keep current item bold via after effect only */

.search-icon {
    cursor: pointer;
    font-size: 1.1rem;
}

/* ---------------------
   HERO
---------------------- */
.hero-section {
    padding: 3rem 0 2rem;
}


.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 3.2rem);
    border-radius: 28px;
    box-shadow: 0 18px 28px -24px rgba(0, 0, 0, 0.35);
    min-height: var(--hero-height, clamp(240px, 48vw, 320px));
    background-color: #f3f1ed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(249, 246, 239, 0.92) 0%, rgba(241, 236, 228, 0.65) 60%, rgba(241, 236, 228, 0.35) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 360px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1f1b17;
    color: #fff;
    padding: 0.85rem 2.2rem;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 24px -16px rgba(31, 27, 23, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -16px rgba(31, 27, 23, 0.7);
}


/* ---------------------
   CATEGORIES GRID
---------------------- */
.category-section {
    padding: 3rem 1rem;
    text-align: center;
}

.category-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.category-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.category-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    flex: 0 1 200px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.category-card .card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
    border-radius: 20px;
    background: #f7f3ed;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
}

.category-card .card-image span {
    font-size: 2.3rem;
    line-height: 1;
}

.category-card .card-image img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.category-card h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

/* ---------------------
   FEATURED PRODUCTS
---------------------- */
.featured-products {
    padding: 3rem 0;
}

.featured-products h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--product-card-min-width, 220px), 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: stretch;
    justify-content: center;
}

.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px -12px rgba(0,0,0,0.35);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    height: 100%;
    float: none;
    width: min(100%, var(--product-card-max-width, 320px));
    margin: 0 auto;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px -16px rgba(0,0,0,0.4);
}

.woocommerce ul.products li.product .product-card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.woocommerce ul.products li.product .product-card-link {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    padding: 1.2rem 1.4rem 0;
}

.woocommerce ul.products li.product .product-card-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f1ed;
}

.woocommerce ul.products li.product .product-card-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff6600;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.woocommerce ul.products li.product .product-card-title {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.woocommerce ul.products li.product .product-card-price {
    font-weight: 600;
    color: #1f1b17;
}

.woocommerce ul.products li.product .product-card-price .price {
    display: block;
}

.woocommerce ul.products li.product .product-card-actions {
    padding: 0 1.4rem 1.4rem;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.woocommerce ul.products li.product .button {
    width: auto;
    min-width: 160px;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    background: #1f1b17;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -12px rgba(0,0,0,0.5);
}

.single-product-page {
    padding: 2rem 0 3rem;
}

.single-product-page .woocommerce-product-gallery {
    max-width: var(--single-product-image-max-width, 520px);
    margin: 0 auto 2rem;
}

.single-product-page .woocommerce-product-gallery__wrapper,
.single-product-page .woocommerce-product-gallery__image,
.single-product-page .woocommerce-product-gallery__image img {
    max-width: 100%;
    margin: 0 auto;
}

/* ---------------------
   HIGHLIGHTS
---------------------- */
.highlights {
    margin: 3rem auto 0;
}

.highlights .container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px -20px rgba(0,0,0,0.35);
    text-align: center;
}

.highlight {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 120px;
}

/* ---------------------
   SHOP ARCHIVE
---------------------- */
.shop-hero {
    background: #f7f3ed;
    padding: 3rem 0 2.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.shop-title {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3rem);
    text-align: center;
}

.shop-description {
    max-width: 560px;
    margin: 0.75rem auto 0;
    color: rgba(32, 29, 27, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.shop-archive {
    padding: 3rem 0 4rem;
}

.shop-loop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.shop-archive .woocommerce-result-count {
    font-size: 0.9rem;
    color: rgba(32, 29, 27, 0.7);
}

.shop-archive .woocommerce-ordering select {
    border-radius: 999px;
    padding: 0.4rem 1.6rem 0.4rem 0.9rem;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
}

/* ---------------------
   FOOTER
---------------------- */
.site-footer {
    background: #f7f3ed;
    padding: 2.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    align-items: flex-start;
    font-size: 0.95rem;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-top a {
    text-decoration: none;
    color: inherit;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.footer-brand img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.footer-brand-mark {
    font-size: 0.9rem;
    margin-left: 0.1rem;
}

.footer-brand-line {
    font-size: 0.85rem;
    color: rgba(32, 29, 27, 0.75);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    text-align: right;
}

.footer-contact-email {
    font-weight: 600;
}

.footer-contact .social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.footer-contact .social-links a {
    font-weight: 600;
}

.footer-legal {
    margin-top: 0.4rem;
    text-align: center;
}

.footer-legal-nav .legal-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: rgba(47, 44, 41, 0.8);
}

.footer-legal-nav .legal-menu a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.footer-legal-nav .legal-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.footer-legal-nav .legal-menu a:hover::after {
    transform: scaleX(1);
}

/* ---------------------
   RESPONSIVE
---------------------- */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        align-items: center;
        padding: 2.5rem;
        min-height: var(--hero-height-mobile, clamp(200px, 65vw, 240px));
    }

    .category-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .highlights .container {
        flex-direction: column;
        gap: 1.2rem;
    }

    .shop-loop-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        text-align: center;
    }

    .shop-archive .woocommerce-ordering {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-brand-block,
    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-contact .social-links {
        justify-content: center;
    }

    .footer-brand {
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* ---------------------
   HAMBURGER MENU
---------------------- */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
        border: 1px solid #ddd;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .menu.menu-open {
        display: flex;
    }

    .menu li {
        margin: 0.5rem 0;
    }
}
footer .social-links {
    margin-top: 1rem;
}

footer .social-links a {
    margin: 0 15px;
    font-weight: 600;
    text-decoration: none;
    color: #1f1b17;
    font-size: 1rem;
    transition: color 0.3s;
}

footer .social-links a:hover {
    color: #ff6600; /* your theme accent color */
    text-decoration: underline;
}
