/* Consolidated and cleaned styles.css */
/* Inter font (applied site-wide) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --color-brown-900: #23160f;
    --color-brown-700: #4a2a13;
    --color-accent: #b47a4a;
    --color-muted: #7a6a4a;
    --bg-light: #f7f5ef;
    --radius-lg: 16px;
    --topbar-height: 44px;
    /* fallback height to avoid initial overlap */
    --header-height: 84px;
    /* approximate header height for initial layout */
    --site-max-width: 1440px;
    --product-footer-height: 64px;
    --product-media-height: 300px;
    /* default desktop height for product images */
}

/* Base */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-brown-900);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-brown-700);
    margin: 0;
}

a {
    color: inherit;
}

/* Top bar */
.top-bar {
    background: var(--color-brown-900);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 6px 48px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    transition: transform 260ms ease, opacity 200ms ease;
}

/* Hidden state for top-bar when scrolling down */
.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.top-left,
.top-center,
.top-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-left .top-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.92rem;
}

.top-sep {
    opacity: 0.35;
}

.top-center .top-message {
    font-size: 0.92rem;
    opacity: 0.95;
}

.top-right .locale {
    font-size: 0.9rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-right .locale-sep {
    opacity: 0.35
}

/* inner container to center top-bar content to site width */
.top-bar-inner {
    max-width: var(--site-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 6px 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Header / navigation */

header {
    display: flex;
    flex-direction: column;
    padding: 0 48px;
    background: transparent;
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    z-index: 60;
    transition: background-color .22s ease, box-shadow .22s ease, color .18s;
}

.header-inner {
    display: grid;
    /* equal flexible columns so the middle nav is visually centred */
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

/* Center nav horizontally inside header-inner */
.header-inner nav {
    justify-self: center;
    z-index: 70;
}

/* Mobile search row — hidden on desktop */
.header-search-row {
    display: none;
}

/* Cart badge */
.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 3px;
    pointer-events: none;
}

/* Hamburger — hidden on desktop */
.hamburger-btn {
    display: none;
}

/* ── Mobile Nav Drawer ────────────────────────────────────────────────────── */

/* Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(35, 22, 15, 0.45);
    z-index: 200;
    opacity: 0;
    transition: opacity 280ms ease;
}

.mobile-nav-overlay.visible {
    display: block;
}

.mobile-nav-overlay.open {
    opacity: 1;
}

/* Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: #fff;
    z-index: 210;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
                opacity 260ms ease;
    box-shadow: -8px 0 32px rgba(35, 22, 15, 0.14);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
    opacity: 1;
}

/* Drawer header */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #ece8e0;
}

.mobile-nav-logo {
    font-family: 'Instrument Sans', system-ui, Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-brown-900);
    letter-spacing: 1px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--color-brown-900);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* Nav links */
.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-links li {
    border-bottom: 1px solid #ece8e0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--color-brown-900);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color .15s, background .15s;
}

.mobile-nav-links a .nav-chevron {
    font-size: 0.8rem;
    color: var(--color-muted);
    transition: transform .2s, color .15s;
}

.mobile-nav-links a:hover {
    color: var(--color-accent);
    background: var(--bg-light);
}

.mobile-nav-links a:hover .nav-chevron {
    color: var(--color-accent);
    transform: translateX(3px);
}

/* Drawer footer */
.mobile-nav-footer {
    padding: 20px 24px;
    border-top: 1px solid #ece8e0;
}

.mobile-nav-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: color .15s;
}

.mobile-nav-icon:hover {
    color: var(--color-accent);
}

/* Header when page is scrolled: white background and dark text/icons */
header.scrolled {
    background: #fff;
    box-shadow: 0 6px 18px rgba(35, 22, 15, 0.08);
    color: var(--color-brown-900);
}

header.scrolled .header-inner .logo,
header.scrolled .header-inner nav a,
header.scrolled .icon-btn,
header.scrolled .desktop-search button {
    color: var(--color-brown-900);
}

header.scrolled .desktop-search {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
}

header.scrolled .desktop-search input {
    color: var(--color-brown-900);
}

header.scrolled .desktop-search input::placeholder {
    color: rgba(34,34,34,0.45);
}

header.scrolled .desktop-search button {
    background: var(--color-accent);
    color: #fff;
}

/* When scrolled on mobile, search row turns white like the desktop search box */
header.scrolled .header-search-row .search-box {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
}

header.scrolled .header-search-row .search-box input {
    color: var(--color-brown-900);
}

header.scrolled .header-search-row .search-box input::placeholder {
    color: rgba(34, 34, 34, 0.45);
}


.logo {
    font-family: 'Instrument Sans', system-ui, Arial, sans-serif;
    font-size: 2.4rem;
    color: #fff;
    letter-spacing: 1px;
}

/* align logo and header-actions to the edges of their equal columns */
.header-inner .logo {
    justify-self: start;
}

.header-inner .header-actions {
    justify-self: end;
}

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

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 400;
    transition: color .18s, transform .18s;
}

nav a:hover {
    color: var(--color-accent);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border-radius: 12px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-height: 44px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.search-box input {
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.95);
    width: 260px;
    padding: 10px 12px;
    outline: none;
    font-size: 0.98rem;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.75);
}

.search-box button {
    background: var(--color-accent);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    width: 40px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0;
}

.icon-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

.social-link {
    font-size: 1.2rem;
    color: var(--color-brown-700);
    text-decoration: none;
}

.share-label {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 0.95rem;
}

.close-btn,
.share-btn {
    background: var(--color-brown-700);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

/* Hero */
.hero-banner {
    position: relative;
    width: 100%;
    /* approx 85vh but constrained on very large screens */
    height: min(90vh, 900px);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.82);
}

