/* ================== 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;
}

/* ================== PRODUCT ================== */
.product {
    background: #fff;
    color: #111;
    padding: 32px 0 56px;
}

.product__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    /* galeria | painel */
    gap: 24px;
    align-items: start;
}

/* Galeria 2x2 */
.product__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 280px;
    gap: 16px;
}

.pg__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f2f2;
    border: 1px solid #e9e9e9;
    margin: 0;
}

.pg__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

/* Painel */
.product__info {
    background: #f7f7f7;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    padding: 24px;
}

.p-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1;
    border: 1px solid #111;
    border-radius: 999px;
    color: #111;
    margin-bottom: 12px;
}

.p-title {
    margin: 6px 0 6px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
}

.p-price {
    margin: 0 0 16px;
    font-weight: 700;
    color: #111;
}

.p-field {
    margin: 18px 0;
}

.p-label {
    display: block;
    font-size: 12px;
    color: #666;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

/* Swatches preto & cinza */
.p-swatches {
    display: flex;
    gap: 10px;
}

.swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    background: var(--sw, #111);
    cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}

.swatch.is-selected {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.swatch:hover {
    transform: scale(1.06);
}

/* Tamanhos */
.p-sizehead {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p-sizechart {
    color: #6b6b6b;
    font-size: 12px;
    text-decoration: none;
}

.p-sizechart:hover {
    color: #111;
}

.p-sizes {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.size {
    height: 38px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    cursor: pointer;
    font: 600 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    transition: transform .12s, background .12s, color .12s;
}

.size:hover {
    transform: translateY(-1px);
    background: #f2f2f2;
}

.size.is-selected {
    background: #111;
    color: #fff;
    border-color: #111;
}

.size[disabled] {
    opacity: .35;
    cursor: not-allowed;
}

/* Ações */
.p-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    margin: 18px 0 8px;
}

.btn {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #111;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .02em;
    transition: transform .15s, background-color .15s, color .15s, box-shadow .15s;
}

.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-icon {
    width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111;
    border: 1px solid #111;
    border-radius: 10px;
}

.btn-icon:hover {
    background: #f6f6f6;
    transform: translateY(-1px);
}

/* Sobre */
.p-subtitle {
    margin: 18px 0 6px;
    font-size: 12px;
    color: #666;
    letter-spacing: .06em;
}

.p-muted {
    margin: 0 0 10px;
    color: #777;
    font-size: 13px;
}

.p-list {
    margin: 0;
    padding-left: 18px;
    color: #555;
    font-size: 13px;
}

.p-list li {
    margin: 6px 0;
}


/* ===== 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);
}