/* ==========================================================
   BEREAMALL — HOMEPAGE STYLESHEET
   Clean, isolated, modern homepage-only CSS
   ========================================================== */


/* ===========================
   COLOR SYSTEM
=========================== */

:root {
    --bm-caramel: #A67C52;
    --bm-tan: #D9C2A3;
    --bm-cream: #F3E9DD;
    --bm-cocoa: #5A4632;
    --bm-green: #2E5E3A;
    --bm-white: #ffffff;
}


/* ===========================
   HOMEPAGE CONTAINER
=========================== */

.homepage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.home-page section {
    margin: 40px 0;
}


/* ===========================
   HOMEPAGE TOP BAR
=========================== */

.home-page .top-bar {
  background-color: var(--bm-green);
  padding: 12px 24px;
}

.home-page .top-bar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.home-page .top-bar li a {
  color: var(--bm-cream);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.home-page .top-bar li a:hover {
  color: var(--bm-tan);
}


/* ===========================
   HOMEPAGE LOGO
=========================== */

.home-page .logo-text {
  text-align: center;
  width: 100%;
  padding: 12px 0;
}

.home-page .logo-text a {
  display: inline-block;
  margin: 0 auto;
  color: #5A3E2B;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 2.8rem;
}

.home-page .logo-text a:hover {
  color: var(--bm-white);
}
.logo-text {
    text-align: center;
    margin-top: 15px;
    background: #C7A27A;   /* warm brown, lighter than the banner */
    padding: 12px 0;
    border-radius: 6px;
}

/* ===========================
   HOMEPAGE HERO
=========================== */

body.home-page .hero.banner {
  background-color: var(--bm-caramel);
  color: var(--bm-cream);
  text-align: center;
  padding: 24px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}


/* ===========================
   HOMEPAGE SECTION BANNERS
=========================== */

body.home-page section.banner {
  background-color: var(--bm-caramel) !important;
  color: var(--bm-cream) !important;
  padding: 24px 0 !important;
  text-align: center !important;
  border-bottom: 2px solid var(--bm-cocoa) !important;
}


/* ===========================
   HOMEPAGE CATEGORY BUTTONS
=========================== */

.category-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}


.category-button {
  background-color: var(--bm-tan);
  color: var(--bm-cocoa);
  padding: 20px 30px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid var(--bm-caramel);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.category-button:hover {
  background-color: var(--bm-caramel);
  color: var(--bm-white);
}


/* ===========================
   WEEKLY FEATURED SECTION
=========================== */

.featured-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.featured-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.featured-image {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.featured-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.featured-price {
    font-size: 1.2rem;
    color: var(--bm-green);
    margin-bottom: 15px;
}

.featured-button {
    display: inline-block;
    background: var(--bm-green);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}


/* ===========================
   FEATURED CATEGORIES SECTION
=========================== */

.featured-categories {
  background: var(--bm-cream);
  padding: 40px 0;
  margin: 40px auto;
  border-radius: 12px;
  border: 2px solid var(--bm-tan);
  text-align: center;
  max-width: 1100px;
}


/* ===========================
   HOMEPAGE FOOTER
=========================== */

.bm-footer {
    width: 100%;
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 40px 20px;
    box-sizing: border-box;
}

.bm-footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.bm-footer-col {
    flex: 1;
    min-width: 250px;
}

.bm-footer-col h2,
.bm-footer-col h3 {
    margin-bottom: 10px;
    color: var(--bm-white);
}

.bm-footer-col p {
    margin: 0 0 10px 0;
}

.bm-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bm-footer-col ul li {
    margin-bottom: 8px;
}

.bm-footer-col a {
    color: var(--bm-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bm-footer-col a:hover {
    color: var(--bm-tan);
}
.subscribe-box {
    max-width: 500px;        /* keeps it nicely sized */
    margin: 40px auto;       /* ⭐ centers the whole box */
    text-align: center;      /* centers the text inside */
    background: #F3E9DD;     /* cream background */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #D6C4B2;
}
.newsletter-input {
    width: 80%;
    max-width: 300px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #C7A27A;
    margin-bottom: 12px;
}

.subscribe-button {
    background: #A67C52;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.subscribe-button:hover {
    background: #8C6F54;
}
.bm-footer {
    background: #F3E9DD;   /* cream */
    color: #5A3E2B;        /* cocoa brown text */
    padding: 40px 20px;
}

.bm-footer a {
    color: #5A3E2B;
}

.bm-footer h2,
.bm-footer h3 {
    color: #3E2A1F;        /* dark walnut */
}
.hero-goods {
    text-align: center;
    margin-top: 30px;
}

.hero-goods h1 {
    margin-bottom: 10px;
}

.hero-goods p {
    max-width: 600px;
    margin: 0 auto;
}
.category-section {
    text-align: center;
    margin-top: 40px;
}

.category-section h2 {
    margin-bottom: 20px;
    color: #5A3E2B;   /* cocoa brown to match your brand */
}
.category-grid .category-card {
    color: #6b410b !important;
}
/* ============================
   MOBILE HEADER FIX (HOMEPAGE)
   ============================ */

@media (max-width: 768px) {

    /* Shrink the top bar */
    .header-bar {
        padding: 10px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Shrink the logo */
    .logo-text a {
        font-size: 24px;
        line-height: 1.2;
    }

    /* Shrink tagline */
    .header-tagline p {
        font-size: 14px;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    /* Make nav stack */
    .top-bar.scoped-nav ul {
        flex-direction: column;
        gap: 8px;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .top-bar.scoped-nav ul li a {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* ===========================
   HOMEPAGE PROMO + CATEGORIES
=========================== */

/* Center the HaloBabeStore promo block */
.halobabe-promo {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Center the Featured Categories section */
body.home-page .featured-categories {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

body.home-page .category-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px;
    width: 100%;
}

/* Category card styling (unchanged) */
.category-card {
    background-color: var(--bm-tan);
    color: var(--bm-cocoa);
    padding: 20px 30px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid var(--bm-caramel);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-card:hover {
    background-color: var(--bm-caramel);
    color: var(--bm-white);
}