/* subtle gradient overlay for better text contrast */
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.28) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin: 360px auto 0;
    color: #fff;
    width: 100%;
    max-width: var(--site-max-width);
    padding: 0 24px;
    /* remove horizontal gutters so width equals --site-max-width */
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.08;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    margin-bottom: 20px;
    color: #fff;
    /* ensure headline is white */
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    /* push buttons lower under the headline */
}

.btn {
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-btn {
    background: var(--color-accent);
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(180, 122, 74, 0.12);
}

.explore-btn {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Collections */
.top-collections {
    background: var(--bg-light);
    padding: 96px 0 72px;
    text-align: center;
}

.top-collections h2 {
    font-size: 2.6rem;
    margin-bottom: 48px;
    color: var(--color-brown-900);
    font-weight: 500;
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.collection-link {
    color: var(--color-accent);
    text-decoration: none;
    transition: text-decoration .12s, color .12s;
    display: block;
}

.collection-link:hover {
    text-decoration: underline;
}

/* Best sellers */
.best-sellers {
    background: var(--bg-light);
    padding: 64px 0;
    text-align: center;
}

.best-sellers h2 {
    font-size: 2.6rem;
    margin-bottom: 48px;
}

/* constrain section headings to site width for consistent alignment */
.best-sellers h2,
.shop-brands h2,
.design-inspiration .design-header h2 {
    font-size: 2.6rem;
    margin-bottom: 48px;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.best-sellers-tabs {
    display: flex;
    justify-content: center;
    gap: 28px;
    font-size: 1.02rem;
    color: var(--color-accent);
    border-bottom: 2px solid #e9e5df;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto 28px;
    padding: 0 24px;
}

.product-card.hidden {
    display: none !important;
}

.tab {
    padding: 8px 0;
    cursor: pointer;
    font-weight: 500;
}

.tab.active {
    color: var(--color-brown-700);
    border-bottom: 2px solid var(--color-accent);
}

@media (max-width: 768px) {
    .best-sellers-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 20px;
        padding: 0 16px;
        /* hide scrollbar but keep functionality */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .best-sellers-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

.best-sellers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    justify-items: stretch;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 32px auto 0;
    padding: 0 24px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    transition: transform .18s, box-shadow .18s;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: var(--product-footer-height);
}

.product-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* two-image media for product cards */
.product-media {
    position: relative;
    width: 100%;
    height: var(--product-media-height);
    overflow: hidden;
}

.product-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .42s ease, transform .45s cubic-bezier(.2, .9, .2, 1);
}

.product-media img.primary {
    opacity: 1;
    transform: translateY(8px) scale(1);
}

.product-media img.secondary {
    opacity: 0;
    transform: translateY(20px) scale(1.06);
}

.product-card:hover .product-media img.secondary {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-card:hover .product-media img.primary {
    opacity: 0;
    transform: translateY(-28px) scale(1.02);
}

.product-badge {
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 3px 8px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.product-badge.green {
    background: #1db954;
}

.product-badge.brown {
    background: var(--color-brown-700);
}

/* arrange multiple badges side-by-side with reduced spacing */
.badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    gap: 8px;
    z-index: 30;
}

@media (max-width:420px) {
    .badges {
        gap: 6px;
        left: 10px;
    }
}

.product-title:hover,
.product-title:focus {
    text-decoration: underline;
    color: var(--color-brown-700);
}

.product-price {
    margin-top: 6px;
    margin-bottom: 12px;
    /* espacio extra debajo del precio */
    color: var(--color-brown-700);
    font-weight: 600;
}

/* product footer and actions consolidated later in the file */

.compare-label {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 12px;
}

.product-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--product-footer-height);
    transform: translateY(100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .01s linear .22s;
    background: #fff;
    /* match card background */
    border-radius: 0;
    /* seamless join with card */
    box-shadow: none;
    /* remove elevation to match card */
    padding: 0 12px;
}

.product-card:hover .product-footer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
    /* espacio adicional bajo los botones */
}

.product-actions .btn i {
    font-size: 1.05rem;
}

.product-actions .btn {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, transform .12s;
}

.product-actions .btn:active {
    transform: translateY(1px);
}

.product-actions .add-cart {
    background: var(--color-brown-700);
    color: #fff;
    border: none;
}

.product-actions .add-cart:hover {
    background: var(--color-accent);
}

.product-actions .quick-view {
    background: #fff;
    color: var(--color-brown-700);
    border: 2px solid var(--color-brown-700);
}

.product-actions .quick-view:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}


/* Brands */
.shop-brands {
    background: var(--bg-light);
    /* keep vertical padding but allow horizontal containment */
    padding: 48px 24px;
    text-align: center;
}

.shop-brands .container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px 32px;
    align-items: center;
    justify-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 24px auto 0;
    padding: 0 24px; /* consistent horizontal padding with other sections */
}


.brand-card {
    background: #fff;
    border-radius: 12px;
    padding: 26px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* allow grid to size columns; cap card width so grid fits within max-width */
    width: 100%;
    max-width: 220px;
    height: 120px;
    box-sizing: border-box;
    transition: transform .18s, box-shadow .18s;
    justify-self: center;
}

.brand-card img {
    width: auto;
    height: 84px;
    object-fit: contain;
    margin-bottom: 8px;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* removed brand-title elements from HTML; styling kept if needed later */

@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .brand-card {
        width: 180px;
        height: 110px;
    }

    .brand-card img {
        width: 80px;
    }
}

