/*
Theme Name: Storefront Child - YENDRE
Theme URI: https://www.yendre.com
Description: YENDRE - CLEAN UTF-8 NO OVERLAP
Version: 1.0
Author: YENDRE
Template: storefront
*/

/* CLEAN UTF-8 CSS - NO SPECIAL CHARS */

* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    list-style: none !important;
}

html, body {
    width: 100% !important;
    height: auto !important;
    background: #F5F3EF !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #000;
    line-height: 1.5;
}

/* HEADER - 72px */
#masthead,
.site-header {
    height: 72px !important;
    background: #F5F3EF !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

/* FOOTER - 320px */
.site-footer {
    height: 320px !important;
    background: #1a1a1a !important;
    color: #fff !important;
    padding: 4rem 5% 2rem 5% !important;
    box-sizing: border-box !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4rem !important;
    max-width: 1200px !important;
    margin: 0 auto 2rem auto !important;
    height: 200px !important;
}

.footer-brand h3 {
    font-family: 'PerfectlyNineties', Georgia, serif !important;
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    color: #fff !important;
}

.footer-brand p {
    color: #aaa !important;
    line-height: 1.6 !important;
}

.footer-nav h4,
.footer-newsletter h4 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
    color: #fff !important;
}

.footer-nav ul li {
    margin-bottom: 0.5rem !important;
}

.footer-nav ul li a {
    color: #aaa !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-nav ul li a:hover {
    color: #fff !important;
}

.footer-newsletter p {
    color: #aaa !important;
    margin-bottom: 1rem !important;
}

.newsletter-form {
    display: flex !important;
    gap: 0.5rem !important;
}

.newsletter-form input {
    flex: 1 !important;
    padding: 0.75rem 1rem !important;
    border: none !important;
    border-radius: 4px !important;
    background: #333 !important;
    color: #fff !important;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.footer-bottom {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-top: 2rem !important;
    border-top: 1px solid #333 !important;
    color: #666 !important;
    text-align: center !important;
    height: 50px !important;
}

.header-container {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 5% !important;
}

.header-icons-ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
}

/* Shop Page Modules */
.shop-hero {
    height: 320px !important;
}

.category-bar {
    height: 64px !important;
}

.featured-title {
    height: 60px !important;
}

.featured-products {
    height: 460px !important;
}

.shop-by-collection {
    height: 300px !important;
}

.why-yendre {
    height: 150px !important;
}

/* Products Grid Adjustments */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.woocommerce ul.products li.product a {
    text-decoration: none !important;
    color: inherit !important;
}

.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    padding: 1rem 1rem 0.5rem 1rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
}

.woocommerce ul.products li.product .price {
    padding: 0 1rem 1rem 1rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

.woocommerce ul.products li.product .button {
    display: none !important;
}
    align-items: center !important;
}

.header-icons-ul li {
    display: inline-block !important;
}

.site-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

/* HERO - 620px */
.hero-section {
    display: block !important;
    width: 100% !important;
    height: 620px !important;
    overflow: hidden !important;
}

.hero-section img {
    display: block !important;
    width: 100% !important;
    height: 620px !important;
    object-fit: cover !important;
}

/* VALUES - 120px */
.values-section {
    display: flex !important;
    width: 100% !important;
    height: 120px !important;
    background: #F5F3EF !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 80px !important;
}

.value-item {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: #333 !important;
}

/* PRODUCTS - 900px */
.products-section {
    display: block !important;
    width: 100% !important;
    min-height: 900px !important;
    background: #F5F3EF !important;
    padding: 40px 5% !important;
}

ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 15px !important;
    width: 100% !important;
    justify-content: center !important;
}

ul.products li.product {
    flex: 0 0 calc(20% - 12px) !important;
    width: calc(20% - 12px) !important;
    background: #fff !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    display: block !important;
}

ul.products li.product img {
    display: block !important;
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
}

ul.products li.product .woocommerce-loop-product__link {
    display: block !important;
    padding: 12px !important;
}

ul.products li.product h2 {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    margin: 0 0 5px 0 !important;
    color: #000 !important;
}

ul.products li.product .price {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #333 !important;
}

/* COLLECTIONS - 620px, 4 columns */
.collections-section {
    display: block !important;
    width: 100% !important;
    height: 620px !important;
    background: #F5F3EF !important;
    padding: 40px 5% !important;
}

.collections-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    width: 100% !important;
    height: 540px !important;
    justify-content: center !important;
}

.collection-item {
    flex: 1 !important;
    width: 25% !important;
    height: 540px !important;
    display: block !important;
}

.collection-item a,
.collection-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

/* FOOTER - 360px */
.site-footer {
    display: block !important;
    height: 360px !important;
    background: #000 !important;
    color: #fff !important;
    padding: 60px 5% !important;
    width: 100% !important;
}

.site-footer a {
    color: #fff !important;
}

/* WOOCOMMERCE CLEANUP */
.woocommerce-breadcrumb,
.storefront-breadcrumb,
.storefront-sorting,
.woocommerce-ordering,
.woocommerce-result-count,
.woocommerce-pagination,
.star-rating,
ul.products li.product .button {
    display: none !important;
}

/* RESPONSIVE */
@media screen and (max-width: 1200px) {
    ul.products li.product {
        flex: 0 0 calc(25% - 12px) !important;
        width: calc(25% - 12px) !important;
    }
}

@media screen and (max-width: 900px) {
    ul.products li.product {
        flex: 0 0 calc(33.33% - 10px) !important;
        width: calc(33.33% - 10px) !important;
    }
    .collections-grid {
        flex-wrap: wrap !important;
    }
    .collection-item {
        flex: 0 0 calc(50% - 10px) !important;
        width: 50% !important;
    }
    .values-section {
        flex-wrap: wrap !important;
        gap: 20px !important;
    }
}

@media screen and (max-width: 600px) {
    ul.products li.product {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
    }
    .hero-section {
        height: 350px !important;
    }
    .site-footer {
        height: auto !important;
        min-height: 360px !important;
    }
}
