:root {
    --bg: #f6f6f6;
    --panel: #ffffff;
    --ink: #111111;
    --muted: #6d6d6d;
    --line: #dfdfdf;
    --dark: #111315;
    --dark-2: #1a1c1f;
    --brand: #ff6b00;
    --brand-2: #f08a20;
    --brand-dark: #d95800;
    --ok: #138a48;
    --danger: #ff3b1f;
    --radius: 10px;
    --shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at left 38%, rgba(0, 0, 0, .05), transparent 22%), var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.45;
}

body.page-loading {
    cursor: progress;
}

body.page-exiting {
    overflow: hidden;
}

@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.preloader {
    align-items: center;
    background: radial-gradient(circle at center, rgba(255, 107, 0, .12), transparent 30%), rgba(17, 19, 21, .94);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    position: fixed;
    transition: opacity .28s ease, visibility .28s ease;
    visibility: visible;
    z-index: 9999;
}

.page-ready .preloader {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.preloader-card {
    align-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
    color: #fff;
    display: grid;
    gap: 14px;
    justify-items: center;
    min-width: 190px;
    padding: 26px 30px;
    position: relative;
}

.preloader-card::after {
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: var(--brand);
    border-radius: 999px;
    content: "";
    height: 34px;
    width: 34px;
    animation: loader-spin .8s linear infinite;
}

.preloader-card img {
    height: 78px;
    object-fit: contain;
}

.preloader-card span {
    color: #f2f2f2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

.site-header {
    background: linear-gradient(180deg, #101113 0%, #17191c 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-main {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: 280px minmax(260px, 1fr) auto;
    margin: 0 auto;
    max-width: 1400px;
    min-height: 92px;
    padding: 14px clamp(18px, 5vw, 72px);
}

.brand {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 18px;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: .5px;
    text-decoration: none;
}

.brand img {
    height: 62px;
    max-width: 122px;
    object-fit: contain;
}

.brand span {
    color: #fff;
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1;
}

.header-search {
    align-items: center;
    background: #181a1d;
    border: 1px solid #3a3d42;
    border-radius: var(--radius);
    display: flex;
    height: 48px;
    overflow: hidden;
}

.header-search input {
    background: transparent;
    border: 0;
    color: #fff;
    height: 100%;
    min-height: 0;
}

.header-search input::placeholder {
    color: #a5a7ab;
}

.header-search button {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    height: 100%;
    padding: 0 18px;
    transition: color .2s ease, transform .18s ease;
}

.header-search button:hover {
    color: var(--brand);
    transform: scale(1.12);
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 22px;
}

.header-action {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 10px;
    min-width: 88px;
    position: relative;
    transition: color .2s ease, transform .18s ease;
}

.header-action:hover {
    color: #fff;
    transform: translateY(-1px) scale(1.025);
}

.header-action strong {
    display: block;
    font-size: 15px;
}

.header-action span {
    color: #d6d6d6;
    display: block;
    font-size: 12px;
}

.header-icon {
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.cart-count {
    align-items: center;
    background: var(--brand);
    border-radius: 999px;
    color: #fff !important;
    display: flex !important;
    font-size: 11px !important;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    left: 17px;
    position: absolute;
    top: -8px;
    width: 20px;
}

.site-nav {
    align-items: center;
    background: #151719;
    border-top: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    gap: clamp(18px, 4vw, 56px);
    min-height: 58px;
    padding: 0 clamp(18px, 5vw, 72px);
}

.site-nav a {
    align-items: center;
    color: #fff;
    display: flex;
    font-weight: 800;
    height: 58px;
    position: relative;
    transition: color .2s ease, transform .18s ease;
}

.site-nav a:hover {
    transform: translateY(-1px);
}

.site-nav a:hover,
.site-nav .nav-accent {
    color: var(--brand);
}

.site-nav a:hover::after,
.site-nav .nav-accent::after {
    background: var(--brand);
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
}

.page {
    animation: page-enter .34s ease both;
    margin: 0 auto;
    max-width: 1400px;
    min-height: 58vh;
    padding: 34px clamp(18px, 5vw, 72px) 58px;
    transition: opacity .22s ease, transform .22s ease;
}

.page-exiting .site-header,
.page-exiting .page,
.page-exiting .footer {
    opacity: 0;
    transform: translateY(8px) scale(.992);
}

.btn,
.topnav a {
    align-items: center;
    background: linear-gradient(180deg, #ff7a10 0%, #f26a00 100%);
    border: 1px solid #f26a00;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    text-decoration: none;
    transform: translateZ(0);
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .18s ease;
}

.btn.secondary {
    background: #fff;
    border-color: var(--brand);
    color: var(--brand);
}

.btn.danger {
    background: var(--danger);
    border-color: var(--danger);
}

.btn:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    box-shadow: 0 12px 26px rgba(255, 107, 0, .25);
    color: #fff;
    transform: scale(1.035);
}

.btn:active,
button:active {
    transform: scale(.98);
}

.hero {
    background: #111;
    border-radius: 0;
    color: #fff;
    display: grid;
    margin: -34px clamp(-72px, -5vw, -18px) 0;
    min-height: 430px;
    overflow: hidden;
    position: relative;
}

.home-slider {
    min-height: 430px;
    position: relative;
}

.home-slide {
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .5s ease;
}

.home-slide.active {
    opacity: 1;
}

.home-slide img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-slide::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .45) 44%, rgba(0, 0, 0, .1) 100%);
    content: "";
    inset: 0;
    position: absolute;
}

.hero-content {
    left: clamp(24px, 9vw, 150px);
    max-width: 560px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.eyebrow {
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: 0;
    line-height: .98;
    margin: 10px 0 14px;
}

.hero p {
    color: #f0f0f0;
    font-size: 17px;
    margin: 0 0 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.slider-controls {
    bottom: 22px;
    display: flex;
    gap: 9px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 3;
}

.slider-controls button {
    background: rgba(255, 255, 255, .7);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 9px;
    width: 28px;
}

.slider-controls button.active {
    background: var(--brand);
}

.benefit-strip {
    background: linear-gradient(180deg, #202427, #171a1d);
    color: #fff;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 clamp(-72px, -5vw, -18px) 26px;
    padding: 18px clamp(18px, 7vw, 120px);
}

.benefit-item {
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    gap: 12px;
}

.benefit-item:last-child {
    border-right: 0;
}

.benefit-item strong {
    display: block;
    font-size: 14px;
}

.benefit-item span {
    color: #cfd2d4;
    font-size: 12px;
}

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

.sidebar,
.panel,
.product-card,
.summary {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.sidebar {
    padding: 16px;
}

.sidebar h2,
.panel h2,
.summary h2 {
    font-size: 20px;
    margin: 0 0 14px;
}

.category-list {
    display: grid;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list a {
    border-radius: 6px;
    color: #222;
    display: block;
    font-size: 14px;
    padding: 9px 11px;
}

.category-list a.active,
.category-list a:hover {
    background: linear-gradient(180deg, #ff8218, #f36a00);
    color: #fff;
}

.toolbar {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.toolbar form {
    display: flex;
    gap: 8px;
    width: min(460px, 100%);
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .22s ease, transform .22s ease;
}

.product-card:hover {
    box-shadow: 0 20px 46px rgba(0, 0, 0, .13);
    transform: translateY(-4px) scale(1.01);
}

.product-media {
    aspect-ratio: 4 / 3;
    background: #f3f3f3;
    position: relative;
    width: 100%;
}

.product-card .gallery-item {
    display: none;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-card .gallery-item.active {
    display: block;
}

.gallery-btn {
    align-items: center;
    background: rgba(17, 17, 17, .72);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 25px;
    height: 34px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .2s ease, transform .18s ease;
    width: 34px;
}

.gallery-btn:hover {
    background: var(--brand);
    transform: translateY(-50%) scale(1.08);
}

.gallery-btn:active {
    transform: translateY(-50%) scale(.96);
}

.gallery-btn.prev { left: 8px; }
.gallery-btn.next { right: 8px; }

.product-body {
    display: grid;
    flex: 1;
    gap: 10px;
    padding: 16px;
}

.product-body h3 {
    font-size: 17px;
    margin: 0;
}

.muted {
    color: var(--muted);
}

.price {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.price strong {
    color: #171717;
    font-size: 24px;
}

.price-block {
    display: grid;
    gap: 6px;
}

.normal-price-meta {
    color: var(--muted);
    font-size: 11px;
}

.price-meta,
.tax-note {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.wholesale-teaser {
    background: transparent;
    border: 0;
    color: #6c6c6c;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    padding: 0;
    text-align: left;
    width: fit-content;
}

.badge {
    background: #fff0e5;
    border: 1px solid #ffd1ad;
    border-radius: 5px;
    color: #d75d00;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 7px;
    width: fit-content;
}

.stock {
    color: var(--ok);
    font-size: 13px;
    font-weight: 800;
}

.out {
    color: var(--danger);
}

form {
    margin: 0;
}

label {
    color: #4f4f4f;
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
}

input,
select,
textarea {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-height: 44px;
    padding: 11px 12px;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, .12);
    outline: 0;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

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

.checkbox-label {
    align-items: start;
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.checkbox-label input {
    min-height: auto;
    margin-top: 3px;
    width: auto;
}

.panel {
    margin: 0 auto;
    max-width: 920px;
    padding: 28px;
}

.panel.wide {
    max-width: 100%;
}

.auth-shell {
    margin: 0 auto;
    max-width: 1160px;
}

.auth-heading {
    margin-bottom: 18px;
}

.auth-heading h1 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
    margin: 0 0 8px;
}

.auth-heading p {
    color: var(--muted);
    margin: 0;
}

.auth-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: none;
    margin: 0;
    max-width: 100%;
    padding: 28px;
}

.auth-benefits {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.auth-benefit {
    align-items: center;
    border-bottom: 1px solid #ececec;
    display: flex;
    gap: 14px;
    padding: 18px 0;
}

.auth-benefit:last-child {
    border-bottom: 0;
}

.auth-benefit .icon {
    color: var(--brand);
    font-size: 27px;
}

.benefit-card {
    border-bottom: 1px solid #ececec;
    display: grid;
    gap: 4px;
    padding: 18px 0;
}

.benefit-card strong {
    color: #111;
}

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

.benefit-card.highlighted {
    background: #f6f6f6;
    border: 0;
    border-radius: 8px;
    margin-top: 12px;
    padding: 18px;
}

.login-demo {
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 8px;
    display: grid;
    gap: 5px;
    margin-top: 24px;
    padding: 14px;
}

.login-demo strong {
    color: #111;
}

.login-demo span {
    color: var(--muted);
    font-size: 13px;
}

.profile-section {
    border-top: 1px solid var(--line);
    margin-top: 22px;
    padding-top: 20px;
}

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

.profile-readonly div {
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: var(--radius);
    display: grid;
    gap: 4px;
    padding: 14px;
}

.checkout-steps {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 28px;
}

.checkout-step {
    align-items: center;
    color: #777;
    display: flex;
    gap: 12px;
}

.checkout-step strong {
    color: #222;
    display: block;
}

.checkout-step .bubble {
    align-items: center;
    background: #999;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.checkout-step.active .bubble {
    background: var(--brand);
}

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

.table-wrap {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 14px;
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.cart-product {
    align-items: center;
    display: flex;
    gap: 16px;
}

.cart-product img {
    border-radius: 8px;
    height: 78px;
    object-fit: cover;
    width: 104px;
}

.summary {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
}

.summary-total {
    border-top: 1px dashed var(--line);
    color: var(--brand);
    font-size: 25px;
    font-weight: 900;
    padding-top: 14px;
}

.checkout-grid {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 380px;
}

.trust-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    margin-top: 12px;
}

.trust-box div {
    border-bottom: 1px solid var(--line);
    padding: 13px 16px;
}

.trust-box div:last-child {
    border-bottom: 0;
}

.alert {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 18px;
    padding: 13px 16px;
}

.alert-success {
    background: #edf9f1;
    border-color: #bfe5cb;
    color: #236b3c;
}

.alert-warning {
    background: #fff8e8;
    border-color: #f2d391;
}

.alert-error {
    background: #fff1f0;
    border-color: #ffbfb7;
}

.status-pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 11px;
    white-space: nowrap;
}

.status-warning { background: #fff7e8; border-color: #ffc46f; color: #9a4a12; }
.status-info { background: #eeeeee; border-color: #c9c9c9; color: #3d3d3d; }
.status-success { background: #eaf7ef; border-color: #9bd3b0; color: #17633b; }
.status-error { background: #fff1f0; border-color: #ffb5ad; color: var(--danger); }

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}

.admin-tabs a,
.pagination a {
    background: #fff;
    border: 1px solid var(--brand);
    border-radius: 8px;
    color: var(--brand);
    font-weight: 850;
    padding: 10px 14px;
}

.admin-tabs a.active,
.pagination a.active {
    background: var(--brand);
    color: #fff;
}

.admin-section.active-window {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.admin-product-form {
    display: grid;
    gap: 14px;
}

.inline-form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inline-form input,
.inline-form select {
    min-width: 150px;
    width: auto;
}

.compact-actions {
    align-items: center;
    margin-top: 0;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.modal-backdrop {
    align-items: center;
    background: rgba(0, 0, 0, .55);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 100;
}

.modal-backdrop.open {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .35);
    max-width: 430px;
    padding: 28px;
    position: relative;
    text-align: center;
    width: 100%;
}

.modal-logo {
    display: block;
    height: 88px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.modal-close {
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 22px;
    position: absolute;
    right: 12px;
    top: 10px;
}

.footer {
    background: linear-gradient(180deg, #17191b, #101113);
    color: #fff;
    padding: 34px clamp(18px, 5vw, 72px);
}

.footer-inner {
    display: grid;
    gap: 32px;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    margin: 0 auto;
    max-width: 1400px;
}

.footer-brand {
    align-items: start;
    display: grid;
    gap: 8px;
}

.footer-brand img {
    height: 74px;
    object-fit: contain;
    width: fit-content;
}

.footer h3,
.footer strong {
    color: #fff;
    font-size: 15px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.footer p,
.footer a {
    color: #d6d6d6;
    display: block;
    margin: 0 0 8px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 8px;
}

.social-links a {
    align-items: center;
    background: #2b2f33;
    border-radius: 7px;
    color: #fff;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    width: 34px;
}

.payment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.payment-row span {
    color: #fff;
    font-weight: 900;
}

@media (max-width: 980px) {
    .header-main {
        grid-template-columns: 1fr;
    }

    .header-actions,
    .site-nav {
        overflow-x: auto;
    }

    .layout,
    .checkout-grid,
    .auth-layout,
    .benefit-strip,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        border-right: 0;
    }
}

@media (max-width: 700px) {
    .form-grid,
    .profile-readonly,
    .checkout-steps {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 390px;
    }

    .hero-content {
        left: 24px;
        right: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .preloader {
        display: none;
    }
}

/* ===== GK Redesign 2026 — capa visual final ===== */
:root{--brand:#f36f0a;--brand-2:#ff8b2d;--brand-dark:#ce5200;--dark:#0d0f11;--dark-2:#17191c;--ink:#111317;--muted:#6d727a;--line:#e4e6e8;--bg:#f5f6f7;--radius:8px;--shadow:0 16px 45px rgba(12,15,18,.08)}
body{font-family:"Inter","Segoe UI",Arial,sans-serif;background:#f6f7f8;color:var(--ink);letter-spacing:-.01em}
svg{width:1.15em;height:1.15em}.page{max-width:none;min-height:58vh;padding-bottom:0}.site-header{box-shadow:0 1px 0 rgba(255,255,255,.04);position:sticky}.header-main{max-width:1500px;min-height:78px;padding:10px clamp(24px,4vw,68px);grid-template-columns:280px minmax(280px,650px) auto}.brand img{height:58px;width:102px;object-fit:contain}.brand span{font-size:21px;letter-spacing:.01em}.header-search{background:#191b1e;border:1px solid #303338;border-radius:7px;height:43px}.header-search input{color:#fff;font-size:13px}.header-search button{color:#fff;width:48px}.header-actions{gap:24px}.header-action{color:#fff;gap:11px}.header-action:hover{color:#fff}.header-action strong{font-size:12px}.header-action span{font-size:10px;color:#c4c7cc}.header-icon{width:25px;height:25px}.cart-action{position:relative}.cart-count{background:var(--brand)!important;color:#fff!important;right:auto;left:19px;top:-9px;font-size:9px!important}.site-nav{max-width:none;padding:0 clamp(24px,4vw,68px);min-height:48px;border-top:1px solid rgba(255,255,255,.06);gap:46px}.site-nav a{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#f2f2f2;padding:15px 0}.site-nav a svg{width:13px}.site-nav .nav-accent{color:var(--brand)}.nav-spacer{flex:1}.nav-register{border:1px solid var(--brand);padding:7px 13px!important;border-radius:6px}.mobile-menu-btn{display:none;background:transparent;border:0;color:#fff}.alert{max-width:1320px;margin:16px auto 0;border-radius:7px}
.hero{max-width:100%;height:500px;border-radius:0;margin:0;box-shadow:none}.hero::after{background:linear-gradient(90deg,rgba(5,7,8,.96) 0%,rgba(5,7,8,.82) 28%,rgba(5,7,8,.18) 67%,rgba(5,7,8,.1) 100%)}.home-slide img{object-position:center}.hero-content{left:max(6vw,70px);max-width:590px}.eyebrow{color:#ff8a27;font-size:12px;letter-spacing:.12em}.hero h1{font-size:clamp(38px,4.3vw,66px);line-height:1.03;max-width:680px}.hero p{font-size:15px;max-width:570px;color:#e1e3e5}.hero-actions .btn{min-width:145px}.slider-controls{bottom:22px}.slider-controls button{width:8px;height:8px}.slider-controls button.active{width:26px;border-radius:10px}.benefit-strip{max-width:none;margin:0;background:linear-gradient(90deg,#151719,#232629);border-radius:0;padding:0 clamp(30px,6vw,100px);min-height:75px}.benefit-item{justify-content:center;border-right:1px solid rgba(255,255,255,.12);padding:15px 35px}.benefit-item:last-child{border-right:0}.benefit-item .header-icon{color:#fff;width:26px}.benefit-item strong{font-size:12px}.benefit-item span{font-size:10px;color:#bfc3c7}
.layout{max-width:1320px;margin:0 auto;padding:42px 24px 70px;grid-template-columns:190px 1fr;gap:28px}.sidebar{border-radius:8px;box-shadow:none;border:1px solid var(--line);height:max-content}.sidebar h2{font-size:17px}.category-list a{border-radius:5px;padding:10px 12px;font-size:13px;color:#30343a}.category-list a.active{background:linear-gradient(90deg,var(--brand),#ff8f31);color:#fff}.toolbar{margin-bottom:20px}.toolbar strong{font-size:20px}.toolbar form input{height:42px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{border-radius:8px;border:1px solid var(--line);box-shadow:0 5px 18px rgba(16,18,20,.04);transition:.22s ease;overflow:hidden}.product-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(16,18,20,.11);border-color:#d4d6d8}.product-media{height:205px;background:#fff}.product-media img{padding:20px}.product-body{padding:15px}.product-body h3{font-size:15px;min-height:38px}.badge{background:#fff2e7;border-color:#ffd2ae;color:#d75d00;font-size:9px}.price strong{font-size:21px}.product-card form .btn{width:100%;display:flex;justify-content:center;align-items:center;gap:8px}.stock{font-size:11px}
.panel,.auth-card,.auth-benefits,.summary{border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 30px rgba(20,22,24,.04)}.panel{margin-top:42px}.panel h1,.auth-card h1{font-size:30px}.checkout-steps{max-width:1320px;margin:28px auto 0}.checkout-step.active .bubble{background:var(--brand)}.checkout-grid{grid-template-columns:minmax(0,1fr) 360px}.summary-total strong{color:var(--brand);font-size:25px}.btn{background:linear-gradient(135deg,var(--brand),#f7811d);border-color:var(--brand);border-radius:6px;font-weight:700;min-height:42px}.btn:hover{background:linear-gradient(135deg,#df5d00,var(--brand));transform:translateY(-1px)}.btn.secondary{background:#fff;color:var(--brand)}.btn.danger{background:#fff;color:#ef3f2b;border-color:#ffc4bd}.form-grid input,.form-grid select,textarea,.toolbar input,.summary input{border-radius:6px;border:1px solid #dcdfe3;min-height:42px}.form-grid input:focus,.form-grid select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(243,111,10,.1)}.auth-layout{max-width:1120px;margin:34px auto 60px;grid-template-columns:minmax(0,1fr) 330px}.auth-card{margin:0}.auth-benefit{border-bottom:1px solid #eceef0;padding:20px 0}.auth-benefit:last-child{border-bottom:0}.auth-benefit .icon{color:var(--brand);width:42px;height:42px;border:1px solid #f1d1ba;border-radius:50%;display:grid;place-items:center}.account-choice select{border-color:var(--brand)}
.footer{background:radial-gradient(circle at 80% 15%,rgba(255,111,0,.07),transparent 25%),linear-gradient(180deg,#151719,#0c0e10);padding:46px clamp(25px,6vw,95px)}.footer-inner{max-width:1400px;grid-template-columns:1.4fr .75fr .95fr 1.15fr .9fr;gap:55px}.footer-logo-row{display:flex;align-items:center;gap:15px}.footer-brand img{height:64px}.footer h3{font-size:12px;text-transform:uppercase;color:#fff}.footer p,.footer a{font-size:11px;color:#c2c5c9}.social-links a{width:30px;height:30px;display:grid;place-items:center;border-radius:6px;color:#fff}.payment-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-weight:800;color:#fff}.payment-row span{display:flex;align-items:center;gap:4px}.pay-webpay{font-size:19px}.footer-social-icons{display:flex;gap:14px;color:#fff;margin:13px 0 22px}.footer-social-icons svg{width:24px;height:24px}
@media(max-width:1100px){.header-main{grid-template-columns:220px 1fr auto}.header-actions>.header-action:first-child{display:none}.grid{grid-template-columns:repeat(3,1fr)}.site-nav{gap:26px}.footer-inner{grid-template-columns:repeat(3,1fr)}.hero{height:450px}}
@media(max-width:820px){.header-main{grid-template-columns:1fr auto;min-height:70px}.header-search{grid-column:1/-1;grid-row:2}.header-actions>.header-action{display:none}.mobile-menu-btn{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#131517;padding:15px 24px;flex-direction:column;align-items:stretch;gap:0;max-height:75vh;overflow:auto}.site-nav.open{display:flex}.site-nav a{border-bottom:1px solid rgba(255,255,255,.08)}.nav-spacer{display:none}.hero{height:470px}.hero-content{left:24px;right:24px}.hero h1{font-size:39px}.benefit-strip{grid-template-columns:repeat(2,1fr);display:grid;padding:0}.benefit-item{border-bottom:1px solid rgba(255,255,255,.1)}.layout{grid-template-columns:1fr}.sidebar{position:static}.grid{grid-template-columns:repeat(2,1fr)}.checkout-grid,.auth-layout{grid-template-columns:1fr}.footer-inner{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.brand span{display:none}.brand img{height:48px}.header-main{padding:10px 16px}.grid{grid-template-columns:1fr}.hero{height:520px}.hero-content{top:50%;transform:translateY(-50%)}.hero h1{font-size:34px}.hero-actions{flex-direction:column;align-items:flex-start}.benefit-strip{grid-template-columns:1fr}.benefit-item{justify-content:flex-start}.toolbar{align-items:stretch;flex-direction:column}.toolbar form{width:100%}.footer-inner{grid-template-columns:1fr}.checkout-steps{overflow:auto;justify-content:flex-start;padding:10px 16px}.checkout-step{min-width:185px}}

/* Ajustes de interacción, toasts y preview de producto */
.page.home-page {
    padding: 0;
}

.home-page .hero,
.home-page .benefit-strip {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.home-page .hero {
    height: 560px;
}

.toast-stack {
    display: grid;
    gap: 10px;
    left: 18px;
    max-width: min(420px, calc(100vw - 36px));
    position: fixed;
    top: 18px;
    z-index: 10050;
}

.toast-stack .alert {
    animation: toast-in .24s ease both;
    background: linear-gradient(135deg, var(--brand), #ff8b2d);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 14px 38px rgba(243, 111, 10, .32);
    color: #fff;
    font-weight: 750;
    margin: 0;
    max-width: none;
    padding: 13px 16px;
}

.toast-stack .alert.is-hiding {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .28s ease, transform .28s ease;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-card {
    cursor: pointer;
}

.product-card[hidden] {
    display: none !important;
}

.product-media {
    height: 175px;
}

.product-body {
    gap: 8px;
}

.product-body h3 {
    min-height: 0;
}

.product-detail-link {
    background: transparent;
    border: 0;
    color: var(--brand);
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    justify-self: start;
    padding: 0;
}

.product-detail-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.product-card .price-block {
    margin-top: 2px;
}

.product-card .normal-price-meta,
.product-card .price-meta,
.product-card .wholesale-teaser {
    font-size: 10px;
}

.product-card .stock {
    margin-top: 0;
}

.product-card form {
    display: grid;
    gap: 7px;
}

.product-card form label {
    font-size: 12px;
}

.product-card form input {
    min-height: 36px;
}

.product-card form .btn {
    min-height: 40px;
}

.product-preview-backdrop {
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 22px;
    z-index: 9000;
}

.product-preview {
    max-height: calc(100vh - 80px);
    max-width: 1120px;
    overflow: hidden;
    padding: 0;
    text-align: left;
    width: min(1120px, calc(100vw - 44px));
}

.product-preview-grid {
    display: grid;
    grid-template-columns: minmax(320px, .92fr) minmax(420px, 1.08fr);
    height: min(760px, calc(100vh - 80px));
    max-height: inherit;
    min-height: 0;
}

.product-preview-media {
    align-content: start;
    background: #f3f4f5;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: inherit;
    min-height: 0;
    overflow: auto;
    padding: 24px;
    scrollbar-color: var(--brand) #e6e8ea;
    scrollbar-width: thin;
}

.product-preview-media img,
.product-preview-media video {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    height: 74px;
    object-fit: contain;
    padding: 8px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    width: 100%;
}

.product-preview-media .main-preview-media {
    border-color: var(--brand);
    box-shadow: 0 10px 26px rgba(243, 111, 10, .16);
    cursor: default;
    grid-column: 1 / -1;
    height: 310px;
    padding: 18px;
}

.product-preview-media [data-preview-media]:not(.main-preview-media):hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.product-preview-content {
    display: grid;
    gap: 14px;
    grid-template-rows: auto minmax(260px, 1fr) auto;
    max-height: inherit;
    min-height: 0;
    overflow: hidden;
    padding: 30px;
    scrollbar-color: var(--brand) #edf0f2;
    scrollbar-width: thin;
}

.product-preview-info {
    border-top: 1px solid #dde1e5;
    display: grid;
    gap: 10px;
    grid-column: 1 / -1;
    padding-top: 14px;
}

.product-preview-info h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    margin: 0;
}

.product-preview-content h3 {
    margin: 0;
}

.preview-price-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preview-price-row strong {
    color: #111;
    font-size: 31px;
}

.preview-price-row span {
    color: var(--muted);
    font-weight: 700;
}

.product-preview-facts {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-preview-facts div {
    background: #f7f8f9;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 12px;
}

.product-preview-facts span {
    color: var(--muted);
    font-size: 11px;
}

.product-preview-description {
    background: #f7f8f9;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #444a52;
    line-height: 1.55;
    height: 100%;
    max-height: none;
    min-height: 0;
    overflow: auto;
    padding: 14px;
    scrollbar-color: var(--brand) #e6e8ea;
    scrollbar-width: thin;
}

.preview-buy-form {
    align-items: end;
    background: #fff;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
    grid-template-columns: 140px 1fr;
    padding-top: 14px;
}

.preview-buy-form .btn {
    gap: 8px;
}

@media(max-width:820px) {
    .home-page .hero {
        height: 500px;
    }

    .product-preview-grid,
    .preview-buy-form {
        grid-template-columns: 1fr;
    }

    .product-preview-grid {
        height: auto;
        max-height: none;
        min-height: 0;
    }

    .product-preview {
        max-height: calc(100vh - 24px);
        width: min(100%, calc(100vw - 24px));
    }

    .product-preview-content {
        overflow: visible;
    }

    .product-preview-media .main-preview-media {
        height: 240px;
    }

    .product-preview-description {
        min-height: 220px;
    }
}

.live-search-empty {
    background: #fff;
    border: 1px dashed var(--brand);
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
    margin-top: 18px;
    padding: 24px;
    text-align: center;
}

.admin-subpanel {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 0 0 28px;
    overflow: hidden;
}

.admin-subpanel-head {
    align-items: center;
    background: #f7f8f9;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 22px;
}

.admin-subpanel-head h2 {
    margin: 3px 0 0;
}

.admin-subpanel-head p {
    margin: 0;
    max-width: 420px;
    text-align: right;
}

.admin-kicker {
    color: var(--brand);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-product-editor {
    background: linear-gradient(180deg, #fff, #fbfbfb);
    border-color: #ffd5b5;
    box-shadow: 0 12px 32px rgba(243, 111, 10, .08);
}

.admin-product-editor .admin-subpanel-head {
    background: linear-gradient(90deg, #fff6ee, #fff);
    border-bottom-color: #ffd5b5;
}

.admin-product-editor .admin-product-form {
    padding: 22px;
}

.admin-product-list {
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 22, 24, .04);
}

.admin-product-list .table-wrap {
    padding: 0 22px 18px;
}

.upgrade-confirm {
    align-items: flex-start;
    background: #fff7f0;
    border: 1px solid #ffd5b5;
    border-radius: 8px;
    color: #363a40;
    gap: 12px;
    line-height: 1.45;
    margin: 18px 0 4px;
    padding: 14px 16px;
}

.upgrade-confirm input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.verification-box {
    background: #f7f8f9;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 20px 0 28px;
    padding: 22px;
}

.verification-form {
    display: grid;
    gap: 14px;
}

.verification-form input {
    border: 1px solid #dcdfe3;
    border-radius: 6px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .25em;
    min-height: 48px;
    padding: 10px 14px;
    text-align: center;
}

.link-button {
    background: transparent;
    border: 0;
    color: var(--brand);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
}

.auth-help-link {
    margin: 14px 0 0;
}

.auth-help-link a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.auth-help-link a:hover,
.link-button:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.reset-shell .auth-card {
    align-self: start;
}

.reset-form {
    display: grid;
    gap: 16px;
}

.reset-form > label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.auth-link-form {
    margin-top: 14px;
}

.is-disabled-form {
    opacity: .58;
}

.profile-panel {
    max-width: 1180px;
}

.profile-box-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
}

.profile-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(20, 22, 24, .04);
    padding: 24px;
}

.profile-box-wide {
    grid-column: 1 / -1;
}

.profile-box-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
}

.profile-box-head h2 {
    margin: 4px 0 0;
}

.profile-box-head p {
    margin: 0;
    max-width: 360px;
    text-align: right;
}

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

.social-links {
    align-items: flex-start;
    flex-wrap: wrap;
}

.social-links a,
.footer-social-icons a {
    align-items: center;
    color: #fff;
    display: inline-flex;
    gap: 7px;
    height: auto;
    min-height: 30px;
    width: auto;
    text-decoration: none;
}

.social-links a span,
.footer-social-icons a span {
    font-size: 11px;
    font-weight: 800;
}

.footer-social-icons {
    flex-direction: column;
}

.legal-page h2 {
    margin-top: 28px;
}

.legal-page p {
    max-width: 980px;
}

@media(max-width:820px) {
    .admin-subpanel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-subpanel-head p {
        text-align: left;
    }

    .profile-box-grid {
        grid-template-columns: 1fr;
    }

    .profile-box-head {
        flex-direction: column;
    }

    .profile-box-head p {
        text-align: left;
    }
}

/* Mobile production layout */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body.modal-open,
body.mobile-nav-open {
    overflow: hidden;
}

img,
video,
table,
input,
select,
textarea,
button {
    max-width: 100%;
}

.page,
.site-header,
.header-main,
.site-nav,
.footer,
.hero,
.benefit-strip,
.layout,
.panel,
.auth-layout,
.checkout-steps,
.checkout-grid {
    max-width: 100%;
}

@media(max-width:820px) {
    body {
        background: #f4f5f6;
    }

    .site-header {
        position: relative;
        top: auto;
        width: 100%;
        z-index: 5000;
    }

    .header-main {
        gap: 13px;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
        padding: 16px 16px 14px;
        width: 100%;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        height: 40px;
        width: 78px;
    }

    .brand span {
        display: none;
    }

    .header-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        min-width: 0;
    }

    .header-actions > .header-action {
        display: flex;
    }

    .header-action {
        min-width: 0;
    }

    .header-action div {
        display: none;
    }

    .header-icon {
        height: 24px;
        width: 24px;
    }

    .cart-count {
        left: 16px;
        top: -7px;
    }

    .mobile-menu-btn {
        align-items: center;
        border: 0;
        color: #fff;
        display: inline-flex;
        height: 40px;
        justify-content: center;
        padding: 0;
        width: 40px;
    }

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 43px;
        min-width: 0;
        width: 100%;
    }

    .header-search input {
        min-width: 0;
        width: 100%;
    }

    .site-header.nav-open .mobile-menu-btn {
        position: fixed;
        right: 16px;
        top: 18px;
        z-index: 5200;
    }

    .site-nav {
        background: radial-gradient(circle at 100% 22%, rgba(255, 111, 0, .12), transparent 26%), #111315;
        border-top: 0;
        bottom: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        max-height: none;
        min-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 86px 22px 26px;
        position: fixed;
        right: 0;
        top: 0;
        width: 100vw;
        z-index: 5100;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        color: #f6f7f8;
        font-size: 16px;
        justify-content: flex-start;
        min-height: 54px;
        padding: 16px 0;
        width: 100%;
    }

    .site-nav .nav-accent {
        background: linear-gradient(90deg, rgba(255, 111, 0, .22), rgba(255, 111, 0, 0));
        border-bottom-color: rgba(255, 111, 0, .55);
        border-radius: 8px;
        color: var(--brand);
        margin: 4px 0;
        padding-left: 14px;
    }

    .site-nav .nav-register {
        border: 1px solid var(--brand);
        border-radius: 8px;
        justify-content: center;
        margin-top: 14px;
        min-height: 48px;
        padding: 12px 16px !important;
    }

    .nav-spacer {
        display: none;
    }

    .home-page .hero,
    .hero {
        border-radius: 0;
        height: 300px;
        min-height: 300px;
        overflow: hidden;
        width: 100%;
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(5, 7, 8, .95) 0%, rgba(5, 7, 8, .68) 50%, rgba(5, 7, 8, .18) 100%);
    }

    .home-slide img {
        object-position: center;
    }

    .hero-content {
        left: 16px;
        max-width: calc(100vw - 32px);
        right: 16px;
        top: 44%;
    }

    .eyebrow {
        font-size: 10px;
    }

    .hero h1 {
        font-size: clamp(28px, 9vw, 38px);
        line-height: 1.04;
        max-width: 310px;
        overflow-wrap: anywhere;
    }

    .hero p {
        font-size: 13px;
        max-width: 320px;
    }

    .hero-actions {
        display: none;
    }

    .hero-actions .btn {
        min-height: 40px;
        min-width: 0;
        padding: 10px 14px;
    }

    .slider-controls {
        bottom: 14px;
    }

    .benefit-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 0;
        padding: 0;
        width: 100%;
    }

    .benefit-item {
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        justify-content: flex-start;
        min-width: 0;
        padding: 13px 16px;
    }

    .benefit-item strong {
        font-size: 11px;
    }

    .benefit-item span {
        font-size: 9px;
    }

    .layout {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr;
        margin: 0;
        padding: 22px 14px 38px;
        width: 100%;
    }

    .sidebar {
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: hidden;
        padding: 0;
        width: 100%;
    }

    .sidebar h2 {
        font-size: 18px;
        margin: 0 0 12px;
    }

    .category-list {
        display: grid;
        gap: 10px;
        grid-auto-columns: minmax(92px, 1fr);
        grid-auto-flow: column;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .category-list::-webkit-scrollbar {
        display: none;
    }

    .category-list a {
        align-items: center;
        background: #151719;
        border: 1px solid #2b2e32;
        color: #f4f5f6;
        display: flex;
        justify-content: center;
        min-height: 58px;
        padding: 10px;
        text-align: center;
        white-space: normal;
    }

    .category-list a.active {
        background: linear-gradient(135deg, var(--brand), #ff8c26);
        color: #fff;
    }

    .toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
    }

    .toolbar strong {
        font-size: 19px;
    }

    .toolbar form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }

    .toolbar input {
        min-width: 0;
    }

    .toolbar .btn {
        padding-left: 14px;
        padding-right: 14px;
    }

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

    .product-card {
        border-radius: 8px;
        min-width: 0;
    }

    .product-card:hover {
        transform: none;
    }

    .product-media {
        height: 145px;
    }

    .product-media img {
        padding: 12px;
    }

    .product-body {
        gap: 7px;
        padding: 10px;
    }

    .product-body h3 {
        font-size: 13px;
        line-height: 1.25;
        min-height: 0;
    }

    .product-body > .muted,
    .product-card .wholesale-teaser,
    .product-card .stock {
        font-size: 10px;
    }

    .product-card .normal-price-meta,
    .product-card .price-meta {
        font-size: 9px;
    }

    .price strong {
        font-size: 18px;
    }

    .product-card form {
        display: none;
    }

    .footer {
        padding: 34px 18px;
        width: 100%;
    }

    .footer-inner {
        gap: 28px;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .footer-brand,
    .footer-col {
        min-width: 0;
    }

    .social-links,
    .footer-social-icons {
        align-items: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media(max-width:820px) {
    .modal-backdrop.product-preview-backdrop {
        align-items: flex-start;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 10px;
    }

    .product-preview {
        border-radius: 14px;
        margin: 0 auto;
        max-height: none;
        max-width: 100%;
        overflow: visible;
        width: 100%;
    }

    .product-preview-grid {
        display: block;
        height: auto;
        max-height: none;
        min-height: 0;
    }

    .product-preview-media {
        background: #f4f5f6;
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
        padding: 14px;
    }

    .product-preview-media img,
    .product-preview-media video {
        height: 58px;
        padding: 5px;
    }

    .product-preview-media .main-preview-media {
        grid-column: 1 / -1;
        height: auto;
        max-height: 310px;
        min-height: 230px;
        object-fit: contain;
        padding: 10px;
        width: 100%;
    }

    .product-preview-info {
        background: #fff;
        border-top: 1px solid var(--line);
        margin-top: 10px;
        padding: 16px 0 0;
    }

    .product-preview-info h2 {
        font-size: clamp(25px, 7.8vw, 36px);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .preview-price-row strong {
        font-size: 30px;
    }

    .product-preview-facts {
        gap: 8px;
    }

    .product-preview-facts div {
        padding: 11px;
    }

    .product-preview-content {
        display: block;
        max-height: none;
        overflow: visible;
        padding: 18px 14px 0;
    }

    .product-preview-content h3 {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .product-preview-description {
        height: auto;
        max-height: 240px;
        min-height: 110px;
        overflow: auto;
    }

    .preview-buy-form {
        align-items: end;
        background: #111315;
        border-radius: 0 0 14px 14px;
        border-top: 0;
        bottom: 0;
        box-shadow: 0 -10px 24px rgba(0, 0, 0, .18);
        display: grid;
        gap: 10px;
        grid-template-columns: 96px 1fr;
        margin: 16px -14px 0;
        padding: 12px 14px;
        position: sticky;
        z-index: 3;
    }

    .preview-buy-form label {
        color: #fff;
        font-size: 11px;
    }

    .preview-buy-form input {
        min-height: 42px;
    }

    .preview-buy-form .btn {
        min-width: 0;
        width: 100%;
    }

    .modal-close {
        background: rgba(17, 19, 21, .86);
        border-radius: 999px;
        color: #fff;
        height: 36px;
        position: sticky;
        right: 12px;
        top: 10px;
        width: 36px;
        z-index: 5;
    }
}

@media(max-width:700px) {
    .checkout-steps {
        background: #101113;
        color: #fff;
        gap: 8px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin: 0;
        padding: 16px 12px 20px;
        width: 100%;
    }

    .checkout-step {
        align-items: center;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
        text-align: center;
    }

    .checkout-step strong {
        color: #fff;
        font-size: 11px;
    }

    .checkout-step span:not(.bubble) {
        display: none;
    }

    .checkout-step .bubble {
        height: 28px;
        width: 28px;
    }

    .panel.wide,
    .panel {
        border-radius: 0;
        margin: 0;
        padding: 18px 12px 28px;
        width: 100%;
    }

    .panel h1 {
        font-size: 24px;
    }

    .checkout-grid {
        display: block;
        width: 100%;
    }

    .checkout-grid > form,
    .checkout-grid aside {
        min-width: 0;
        width: 100%;
    }

    .cart-table-wrap {
        overflow: visible;
        width: 100%;
    }

    .cart-table-wrap table {
        min-width: 0;
        width: 100%;
    }

    .cart-table-wrap thead {
        display: none;
    }

    .cart-table-wrap tbody,
    .cart-table-wrap tr,
    .cart-table-wrap td {
        display: block;
        width: 100%;
    }

    .cart-table-wrap tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 12px;
    }

    .cart-table-wrap td {
        border-bottom: 0;
        padding: 7px 0;
    }

    .cart-table-wrap td::before {
        color: var(--muted);
        content: attr(data-label);
        display: block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .04em;
        margin-bottom: 4px;
        text-transform: uppercase;
    }

    .cart-product {
        align-items: center;
        gap: 10px;
    }

    .cart-product img {
        flex: 0 0 72px;
        height: 72px;
        width: 72px;
    }

    .cart-table-wrap input[type="number"] {
        width: 100%;
    }

    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .actions .btn,
    .summary .btn {
        justify-content: center;
        width: 100%;
    }

    .summary {
        border-radius: 10px;
        margin-top: 14px;
        padding: 18px;
        width: 100%;
    }

    .summary form {
        display: grid;
        gap: 8px;
        grid-template-columns: 1fr;
    }

    .summary-row {
        gap: 12px;
    }

    .summary-total {
        font-size: 20px;
    }

    .trust-box {
        border-radius: 10px;
        gap: 0;
        grid-template-columns: 1fr;
        width: 100%;
    }
}

@media(max-width:420px) {
    .header-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-content {
        left: 14px;
        right: 14px;
    }

    .hero h1 {
        font-size: 30px;
        max-width: 285px;
    }

    .grid {
        gap: 8px;
    }

    .product-media {
        height: 132px;
    }

    .product-body {
        padding: 9px;
    }

    .product-body h3 {
        font-size: 12px;
    }

    .price strong {
        font-size: 17px;
    }

    .product-preview-media .main-preview-media {
        min-height: 210px;
    }

    .product-preview-facts div {
        padding: 9px 8px;
    }
}

/* Footer production redesign */
.footer-modern {
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 111, 0, .12), transparent 26%),
        radial-gradient(circle at 18% 70%, rgba(255, 255, 255, .05), transparent 30%),
        linear-gradient(180deg, #151719 0%, #090a0c 100%);
    color: #fff;
    overflow: hidden;
}

.footer-modern .footer-inner {
    display: grid;
    gap: 34px 42px;
    grid-template-areas:
        "brand links payments"
        "brand links contact"
        "copy copy copy";
    grid-template-columns: minmax(240px, .95fr) minmax(320px, 1.1fr) minmax(360px, 1.15fr);
    margin: 0 auto;
    max-width: 1320px;
    width: 100%;
}

.footer-modern .footer-block,
.footer-links-grid {
    min-width: 0;
}

.footer-modern .footer-brand {
    grid-area: brand;
}

.footer-links-grid {
    display: grid;
    gap: 34px;
    grid-area: links;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-payments {
    grid-area: payments;
}

.footer-contact {
    grid-area: contact;
}

.footer-copy {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #aeb3ba;
    display: flex;
    gap: 14px;
    grid-area: copy;
    justify-content: center;
    padding-top: 18px;
    text-align: center;
}

.footer-copy svg {
    color: #cfd4da;
    height: 30px;
    width: 30px;
}

.footer-modern .footer-logo-row {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-modern .footer-logo-row img {
    height: 68px;
    object-fit: contain;
    width: 110px;
}

.footer-modern .footer-logo-row strong {
    color: #fff;
    font-size: 16px;
}

.footer-modern h3 {
    color: #fff;
    font-size: 13px;
    letter-spacing: .02em;
    margin: 0 0 18px;
    position: relative;
    text-transform: uppercase;
}

.footer-modern h3::after {
    background: var(--brand);
    border-radius: 999px;
    bottom: -8px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 34px;
}

.footer-modern p {
    color: #c8ccd1;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 16px;
}

.footer-shipping {
    align-items: center;
    display: flex;
    gap: 10px;
}

.footer-shipping svg {
    color: var(--brand);
    flex: 0 0 auto;
    height: 24px;
    width: 24px;
}

.footer-modern .footer-col {
    display: grid;
    gap: 11px;
}

.footer-modern .footer-col a {
    align-items: center;
    color: #e8ebef;
    display: flex;
    font-size: 13px;
    gap: 10px;
    text-decoration: none;
}

.footer-modern .footer-col a::before {
    color: var(--brand);
    content: "\203A";
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.footer-modern .footer-col a:hover,
.footer-contact-card:hover {
    color: #fff;
    transform: translateY(-1px);
}

.footer-modern .payment-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 18px;
}

.footer-modern .payment-row span {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    display: flex;
    height: 70px;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.footer-modern .payment-row img {
    display: block;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    width: 100%;
}

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

.footer-contact-card {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    color: #fff;
    display: flex;
    gap: 12px;
    min-height: 72px;
    min-width: 0;
    padding: 12px;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.footer-contact-card:hover {
    border-color: rgba(255, 111, 0, .55);
    background: linear-gradient(180deg, rgba(255, 111, 0, .14), rgba(255, 255, 255, .045));
}

.footer-contact-card img {
    flex: 0 0 auto;
    height: 42px;
    object-fit: contain;
    width: 42px;
}

.footer-contact-card svg {
    color: var(--brand);
    flex: 0 0 auto;
    height: 30px;
    width: 30px;
}

.footer-contact-card span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.footer-contact-card strong {
    color: #fff;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.footer-contact-card small {
    color: #c5c9ce;
    font-size: 11px;
    line-height: 1.25;
}

@media(max-width:1100px) {
    .footer-modern .footer-inner {
        grid-template-areas:
            "brand links"
            "payments contact"
            "copy copy";
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    }
}

@media(max-width:820px) {
    .footer-modern {
        padding: 26px 14px 22px;
    }

    .footer-modern .footer-inner {
        gap: 18px;
        grid-template-areas:
            "brand"
            "links"
            "payments"
            "contact"
            "copy";
        grid-template-columns: 1fr;
        margin: 0 auto;
        max-width: 430px;
    }

    .footer-modern .footer-block,
    .footer-links-grid {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding-bottom: 16px;
    }

    .footer-modern .footer-logo-row {
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .footer-modern .footer-logo-row img {
        height: 48px;
        width: 86px;
    }

    .footer-modern p {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 10px;
    }

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

    .footer-shipping svg {
        height: 19px;
        width: 19px;
    }

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

    .footer-modern h3 {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .footer-modern h3::after {
        bottom: -7px;
        width: 28px;
    }

    .footer-modern .footer-col {
        gap: 7px;
    }

    .footer-modern .footer-col a {
        font-size: 12px;
        gap: 7px;
    }

    .footer-modern .footer-col a::before {
        font-size: 16px;
    }

    .footer-modern .payment-row {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 10px;
    }

    .footer-modern .payment-row span {
        border-radius: 8px;
        height: 56px;
        padding: 8px;
    }

    .footer-modern .payment-row img {
        max-height: 39px;
    }

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

    .footer-contact-card {
        align-items: center;
        border-radius: 8px;
        gap: 8px;
        min-height: 58px;
        padding: 9px;
    }

    .footer-contact-card img {
        height: 31px;
        width: 31px;
    }

    .footer-contact-card svg {
        height: 23px;
        width: 23px;
    }

    .footer-contact-card strong {
        font-size: 11px;
    }

    .footer-contact-card small {
        font-size: 10px;
    }

    .footer-copy {
        border-top: 0;
        gap: 9px;
        padding-top: 0;
    }

    .footer-copy svg {
        height: 23px;
        width: 23px;
    }

    .footer-copy p {
        font-size: 12px;
        margin: 0;
    }
}

@media(max-width:420px) {
    .footer-modern {
        padding-left: 14px;
        padding-right: 14px;
    }

    .footer-links-grid {
        gap: 20px;
    }

    .footer-modern .footer-col a {
        font-size: 13px;
    }

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

@media(max-width:360px) {
    .footer-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media(min-width:821px) {
    .footer-modern {
        padding: 30px clamp(28px, 5vw, 72px) 26px;
    }

    .footer-modern .footer-inner {
        gap: 22px 34px;
        grid-template-columns: minmax(230px, .9fr) minmax(280px, .95fr) minmax(330px, 1fr);
        max-width: 1180px;
    }

    .footer-links-grid {
        gap: 24px;
    }

    .footer-modern .footer-logo-row {
        margin-bottom: 12px;
    }

    .footer-modern .footer-logo-row img {
        height: 46px;
        width: 82px;
    }

    .footer-modern .footer-logo-row strong {
        font-size: 14px;
    }

    .footer-modern p {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .footer-shipping svg {
        height: 18px;
        width: 18px;
    }

    .footer-modern h3 {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .footer-modern h3::after {
        bottom: -7px;
        width: 28px;
    }

    .footer-modern .footer-col {
        gap: 7px;
    }

    .footer-modern .footer-col a {
        font-size: 12px;
        gap: 7px;
    }

    .footer-modern .footer-col a::before {
        font-size: 16px;
    }

    .footer-modern .payment-row {
        gap: 8px;
        margin-bottom: 12px;
    }

    .footer-modern .payment-row span {
        border-radius: 8px;
        height: 52px;
        padding: 8px;
    }

    .footer-modern .payment-row img {
        max-height: 36px;
    }

    .footer-contact-grid {
        gap: 10px;
    }

    .footer-contact-card {
        border-radius: 8px;
        gap: 9px;
        min-height: 58px;
        padding: 9px 10px;
    }

    .footer-contact-card img {
        height: 32px;
        width: 32px;
    }

    .footer-contact-card svg {
        height: 24px;
        width: 24px;
    }

    .footer-contact-card strong {
        font-size: 12px;
    }

    .footer-contact-card small {
        font-size: 10px;
    }

    .footer-copy {
        gap: 10px;
        padding-top: 12px;
    }

    .footer-copy svg {
        height: 24px;
        width: 24px;
    }

    .footer-copy p {
        font-size: 12px;
        margin: 0;
    }
}

/* Header action alignment */
@media(min-width:821px) {
    .site-header .header-main {
        grid-template-columns: 280px minmax(280px, 650px) minmax(max-content, 1fr);
        max-width: none;
        width: 100%;
    }

    .site-header .header-actions {
        justify-content: flex-end;
        justify-self: end;
        margin-left: auto;
        min-width: max-content;
    }
}

@media(max-width:820px) {
    .site-header .header-actions {
        justify-self: end;
        margin-left: auto;
    }
}
