:root {
    /* Exact colors retrieved from the screenshot */
    --primary: #a18a7a;
    /* Brown/tan accent color */
    --primary-hover: #8f796a;
    --dark-brown: #332d29;
    /* Footer bottom color */
    --dark-gray: #2d2d2d;
    /* Mid-footer dark section */
    --bg-cream: #efeae2;
    /* The light beige split section */
    --bg-pale: #f8f6f4;
    /* The very pale lower sections */
    --text-dark: #1e1e1e;
    --text-muted: #757575;
    --white: #ffffff;
    --radius-md: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.subtitle {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--text-dark);
}

.btn-dark-outline {
    border: 1px solid var(--white);
    color: var(--white);
    background-color: transparent;
}

.btn-dark-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    width: 100%;
}

.navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 70px;
    gap: 20px;
}

/* Logo */
.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
}

/* Center nav links */
.main-nav-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.25s;
    white-space: nowrap;
}

.main-nav-links a:hover {
    color: var(--primary);
}

/* Right icon links */
.nav-icon-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.25s;
    white-space: nowrap;
}

.nav-icon-link i {
    font-size: 1.2rem;
}

.nav-icon-link:hover {
    color: var(--primary);
}

/* Old .nav-links class kept for backward compat */
.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ---------- Hamburger button ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: var(--bg-cream);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animated X when active */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile cart + hamburger cluster */
.mobile-nav-right {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-cart-btn i {
    font-size: 1.3rem;
}

/* ---------- Mobile slide-down menu ---------- */
.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.07);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.mobile-menu.open {
    max-height: 420px;
}

.mobile-nav-list {
    list-style: none;
    padding: 8px 0 16px;
    margin: 0;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-list li a:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

.mobile-nav-list li a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--primary);
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(0,0,0,0.07);
    margin: 6px 24px;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d1d1d1;
    /* Fallback */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Minimalist woven bag aesthetic */
    background-image: url('https://images.unsplash.com/photo-1544816155-12df9643f363?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.85;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* FEATURED TOTES (White bg) */
.featured-section {
    padding: 80px 0;
    background-color: var(--white);
}

.totes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.tote-card {
    text-align: center;
}

.tote-card-img {
    background-color: #f7f7f7;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.tote-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.tote-card h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.tote-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CRAFT SECTION (Beige bg) */
.craft-section {
    background-color: var(--bg-cream);
    padding: 80px 0;
}

.craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.craft-img {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.craft-content {
    padding-right: 40px;
}

.craft-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.craft-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.link-text {
    color: var(--text-dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.link-text i {
    transition: transform 0.3s ease;
}

.link-text:hover i {
    transform: translateX(5px);
}

/* FEATURES SECTION (Pale bg) */
.features-section {
    background-color: var(--bg-pale);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-cream);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* IG SECTION (Pale bg continued overlay style) */
.ig-section {
    background-color: var(--bg-pale);
    padding: 0 0 80px 0;
}

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

.ig-img {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ig-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DARK FOOTER BANNER */
.footer-banner {
    background-color: var(--dark-gray);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    background-image: url('/assets/images/tote_glow_5.jpg');
    background-size: cover;
    background-position: center;
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(45, 45, 45, 0.85);
    /* Dark overlay */
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.banner-content p {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.banner-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* MAIN FOOTER */
.site-footer {
    background-color: var(--dark-brown);
    color: #d1c8c1;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background 0.3s;
}

.social-link:hover {
    background-color: var(--primary);
}

.footer-heading {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.2s;
}

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

.newsletter input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    margin-bottom: 10px;
    font-family: inherit;
}

.newsletter input::placeholder {
    color: #999;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {

    .totes-grid,
    .craft-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    /* Hide desktop nav, show hamburger */
    .main-nav-links,
    .nav-icon-links,
    .header-btn {
        display: none !important;
    }

    .hamburger,
    .mobile-nav-right {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    /* Navbar inner: logo left, hamburger right */
    .navbar-inner {
        grid-template-columns: 1fr auto;
        height: 60px;
        padding: 0 16px;
    }

    /* Stack hero buttons vertically on small screens */
    .hero-actions,
    .banner-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-actions .btn,
    .banner-actions .btn {
        min-width: 180px;
    }

    /* Prevent horizontal overflow on all sections */
    .hero,
    .featured-section,
    .craft-section,
    .features-section,
    .ig-section,
    .footer-banner,
    .site-footer {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .hero {
        height: 420px;
    }

    .craft-content {
        padding-right: 0;
    }

    .craft-content h2 {
        font-size: 1.8rem;
    }

    .banner-content h2 {
        font-size: 1.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

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

    .feature-item {
        padding: 30px 20px;
    }

    .footer-banner {
        padding: 60px 0;
    }
}

/* FAQ / Help Center */
.faq-header {
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.faq-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.faq-section {
    margin-bottom: 50px;
}

.faq-category {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.faq-category::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin-left: 20px;
}

details.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 0;
}

details.faq-item:first-of-type {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

details.faq-item summary {
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    /* Hide default arrow */
    position: relative;
    padding-right: 30px;
    color: var(--text-dark);
    outline: none;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    content: '\002B';
    /* Plus icon */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

details.faq-item[open] summary::after {
    content: '\2212';
    /* Minus icon */
}

.faq-answer {
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}