@media (max-width: 420px) {
    .brands-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .brand-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* Design inspiration / Blog */
.design-inspiration {
    background: var(--bg-light);
    padding: 64px 0;
}

/* Blog description: clamp to 2 lines with ellipsis */
.inspiration-card .blog-desc,
.blog-desc {
    /* primary clamp for WebKit-based browsers */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    /* fallback & safety: ensure no overflow in other browsers */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;

    /* control the height precisely so only 2 lines are shown */
    line-height: 1.5;
    max-height: 3em; /* 1.5 * 2 lines = 3em */

    /* improve wrapping for long words */
    hyphens: auto;
    word-break: break-word;
}

.design-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 32px;
    padding: 0 24px;
}

.see-all-blogs {
    color: var(--color-brown-700);
    font-weight: 500;
    text-decoration: none;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    /* make each grid cell equal height so cards match */
    align-items: stretch;
    grid-auto-rows: 1fr;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.inspiration-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(35, 22, 15, 0.06);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.blog-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-image-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.2, .9, .2, 1);
}

.blog-image-wrap:hover img {
    transform: scale(1.03);
}

.blog-title {
    margin: 0;
    /* use consistent inner padding like description */
    padding: 20px;
    color: var(--color-brown-700);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
    /* clamp title to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.4em; /* 1.2 * 2 */
}

.blog-desc {
    padding: 0 20px 20px 20px;
    color: var(--color-muted);
    line-height: 1.45;
    margin: 0;
    /* ensure two-line clamp (already present) and consistent width inside card */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.9em; /* 1.45 * 2 */
}

.read-more {
    padding: 0 20px 24px 20px;
    display: inline-block;
    font-weight: 700;
    color: var(--color-brown-700);
    text-decoration: none;
    letter-spacing: 0.6px;
}


.collection-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(35, 22, 15, 0.06);
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.collection-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.2, .9, .2, 1);
    will-change: transform;
}

.collection-card:hover img {
    transform: scale(1.06);
}

.collection-title {
    color: var(--color-brown-900);
    font-size: 1.05rem;
    margin: 18px 0 24px 0;
    padding: 0 20px;
    text-align: left;
    font-weight: 500;
}

.blog-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-brown-700);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    z-index: 60;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    pointer-events: auto;
}

.blog-title {
    margin: 20px 0 8px 20px;
    color: var(--color-brown-700);
    font-size: 1.15rem;
}

