/* ================== RESET/BÁSICO ================== */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
}

/* Tipografia e cores base (preto e branco) */
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;
}

.header__inner {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    min-height: 64px;
}

.header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 5px;
}

.header__logo .logo-img {
    height: 78px;
    width: auto;
    display: block;
}

.header__search {
    display: flex;
    margin-inline: clamp(16px, 3vw, 32px);
}

.header__search input[type="search"] {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #f4f4f4;
    padding: 0 14px;
    outline: none;
}

.header__search input::placeholder {
    color: #9b9b9b;
}

.header__search input:focus {
    background: #f8f8f8;
    box-shadow: 0 0 0 2px #e5e5e5;
}

.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, transform .18s;
}

.header__nav a[aria-current="page"] {
    color: #111;
    font-weight: 600;
}

.header__nav a:hover {
    color: #111;
    transform: translateY(-1px);
}

.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;
    color: #111;
    transition: transform .15s, background-color .15s;
}

.icon-btn:hover {
    transform: scale(1.05);
    background: #f6f6f6;
}

/* ============== CART ============== */
.cart {
    padding: 28px 0 64px;
    background: #fff;
    color: #111;
}

.cart__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    /* lista | resumo */
    gap: 28px;
    align-items: start;
}

/* Lista */
.cart__title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #eee;
}

.cart-item:last-of-type {
    border-bottom: 1px solid #eee;
}

.cart-item__img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: #f4f4f4;
    border: 1px solid #eee;
    object-fit: cover;
    display: block;
}

.ci-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.ci-sku {
    font-size: 12px;
    color: #777;
}

.cart-item__qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 6px 8px;
}

.qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    cursor: pointer;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .12s ease, transform .12s ease;
}

.qty-btn:hover {
    background: #f2f2f2;
    transform: translateY(-1px);
}

.qty-input {
    width: 28px;
    text-align: center;
    border: 0;
    background: transparent;
    color: #111;
    font-weight: 600;
    outline: none;
}

.cart-item__price {
    min-width: 70px;
    text-align: right;
    font-weight: 700;
}

.cart-item__remove {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .12s ease, transform .12s ease;
    background: #fff;
    border: 1px solid #eee;
}

.cart-item__remove:hover {
    background: #f6f6f6;
    transform: scale(1.05);
}

/* Resumo */
.cart__summary {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

.summary__title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
}

.field {
    margin: 12px 0;
}

.label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.input {
    width: 100%;
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    outline: none;
}

.input:focus {
    box-shadow: 0 0 0 2px #e5e5e5;
}

.input-row {
    display: flex;
    gap: 8px;
}

/* Totais */
.summary__totals {
    margin: 12px 0 18px;
}

.summary__totals .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
}

.summary__totals .total {
    font-weight: 800;
    font-size: 16px;
}

/* Botões */
.btn {
    height: 40px;
    border-radius: 10px;
    border: 1px solid #111;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 0 14px;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.btn-dark {
    background: #111;
    color: #fff;
}

.btn-dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
}

.btn-light {
    background: #fff;
    color: #111;
}

.btn-light:hover {
    background: #f6f6f6;
    transform: translateY(-1px);
}

.btn-checkout {
    width: 100%;
}

/* ===== 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);
}