/* ==============================
   Alotoday Home Page Styles
   Version: 1.2 (Optimized)
   By: Bạn
============================== */

:root {
    --primary: #ff6600;
    --accent: #ff944d;
    --bg: #fffaf6;
    --text: #333;
    --radius: 14px;
    --shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    --font: "Inter", "Nunito", sans-serif;
}

/* ==============================
   RESET & BODY
============================== */
body.home,
body.page-template-front-page {
    background: var(--bg);
    font-family: var(--font);
    color: var(--text);
    margin: 0;
    line-height: 1.7;
}

/* ==============================
   WRAPPER CONTAINER
============================== */
.home-wrapper,
.site-main.home-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
    box-sizing: border-box;
}

/* ==============================
   HERO SECTION
============================== */
.hero-home {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    color: #fff;
    text-align: center;
    padding: 80px 20px 100px;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.hero-home h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-home form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-home input[type="text"] {
    padding: 14px 18px;
    border-radius: var(--radius);
    border: none;
    outline: none;
    width: clamp(240px, 40vw, 360px);
    font-size: 1rem;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hero-home button {
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    padding: 14px 26px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow);
}

.hero-home button:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ==============================
   ADS SECTION
============================== */
.home-ads {
    text-align: center;
    margin: 40px 0 50px;
}

/* ==============================
   STORE LIST
============================== */
.store-section {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 24px 60px;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 10px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.store-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.store-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.store-card:hover .store-thumb img {
    transform: scale(1.05);
}

.store-info {
    padding: 14px 18px 20px;
}

.store-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.store-title a {
    color: var(--primary);
    text-decoration: none;
}

.store-title a:hover {
    color: var(--accent);
}

.store-rating {
    color: #ffaa00;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.store-address {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.store-more {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.store-more:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ==============================
   FOOTER
============================== */
.site-footer {
    text-align: center;
    background: #fff;
    padding: 30px 20px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

.site-footer strong {
    color: var(--primary);
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
}

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

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 992px) {
    .hero-home {
        padding: 60px 16px 80px;
    }

    .hero-home input[type="text"] {
        width: 90%;
    }

    .store-section {
        padding: 30px 18px 50px;
    }

    .store-grid {
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .store-thumb img {
        height: 150px;
    }

    .section-title {
        font-size: 1.3rem;
    }

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

/* ==============================
   FIX LOGO HEADER CHO ALOTODAY
============================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* LOGO */
.header-inner .logo img {
    max-width: 180px;
    /* Giới hạn chiều rộng logo */
    height: auto;
    display: block;
    border-radius: 6px;
    /* Nhẹ nhàng, tùy chọn */
}

.header-inner .logo a {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 8px 16px;
    }

    .header-inner .logo img {
        max-width: 130px;
        /* Giảm kích thước khi mobile */
    }
}

/* MENU (ẩn nếu chưa dùng) */
.main-nav {
    display: flex;
    gap: 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.nav-list li a:hover {
    color: var(--primary, #ff6600);
}
.home-intro {
    margin: 45px auto;
}

.home-intro .intro-box {
    background: #ffffff;
    padding: 50px 45px;
    border-radius: 28px;
    max-width: auto;
    margin: auto;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
    border: 1px solid #f3f3f3;
}

.home-intro h2 {
    font-size: 30px;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.home-intro p {
    font-size: 17px;
    line-height: 1.85;
    color: #444;
    text-align: justify;
    margin: 0 auto;
    max-width: auto;
}

.home-intro p+p {
    margin-top: 14px;
}
.intro-box p {
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.intro-toggle {
  margin-top: 10px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background: #f37a17;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.intro-toggle:hover {
  background: #d86a12;
}
/* Mobile tối ưu */
@media (max-width: 600px) {
    .home-intro .intro-box {
        padding: 35px 25px;
        border-radius: 22px;
    }

    .home-intro h2 {
        font-size: 24px;
    }

    .home-intro p {
        font-size: 16px;
    }
}