.blog-desc {
    margin: 0 0 20px 20px;
    color: var(--color-muted);
    max-width: 320px;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.read-more {
    margin-left: 20px;
    font-weight: 600;
    color: var(--color-brown-700);
    text-decoration: none;
}

.read-more:hover {
    color: var(--color-accent);
}

/* Footer */
.main-footer {
    background: var(--color-brown-900);
    color: #fff;
    padding: 56px 0 0; /* remove bottom padding so footer-bar sits flush to page bottom */
    margin: 0;
}

.footer-content {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.footer-logo {
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 0.6px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
}

.footer-icon:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 28px 0;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-col {
    min-width: 180px;
    flex: 1 1 180px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-col a {
    color: #fff;
    text-decoration: none;
    transition: color .15s;
    font-weight: 300;
}

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

.newsletter {
    min-width: 320px;
}

.newsletter-form {
    display: flex;
    margin-top: 12px;
    align-items: center;
}

.newsletter-feedback {
    font-size: 0.95rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.12);
    padding: 6px 10px;
    border-radius: 8px;
}

.newsletter-feedback.success {
    background: #1db954;
}

.newsletter-feedback.error {
    background: #d9534f;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    height: 44px;
    border-radius: 8px 0 0 8px;
    border: none;
    background: #fff;
    color: var(--color-brown-900);
}

.newsletter-form button {
    background: var(--color-accent);
    border: none;
    color: #fff;
    border-radius: 0 8px 8px 0;
    padding: 0 14px;
    cursor: pointer;
    width: 48px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 28px;
    margin-bottom: 0;
}

.footer-disclaimer {
    color: #fff;
    opacity: 0.9;
    max-width: 720px;
    font-weight: 300;
}

.footer-payments {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-icon {
    height: 32px;
    background: #fff;
    border-radius: 4px;
    padding: 2px 6px;
}

.footer-bar {
    background: #fff;
    color: var(--color-brown-700);
    /* full width but avoid 100vw (can cause horizontal scroll) */
    width: 100%;
    margin: 0;
    padding: 0; /* no outer padding */
}

.footer-bar-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    margin-top: 24px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.footer-links a {
    color: var(--color-brown-700);
    text-decoration: none;
    margin: 0 6px;
    font-size: 14px;
    font-weight: 300;
}

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

.footer-powered {
    opacity: 0.7;
    font-weight: 300;
}

.footer-scrollup {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 100;
    cursor: pointer;
}

.footer-scrollup:hover {
    background: var(--color-brown-700);
}

/* Accessibility focus */
a:focus,
button:focus,
input:focus {
    outline: 3px solid rgba(180, 122, 74, 0.18);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width:1024px) {
    header {
        padding: 18px 24px;
    }

    .hero-content {
        margin-left: 4%;
        max-width: 60%;
    }

    .collections-grid {
        gap: 24px;
    }

    .best-sellers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* a bit shorter on mid screens */
    .product-media {
        height: 260px;
    }

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

@media (max-width:768px) {
    nav ul {
        display: none;
    }

    .hero-content {
        margin-left: 6%;
        max-width: 86%;
    }

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

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

    /* switch header back to flex on narrower screens for simpler layout */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header nav {
        position: static;
        transform: none;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .header-actions {
        order: 3;
    }

    .collections-grid {
        flex-direction: row;
    }

    .inspiration-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }

    /* mobile/tablet: use aspect-ratio so images adapt to column width */
    .product-media {
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .brands-grid {
        gap: 16px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width:420px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .best-sellers-grid,
    .collections-grid {
        grid-template-columns: 1fr;
    }

    .inspiration-grid {
        grid-template-columns: 1fr;
    }

    .product-media {
        height: auto;
        aspect-ratio: 3 / 4;
    }

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

/* Additional responsive refinements for mobile/tablet */
@media (max-width:1024px) {
    .top-collections {
        padding: 64px 0 48px;
    }

    .hero-content {
        margin: 220px auto 0;
        padding: 0 20px;
        max-width: 92%;
    }

    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

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

@media (max-width:768px) {
    .top-bar {
        padding: 6px 12px;
    }

    .top-bar-inner {
        padding: 6px 12px;
        justify-content: center;
    }

    header {
        padding: 0;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 16px 10px;
    }

    .header-inner nav {
        display: none;
    }

    .logo {
        font-size: 2rem;
    }

    .desktop-search,
    .user-btn {
        display: none;
    }

    .hamburger-btn {
        display: inline-flex;
        font-size: 1.5rem;
        margin-left: 8px;
    }

    .header-actions {
        gap: 10px;
    }

    .icon-btn {
        font-size: 1.45rem;
        padding: 0;
    }

    /* Mobile search row — transparent beneath logo row */
    .header-search-row {
        display: flex;
        width: 100%;
        padding: 0 16px 14px;
    }

    .header-search-row .search-box {
        width: 100%;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 12px;
        padding: 4px 4px 4px 8px;
        box-shadow: none;
        min-height: 48px;
        gap: 0;
    }

    .header-search-row .search-box input {
        flex: 1;
        width: 0;
        color: rgba(255, 255, 255, 0.95);
        font-size: 1rem;
        padding: 10px 12px;
    }

    .header-search-row .search-box input::placeholder {
        color: rgba(255, 255, 255, 0.75);
    }

    .header-search-row .search-box button {
        width: 44px;
        height: 40px;
        border-radius: 10px;
        font-size: 1.05rem;
    }

    nav ul {
        display: none;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 12px;
    }

    .best-sellers-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 12px;
    }

    .hero-content {
        margin: 150px auto 0;
        max-width: 94%;
        text-align: center;
    }

    .hero-content h1 {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width:420px) {
    .top-bar {
        padding: 6px 10px;
        font-size: 12px;
    }

    .top-bar-inner {
        padding: 6px 10px;
    }

    header {
        padding: 10px 12px;
    }

    .logo {
        font-size: 1.6rem;
    }

    .search-box input {
        width: 120px;
        padding: 8px 10px;
    }

    .search-box button {
        width: 34px;
        height: 34px;
    }

    .hero-content {
        margin: 80px auto 0;
        padding: 0 12px;
    }

    .collections-grid,
    .best-sellers-grid,
    .inspiration-grid {
        grid-template-columns: 1fr;
        padding: 0 12px;
    }

    .brand-card {
        padding: 18px 20px;
        height: auto;
    }

    .inspiration-card .blog-desc,
    .blog-desc {
        max-width: 100%;
        padding-right: 12px;
    }
}

/* End of responsive refinements */

/* ════════════════════════════════════════
   PRODUCTO — Detail page
   ════════════════════════════════════════ */

.product-detail-section {
    background: var(--bg-light);
    padding: 40px 48px 96px;
    min-height: 80vh;
}

.product-detail-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
}

/* Breadcrumb + next */
.product-detail-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.pd-breadcrumb a {
    color: var(--color-brown-900);
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}

.pd-breadcrumb a:hover {
    color: var(--color-accent);
}

.pd-bc-sep {
    font-size: 0.7rem;
    color: var(--color-muted);
}

.pd-bc-current {
    color: var(--color-accent);
}

.pd-next {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-brown-900);
    text-decoration: none;
    transition: color .15s;
}

.pd-next:hover {
    color: var(--color-accent);
}

/* Main layout: thumbnails | image | info */
.product-detail-layout {
    display: grid;
    grid-template-columns: 100px 1fr 480px;
    gap: 20px;
    align-items: start;
}

/* Thumbnails */
.pd-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-thumb {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    aspect-ratio: 1 / 1;
    transition: border-color .15s;
}

.pd-thumb.active,
.pd-thumb:hover {
    border-color: var(--color-accent);
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main image */
.pd-main-image {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity .22s;
}

/* Info panel */
.pd-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 4px;
}

.pd-info h1 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 500;
    color: var(--color-brown-900);
    line-height: 1.2;
}

.pd-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-brown-900);
}

.pd-tax {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: -8px 0 0;
}

.pd-tax a {
    color: var(--color-muted);
    text-decoration: underline;
}

/* Stock */
.pd-stock {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1db954;
    flex-shrink: 0;
}

.pd-stock-text {
    font-size: 0.9rem;
    color: #1db954;
    font-weight: 500;
}

.pd-stock-bar {
    flex: 1;
    height: 5px;
    background: #e0d8cc;
    border-radius: 999px;
    overflow: hidden;
}

.pd-stock-fill {
    width: 65%;
    height: 100%;
    background: #1db954;
    border-radius: 999px;
}

/* Countdown */
.pd-countdown-wrap {
    border: 1px solid #e0d8cc;
    border-radius: 10px;
    padding: 14px 18px;
    background: #fff;
}

.pd-countdown-label {
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--color-brown-900);
    color: #fff;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.pd-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-count-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}

.pd-count-block span {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-brown-900);
    line-height: 1;
}

.pd-count-block small {
    font-size: 0.72rem;
    color: var(--color-muted);
    margin-top: 4px;
}

.pd-count-sep {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-brown-900);
    margin-bottom: 14px;
}

/* Option groups */
.pd-option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-option-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--color-brown-900);
    margin: 0;
}

/* Color swatches */
.pd-colors {
    display: flex;
    gap: 10px;
}

.pd-color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.12);
    cursor: pointer;
    padding: 0;
    transition: box-shadow .15s, transform .15s;
}

