:root {
    --black: #111111;
    --near-black: #1a1a1a;
    --red: #e2231a;
    --red-dark: #c31d15;
    --white: #ffffff;
    --gray-50: #f7f7f6;
    --gray-100: #f0f0ee;
    --gray-200: #e5e5e2;
    --gray-300: #d4d4d0;
    --gray-500: #8a8a86;
    --gray-700: #4a4a48;
    --radius: 4px;
    --maxw: 1280px;
    --shadow-card: 0 1px 3px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; font-size: 13px; font-weight: 700; letter-spacing: .03em;
    text-transform: uppercase; border-radius: var(--radius); border: 1px solid transparent;
    cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary, .btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover, .btn-dark:hover { background: var(--near-black); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--black); background: var(--gray-50); }
.btn-lg { padding: 17px 30px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { background: transparent; color: var(--gray-700); border-color: transparent; padding: 8px 12px; }
.btn-ghost:hover { color: var(--black); }
.btn-checkout {
    position: relative; overflow: hidden; background: var(--red);
    border-color: var(--red); box-shadow: 0 6px 18px rgba(226,35,26,.28);
    animation: checkoutPulse 2.4s ease-in-out infinite;
}
.btn-checkout:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 8px 22px rgba(226,35,26,.4); animation-play-state: paused; }
.btn-checkout-arrow { width: 18px; height: 18px; transition: transform .25s ease; }
.btn-checkout:hover .btn-checkout-arrow { transform: translateX(5px); }
@keyframes checkoutPulse { 0%, 100% { box-shadow: 0 6px 18px rgba(226,35,26,.28); } 50% { box-shadow: 0 6px 22px rgba(226,35,26,.5); } }
@media (prefers-reduced-motion: reduce) { .btn-checkout { animation: none; } }

