/* ═══════════════════════════════════════════════════════
   BREXÓ — site.css
   Layout principal (app.blade.php) + página home
═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
    --ground:     #FBF5EF;
    --surface:    #FFFFFF;
    --ink:        #4A3D31;
    --dark:       #5A4A3A;
    --muted:      #8A7B6B;
    --faint:      #B3A496;
    --line:       #E8DDD0;
    --pink:       #FF2768;
    --pink-deep:  #E0204F;
    --light-pink: #FFE8F0;
    --yellow:     #F4B400;
    --kraft:      #E7D9C9;
    --brown:      #5A4A3A;
    --serif: 'Baloo 2', cursive;
    --sans: 'Inter', -apple-system, sans-serif;
    --max-w: 1240px;
}

@media (min-width: 1500px) { :root { --max-w: 1360px; } }
@media (min-width: 1600px) { :root { --max-w: 80%; } }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
    font-family: var(--sans);
    background: var(--ground);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* ── TYPOGRAPHY ── */
.font-baloo { font-family: 'Baloo 2', cursive; }
.font-pacifico { font-family: 'Pacifico', cursive; }
.serif { font-family: var(--serif); }

.eyebrow {
    font-family: var(--sans);
    font-size: .72rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--pink);
}
.script { font-family: 'Pacifico', cursive; font-weight: 400; }

/* ── BUTTONS ── */
.btn-pink {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--pink); color: #fff; border: none;
    border-radius: 999px; padding: .72rem 1.6rem;
    font-family: var(--sans); font-weight: 600; font-size: .92rem;
    letter-spacing: .01em; cursor: pointer; text-decoration: none;
    transition: background .2s, transform .12s, box-shadow .2s;
}
.btn-pink:hover { background: var(--pink-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,39,104,.28); }

.btn-outline-pink {
    display: inline-flex; align-items: center; gap: .5rem;
    background: transparent; color: var(--ink);
    border: 1.5px solid var(--ink); border-radius: 999px;
    padding: .68rem 1.5rem; font-family: var(--sans); font-weight: 600;
    font-size: .9rem; cursor: pointer; text-decoration: none;
    transition: all .18s;
}
.btn-outline-pink:hover { background: var(--ink); color: var(--ground); }

/* ── TOP UTILITY BAR ── */
.topbar {
    background: var(--pink); color: #fff;
    text-align: center; font-size: .72rem; letter-spacing: .14em;
    text-transform: uppercase; padding: .5rem 1rem; font-weight: 500;
}
.topbar b { color: var(--yellow); font-weight: 600; }

/* ── HEADER ── */
.site-header {
    background: rgba(251,245,239,.88);
    backdrop-filter: saturate(140%) blur(10px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 1.75rem;
    display: flex; align-items: center; gap: 1.75rem; height: 78px;
}
.site-logo { flex-shrink: 0; text-decoration: none; display: flex; align-items: center; }
.site-logo img { height: 64px; width: auto; display: block; }
.logo-fallback {
    display: none; align-items: baseline; gap: .02em;
    font-family: 'Baloo 2', cursive; font-weight: 900; font-size: 1.95rem; line-height: 1;
}
.logo-fallback .pink { color: var(--pink); }
.logo-fallback .yellow { color: var(--yellow); }

/* Search */
.search-bar {
    flex: 1; max-width: 460px; display: none;
    background: var(--surface); border: 1.5px solid var(--line);
    border-radius: 999px; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(46,38,32,.06); }
@media (min-width: 820px) { .search-bar { display: flex; } }
.search-bar input {
    flex: 1; border: none; outline: none; background: transparent;
    padding: .62rem 1.15rem; font-family: var(--sans); font-size: .9rem; color: var(--ink);
}
.search-bar input::placeholder { color: var(--faint); }
.search-bar button {
    background: var(--ink); color: var(--ground); border: none;
    padding: 0 1.05rem; margin: 4px; cursor: pointer; display: flex; align-items: center;
    border-radius: 999px; transition: background .2s;
}
.search-bar button:hover { background: var(--pink); }

.header-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.search-mobile { display: flex; }
@media (min-width: 820px) { .search-mobile { display: none !important; } }

.icon-btn {
    position: relative; width: 42px; height: 42px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink); text-decoration: none; background: none; border: none;
    cursor: pointer; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--light-pink); color: var(--pink); }