.pd-color.active,
.pd-color:hover {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--color-accent);
    transform: scale(1.08);
}

/* Size select */
.pd-size-select {
    appearance: none;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    padding: 10px 36px 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-brown-900);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a6a4a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    outline: none;
    width: 100%;
    max-width: 200px;
    transition: border-color .15s;
}

.pd-size-select:focus {
    border-color: var(--color-accent);
}

/* Quantity + add to cart row */
.pd-qty-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pd-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.pd-qty-btn {
    background: none;
    border: none;
    width: 44px;
    height: 48px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--color-brown-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.pd-qty-btn:hover {
    background: var(--bg-light);
}

.pd-qty input {
    border: none;
    outline: none;
    width: 52px;
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-brown-900);
    background: transparent;
    -moz-appearance: textfield;
}

.pd-qty input::-webkit-inner-spin-button,
.pd-qty input::-webkit-outer-spin-button {
    appearance: none;
}

.pd-add-cart {
    flex: 1;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    height: 48px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    cursor: pointer;
    font-family: inherit;
    transition: background .18s, transform .12s;
}

.pd-add-cart:hover {
    background: var(--color-brown-700);
    transform: translateY(-1px);
}

.pd-buy-now {
    width: 100%;
    background: var(--color-brown-900);
    color: #fff;
    border: none;
    border-radius: 8px;
    height: 52px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    cursor: pointer;
    font-family: inherit;
    transition: background .18s, transform .12s;
}

.pd-buy-now:hover {
    background: var(--color-brown-700);
    transform: translateY(-1px);
}

/* Delivery & Pickup */
.pd-delivery-info {
    border: 1px solid #e0d8cc;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.pd-delivery-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
}

.pd-delivery-row + .pd-delivery-row {
    border-top: 1px solid #e0d8cc;
}

.pd-delivery-icon {
    font-size: 1.3rem;
    color: var(--color-brown-900);
    flex-shrink: 0;
    margin-top: 2px;
}

.pd-delivery-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-brown-900);
    margin: 0 0 4px;
}

.pd-delivery-sub {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0 0 2px;
}

.pd-delivery-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-brown-900);
    text-decoration: none;
    transition: color .15s;
}

.pd-delivery-check:hover {
    color: var(--color-accent);
}

.pd-delivery-check i {
    font-size: 0.75rem;
}

/* ── Specifications section ─────────────────────────────────────────────── */
.pd-specs-section {
    background: var(--bg-light);
    padding: 80px 48px;
}

.pd-specs-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 560px;
    gap: 80px;
    align-items: start;
}

.pd-specs-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 400;
    color: var(--color-brown-900);
    margin: 0 0 40px;
}

/* Accordion items */
.pd-spec-item {
    border-bottom: 1px solid #d9d0c4;
}

.pd-spec-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-brown-900);
    text-align: left;
}

.pd-spec-icon {
    font-size: 1.1rem;
    color: var(--color-accent);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.pd-spec-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--color-muted);
    transition: transform .2s;
}

.pd-spec-item:not(.open) .pd-spec-arrow {
    transform: rotate(180deg);
}

.pd-spec-body {
    overflow: hidden;
    max-height: 500px;
    transition: max-height .3s ease, padding .3s ease;
    padding-bottom: 20px;
}

.pd-spec-item:not(.open) .pd-spec-body {
    max-height: 0;
    padding-bottom: 0;
}

.pd-spec-body p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
}

.pd-spec-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Right image */
.pd-specs-right img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    display: block;
}

@media (max-width: 1000px) {
    .pd-specs-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .pd-specs-right {
        max-width: 560px;
    }
}

@media (max-width: 560px) {
    .pd-specs-section {
        padding: 56px 24px;
    }
    .pd-spec-two-col {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Product Reviews
   ===================== */
.pd-reviews-section {
    background: #fff;
    padding: 80px 48px;
}

.pd-reviews-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

.pd-reviews-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 400;
    color: var(--color-brown-900);
    margin: 0 0 28px;
}

/* Rating overview */
.pd-rating-overview {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.pd-rating-score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-brown-900);
    line-height: 1;
}

.pd-rating-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-stars {
    display: flex;
    gap: 3px;
    color: var(--color-accent);
    font-size: 1rem;
}

.pd-rating-count {
    font-size: 0.88rem;
    color: var(--color-muted);
}

/* Bar chart */
.pd-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.pd-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.pd-bar-label {
    width: 44px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    color: var(--color-brown-900);
    font-size: 0.82rem;
}

.pd-bar-label .fa-star {
    color: var(--color-accent);
    font-size: 0.78rem;
}

.pd-bar-track {
    flex: 1;
    height: 8px;
    background: #ece8e0;
    border-radius: 99px;
    overflow: hidden;
}

.pd-bar-fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 99px;
}

.pd-bar-pct {
    width: 36px;
    text-align: right;
    font-size: 0.82rem;
}

/* Write review button */
.pd-write-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--color-brown-900);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s;
    width: 100%;
}

.pd-write-review-btn:hover {
    background: var(--color-brown-700);
}

/* Review cards */
.pd-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pd-review-card {
    border: 1px solid #ece8e0;
    border-radius: 16px;
    padding: 28px 32px;
    background: var(--bg-light);
}

.pd-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-review-verified {
    font-size: 0.82rem;
    color: #4a8a5a;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pd-review-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-brown-900);
    margin: 0 0 10px;
}

