:root {
    color-scheme: light;
    --bg: #ededed;
    --surface: #ffffff;
    --ink: #202124;
    --muted: #677081;
    --line: #e3e6eb;
    --yellow: #ffe600;
    --blue: #3483fa;
    --blue-dark: #2968c8;
    --green: #00a650;
    --dark: #202936;
    --shadow: 0 1px 2px rgba(0, 0, 0, .08);
    --shadow-strong: 0 8px 24px rgba(0, 0, 0, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
.button {
    border: 0;
    cursor: pointer;
}

.nav-button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(320px, 1fr) auto;
    align-items: center;
    gap: 10px 22px;
    padding: 9px clamp(14px, 4vw, 72px) 8px;
    background: var(--yellow);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 7px;
    background: #171b22;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    white-space: nowrap;
}

.brand small {
    color: #505866;
    margin-top: 2px;
}

.header-search input {
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 16px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: #333;
    font-size: 14px;
}

.delivery-note,
.header-links {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #3f4650;
    font-size: 13px;
}

.delivery-note strong,
.delivery-note span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-links {
    grid-column: 3;
    justify-content: flex-end;
    gap: 14px;
}

.cart-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
}

.cart-toggle span {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-size: 12px;
}

.flash {
    width: min(1200px, calc(100% - 28px));
    margin: 14px auto 0;
    padding: 12px 16px;
    border-radius: 6px;
    background: #e9f7ef;
    color: #0f6b3a;
    box-shadow: var(--shadow);
}

.page-shell {
    padding-bottom: 46px;
}

.page-hero {
    margin: 22px 0 18px;
    padding: 22px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: 0;
}

.page-hero p {
    margin: 0;
    color: var(--muted);
}

main {
    width: min(1200px, calc(100% - 28px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 18px;
    align-items: center;
    margin: 20px 0 14px;
    padding: 24px;
    border-radius: 6px;
    background: linear-gradient(90deg, #17202d, #3c4758);
    color: #fff;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 720px;
    margin: 0 0 8px;
    font-size: clamp(26px, 4.2vw, 44px);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero p {
    max-width: 720px;
    margin: 0;
    color: #e7ebf2;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.button,
.checkout-form a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    font-weight: 700;
}

.button.primary,
.checkout-form button,
.form-card button,
.user-card button,
.cart-list button,
.product-footer button {
    background: var(--blue);
    color: #fff;
}

.button.ghost,
.checkout-form a {
    background: #fff;
    color: var(--blue);
}

.button.primary:hover,
.checkout-form button:hover,
.form-card button:hover,
.user-card button:hover,
.cart-list button:hover,
.product-footer button:hover,
.cart-toggle:hover {
    background: var(--blue-dark);
    color: #fff;
}

.hero-card {
    padding: 17px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
}

.hero-card strong,
.hero-card span,
.hero-card small {
    display: block;
}

.hero-card strong {
    color: var(--yellow);
    font-size: 46px;
    line-height: 1;
}

.hero-card small {
    margin-top: 6px;
    color: #dce5ef;
}

.trustbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0 0 14px;
    border-radius: 6px;
    background: var(--line);
    box-shadow: var(--shadow);
}

.trustbar article {
    padding: 15px;
    background: #fff;
}

.trustbar strong,
.trustbar span {
    display: block;
}

.trustbar span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.social-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
}

.social-strip div {
    flex: 1;
}

.social-strip strong,
.social-strip span {
    display: block;
}

.social-strip span {
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}

.social-strip a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--blue);
    font-weight: 700;
}

.visual-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.market-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0 0 16px;
    border-radius: 6px;
    background: var(--line);
    box-shadow: var(--shadow);
}

.market-bar-item {
    display: grid;
    gap: 6px;
    min-height: 116px;
    padding: 16px;
    background: #fff;
}

.market-bar-item span {
    color: var(--muted);
    font-size: 13px;
}

.market-bar-item strong {
    font-size: 17px;
    line-height: 1.2;
}

.market-bar-item button,
.market-bar-item a {
    justify-self: start;
    align-self: end;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-weight: 700;
    cursor: pointer;
}

