/* HEADER PADRÃO — sem breakpoints */

/* Reset e base */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111;
    background: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* Grid do header: logo | busca (flex) | nav | ícones */
.header__inner {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    min-height: 64px;
}

/* Logo (apenas img) */
.header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 5px;
}

.header__logo .logo-img {
    display: block;
    /* sempre visível */
    height: 78px;
    /* ajuste conforme sua arte */
    width: auto;
}

/* Busca (com gap lateral) */
.header__search {
    display: flex;
    margin-inline: clamp(16px, 3vw, 32px);
    /* espaço à esquerda e à direita do input */
}

.header__search input[type="search"] {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #f4f4f4;
    padding: 0 14px;
    /* respiro interno do input */
    outline: none;
}

.header__search input[type="search"]::placeholder {
    color: #9b9b9b;
}

.header__search input[type="search"]:focus {
    background: #f8f8f8;
    box-shadow: 0 0 0 2px #e5e5e5;
}

/* Nav */
.header__nav ul {
    display: flex;
    gap: 22px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__nav a {
    text-decoration: none;
    color: #6b6b6b;
    font-size: 14px;
    transition: color .18s ease, transform .18s ease;
}

.header__nav a[aria-current="page"] {
    color: #111;
    font-weight: 600;
}

.header__nav a:hover {
    color: #111;
    transform: translateY(-1px);
}

/* Ícones */
.header__icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    text-decoration: none;
    color: #111;
    transition: transform .15s ease, background-color .15s ease;
}

.icon-btn:hover {
    transform: scale(1.05);
    background: #f6f6f6;
}


/* ====== CATALOG / LISTA ====== */
.catalog {
    padding: 28px 0 56px;
    background: #fff;
    color: #111;
}

/* Abas */
.tabs {
    display: flex;
    gap: 18px;
    margin: 8px 0 20px;
}

.tab {
    appearance: none;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #111;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}

.tab:hover {
    transform: translateY(-1px);
    background: #f6f6f6;
}

.tab.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Grid de produtos (4 colunas) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Card */
.card {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px 14px 16px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

/* Favoritar */
.wish {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: #8a8a8a;
    background: #fff;
    border: 1px solid #eee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .12s, color .12s, background .12s;
}

.wish:hover {
    transform: scale(1.05);
    color: #111;
    background: #f6f6f6;
}

.wish--active {
    color: #e53935;
}

/* Imagem (placeholder via <img src="">) */
.media {
    height: 160px;
    border-radius: 10px;
    background: #f4f4f4;
    /* área de placeholder visível */
    border: 1px solid #eee;
    margin-bottom: 12px;
    overflow: hidden;
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* não distorce a foto */
    user-select: none;
    pointer-events: none;
}

/* Textos e preço */
.title {
    font-size: 14px;
    font-weight: 600;
    margin: 4px 0 4px;
    color: #111;
}

.subtitle {
    margin: 0 0 10px;
    color: #6b6b6b;
    font-size: 12px;
    min-height: 30px;
}

.price {
    font-weight: 800;
    font-size: 18px;
    color: #111;
    margin-top: auto;
}

/* Botão */
.buy {
    margin-top: 10px;
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s, color .15s;
    display: inline-flex;         /* funciona para <a> e <button> */
    align-items: center;          /* centraliza vertical */
    justify-content: center;      /* centraliza horizontal */
    text-decoration: none;        /* remove sublinhado do <a> */
    line-height: 1;               /* evita desalinhamento vertical */
    padding: 0;                   /* garante altura exata já definida */
}

.buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #000;
    color: #fff;
    padding: 48px 0 72px;
}

/* Grade principal: 3 colunas com grandes respiros (sem breakpoints) */
.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 96px;
    /* espaçamento entre colunas como no print */
    align-items: start;
}

/* Marca/descrição */
.footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    display: block;
}

.footer__about {
    margin: 16px 0 24px;
    max-width: 360px;
    line-height: 1.6;
    color: #bdbdbd;
    font-size: 14px;
}

/* Redes sociais */
.footer__social {
    display: flex;
    gap: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #fff;
    opacity: .85;
    text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}

/* Colunas de navegação */
.footer__heading {
    margin: 0 0 14px;
    font-size: 13px;
    color: #e5e5e5;
    font-weight: 700;
    letter-spacing: .02em;
}

.footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__list li {
    margin: 8px 0;
}

.footer__list a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 13px;
    transition: color .15s ease, transform .15s ease;
}

.footer__list a:hover {
    color: #fff;
    transform: translateX(2px);
}