.cart-badge {
    position: absolute; top: 3px; right: 3px;
    background: var(--pink); color: #fff; font-size: .58rem; font-weight: 700;
    border-radius: 999px; min-width: 16px; height: 16px;
    display: flex; align-items: center; justify-content: center; border: 2px solid var(--ground);
}
.header-divider { width: 1px; height: 26px; background: var(--line); flex-shrink: 0; }

.btn-ghost {
    font-family: var(--sans); font-size: .88rem; font-weight: 600; color: var(--ink);
    background: none; border: none; cursor: pointer; text-decoration: none;
    padding: .5rem .85rem; border-radius: 999px; transition: color .15s; white-space: nowrap;
}
.btn-ghost:hover { color: var(--pink); }
.btn-header-register {
    font-family: var(--sans); font-weight: 600; font-size: .88rem;
    background: var(--ink); color: var(--ground); border: none; cursor: pointer;
    text-decoration: none; padding: .55rem 1.25rem; border-radius: 999px;
    transition: background .18s, transform .12s; white-space: nowrap;
}
.btn-header-register:hover { background: var(--pink); transform: translateY(-1px); }

/* User menu */
.user-menu { position: relative; }
.user-menu-btn {
    display: flex; align-items: center; gap: .5rem; background: none;
    border: 1.5px solid var(--line); cursor: pointer; font-family: var(--sans);
    padding: .3rem .65rem .3rem .4rem; border-radius: 999px; transition: border-color .15s;
}
.user-menu-btn:hover { border-color: var(--ink); }
.user-avatar {
    width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: var(--ground);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .76rem;
}
.user-name { font-size: .84rem; font-weight: 600; color: var(--ink); max-width: 96px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: none; }
@media (min-width: 900px) { .user-name { display: block; } }
.chevron-down { color: var(--faint); flex-shrink: 0; }
.user-dropdown {
    position: absolute; right: 0; top: calc(100% + 10px); width: 230px;
    background: var(--surface); border-radius: 1rem; box-shadow: 0 18px 50px rgba(46,38,32,.16);
    border: 1px solid var(--line); display: none; z-index: 300; overflow: hidden;
}
.user-menu:hover .user-dropdown, .user-menu:focus-within .user-dropdown { display: block; }
.user-dropdown-header { padding: 1rem 1.1rem .7rem; border-bottom: 1px solid var(--line); }
.user-dropdown-header strong { display: block; font-size: .88rem; color: var(--ink); }
.user-dropdown-header span { font-size: .75rem; color: var(--faint); }
.user-dropdown a, .user-dropdown button {
    display: flex; align-items: center; gap: .65rem; width: 100%; text-align: left;
    padding: .7rem 1.1rem; font-size: .86rem; text-decoration: none; color: var(--ink);
    background: none; border: none; cursor: pointer; font-family: var(--sans); transition: background .12s;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--ground); }
.user-dropdown .sep { border: none; border-top: 1px solid var(--line); margin: .2rem 0; }

/* ── SUBNAV ── */
.subnav { background: var(--ground); border-bottom: 1px solid var(--line); position: relative; }
.subnav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 1.75rem;
    display: flex; align-items: center; gap: 1.75rem; overflow-x: auto; scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-inner a {
    white-space: nowrap; padding: .75rem 0; font-size: .78rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none;
    border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s;
    flex-shrink: 0;
}
.subnav-inner a:hover { color: var(--ink); }
.subnav-inner a.active { color: var(--ink); border-color: var(--pink); }

/* ── SUBNAV MEGA-MENU ── */
.subnav-cat-mobile { display: none !important; }