.pd-review-body {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

.pd-review-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.pd-review-author {
    font-weight: 600;
    color: var(--color-brown-900);
}

/* Responsive */
@media (max-width: 860px) {
    .pd-reviews-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .pd-reviews-section {
        padding: 56px 24px;
    }
}

@media (max-width: 560px) {
    .pd-reviews-section {
        padding: 48px 16px;
    }
    .pd-review-card {
        padding: 20px 20px;
    }
}

@media (max-width: 1100px) {
    .product-detail-layout {
        grid-template-columns: 80px 1fr 380px;
    }
}

@media (max-width: 860px) {
    .product-detail-section {
        padding: 32px 24px 72px;
    }
    .product-detail-layout {
        grid-template-columns: 72px 1fr;
        grid-template-rows: auto auto;
    }
    .pd-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .pd-thumbnails {
        flex-direction: row;
        overflow-x: auto;
    }
    .pd-thumb {
        width: 72px;
        flex-shrink: 0;
    }
    .pd-qty-row {
        flex-wrap: wrap;
    }
}

/* ════════════════════════════════════════
   FAQ — Frequently Asked Questions page
   ════════════════════════════════════════ */

.faq-section {
    background: var(--bg-light);
    padding: 80px 48px 100px;
}

.faq-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.faq-group {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}

.faq-group-label h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--color-brown-900);
    margin: 0 0 12px;
}

.faq-group-label p {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.6;
}

/* FAQ accordion */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #d9d0c4;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-brown-900);
    text-align: left;
    cursor: pointer;
    gap: 16px;
}

.faq-item.open .faq-header {
    color: var(--color-accent);
    font-weight: 500;
}

.faq-arrow {
    font-size: 0.75rem;
    color: var(--color-muted);
    flex-shrink: 0;
    transition: transform .2s;
}

.faq-item:not(.open) .faq-arrow {
    transform: rotate(180deg);
}

.faq-body {
    overflow: hidden;
    max-height: 400px;
    transition: max-height .3s ease, padding .3s ease;
    padding-bottom: 20px;
}

.faq-item:not(.open) .faq-body {
    max-height: 0;
    padding-bottom: 0;
}

.faq-body p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.75;
    margin: 0;
}

.faq-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

@media (max-width: 860px) {
    .faq-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .faq-section {
        padding: 56px 24px 72px;
    }
    .faq-inner {
        gap: 48px;
    }
}

/* ════════════════════════════════════════
   POLÍTICA — Privacy / Terms pages
   ════════════════════════════════════════ */

.policy-section {
    background: var(--bg-light);
    padding: 80px 48px 100px;
}

.policy-inner {
    max-width: 760px;
    margin: 0 auto;
}

.policy-main-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 400;
    color: var(--color-brown-900);
    text-align: center;
    margin: 0 0 48px;
}

.policy-intro {
    margin-bottom: 48px;
}

.policy-intro p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.8;
    margin: 0 0 16px;
}

.policy-block {
    margin-bottom: 48px;
}

.policy-block h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--color-brown-900);
    margin: 0 0 20px;
}

.policy-block p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.8;
    margin: 0 0 14px;
}

.policy-list {
    list-style: disc;
    padding-left: 24px;
    margin: 0 0 14px;
}

.policy-list li {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: 6px;
}

.policy-list a {
    color: var(--color-accent);
    text-decoration: underline;
}

.policy-updated {
    font-size: 0.82rem;
    color: var(--color-muted);
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #d9d0c4;
}

@media (max-width: 600px) {
    .policy-section {
        padding: 56px 24px 72px;
    }
}

/* ════════════════════════════════════════
   CARRITO — Cart page
   ════════════════════════════════════════ */

.cart-section {
    background: var(--bg-light);
    padding: 56px 48px 96px;
    min-height: 60vh;
}

.cart-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

/* Table header */
.cart-table-head {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    padding: 0 0 12px;
    border-bottom: 1px solid #d9d0c4;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--color-muted);
}

/* Cart item */
.cart-item {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #e8e2d8;
    background: #fff;
    border-radius: 10px;
    margin-top: 16px;
    padding: 24px;
}

.cart-item-product {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cart-item-img-wrap {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e0d8cc;
    background: #f7f5ef;
}

.cart-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-brown-900);
    margin: 0;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0;
}

.cart-item-qty {
    display: flex;
    justify-content: center;
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item-total span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-brown-900);
}

.cart-remove {
    background: none;
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--color-brown-900);
    cursor: pointer;
    padding: 0;
    transition: color .15s;
    text-decoration: underline;
}

.cart-remove:hover {
    color: var(--color-accent);
}

/* Upsell carousel */
.cart-upsell {
    margin-top: 40px;
}

.cart-upsell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-upsell-title {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
}

.cart-upsell-nav {
    display: flex;
    gap: 8px;
}

.cart-upsell-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--color-brown-900);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}

.cart-upsell-btn:hover {
    color: var(--color-accent);
}

.cart-upsell-track-wrap {
    overflow: hidden;
}

.cart-upsell-track {
    display: flex;
    gap: 16px;
    transition: transform .3s ease;
}

.cart-upsell-card {
    flex: 0 0 calc(33.333% - 11px);
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e2d8;
    padding: 14px 16px;
}

.cart-upsell-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-upsell-info {
    flex: 1;
}

.cart-upsell-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-brown-900);
    margin: 0 0 4px;
}

.cart-upsell-price {
    font-size: 0.82rem;
    color: var(--color-muted);
    margin: 0;
}

.cart-upsell-add {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}

.cart-upsell-add:hover {
    background: var(--color-brown-900);
}

/* Summary sidebar */
.cart-summary {
    background: #fff;
    border: 1px solid #e0d8cc;
    border-radius: 12px;
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: calc(var(--topbar-height) + var(--header-height) + 24px);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--color-brown-900);
    padding: 12px 0;
}