.topbar {
    background: var(--black);
    color: var(--white);
}
.topbar .container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 8px 24px;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.topbar span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar svg { width: 13px; height: 13px; flex: none; }

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
}
.logo { display: flex; align-items: center; width: 205px; margin-right: 8px; }
.logo img { width: 205px; height: auto; display: block; image-rendering: auto; }
.main-nav { display: flex; gap: 28px; flex: 1; }
.main-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 6px 0;
    white-space: nowrap;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 8px 14px;
    min-width: 210px;
    flex: 0 1 260px;
    position: relative;
}
.search-box input {
    border: none; background: none; outline: none; font-size: 13px; width: 100%;
}
.search-box svg { width: 15px; height: 15px; color: var(--gray-500); flex: none; }
.search-live-results {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    box-shadow: 0 10px 26px rgba(0,0,0,.12); max-height: 400px; overflow-y: auto;
}
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--gray-100); }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--gray-50); }
.search-result-item img, .search-result-noimg { width: 42px; height: 46px; object-fit: cover; border-radius: 2px; background: var(--gray-100); flex: none; }
.search-result-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-result-info .name { font-size: 13px; font-weight: 600; color: var(--black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-info .price-row { display: flex; gap: 6px; font-size: 12px; }
.search-result-info .price { font-weight: 700; }
.search-result-info .old { color: var(--gray-500); text-decoration: line-through; }
.header-icons { display: flex; align-items: center; gap: 18px; }
.icon-btn { position: relative; display: inline-flex; color: var(--black); }
.icon-btn svg { width: 20px; height: 20px; }
.badge {
    position: absolute; top: -7px; right: -9px;
    background: var(--red); color: var(--white);
    font-size: 10px; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.burger { display: none; background: none; border: none; padding: 4px; }

.hero {
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: #050505;
}
.hero-home .hero-media {
    position: absolute; inset: 0;
    background-image: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.72) 30%, rgba(0,0,0,.15) 66%, rgba(0,0,0,.88) 100%), url('../images/wanted-hero.png');
    background-size: cover;
    background-position: center 38%;
    filter: contrast(1.05);
}
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; width: 100%; min-height: 440px; }
.hero-copy { flex: 1; z-index: 2; padding: 52px 0; }
.hero-copy .eyebrow { font-size: 12px; letter-spacing: .28em; color: #d7d7d7; font-weight: 700; margin-bottom: 16px; }
.hero-copy h1 { font-size: clamp(46px, 5.2vw, 74px); line-height: .96; font-weight: 900; margin: 0 0 22px; letter-spacing: -.035em; }
.hero-dot { color: var(--red); }
.hero-subline { font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: #d2d2d2; margin-bottom: 28px; font-weight: 600; }
.hero-side-copy { width: 110px; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; font-size: 11px; letter-spacing: .28em; color: #e5e5e5; }
.hero-side-copy::before { content: ''; width: 58px; height: 1px; background: #888; margin-bottom: 8px; }
.category-strip { display: grid; grid-template-columns: repeat(5, 1fr); background: #050505; border-top: 1px solid #555; }
.category-tile { min-height: 145px; position: relative; overflow: hidden; background: linear-gradient(135deg,#181818,#050505); border-right: 1px solid #777; }
.category-tile:last-child { border-right: 0; }
.category-tile::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.08)); pointer-events:none; }
.category-uomo { background: linear-gradient(135deg,#252525,#080808); }
.category-abb { background: linear-gradient(135deg,#171717,#303030); }
.category-shoes { background: linear-gradient(135deg,#222,#070707); }
.category-accessori { background: linear-gradient(135deg,#171717,#252525); }
.category-sale { background: radial-gradient(circle at 80% 40%, #8c120d 0, #220505 35%, #070707 75%); }
.category-tile a { position:relative; z-index:2; min-height:145px; padding:0 22px; display:flex; align-items:center; justify-content:space-between; color:#fff; font-size:14px; font-weight:800; letter-spacing:.02em; }
.category-tile b { font-size:22px; font-weight:400; }
.category-tile:hover a { transform: translateX(4px); }

.section { padding: 56px 0; }
.section-head {
    display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px;
}
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
.link-arrow { font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { color: var(--red); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card { position: relative; }
.product-thumb {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
}
.product-thumb svg { width: 100%; height: 100%; padding: 22px; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--red); color: var(--white);
    font-size: 10px; font-weight: 800; letter-spacing: .04em;
    padding: 4px 8px; border-radius: 2px; text-transform: uppercase;
    z-index: 2;
}
.sold-out-badge, .low-stock-badge { left: auto; right: 10px; }
.sold-out-badge { background: var(--black); }
.low-stock-badge { background: #b5760f; }
.product-card.is-sold-out .product-thumb img,
.product-card.is-sold-out .product-thumb svg { opacity: .45; filter: grayscale(.4); }
.wish-btn {
    position: absolute; top: 12px; right: 12px;
    width: 34px; height: 34px;
    padding: 0; border: 0; border-radius: 0;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    color: var(--black);
    cursor: pointer;
    z-index: 3;
}
.wish-btn svg { width: 22px; height: 22px; padding: 0; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn.active { color: var(--red); }
.quick-add {
    position: absolute; left: 8px; right: 8px; bottom: 8px;
    opacity: 0; transform: translateY(6px);
    transition: opacity .15s, transform .15s;
}
.product-card:hover .quick-add { opacity: 1; transform: none; }
.quick-add button {
    width: 100%; background: var(--black); color: var(--white);
    border: none; padding: 9px; font-size: 11px; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase; border-radius: 2px;
}
.quick-add button:hover { background: var(--red); }
.product-name { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.product-price { font-size: 15px; font-weight: 800; display: flex; gap: 8px; align-items: baseline; }
.product-price .old { font-weight: 500; color: var(--gray-500); text-decoration: line-through; font-size: 13px; }

.trust-row {
    display: flex; justify-content: center; gap: 56px; padding: 26px 0;
    border-top: 1px solid var(--gray-200); margin-top: 8px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--gray-700); text-transform: uppercase; letter-spacing: .02em; }
.trust-item svg { width: 24px; height: 24px; color: var(--red); flex: none; }

.page-title { padding: 30px 0 6px; }
.page-title h1 { font-size: 26px; font-weight: 800; text-transform: uppercase; margin: 0; }
.page-title .count { color: var(--gray-500); font-weight: 600; font-size: 14px; margin-left: 8px; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; padding: 24px 0 60px; }
.cart-list { display: flex; flex-direction: column; }
.cart-row {
    display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 18px; align-items: center;
    padding: 20px 0; border-bottom: 1px solid var(--gray-200);
}
.cart-row .thumb { width: 84px; height: 84px; background: var(--gray-100); border-radius: var(--radius); overflow: hidden; }
.cart-row .thumb svg { padding: 12px; }
.cart-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .meta h3 { font-size: 15px; margin: 0 0 4px; font-weight: 700; }
.cart-row .meta p { margin: 0; font-size: 13px; color: var(--gray-500); }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--gray-300); border-radius: 20px; overflow: hidden; }
.qty-stepper button { width: 30px; height: 30px; border: none; background: var(--white); font-size: 16px; }
.qty-stepper button:hover { background: var(--gray-100); }
.qty-stepper .val { width: 30px; text-align: center; font-weight: 700; font-size: 13px; }
.cart-row .price { font-weight: 800; font-size: 15px; min-width: 70px; text-align: right; }
.remove-btn { background: none; border: none; color: var(--gray-500); padding: 6px; }
.remove-btn:hover { color: var(--red); }
.remove-btn svg { width: 18px; height: 18px; }

.coupon-row { display: flex; gap: 10px; margin: 22px 0; }
.coupon-row input {
    flex: 1; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 13px;
}
.coupon-note { font-size: 12px; margin-top: -12px; margin-bottom: 20px; }
.coupon-note.ok { color: #1a7d33; }
.coupon-note.err { color: var(--red); }

.summary-card {
    border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; background: var(--white);
}
.summary-card h2 { font-size: 15px; text-transform: uppercase; font-weight: 800; margin: 0 0 16px; }
.summary-line { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; color: var(--gray-700); }
.summary-line.total { border-top: 1px solid var(--gray-200); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 800; color: var(--black); }
.summary-mini-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); align-items: center; }
.summary-mini-item .thumb { width: 52px; height: 52px; background: var(--gray-100); border-radius: var(--radius); flex: none; overflow: hidden; }
.summary-mini-item .thumb svg { padding: 8px; }
.summary-mini-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-mini-item .info { flex: 1; min-width: 0; }
.summary-mini-item .info h4 { margin: 0 0 2px; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-mini-item .info p { margin: 0; font-size: 12px; color: var(--gray-500); }
.summary-mini-item .amount { font-size: 13px; font-weight: 700; white-space: nowrap; }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state svg { width: 64px; height: 64px; color: var(--gray-300); margin: 0 auto 20px; }
.empty-state h2 { font-size: 20px; margin: 0 0 8px; }
.empty-state p { color: var(--gray-500); margin: 0 0 24px; }
.static-page { padding: 10px 0 70px; max-width: 760px; }
.static-page-content { color: var(--gray-700); line-height: 1.7; }
.static-page-content h2 { color: var(--black); font-size: 19px; margin: 28px 0 10px; }
.static-page-content h2:first-child { margin-top: 0; }
.static-page-content p { margin: 0 0 14px; }
.static-page-content ul { margin: 0 0 14px; padding-left: 20px; }
.static-page-content li { margin-bottom: 6px; }
.static-page-content a { color: var(--black); text-decoration: underline; }
.static-page-content code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: 12px; }
.static-page-content .cookie-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 13px; }
.static-page-content .cookie-table th, .static-page-content .cookie-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--gray-200); vertical-align: top; }
.static-page-content .cookie-table th { background: var(--gray-100); font-size: 11px; text-transform: uppercase; letter-spacing: .02em; }

.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; padding: 8px 0 40px; }
.catalog-filters { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; position: sticky; top: 16px; }
.filter-group { margin-bottom: 18px; }
.filter-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .02em; color: var(--gray-700); }
.filter-group select, .filter-group input {
    width: 100%; padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius);
    font-size: 14px; font-family: inherit; background: var(--white);
}
.filter-price-row { display: flex; gap: 8px; }
.filter-price-row input { width: 0; flex: 1; }

.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; padding: 8px 0 60px; }
.stepper { display: flex; align-items: center; padding: 26px 0 34px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; flex: 1; text-align: center; }
.step .circle {
    width: 34px; height: 34px; border-radius: 50%; background: var(--gray-200); color: var(--gray-500);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; z-index: 1;
}
.step .label { font-size: 12px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .02em; }
.step::before {
    content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--gray-200); z-index: 0;
}
.step:first-child::before { display: none; }
.step.done .circle { background: var(--red); color: var(--white); }
.step.done::before { background: var(--red); }
.step.active .circle { background: var(--red); color: var(--white); box-shadow: 0 0 0 4px rgba(226,35,26,.15); }
.step.active .label { color: var(--black); }

.checkout-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; }
.checkout-card h2 { font-size: 18px; text-transform: uppercase; font-weight: 800; margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.phone-field { display: flex; gap: 8px; }
.phone-field select { flex: 0 0 130px; }
.phone-field input { flex: 1; min-width: 0; }
.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .02em; color: var(--gray-700); }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 14px; background: var(--white); font-family: inherit;
}
.field textarea { resize: vertical; min-height: 60px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); }
.field-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-700); margin-top: 4px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }

.help-box {
    border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px; margin-top: 18px;
    display: flex; align-items: center; gap: 14px; font-size: 13px;
}
.help-box svg { width: 30px; height: 30px; color: #25d366; flex: none; }
.help-box strong { display: block; font-size: 13px; margin-bottom: 2px; }
.help-box p { margin: 0; color: var(--gray-500); font-size: 12px; }

.ship-option, .pay-option {
    display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 16px 18px; margin-bottom: 12px; cursor: pointer;
}
.ship-option:has(input:checked), .pay-option:has(input:checked) { border-color: var(--red); background: #fff6f5; }
.ship-option input, .pay-option input { margin-top: 3px; accent-color: var(--red); }
.ship-option .info, .pay-option .info { flex: 1; }
.ship-option .name, .pay-option .name { font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.ship-option .desc, .pay-option .desc { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.pay-logos { display: flex; gap: 6px; align-items: center; }
.pay-logos span {
    font-size: 10px; font-weight: 800; border: 1px solid var(--gray-300); border-radius: 3px; padding: 2px 5px; color: var(--gray-700);
}
.pay-card-fields { display: none; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--gray-200); }
.pay-option:has(input:checked) .pay-card-fields { display: grid; }
.pay-card-fields .full { grid-column: 1/-1; }

.terms-check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--gray-700); cursor: pointer; }
.terms-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.terms-check a { text-decoration: underline; }
.pay-note { font-size: 13px; color: var(--gray-500); margin: 4px 0 0; line-height: 1.5; }
.secure-note { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--gray-500); margin-top: 16px; }
.secure-note svg { width: 18px; height: 18px; color: var(--gray-700); flex: none; }

.complete-wrap { max-width: 560px; margin: 0 auto; padding: 70px 24px 90px; text-align: center; }
.complete-icon {
    width: 84px; height: 84px; border-radius: 50%; background: var(--red); color: var(--white);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 26px;
}
.complete-icon svg { width: 42px; height: 42px; }
.complete-wrap h1 { font-size: 26px; font-weight: 800; margin: 0 0 10px; }
.complete-wrap > p { color: var(--gray-700); margin: 0 0 30px; }
.order-info-row { display: flex; gap: 14px; justify-content: center; margin-bottom: 22px; }
.order-info-box { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px 22px; text-align: left; }
.order-info-box .k { font-size: 11px; text-transform: uppercase; color: var(--gray-500); font-weight: 700; letter-spacing: .03em; }
.order-info-box .v { font-size: 15px; font-weight: 800; margin-top: 2px; }
.email-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--gray-700); margin-bottom: 30px; }
.email-note svg { width: 16px; height: 16px; }
.complete-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.complete-actions .btn { min-width: 240px; }