.subnav-mega-btn {
    background: none; border: none; cursor: pointer;
    white-space: nowrap; padding: .75rem 0; font-size: .78rem; font-weight: 600;
    color: var(--ink); letter-spacing: .08em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: .3rem;
    font-family: var(--sans); border-bottom: 1.5px solid transparent;
    transition: color .2s; flex-shrink: 0;
}
.subnav-mega-btn:hover,
.subnav-mega-btn[aria-expanded="true"] { color: var(--pink); }
.subnav-mega-btn svg { transition: transform .22s; }
.subnav-mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega-menu {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 300;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 64px rgba(46,38,32,.1);
    opacity: 0; pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease;
}
.mega-menu.open {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.mega-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 1.75rem;
    display: grid; grid-template-columns: 1fr 200px; gap: 2rem;
}
.mega-body {}
.mega-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .35rem;
}
.mega-item {
    display: flex; align-items: center; gap: .65rem;
    padding: .65rem .85rem; border-radius: 10px;
    color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500;
    transition: background .15s, color .15s; white-space: nowrap;
}
.mega-item:hover, .mega-item.active { background: var(--ground); color: var(--pink); }
.mega-item-icon {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--light-pink); color: var(--pink);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mega-aside {
    border-left: 1px solid var(--line); padding-left: 1.75rem;
    display: flex; flex-direction: column;
}
.mega-aside-title {
    font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--faint); padding-bottom: .6rem; margin-bottom: .25rem;
}
.mega-aside a {
    display: flex; align-items: center; gap: .5rem;
    font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none;
    padding: .55rem 0; border-bottom: 1px solid var(--line);
    transition: color .15s;
}
.mega-aside a:hover { color: var(--pink); }
.mega-aside a:last-child { border-bottom: none; }