.cart-summary-discount {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.cart-summary-discount i {
    font-size: 0.8rem;
    margin-right: 4px;
}

.cart-summary-total {
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-summary-divider {
    border: none;
    border-top: 1px solid #e0d8cc;
    margin: 4px 0;
}

.cart-summary-note {
    font-size: 0.82rem;
    color: var(--color-muted);
    margin: 8px 0 0;
    line-height: 1.5;
}

.cart-summary-note a {
    color: var(--color-muted);
    font-weight: 600;
    text-decoration: underline;
}

.cart-note-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
}

.cart-note-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-brown-900);
}

.cart-note-textarea {
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--color-brown-900);
    resize: vertical;
    outline: none;
    transition: border-color .15s;
}

.cart-note-textarea:focus {
    border-color: var(--color-accent);
}

.cart-checkout-btn {
    margin-top: 8px;
    width: 100%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    height: 52px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .18s, transform .12s;
}

.cart-checkout-btn:hover {
    background: var(--color-brown-900);
    transform: translateY(-1px);
}

@media (max-width: 1000px) {
    .cart-inner {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
}

@media (max-width: 700px) {
    .cart-section {
        padding: 40px 20px 72px;
    }
    .cart-table-head {
        display: none;
    }
    .cart-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cart-item-total {
        align-items: flex-start;
    }
    .cart-upsell-card {
        flex: 0 0 calc(80% - 8px);
    }
}

/* ════════════════════════════════════════
   CONTACTO — Form section
   ════════════════════════════════════════ */

.contact-section {
    background: var(--bg-light);
    padding: 72px 48px 96px;
}

.contact-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 420px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-form-side {
    padding: 56px 52px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-form-side h2 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 500;
    color: var(--color-brown-900);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    font-size: 0.9rem;
    color: var(--color-brown-900);
    font-weight: 400;
}

.contact-field .required {
    color: var(--color-accent);
}

.contact-field input,
.contact-field textarea {
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--color-brown-900);
    background: #fff;
    outline: none;
    transition: border-color .18s;
    resize: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(122,106,74,0.5);
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--color-accent);
}

.contact-submit {
    width: 100%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    font-family: inherit;
    transition: background .18s, transform .12s;
}

.contact-submit:hover {
    background: var(--color-brown-700);
    transform: translateY(-1px);
}

.contact-image-side {
    position: relative;
    overflow: hidden;
}

.contact-image-side img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
    .contact-image-side {
        height: 280px;
        position: relative;
    }
    .contact-image-side img {
        position: absolute;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 48px 20px 72px;
    }
    .contact-form-side {
        padding: 36px 28px;
    }
    .contact-row {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════
   BLOGS — Listing section
   ════════════════════════════════════════ */

.blogs-listing {
    background: var(--bg-light);
    padding: 72px 48px 96px;
}

.blogs-listing-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
}

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

.blogs-card {
    display: flex;
    flex-direction: column;
}

.blogs-card-media {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 18px;
}

.blogs-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .38s ease;
}

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

.blogs-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blogs-card-date {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.blogs-card-body h3 {
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--color-brown-900);
    line-height: 1.35;
    margin: 0;
}

.blogs-card-body h3 a {
    text-decoration: none;
    color: inherit;
    transition: color .15s;
}

.blogs-card-body h3 a:hover {
    color: var(--color-accent);
}

.blogs-card-body p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .blogs-listing {
        padding: 48px 24px 72px;
    }
    .blogs-grid {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════
   NOSOTROS — Blog Inspiration section
   ════════════════════════════════════════ */

.blog-inspiration {
    background: var(--bg-light);
    padding: 80px 48px;
}

.blog-inspiration-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.blog-inspiration-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.blog-inspiration-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--color-brown-900);
}

.see-all-blogs {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--color-brown-900);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}

.see-all-blogs:hover {
    color: var(--color-accent);
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    background: transparent;
}

.blog-card-media {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 20px;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .38s ease;
    display: block;
}

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

.blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-brown-900);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card-body h3 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-brown-900);
    line-height: 1.35;
}

.blog-card-body h3 a {
    text-decoration: none;
    color: inherit;
    transition: color .15s;
}

.blog-card-body h3 a:hover {
    color: var(--color-accent);
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0;
}

.blog-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-brown-900);
    text-decoration: none;
    margin-top: 4px;
    transition: color .15s;
}

.blog-read-more:hover {
    color: var(--color-accent);
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .blog-inspiration {
        padding: 56px 24px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-inspiration-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* ════════════════════════════════════════
   NOSOTROS — Vision & Mission section
   ════════════════════════════════════════ */

.vision-mission {
    background: var(--bg-light);
    padding: 72px 48px;
}

.vision-mission-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.vm-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.vm-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.vm-card:hover img {
    transform: scale(1.04);
}

.vm-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
    z-index: 1;
}

.vm-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 32px 36px;
    color: #fff;
}

.vm-card-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.vm-card-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    margin: 0;
    max-width: 480px;
}

@media (max-width: 768px) {
    .vision-mission {
        padding: 0 24px 56px;
    }
    .vision-mission-inner {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════
   NOSOTROS — Features section
   ════════════════════════════════════════ */

.features-section {
    background: #fff;
    padding: 72px 48px;
}

.features-grid {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 40px;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    line-height: 1;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-brown-900);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    .feature-item:nth-child(odd) {
        border-right: 1px solid rgba(0,0,0,0.08);
    }
    .feature-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 48px 24px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    .feature-item:last-child {
        border-bottom: none;
    }
}

/* ════════════════════════════════════════
   NOSOTROS — Our Story section
   ════════════════════════════════════════ */

.our-story {
    background: var(--bg-light);
    padding: 80px 48px;
}

.our-story-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.our-story-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--color-brown-900);
    line-height: 1.15;
}

.our-story-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.our-story-columns p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--color-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .our-story-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .our-story-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .our-story {
        padding: 48px 24px;
    }
}