.site-footer { background: var(--black); color: #c9c9c7; margin-top: 40px; }
.site-footer .container { padding: 44px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-grid ul a:hover { color: var(--white); }
.footer-brand .word { color: var(--white); font-size: 22px; font-weight: 800; }
.footer-brand p { font-size: 13px; margin-top: 12px; max-width: 260px; }
.footer-bottom { border-top: 1px solid #2c2c2c; margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; font-size: 12px; color: #8a8a86; flex-wrap: wrap; gap: 8px; }

.auth-wrap { max-width: 420px; margin: 50px auto; padding: 0 24px 60px; }
.auth-wrap.wide { max-width: 760px; }
.auth-tabs { flex-wrap: wrap; }
.auth-tabs a { flex: 1 1 auto; white-space: nowrap; padding: 12px 10px; }
.account-address-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.account-address-card .addr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.account-address-card .addr-actions button, .account-address-card .addr-actions a { background: none; border: none; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--gray-700); cursor: pointer; }
.account-address-card .addr-actions .del { color: var(--red); }
.pill-default { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; background: var(--black); color: var(--white); padding: 2px 8px; border-radius: 999px; margin-left: 8px; }
.order-detail summary { cursor: pointer; list-style: none; }
.order-detail summary::-webkit-details-marker { display: none; }
.order-items-list { margin: 14px 0; padding: 0; list-style: none; font-size: 13px; color: var(--gray-700); }
.order-items-list li { padding: 6px 0; border-top: 1px solid var(--gray-100); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--gray-200); margin-bottom: 26px; }
.auth-tabs a { flex: 1; text-align: center; padding: 12px; font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--gray-500); border-bottom: 2px solid transparent; }
.auth-tabs a.active { color: var(--black); border-color: var(--red); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-weight: 700; font-size: 14px; color: var(--black); background: var(--white); transition: background-color .15s ease; }
.btn-google:hover { background: var(--gray-100); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--gray-500); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.field { margin-bottom: 16px; }
.autocomplete-field { position: relative; }
.autocomplete-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: var(--white); border: 1px solid var(--gray-300); border-top: none; border-radius: 0 0 var(--radius) var(--radius); max-height: 240px; overflow-y: auto; box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.autocomplete-option { padding: 10px 14px; font-size: 13px; cursor: pointer; }
.autocomplete-option:hover { background: var(--gray-100); }
.address-check { font-size: 12px; margin-top: 6px; min-height: 16px; }
.address-check.checking { color: var(--gray-500); }
.address-check.ok { color: #1a7d33; }
.address-check.warn { color: #a15c00; }
.alert { padding: 12px 14px; border-radius: var(--radius); font-size: 13px; margin-bottom: 18px; }
.alert-error { background: #fdeceb; color: var(--red-dark); border: 1px solid #f6c9c5; }
.alert-ok { background: #eaf7ee; color: #1a7d33; border: 1px solid #bfe8cb; }

.order-detail { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.order-detail .head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 12px; flex-wrap: wrap; gap: 6px; }
.order-detail .head strong { font-size: 14px; }

@media (max-width: 980px) {
    .category-strip { grid-template-columns: repeat(2, 1fr); }
    .category-tile { border-bottom: 1px solid #777; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-layout, .checkout-layout, .catalog-layout { grid-template-columns: 1fr; }
    .catalog-filters { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-copy h1 { font-size: 44px; }
    .hero-side-copy { display: none; }
}
@media (max-width: 720px) {
    .logo { width: 165px; }
    .logo img { width: 165px; }
    .category-strip { grid-template-columns: 1fr; }
    .category-tile { min-height: 92px; }
    .category-tile a { min-height: 92px; }
    .topbar .container { gap: 18px; overflow-x: auto; }
    .header-row { position: relative; flex-wrap: wrap; }
    .search-box { order: 3; flex: 1 1 100%; margin-top: 4px; }
    .main-nav { display: none; }
    .main-nav.nav-open {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--gray-200);
        padding: 8px 24px 16px; z-index: 40;
    }
    .main-nav.nav-open a { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
    .burger { display: inline-flex; }
    .stepper .label { display: none; }
    .cart-row { grid-template-columns: 60px 1fr auto; grid-template-areas: "thumb meta meta" "thumb qty qty" "thumb price remove"; row-gap: 6px; }
    .cart-row .thumb { grid-area: thumb; }
    .cart-row .meta { grid-area: meta; }
    .cart-row .qty-stepper { grid-area: qty; }
    .cart-row .price { grid-area: price; text-align: left; }
    .cart-row .remove-form { grid-area: remove; justify-self: end; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-row { flex-wrap: wrap; gap: 20px 32px; }
}

.wanted-footer{background:#070707;color:#f4f4f4;border-top:1px solid #222;padding:48px 5% 20px}
.wanted-footer .footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:35px;max-width:1200px;margin:auto}
.wanted-footer h4{font-size:10px;letter-spacing:2px;margin:0 0 16px}
.wanted-footer p,.wanted-footer a{font-size:10px;line-height:1.7;color:#777;margin:5px 0;text-decoration:none;display:block}
.wanted-footer a:hover{color:#d00000}
.wanted-footer .footer-legal{max-width:1200px;margin:38px auto 0;padding-top:18px;border-top:1px solid #222;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#555;font-size:9px}
.wanted-footer .footer-legal-info{display:flex;gap:14px}
.wanted-footer .footer-legal-links{display:flex;gap:14px}
.wanted-footer .footer-legal-links a{color:#555}
.wanted-footer .footer-legal-links a:hover{color:#999}
.footer-pay{max-width:1200px;margin:30px auto 0;display:flex;flex-wrap:wrap;gap:8px}
.footer-pay-badge{display:inline-flex;width:52px;height:33px;border-radius:5px;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.footer-pay-badge svg{width:100%;height:100%;display:block}
@media(max-width:700px){.wanted-footer .footer-grid{grid-template-columns:1fr 1fr}.wanted-footer .footer-legal{flex-direction:column;gap:8px}}

.cookie-notice[hidden] { display: none !important; }
.cookie-notice {
    position: fixed; left: 20px; bottom: 20px; z-index: 190;
    width: 360px; max-width: calc(100% - 40px);
    background: var(--white); color: var(--black);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 24px 48px rgba(0,0,0,.16), 0 4px 12px rgba(0,0,0,.08);
    opacity: 0; transform: translateY(20px) scale(.98);
    transition: opacity .35s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1);
}
.cookie-notice.show { opacity: 1; transform: translateY(0) scale(1); }
.cookie-notice-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cookie-notice-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--black); color: var(--white); }
.cookie-notice-icon svg { width: 16px; height: 16px; }
.cookie-notice-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cookie-notice-text { margin: 0 0 14px; font-size: 12.5px; line-height: 1.65; color: var(--gray-700); }
.cookie-notice-text strong { color: var(--black); }
.cookie-notice-link { display: inline-block; margin-bottom: 18px; font-size: 12px; font-weight: 700; color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice-link:hover { color: var(--red); }
.cookie-notice .btn { display: block; width: 100%; padding: 12px; font-size: 12.5px; }
@media (max-width: 560px) { .cookie-notice { left: 12px; bottom: 12px; width: auto; max-width: calc(100% - 24px); } }

.site-popup-overlay[hidden] { display: none !important; }
.site-popup-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.6);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: popupOverlayFadeIn .3s ease;
}
.site-popup {
    position: relative; background: var(--white); max-width: 420px; width: 100%;
    padding: 44px 32px 32px; border-radius: var(--radius);
    text-align: center;
    animation: popupPopIn .45s cubic-bezier(.26,1.4,.44,1);
}
.site-popup h3 { font-size: 22px; font-weight: 800; margin: 0 0 12px; text-transform: uppercase; }
.site-popup p { color: var(--gray-700); line-height: 1.6; margin: 0 0 20px; white-space: pre-line; }
.site-popup-gift { font-size: 44px; margin-bottom: 6px; animation: popupGiftShake 2.2s ease-in-out infinite; }
.site-popup-code { background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: var(--radius); padding: 14px; font-size: 14px; }
.site-popup-code strong { display: block; font-size: 22px; letter-spacing: .06em; color: var(--red); margin-top: 4px; }
.site-popup-revealed { animation: popupPopIn .4s cubic-bezier(.26,1.4,.44,1); }
.site-popup-revealed .site-popup-code { margin-bottom: 18px; }
.site-popup-close {
    position: absolute; top: 10px; right: 14px; background: none; border: none;
    font-size: 26px; line-height: 1; color: var(--gray-500); cursor: pointer; padding: 4px;
    z-index: 1;
}
.site-popup-close:hover { color: var(--black); }
@keyframes popupOverlayFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupPopIn { from { opacity: 0; transform: scale(.75) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes popupGiftShake { 0%, 100% { transform: rotate(0); } 8% { transform: rotate(-10deg); } 16% { transform: rotate(9deg); } 24% { transform: rotate(-6deg); } 32% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .site-popup-overlay, .site-popup, .site-popup-gift, .site-popup-revealed { animation: none; } }

.product-image-link { position: absolute; inset: 0; z-index: 1; display: block; }
.product-image-link svg { display: block; }
.product-card .wish-btn, .product-card .quick-add { z-index: 3; }
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--red); }
.wishlist-header { position: relative; }
.wishlist-badge { position: absolute; top: -8px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--red); color: #fff; font-size: 9px; font-weight: 800; display: none; align-items: center; justify-content: center; line-height: 17px; transform: scale(.6); opacity: 0; }
.wishlist-badge.is-visible { display: flex; opacity: 1; transform: scale(1); }
.wishlist-badge.pop { animation: wishlistPop .42s ease; }
@keyframes wishlistPop { 0% { transform: scale(.4); opacity: 0; } 55% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.wish-btn.active { animation: heartPop .32s ease; }
@keyframes heartPop { 50% { transform: scale(1.25); } }
.product-detail { padding: 42px 0 70px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 13px; font-weight: 700; color: var(--gray-700); }
.back-link:hover { color: var(--black); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(340px,.6fr); gap: 64px; align-items: start; }
.product-detail-media { position: relative; background: var(--gray-100); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 78vh; margin: 0 auto; }
.product-detail-media.combo-unavailable img,
.product-detail-media.combo-unavailable svg { opacity: .45; filter: grayscale(.5); }
.product-detail-media.combo-unavailable::after {
    content: 'NON DISPONIBILE';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    background: var(--black); color: var(--white);
    font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 10px 36px; white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
    z-index: 5;
}
.product-detail-media > svg { width: 100%; height: 100%; padding: 55px; }
.product-detail-media > img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbs-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-thumb-btn { width: 68px; height: 74px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); cursor: pointer; opacity: .65; transition: opacity .15s ease, border-color .15s ease; }
.product-thumb-btn img { width: 100%; height: 100%; object-fit: contain; }
.product-thumb-btn:hover { opacity: 1; }
.product-thumb-btn.active { opacity: 1; border-color: var(--black); }
.product-detail-info { padding-top: 8px; }
.product-detail-info h1 { font-size: clamp(32px,4vw,48px); line-height: 1; margin: 8px 0 14px; text-transform: uppercase; letter-spacing: -.03em; }
.detail-price { display:flex; gap:10px; align-items:baseline; font-size: 22px; font-weight:800; margin-bottom: 24px; }
.detail-price .old { font-size:15px; font-weight:500; color:var(--gray-500); text-decoration:line-through; }
.detail-description { color:var(--gray-700); line-height:1.7; max-width:620px; margin-bottom:28px; }
.variant-group { border:0; padding:0; margin:0 0 22px; }
.variant-group legend { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; margin-bottom:10px; }
.variant-options { display:flex; flex-wrap:wrap; gap:8px; }
.variant-options label { cursor:pointer; }
.variant-options input { position:absolute; opacity:0; pointer-events:none; }
.variant-options span { position:relative; display:inline-flex; min-width:48px; height:42px; align-items:center; justify-content:center; padding:0 13px; border:1px solid var(--gray-300); font-size:12px; font-weight:700; transition:.15s; }
.variant-options span.out-of-stock { color: var(--gray-300); }
.variant-options span.out-of-stock::after {
    content: ''; position: absolute; left: 3px; right: 3px; top: 50%;
    height: 1px; background: var(--red); transform: rotate(-18deg);
}
.variant-options input:checked + span { border-color:var(--black); background:var(--black); color:#fff; }
.variant-group-selected { text-transform: none; font-weight: 600; letter-spacing: normal; color: var(--gray-500); margin-left: 6px; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.color-swatch { cursor: pointer; display: block; }
.color-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.color-swatch .swatch {
    display: block; width: 34px; height: 34px; border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
    transition: transform .15s ease, box-shadow .15s ease;
}
.color-swatch:hover .swatch { transform: scale(1.1); }
.color-swatch input:checked + .swatch { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black); }
.product-purchase-form { display:grid; gap:10px; }
.product-purchase-form .btn { width:100%; min-height:50px; }
.detail-wishlist-form { margin-top:10px; }
.btn-wishlist { width:100%; min-height:48px; background:transparent; border:1px solid var(--gray-300); color:var(--black); }
.btn-wishlist.active { border-color:var(--red); color:var(--red); }
.detail-notes { border-top:1px solid var(--gray-200); margin-top:28px; padding-top:20px; display:grid; gap:9px; font-size:11px; color:var(--gray-700); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--reveal-i, 0) * 70ms); }

.icon-btn, .wish-btn { transition: transform .15s ease; }

.badge.pop { animation: wishlistPop .42s ease; }

.hero-media { transition: transform 8s ease; }
.hero:hover .hero-media { transform: scale(1.04); }

.main-nav.nav-open { animation: navSlideDown .22s ease; }
@keyframes navSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media(max-width:850px){ .product-detail-grid{grid-template-columns:1fr;gap:32px}.product-detail-media{max-width:680px}.product-detail-info{padding-top:0} }