/* ── FLASH ── */
.flash-success, .flash-error { text-align: center; font-size: .875rem; padding: .75rem; }
.flash-success { background: #E7F6EC; color: #1F6B3A; }
.flash-error { background: #FBE7E7; color: #A12A2A; }

/* ── PRODUCT CARD ── */
.product-card { position: relative; display: flex; flex-direction: column; background: transparent; }
.product-card .thumb {
    position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 8px;
    background: var(--kraft); display: flex; align-items: center; justify-content: center;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .thumb .emoji-placeholder { font-size: 3rem; }
.product-card .badge-promo {
    position: absolute; top: .6rem; left: .6rem; background: var(--pink); color: #fff;
    font-size: .68rem; font-weight: 700; letter-spacing: .02em;
    padding: .25rem .55rem; border-radius: 4px;
}
.product-card .badge-sold {
    position: absolute; inset: 0; background: rgba(46,38,32,.45); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: .02em;
}
.product-card .info { padding: .7rem .15rem 0; display: flex; flex-direction: column; gap: .15rem; }
.product-card .store-name { font-size: .68rem; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.product-card .product-name {
    font-family: var(--sans); font-size: .92rem; font-weight: 500; color: var(--ink); line-height: 1.3;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-card a:hover .product-name { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.product-card .price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: .2rem; }
.product-card .price-current { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--ink); }
.product-card .price-old { font-size: .8rem; color: var(--faint); text-decoration: line-through; }
.btn-add-sacola {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: #2a9d4e; color: #fff; border: none; border-radius: 10px;
    padding: .85rem 1.5rem; font-family: var(--sans); font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: background .18s; white-space: nowrap;
}
.btn-add-sacola:hover { background: #218c42; }

.product-card .add-btn {
    margin-top: .6rem; padding: .5rem; border-radius: 6px; background: #2a9d4e;
    color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    font-family: var(--sans); border: 1.5px solid #2a9d4e; cursor: pointer;
    transition: background .18s, border-color .18s; text-align: center; width: 100%;
}
.product-card .add-btn:hover { background: #218c42; border-color: #218c42; }

/* ── SECTION ── */
.section { max-width: var(--max-w); margin: 0 auto; padding: 0 1.75rem; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.75rem; gap: 1rem; }
.section-title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.section-link { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--pink); padding-bottom: 2px; white-space: nowrap; }
.section-link:hover { color: var(--pink); }

/* ── GRIDS ── */
.grid-products { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media(min-width:640px)  { .grid-products { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:1024px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }
@media(min-width:1280px) { .grid-products { grid-template-columns: repeat(5, 1fr); } }

.grid-categories { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media(min-width:640px)  { .grid-categories { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:1024px) { .grid-categories { grid-template-columns: repeat(5, 1fr); } }

.grid-stores { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, 1fr); }
@media(min-width:640px) { .grid-stores { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:900px) { .grid-stores { grid-template-columns: repeat(3, 1fr); } }

/* ── PÁGINAS INTERNAS ── */
.page { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.75rem 4rem; }
.page-narrow { max-width: 1040px; margin: 0 auto; padding: 2.5rem 1.75rem 4rem; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .15s; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .sep { color: var(--faint); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.page-subtitle { font-size: .92rem; color: var(--muted); margin-top: .4rem; }
.page-count { font-family: var(--sans); font-size: .9rem; color: var(--faint); font-weight: 400; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; }
.card + .card { margin-top: 1.25rem; }
.card-title { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); margin-bottom: 1rem; }

.field { width: 100%; border: 1.5px solid var(--line); background: var(--surface); border-radius: 9px; padding: .68rem .95rem; font-family: var(--sans); font-size: .92rem; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.field:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(46,38,32,.06); }
select.field { cursor: pointer; }
.field-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); margin-bottom: .4rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { display: inline-block; padding: .45rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: .82rem; font-weight: 500; text-decoration: none; transition: all .15s; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--ground); }

.product-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media(min-width:900px) { .product-layout { grid-template-columns: 1.05fr .95fr; } }
.gallery-main { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--kraft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: .6rem; margin-top: .9rem; }
.gallery-thumbs button { aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--line); background: var(--kraft); cursor: pointer; padding: 0; }
.gallery-thumbs button:hover { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-store { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.pd-store:hover { color: var(--pink); }
.pd-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--ink); line-height: 1.12; letter-spacing: -.01em; margin: .6rem 0; }
.pd-rating { color: var(--yellow); font-size: .95rem; }
.pd-price-old { font-size: 1.05rem; color: var(--faint); text-decoration: line-through; }
.pd-price { font-family: var(--sans); font-weight: 700; font-size: 2.1rem; color: var(--ink); line-height: 1; }
.pd-offtag { display: inline-block; background: var(--pink); color: #fff; font-size: .78rem; font-weight: 700; padding: .28rem .7rem; border-radius: 5px; margin-top: .5rem; letter-spacing: .02em; }
.pd-stock-ok { color: #2F8A4B; font-size: .86rem; font-weight: 600; }
.pd-stock-no { color: #C0392B; font-size: .86rem; font-weight: 600; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button { width: 40px; height: 46px; border: none; background: var(--surface); color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: background .15s; }
.qty button:hover { background: var(--ground); }
.qty input { width: 48px; height: 46px; border: none; text-align: center; font-weight: 700; font-size: .95rem; outline: none; background: var(--surface); }

.sum-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); padding: .4rem 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .85rem; font-weight: 700; font-size: 1.15rem; color: var(--ink); font-family: var(--serif); }
.sum-row.discount { color: #2F8A4B; }
.sum-total-val { color: var(--ink); font-family: var(--sans); font-weight: 700; }

.empty-state { text-align: center; padding: 4.5rem 1.5rem; }
.empty-state .emoji { font-size: 3rem; margin-bottom: 1rem; opacity: .8; }
.empty-state h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-bottom: .5rem; }
.empty-state p { color: var(--muted); margin-bottom: 1.5rem; }

.review { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: none; }
.review-head { display: flex; align-items: center; gap: .75rem; }
.review-avatar { width: 38px; height: 38px; border-radius: 999px; background: var(--kraft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .88rem; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: .9rem; color: var(--ink); }
.review-stars { color: var(--yellow); font-size: .82rem; }
.review-date { margin-left: auto; font-size: .76rem; color: var(--faint); }
.review-comment { font-size: .9rem; color: var(--muted); margin-top: .5rem; margin-left: 3rem; line-height: 1.6; }

.store-banner { height: 240px; overflow: hidden; background: linear-gradient(120deg, var(--kraft), #d9c3ae); display: flex; align-items: center; justify-content: center; }
.store-banner img { width: 100%; height: 100%; object-fit: cover; }
.store-banner .ph { font-size: 3.5rem; opacity: .6; }
.store-avatar { width: 96px; height: 96px; border-radius: 16px; border: 5px solid var(--ground); background: var(--kraft); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: var(--ink); box-shadow: 0 6px 20px rgba(46,38,32,.14); flex-shrink: 0; overflow: hidden; }
.store-avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-meta { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--muted); }

.grid-storecards { display: grid; gap: 1.5rem; grid-template-columns: repeat(1,1fr); }
@media(min-width:560px) { .grid-storecards { grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px) { .grid-storecards { grid-template-columns: repeat(3,1fr); } }
@media(min-width:1200px){ .grid-storecards { grid-template-columns: repeat(4,1fr); } }
.storecard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; transition: box-shadow .25s, transform .18s; display: block; }
.storecard:hover { box-shadow: 0 16px 38px rgba(46,38,32,.12); transform: translateY(-4px); }
.storecard .cover { height: 110px; background: linear-gradient(120deg, var(--kraft), #d9c3ae); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.storecard .cover img { width: 100%; height: 100%; object-fit: cover; }
.storecard .cover .ph { font-size: 2rem; opacity: .6; }
.storecard .avatar { position: absolute; bottom: -24px; left: 1.1rem; width: 52px; height: 52px; border-radius: 12px; border: 3px solid var(--surface); background: var(--surface); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; color: var(--ink); box-shadow: 0 3px 10px rgba(46,38,32,.14); }
.storecard .body { padding: 2rem 1.1rem 1.1rem; }
.storecard .name { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.storecard .loc { font-size: .78rem; color: var(--faint); margin-top: .15rem; }
.storecard .cnt { font-size: .76rem; color: var(--pink); font-weight: 600; letter-spacing: .04em; margin-top: .5rem; text-transform: uppercase; }

.grid-listing { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(2,1fr); }
@media(min-width:560px) { .grid-listing { grid-template-columns: repeat(3,1fr); } }
@media(min-width:900px) { .grid-listing { grid-template-columns: repeat(4,1fr); } }
@media(min-width:1200px){ .grid-listing { grid-template-columns: repeat(5,1fr); } }

.order-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.order-row:last-child { border-bottom: none; }
.badge-status { display: inline-block; padding: .28rem .75rem; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; }
.st-pending  { background: #FBEFD2; color: #8A6400; }
.st-paid     { background: #DCF3E2; color: #1F6B3A; }
.st-shipped  { background: #DCEAFB; color: #1B5FA8; }
.st-delivered{ background: #DFF6EE; color: #0A8A66; }
.st-cancelled{ background: #FBE0E0; color: #B02A2A; }

.social-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; text-decoration: none; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); transition: all .15s; color: var(--ink); }
.social-link:hover { border-color: var(--ink); }

.auth-wrap { min-height: calc(100vh - 78px); display: flex; align-items: center; justify-content: center; padding: 3rem 1.25rem; background: radial-gradient(120% 90% at 80% 0%, var(--light-pink) 0%, var(--ground) 55%); }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(46,38,32,.12); padding: 2.5rem; }
.auth-title { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--ink); text-align: center; }
.auth-sub { text-align: center; color: var(--muted); font-size: .9rem; margin: .35rem 0 1.75rem; }
.auth-field { margin-bottom: 1.1rem; }
.auth-error { background: #FBE0E0; color: #B02A2A; font-size: .82rem; padding: .65rem .95rem; border-radius: 8px; margin-bottom: 1rem; }
.auth-foot { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 1.5rem; }
.auth-foot a { color: var(--pink); font-weight: 600; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }
.btn-block { display: flex; width: 100%; justify-content: center; padding: .85rem; font-size: .98rem; }

.page nav[role="navigation"], .page-narrow nav[role="navigation"] { margin-top: 2.5rem; }
.page nav svg, .page-narrow nav svg { width: 1rem; height: 1rem; }

/* ── FOOTER ── */
.site-footer { background: var(--pink); color: rgba(255,255,255,.85); margin-top: 5rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 4rem 1.75rem 3rem; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.footer-brand img { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand .logo-text-fallback { font-family: 'Baloo 2', cursive; font-weight: 900; font-size: 2rem; line-height: 1; color: #fff; }
.footer-slogan { font-family: 'Pacifico', cursive; font-size: 1rem; color: var(--yellow); margin-top: .5rem; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: .9rem; line-height: 1.7; max-width: 260px; }
.footer-badge { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .4rem .9rem; font-size: .82rem; color: #fff; margin-top: 1rem; }
.footer-col h4 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,.8); text-decoration: none; font-size: .93rem; margin-bottom: .6rem; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: rgba(255,255,255,.75); font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding: 1.25rem 1.75rem; font-size: .82rem; color: rgba(255,255,255,.65); display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; align-items: center; }
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .18s; }
.footer-bottom a:hover { color: #fff; }

/* ── COOKIE CONSENT ── */
#cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 24px rgba(46,38,32,.1); padding: 1rem 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
#cookie-bar p { font-size: .88rem; color: var(--ink); line-height: 1.5; max-width: 640px; }
#cookie-bar a { color: var(--pink); text-decoration: underline; }
#cookie-bar-btns { display: flex; gap: .6rem; flex-shrink: 0; }
#cookie-accept { background: var(--pink); color: #fff; border: none; border-radius: 999px; padding: .55rem 1.4rem; font-size: .88rem; font-weight: 600; cursor: pointer; font-family: var(--sans); }
#cookie-decline { background: none; color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; font-size: .88rem; font-weight: 500; cursor: pointer; font-family: var(--sans); }

/* ── HAMBURGER ── */
/* desktop: esconde hamburger */
.hamburger-btn { display: none; }

@media (max-width: 819px) {
    /* mobile: mostra hamburguer, esconde auth */
    .hamburger-btn { display: flex; }
    .header-auth-divider { display: none !important; }
    .btn-ghost { display: none !important; }
    .btn-header-register { display: none !important; }
    /* user-menu no mobile: só avatar, sem nome e sem chevron */
    .user-name { display: none !important; }
    .chevron-down { display: none !important; }
    /* subnav oculto no mobile — o drawer hamburguer já cobre a navegação */
    .subnav { display: none; }
}

/* ── MOBILE DRAWER ── */
#site-drawer-overlay {
    position: fixed; inset: 0; z-index: 399;
    background: rgba(46,38,32,.52);
    opacity: 0; pointer-events: none;
    transition: opacity .28s ease;
    backdrop-filter: blur(2px);
}
#site-drawer-overlay.open { opacity: 1; pointer-events: auto; }

#site-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 400;
    width: min(85vw, 320px);
    background: var(--surface);
    display: flex; flex-direction: column;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 8px 0 40px rgba(46,38,32,.15);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
#site-drawer.open { transform: translateX(0); }

.site-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1rem 1rem 1.25rem;
    border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.site-drawer-logo img { height: 34px; width: auto; }
.site-drawer-logo-text { font-family: var(--serif); font-weight: 900; font-size: 1.4rem; }
#site-drawer-close {
    width: 36px; height: 36px; border-radius: 999px; border: none;
    background: var(--ground); color: var(--ink);
    display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}

.site-drawer-user {
    display: flex; align-items: center; gap: .75rem;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.site-drawer-avatar {
    width: 40px; height: 40px; border-radius: 999px;
    background: var(--ink); color: var(--ground);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .82rem; flex-shrink: 0;
}
.site-drawer-user-name { font-weight: 600; font-size: .9rem; color: var(--ink); }
.site-drawer-user-link { font-size: .78rem; color: var(--pink); text-decoration: none; }

.site-drawer-auth {
    display: flex; gap: .6rem; padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.site-drawer-btn-primary {
    flex: 1; text-align: center; background: var(--pink); color: #fff;
    border-radius: 999px; padding: .6rem; font-weight: 600; font-size: .88rem;
    text-decoration: none;
}
.site-drawer-btn-secondary {
    flex: 1; text-align: center; background: var(--ground); color: var(--ink);
    border-radius: 999px; padding: .6rem; font-weight: 600; font-size: .88rem;
    text-decoration: none; border: 1.5px solid var(--line);
}

.site-drawer-nav { flex: 1; padding: .75rem 0; }
.site-drawer-label {
    display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--faint); padding: .5rem 1.25rem .25rem;
}
.site-drawer-item {
    display: flex; align-items: center; gap: .75rem;
    padding: .72rem 1.25rem; font-size: .92rem; color: var(--ink);
    text-decoration: none; transition: background .12s, color .12s;
    border-left: 2.5px solid transparent;
}
.site-drawer-item:hover { background: var(--ground); color: var(--ink); }
.site-drawer-item.active { color: var(--pink); border-left-color: var(--pink); background: var(--light-pink); }
.site-drawer-cat { font-size: .86rem; padding-top: .55rem; padding-bottom: .55rem; }

.site-drawer-logout {
    padding: .5rem 1rem 0;
    flex-shrink: 0;
}
.site-drawer-logout-btn {
    display: flex; align-items: center; gap: .5rem;
    width: 100%; padding: .65rem 1rem;
    background: none; border: 1px solid var(--line);
    border-radius: 8px; color: var(--muted);
    font-family: var(--sans); font-size: .88rem; font-weight: 500;
    cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s;
}
.site-drawer-logout-btn:hover { color: var(--pink); border-color: var(--pink); }

.site-drawer-footer {
    padding: .75rem 1.25rem 1rem;
    border-top: 1px solid var(--line);
    display: flex; gap: .5rem; align-items: center;
    font-size: .76rem; color: var(--faint); flex-shrink: 0;
    margin-top: auto;
}
.site-drawer-footer a { color: var(--faint); text-decoration: none; }
.site-drawer-footer a:hover { color: var(--pink); }

/* ── BACK TO TOP ── */
#back-to-top { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200; width: 46px; height: 46px; border-radius: 999px; background: var(--pink); color: #fff; border: 2px solid #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(255,39,104,.35); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; pointer-events: none; }
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: var(--pink-deep); box-shadow: 0 10px 28px rgba(255,39,104,.45); }

/* ═══════════════════════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════════════════════ */

.block { padding-top: 4rem; }
.block:first-of-type { padding-top: 3rem; }

/* HERO FULL-BLEED */
.hero-full {
    position: relative;
    height: 57vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
    background: #2a1e14;
}
.hero-full-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 25%;
    transition: transform 12s ease;
}
.hero-full:hover .hero-full-bg { transform: scale(1.04); }
.hero-full::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        170deg,
        rgba(30,20,12,.08)  0%,
        rgba(30,20,12,.48) 40%,
        rgba(30,20,12,.86) 100%
    );
}
.hero-full-inner {
    position: relative; z-index: 2;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 3rem;
    text-align: left;
}
.hero-eyebrow {
    display: inline-block;
    font-family: var(--sans); font-size: .74rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px; padding: .3rem .9rem;
}
.hero-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.06; letter-spacing: -.02em; color: #fff; margin-top: .6rem; }
.hero-title em { font-style: normal; color: var(--yellow); }
.hero-sub { font-size: .98rem; color: rgba(255,255,255,.75); line-height: 1.6; max-width: 500px; margin-top: .9rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-hero-outline {
    display: inline-flex; align-items: center;
    border: 1.5px solid rgba(255,255,255,.5); color: #fff;
    border-radius: 999px; padding: .75rem 1.5rem;
    font-weight: 600; font-size: .92rem; text-decoration: none;
    transition: background .2s, border-color .2s;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,.08);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); }
@media(max-width:640px) {
    .hero-full { min-height: 70vh; }
    .hero-full-inner { padding-top: 1.5rem; padding-bottom: 2rem; max-width: 100%; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* MARQUEE */
.marquee { background: var(--pink); color: #fff; overflow: hidden; padding: .85rem 0; }
.marquee-track { display: inline-flex; align-items: center; gap: 1.5rem; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--sans); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; }
.marquee-track .star { color: var(--yellow); font-size: .7rem; letter-spacing: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CATEGORY CARDS */
.cat-card { display: block; text-decoration: none; }
.cat-img { aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--kraft); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-name { display: block; margin-top: .7rem; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); text-align: center; }
.cat-card:hover .cat-name { color: var(--pink); }

/* VALUES */
.values { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 4rem; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
@media(min-width:560px){ .values-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1000px){ .values-grid { grid-template-columns: repeat(4,1fr); } }
.value svg { color: var(--pink); }
.value h3 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--ink); margin: .8rem 0 .4rem; }
.value p { font-size: .88rem; color: var(--muted); line-height: 1.6; max-width: 230px; }

/* SELLER CTA */
.seller-cta { margin-top: 4rem; }
.seller-cta-inner { background: var(--light-pink); border: 1px solid rgba(255,39,104,.18); border-radius: 20px; padding: 3rem 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.seller-cta-inner h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem,3.5vw,2.3rem); color: var(--ink); margin: .5rem 0; line-height: 1.1; }
.seller-cta-inner p { color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 480px; }