/* ════════════════════════════════════════
   CATALOG PAGE
   ════════════════════════════════════════ */

.catalog-section {
    background: var(--bg-light);
    padding: 56px 48px 80px;
}

.catalog-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: var(--site-max-width);
    margin: 0 auto;
    align-items: start;
}

/* ── Sidebar ── */
.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-brown-900);
    transition: color .15s;
}

.filter-header:hover {
    color: var(--color-accent);
}

.filter-header i {
    font-size: 0.78rem;
    color: var(--color-muted);
    transition: transform .22s ease;
}

.filter-header.collapsed i {
    transform: rotate(0deg);
}

.filter-body {
    padding: 8px 20px 24px;
}

.filter-body.hidden {
    display: none;
}

/* Toggle switch */
.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-track {
    position: absolute;
    inset: 0;
    background: #ddd;
    border-radius: 999px;
    transition: background .22s;
}

.toggle-track::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .22s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.toggle-switch input:checked + .toggle-track {
    background: var(--color-accent);
}

.toggle-switch input:checked + .toggle-track::after {
    transform: translateX(20px);
}

.toggle-text {
    font-size: 0.95rem;
    color: var(--color-brown-900);
}

/* Price filter */
.price-note {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0 0 14px;
}

.price-range-wrap {
    position: relative;
    height: 24px;
    margin-bottom: 14px;
}

.price-range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #e0d8cc;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.price-range-fill {
    position: absolute;
    height: 100%;
    background: var(--color-accent);
    border-radius: 999px;
}

.price-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin: 0;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.price-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    pointer-events: all;
    cursor: pointer;
}

.price-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    pointer-events: all;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.price-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    flex: 1;
}

.price-currency {
    padding: 0 8px;
    font-size: 0.9rem;
    color: var(--color-muted);
    border-right: 1px solid #e0d8cc;
}

.price-input-group input {
    border: none;
    outline: none;
    padding: 8px 10px;
    font-size: 0.9rem;
    color: var(--color-brown-900);
    font-family: inherit;
    width: 100%;
    background: transparent;
}

/* Color swatches */
.color-swatches {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.swatch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-brown-900);
    user-select: none;
}

.swatch-row:hover span {
    color: var(--color-accent);
}

.swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    padding: 0;
    flex-shrink: 0;
}

.swatch[data-light="true"] {
    border-color: #ccc;
}

.swatch:hover,
.swatch.active {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--color-accent);
}

/* Category list */
.filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-brown-900);
    cursor: pointer;
}

.filter-list input[type="checkbox"] {
    accent-color: var(--color-accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ── Toolbar ── */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    flex-wrap: wrap;
    gap: 12px;
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toolbar-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-brown-900);
}

.view-btn {
    background: none;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-muted);
    font-size: 1rem;
    transition: background .15s, color .15s, border-color .15s;
}

.view-btn.active,
.view-btn:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.product-count {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-left: 4px;
}

.sort-select {
    appearance: none;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    padding: 8px 36px 8px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--color-brown-900);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a6a4a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    outline: none;
    transition: border-color .15s;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--color-accent);
}

/* ── Product Grid ── */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.catalog-grid.list-view {
    grid-template-columns: 1fr;
}

.catalog-grid.list-view .catalog-card {
    flex-direction: row;
    align-items: center;
}

.catalog-grid.list-view .catalog-card-media {
    width: 180px;
    flex-shrink: 0;
}

/* ── Catalog Card ── */
.catalog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .18s;
}

.catalog-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
    transform: translateY(-4px);
}

.catalog-card-media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f2ede6;
}

.catalog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .38s ease;
    display: block;
}

.catalog-card:hover .catalog-card-media img {
    transform: scale(1.06);
}

.catalog-card-info {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.catalog-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-brown-900);
    text-decoration: none;
    line-height: 1.3;
}

.catalog-card-title:hover {
    color: var(--color-accent);
}

.catalog-card-price {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--color-brown-700);
}

.compare-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-muted);
    cursor: pointer;
    margin-top: 4px;
}

.compare-check input[type="checkbox"] {
    accent-color: var(--color-accent);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* Sold out badge */
.sold-out-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-brown-900);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
}

/* Promo banner card */
.catalog-promo-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    cursor: default;
}

.catalog-promo-card:hover {
    transform: none;
}

.catalog-promo-card .promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.promo-content {
    position: relative;
    z-index: 2;
    padding: 28px 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.promo-content h3 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.promo-content p {
    font-size: 0.92rem;
    opacity: 0.88;
    margin: 0 0 18px;
    line-height: 1.5;
}

.promo-cta {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .15s;
}

.promo-cta:hover {
    opacity: 0.8;
}

/* ── Catalog responsive ── */
@media (max-width: 1100px) {
    .catalog-container {
        grid-template-columns: 240px 1fr;
        gap: 28px;
    }
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-section {
        padding: 32px 20px 60px;
    }
    .catalog-container {
        grid-template-columns: 1fr;
    }
    .catalog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .catalog-sidebar {
        grid-template-columns: 1fr;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
.page-hero {
    position: relative;
    width: 100%;
    height: min(68vh, 680px);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.72);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.38) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 48px 56px;
    color: #fff;
    text-align: center;
}

.page-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 500;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.30);
    margin-top: 12px;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    margin: 12px 0 0;
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
}

.breadcrumb a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    transition: color .15s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb-sep {
    font-size: 0.72rem;
    opacity: 0.7;
}

.breadcrumb-current {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .page-hero {
        height: min(56vh, 480px);
    }
    .page-hero-content {
        padding: 0 24px 40px;
    }
}

@media (max-width: 420px) {
    .page-hero {
        height: min(50vh, 380px);
    }
}