.visual-services article {
    min-height: 170px;
    padding: 18px;
    border-radius: 6px;
    background:
        linear-gradient(145deg, rgba(255, 230, 0, .16), transparent 44%),
        linear-gradient(135deg, #ffffff, #f6f8fb);
    box-shadow: var(--shadow);
}

.visual-services span,
.visual-services strong,
.visual-services p {
    display: block;
}

.visual-services span {
    width: fit-content;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #17202d;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
}

.visual-services strong {
    margin-top: 18px;
    font-size: 22px;
    line-height: 1.1;
}

.visual-services p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.promo-wall {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: center;
    margin-bottom: 16px;
    padding: 22px;
    border-radius: 6px;
    background: #17202d;
    color: #fff;
    box-shadow: var(--shadow);
}

.promo-wall span {
    color: var(--yellow);
    font-weight: 800;
}

.promo-wall h2 {
    max-width: 620px;
    margin: 7px 0;
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1.05;
}

.promo-wall p {
    max-width: 680px;
    margin: 0;
    color: #dbe4ef;
}

.promo-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, .18);
}

.promo-metrics strong,
.promo-metrics span {
    display: grid;
    place-items: center;
    min-height: 44px;
    background: rgba(255, 255, 255, .08);
}

.promo-metrics strong {
    font-size: 30px;
    color: var(--yellow);
}

.promo-metrics span {
    color: #e8edf4;
    font-size: 12px;
}

.service-deep {
    margin-top: 0;
}

.categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0 16px;
}

.categories button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #333;
    white-space: nowrap;
}

.categories button.active {
    border-color: var(--blue);
    background: #e8f1ff;
    color: var(--blue);
    font-weight: 700;
}

.section-title h2 {
    margin: 0 0 4px;
    font-size: 25px;
    font-weight: 500;
}

.section-title p {
    margin: 0;
    color: var(--muted);
}

.deal-row,
.account,
.cart-panel,
.checkout,
.product-detail,
.policies {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.detail-media {
    display: grid;
    place-items: center;
    min-height: 430px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: #8b96a6;
    font-size: 42px;
    font-weight: 800;
}

.detail-media img {
    max-width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.detail-info h2 {
    margin: 12px 0;
    font-size: clamp(25px, 4vw, 36px);
    font-weight: 400;
    line-height: 1.08;
}

.detail-price {
    display: block;
    margin-bottom: 12px;
    font-size: 34px;
    font-weight: 400;
}

.detail-info p {
    color: var(--muted);
    line-height: 1.5;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.detail-actions form {
    display: inline-flex;
}

.detail-actions button,
.inline-form button,
.favorite-form button,
.whatsapp-order {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
}

.detail-actions form:nth-child(2) button,
.favorite-form button {
    background: #eef4ff;
    color: var(--blue);
}

.qa-panel {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.qa-panel h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 500;
}

.inline-form {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 12px;
}

.inline-form input,
.inline-form select,
.inline-form textarea {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.inline-form textarea {
    min-height: 42px;
    padding-top: 9px;
    resize: vertical;
}

.qa-item {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.qa-item strong,
.qa-item span {
    display: block;
}

.qa-item p {
    margin: 5px 0;
}

.qa-item span {
    color: var(--muted);
    font-size: 14px;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.mini-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 92px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.mini-card div {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    background: #fafafa;
}

.mini-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mini-card strong,
.mini-card span {
    display: block;
    grid-column: 2;
}

.mini-card strong {
    align-self: end;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 400;
}

.mini-card span {
    align-self: start;
    color: var(--green);
    font-weight: 700;
}

.catalog-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0 15px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.catalog-filters {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
}

.catalog-filters strong {
    font-size: 19px;
    font-weight: 500;
}

.catalog-filters label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

.catalog-filters input,
.catalog-filters select {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.catalog-filters .check-filter {
    display: flex;
    align-items: center;
    gap: 7px;
}

.catalog-filters .check-filter input {
    width: auto;
    min-height: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 18px;
}

.load-more {
    display: block;
    width: min(280px, 100%);
    min-height: 44px;
    margin: 4px auto 24px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 18px 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--blue);
}

.product-page {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr) 270px;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
}

.product-gallery,
.product-main-info,
.buy-box,
.technical-card,
.product-qa-grid .qa-panel {
    min-width: 0;
}

.product-main-image {
    display: grid;
    place-items: center;
    min-height: 460px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: #9aa3af;
    font-size: 48px;
    font-weight: 800;
}

.product-main-image img {
    max-width: 100%;
    max-height: 460px;
    object-fit: contain;
}

.product-main-info h1 {
    margin: 10px 0 8px;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0;
}

.rating-line {
    display: flex;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
}

.technical-card {
    margin-top: 20px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.technical-card h2 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 500;
}

.technical-card dl {
    display: grid;
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--line);
}

.technical-card div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
}

.technical-card dt {
    color: var(--muted);
}

.technical-card dd {
    margin: 0;
}

.buy-box {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.buy-box strong,
.buy-box span {
    display: block;
}

.buy-box span {
    color: var(--muted);
    line-height: 1.35;
}

.buy-box button,
.buy-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
}

.buy-box .secondary-buy {
    background: #eef4ff;
    color: var(--blue);
}

.buy-box a {
    background: var(--green);
}

.product-qa-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 16px;
}

.inline-form.stacked {
    grid-template-columns: 1fr;
}

.product {
    position: relative;
    display: flex;
    min-height: 365px;
    flex-direction: column;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: box-shadow .16s ease, transform .16s ease;
}

.product:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-1px);
}

