/*
Theme Name: Lailaa
Theme URI: https://lailaa.shop
Author: Lailaa Store
Description: Vintage black & white theme for Lailaa — Bags, Jeans, Shirts, Jackets store.
Version: 1.0
Text Domain: lailaa
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap');

/* ===== RESET & BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 15px;
}

/* ===== HEADER ===== */
.site-header {
    background-color: #0d0d0d;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #333;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.site-logo a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
}

.primary-menu { display: flex; list-style: none; gap: 30px; }

.primary-menu a {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ddd;
    transition: color 0.2s;
}

.primary-menu a:hover { color: #ffffff; }

.header-icons { display: flex; align-items: center; gap: 20px; }

.cart-icon {
    font-size: 13px;
    letter-spacing: 1px;
    border: 1px solid #fff;
    padding: 8px 14px;
    color: #fff;
    transition: background 0.2s, color 0.2s;
}

.cart-icon:hover { background-color: #fff; color: #0d0d0d; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span { width: 24px; height: 2px; background-color: #fff; }

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    background-color: #111;
}

.hero-slider { position: absolute; inset: 0; }

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 { font-size: 48px; margin-bottom: 15px; }

.hero-subtext {
    font-size: 16px;
    letter-spacing: 1px;
    color: #eee;
    margin-bottom: 30px;
}

.hero-buttons { display: flex; gap: 15px; }

.btn {
    padding: 14px 32px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary { background-color: #fff; color: #0d0d0d; }
.btn-primary:hover { background-color: #0d0d0d; color: #fff; border: 1px solid #fff; }
.btn-outline { border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background-color: #fff; color: #0d0d0d; }

/* ===== SECTION HEADINGS ===== */
.section-label {
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title { text-align: center; font-size: 30px; margin-bottom: 40px; }

/* ===== CATEGORY SECTION ===== */
.category-section { padding: 70px 0; background-color: #fafafa; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.category-card { position: relative; display: block; text-align: center; }

.category-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.category-card h3 { font-size: 15px; letter-spacing: 1px; }

/* ===== BESTSELLERS ===== */
.bestsellers-section { padding: 70px 0; }
.bestsellers-desc { color: #777; margin-bottom: 40px; font-size: 14px; }
.bestsellers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.bestseller-card { display: block; }

.bestseller-image {
    background-color: #f0f0f0;
    margin-bottom: 12px;
    overflow: hidden;
    height: 320px;
}

.bestseller-image img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    display: block;
}

.bestseller-cat { font-size: 11px; letter-spacing: 1px; color: #999; margin-bottom: 4px; }
.bestseller-card h3 { font-size: 15px; text-transform: none; font-weight: 600; margin-bottom: 6px; }
.bestseller-price { font-size: 14px; color: #0d0d0d; font-weight: 600; }

/* ===== SHOP / PRODUCT PAGES ===== */
.shop-wrapper { padding: 50px 20px; }

.shop-breadcrumb { font-size: 12px; color: #999; margin: 30px 0 15px; letter-spacing: 0.5px; }
.shop-breadcrumb a { color: #999; }
.shop-breadcrumb a:hover { color: #0d0d0d; }
.shop-breadcrumb span { margin: 0 6px; }

.shop-title { font-family: 'Playfair Display', Georgia, serif; font-size: 34px; margin-bottom: 20px; }

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    margin-bottom: 30px;
}

.shop-toolbar-left { display: flex; gap: 20px; }
.filter-label { font-size: 13px; letter-spacing: 0.5px; color: #333; cursor: pointer; }
.shop-toolbar-right { display: flex; align-items: center; gap: 15px; font-size: 13px; color: #666; }
.shop-toolbar-right select { border: 1px solid #ddd; padding: 6px 10px; font-size: 13px; }
.woocommerce-result-count { margin: 0; }

/* Product grid - single source of truth */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
    list-style: none;
}

ul.products li.product {
    text-align: left;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

ul.products li.product a { display: block; width: 100%; }

ul.products li.product a img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    margin-bottom: 12px;
    max-width: 100% !important;
}

.woocommerce-loop-product__title {
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.4;
}

.price { font-weight: 600; color: #0d0d0d; font-size: 14px; display: block; margin-bottom: 12px; }

ul.products li.product .button {
    display: inline-block;
    background-color: #0d0d0d;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    text-align: center;
    border: 1px solid #0d0d0d;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

ul.products li.product .button:hover { background-color: #ffffff; color: #0d0d0d; }

ul.products li.product .added_to_cart {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.site-footer { background-color: #0d0d0d; color: #ccc; padding: 60px 0 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer-logo { color: #fff; font-size: 20px; letter-spacing: 2px; margin-bottom: 4px; }
.footer-tagline { font-size: 11px; letter-spacing: 2px; color: #777; margin-bottom: 15px; }
.footer-about { font-size: 13px; color: #999; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 1px; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 13px; }
.footer-col a { color: #999; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { color: #999; }

.footer-social { display: flex; flex-direction: row; gap: 15px; }

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: #ccc;
    transition: background-color 0.2s, color 0.2s;
}

.footer-social a:hover { background-color: #ffffff; color: #0d0d0d; }

.footer-social-row { text-align: center; padding-bottom: 30px; }
.footer-social-row h4 { color: #fff; font-size: 13px; letter-spacing: 1px; margin-bottom: 15px; }
.footer-social-row .footer-social { justify-content: center; }

.footer-bottom { border-top: 1px solid #2a2a2a; text-align: center; padding: 20px; font-size: 12px; color: #777; }

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.back-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: #0d0d0d;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ===== PROMO BANNERS ===== */
.promo-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #333;
    display: flex;
    align-items: center;
}

.promo-slider { position: absolute; inset: 0; }

.promo-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.promo-slide.active { opacity: 1; }
.promo-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); z-index: 1; }
.promo-content { position: relative; z-index: 2; color: #ffffff; }

.promo-label {
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Playfair Display', Georgia, serif;
}

.promo-buttons { display: flex; gap: 15px; }
.category-products-section { padding: 50px 0 70px; }

/* ===== SUBCATEGORY CIRCLES ===== */
.subcategory-row { padding: 40px 0; }
.subcategory-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.subcategory-item { text-align: center; }

.subcategory-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    border: 2px solid #0d0d0d;
    margin-bottom: 10px;
}

.subcategory-item p { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

/* ===== RELATED PRODUCTS - CENTER ALIGN ===== */
.related.products ul.products {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
}

.related.products ul.products li.product {
    width: calc(25% - 22.5px) !important;
    flex: 0 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .category-grid, .bestsellers-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 32px; }
    .promo-banner { height: 350px; }
    .subcategory-circle { width: 130px; height: 130px; }
    .related.products ul.products li.product { width: calc(50% - 15px) !important; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0d0d0d;
        display: none;
        flex-direction: column;
        padding: 20px;
    }
    .site-nav.active { display: flex; }
    .primary-menu { flex-direction: column; gap: 15px; }
    .promo-banner { height: 300px; }
    .promo-label { font-size: 18px; }
    .subcategory-grid { gap: 15px; }
}

@media (max-width: 480px) {
    .category-grid, .bestsellers-grid, ul.products { grid-template-columns: 1fr !important; }
    .footer-inner { grid-template-columns: 1fr; }
    .related.products ul.products li.product { width: 100% !important; }
}