.product-media {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    color: #8b96a6;
    font-size: 32px;
    font-weight: 700;
}

.product-media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    color: transparent;
    font-size: 0;
}

.product-body {
    flex: 1;
    padding: 13px 13px 4px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #506070;
    font-size: 12px;
    font-weight: 700;
}

.product h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin: 8px 0 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 18px;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.product-footer {
    display: grid;
    gap: 10px;
    padding: 4px 13px 13px;
}

.product-footer strong {
    display: block;
    color: #222;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
}

.product-footer small {
    display: block;
    margin-top: 5px;
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
}

.product-footer button,
.checkout-form button,
.form-card button,
.user-card button,
.cart-list button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 6px;
    font-weight: 700;
}

.favorite-form {
    padding: 0 13px 13px;
}

.favorite-form button {
    width: 100%;
    background: #eef4ff;
    color: var(--blue);
}

.account-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 18px;
    align-items: start;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.recover {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.form-card,
.checkout-form,
.user-card,
.cart-list {
    display: grid;
    gap: 10px;
}

.whatsapp-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
}

.saved-list,
.orders-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.saved-list a,
.orders-list article {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.orders-list strong,
.orders-list span,
.orders-list small {
    display: block;
}

.orders-list span {
    margin-top: 4px;
    color: var(--green);
    font-weight: 700;
}

.orders-list small {
    margin-top: 4px;
    color: var(--muted);
}

.form-card,
.user-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.form-card input,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.cart-line input {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.checkout-form textarea {
    min-height: 86px;
    padding-top: 10px;
    resize: vertical;
}

.user-card span {
    color: var(--muted);
}

.empty-cart {
    margin-top: 14px;
    padding: 18px;
    border-radius: 6px;
    background: #f7f8fa;
    color: var(--muted);
}

.cart-list {
    margin-top: 14px;
}

.cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 78px;
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.cart-line strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.cart-line span {
    color: var(--muted);
    white-space: nowrap;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.cart-total strong {
    font-size: 24px;
    font-weight: 400;
}

.checkout-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.checkout-form textarea,
.checkout-summary,
.checkout-form button,
.checkout-form a {
    grid-column: 1 / -1;
}

.checkout-summary {
    padding: 14px;
    border-radius: 6px;
    background: #f7f8fa;
}

.checkout-summary span,
.checkout-summary strong,
.checkout-summary small {
    display: block;
}

.checkout-summary strong {
    margin-top: 4px;
    font-size: 28px;
    font-weight: 400;
}

.checkout-summary small {
    margin-top: 4px;
    color: var(--muted);
}

.policies {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    padding: 0;
    background: var(--line);
}

.policies article {
    padding: 16px;
    background: #fff;
}

.policies strong,
.policies span {
    display: block;
}

.policies span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.notice {
    margin: 18px 0 60px;
    padding: 22px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
}

.notice strong,
.notice span {
    display: block;
}

.notice span {
    margin-top: 4px;
    color: var(--muted);
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding: 26px clamp(14px, 4vw, 72px);
    background: var(--dark);
    color: #fff;
}

.footer strong,
.footer span {
    display: block;
}

.footer span {
    color: #cbd5e1;
    margin-top: 4px;
}

.footer div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--yellow);
}

.thumbs {
    display: flex;
    gap: 8px;
    justify-self: stretch;
    overflow-x: auto;
    width: 100%;
    margin-top: 14px;
}

.thumbs button {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.thumbs img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.notice.success {
    background: #e9f7ef;
    color: #0f6b3a;
}

.notice.danger {
    background: #fff1f2;
    color: #9f1239;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow-strong);
}

.admin-main {
    padding-top: 18px;
}

.admin-stats article strong {
    font-size: 28px;
}

.admin-logout {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.admin-logout button,
.admin-row button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
}

.admin-table {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
}

.admin-row {
    display: grid;
    grid-template-columns: 150px minmax(220px, 1fr) 140px 140px 140px auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.admin-row strong,
.admin-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-row span {
    color: var(--muted);
}

.admin-row select,
.admin-row textarea {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.admin-row textarea {
    min-height: 74px;
    padding-top: 9px;
    resize: vertical;
}

.question-row {
    grid-template-columns: 180px minmax(240px, 1fr) minmax(220px, 1fr) auto;
}

.review-row {
    grid-template-columns: 240px minmax(240px, 1fr) auto;
}

.brand-logo {
    display: block;
    width: 54px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-copy,
.hero-card {
    position: relative;
    z-index: 1;
}

.hero-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.settings-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
}

@media (max-width: 1120px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .product-page {
        grid-template-columns: minmax(260px, .9fr) minmax(0, 1fr);
    }

    .buy-box {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 920px) {
    .topbar {
        grid-template-columns: 1fr auto;
    }

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .delivery-note,
    .header-links {
        grid-column: 1 / -1;
    }

    .header-links {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .nav {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .hero,
    .account-checkout,
    .product-detail,
    .checkout-form {
        grid-template-columns: 1fr;
    }

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

    .visual-services,
    .promo-wall,
    .market-bar,
    .catalog-layout,
    .product-page,
    .product-qa-grid {
        grid-template-columns: 1fr;
    }

    .catalog-filters {
        position: static;
    }

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

    .admin-row,
    .question-row,
    .review-row,
    .settings-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    main {
        width: min(100% - 20px, 1200px);
    }

    .topbar {
        gap: 10px;
    }

    .brand small,
    .header-links a:nth-child(n+3) {
        display: none;
    }

    .brand strong {
        max-width: 112px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav {
        gap: 8px;
        font-size: 13px;
    }

    .hero {
        padding: 18px;
    }

    .trustbar,
    .visual-services,
    .market-bar,
    .mini-grid,
    .auth-grid,
    .recover,
    .policies {
        grid-template-columns: 1fr;
    }

    .detail-media {
        min-height: 280px;
    }

    .product-main-image {
        min-height: 300px;
    }

    .product-main-image img {
        max-height: 300px;
    }

    .technical-card div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .inline-form {
        grid-template-columns: 1fr;
    }

    .social-strip,
    .catalog-head,
    .footer {
        align-items: stretch;
        flex-direction: column;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product {
        min-height: 320px;
    }

    .product-footer strong,
    .cart-total strong {
        font-size: 20px;
    }

    .cart-line {
        grid-template-columns: 1fr 74px;
    }

    .cart-line span {
        grid-column: 1;
    }

    .floating-whatsapp {
        display: none;
    }

    .market-bar-item {
        min-height: 92px;
    }
}
