* {
    box-sizing: border-box;
}

:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #171717;
    background: #f7f5f1;
    --container: 1200px;
    --dark: #181818;
    --muted: #6f6f6f;
    --border: #e0ddd7;
    --card: #ffffff;
    --accent: #9a2430;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f7f5f1;
}

button,
input,
select {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    color: var(--dark);
    text-decoration: none;
    font-weight: 1000;
    letter-spacing: .14em;
    font-size: 21px;
}

.header-cta,
.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.header-cta {
    min-height: 40px;
    padding: 0 18px;
    color: white;
    background: var(--dark);
}

.hero-slider {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #202020;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.08));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: white;
    padding-block: 60px 90px;
}

.hero-kicker {
    margin: 0 0 12px;
    font-weight: 850;
    letter-spacing: .12em;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(36px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.04em;
}

.hero-button {
    margin-top: 28px;
    min-height: 46px;
    padding: 0 22px;
    background: white;
    color: #171717;
}

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-controls > button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    cursor: pointer;
    font-size: 24px;
}

.hero-dots {
    display: flex;
    gap: 7px;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: white;
}

.campaign-section {
    padding: 72px 0 140px;
}

.campaign-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 36px;
}

.eyebrow {
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: .16em;
    color: var(--accent);
}

.campaign-heading h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -.04em;
}

.campaign-description {
    margin: 16px auto 0;
    max-width: 620px;
    color: var(--muted);
    line-height: 1.65;
}

.campaign-price {
    margin-top: 18px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 1000;
}

.selection-bar {
    position: sticky;
    top: 82px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    backdrop-filter: blur(12px);
}

.selection-bar > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.selection-bar span {
    color: var(--muted);
}

.selection-progress {
    display: flex;
    gap: 7px;
}

.selection-progress span {
    width: 34px;
    height: 8px;
    border-radius: 999px;
    background: #e5e2dc;
    transition: background .2s ease;
}

.selection-progress span.is-filled {
    background: var(--accent);
}

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

.product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    transition:
        transform .2s ease,
        border-color .2s ease,
        opacity .2s ease,
        box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,.07);
}

.product-card.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(154,36,48,.12);
}

.product-card.is-locked {
    opacity: .42;
    filter: grayscale(.15);
}

.product-card.is-locked .product-select-wrap {
    cursor: not-allowed;
}

.product-select-wrap {
    position: absolute;
    z-index: 5;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    cursor: pointer;
    user-select: none;
}

.product-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-ui {
    width: 18px;
    height: 18px;
    border: 2px solid #888;
    border-radius: 5px;
    display: inline-grid;
    place-items: center;
}

.product-checkbox:checked + .check-ui {
    border-color: var(--accent);
    background: var(--accent);
}

.product-checkbox:checked + .check-ui::after {
    content: "";
    width: 8px;
    height: 4px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) translateY(-1px);
}

.select-label {
    font-size: 13px;
    font-weight: 850;
}

.product-image-wrap {
    aspect-ratio: 1 / 1;
    background: #efede8;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-empty {
    display: grid;
    place-items: center;
    color: var(--muted);
}

.product-body {
    padding: 17px;
}

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

.product-body p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.size-field {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    font-weight: 800;
    font-size: 13px;
}

.size-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d4d0c9;
    border-radius: 10px;
    background: white;
    padding: 0 11px;
}

.size-field select:disabled {
    background: #f0efec;
    color: #999;
}

.order-panel {
    position: sticky;
    bottom: 16px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    align-items: center;
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
    background: #181818;
    color: white;
    box-shadow: 0 20px 45px rgba(0,0,0,.22);
}

.order-panel-summary {
    display: flex;
    align-items: center;
    gap: 18px;
}

.order-panel-summary span {
    color: #d0d0d0;
}

.order-panel-summary strong {
    font-size: 24px;
}

.order-message {
    grid-column: 1;
    color: #cfcfcf;
    font-size: 13px;
}

.order-message.is-success {
    color: #9ce4ad;
}

.order-message.is-error {
    color: #ffb0b0;
}

.order-button {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    padding: 0 20px;
    background: white;
    color: #181818;
    font-weight: 900;
    cursor: pointer;
}

.order-button:disabled {
    cursor: not-allowed;
    opacity: .4;
}

.empty-state {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
    background: white;
}

.empty-state h2 {
    margin: 0 0 10px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

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

    .hero-slider,
    .hero-content {
        min-height: 460px;
    }
}

@media (max-width: 700px) {
    .campaign-section {
        padding-top: 48px;
        padding-bottom: 180px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .selection-bar {
        top: 76px;
        align-items: flex-start;
        flex-direction: column;
    }

    .selection-progress {
        width: 100%;
    }

    .selection-progress span {
        flex: 1;
    }

    .order-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        grid-template-columns: 1fr;
    }

    .order-panel-summary {
        justify-content: space-between;
    }

    .order-message {
        grid-column: 1;
    }

    .order-button {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }

    .hero-slider,
    .hero-content {
        min-height: 400px;
    }

    .hero-overlay {
        background: rgba(0,0,0,.45);
    }
}


.checkout-section {
    padding: 60px 0 90px;
}

.checkout-container {
    max-width: 820px;
}

.checkout-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.checkout-card h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -.03em;
}

.checkout-lead {
    color: var(--muted);
    line-height: 1.65;
}

.checkout-items {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.checkout-item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.checkout-item img {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
}

.checkout-item div {
    display: grid;
    gap: 5px;
}

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

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 20px;
    border-top: 1px solid var(--border);
    font-size: 18px;
}

.checkout-total strong {
    font-size: 28px;
}

.checkout-form label {
    display: block;
    font-weight: 850;
    margin: 16px 0 8px;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    border: 1px solid #d4d0c9;
    border-radius: 10px;
    padding: 11px 12px;
    background: white;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.payment-box {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding: 16px;
    border-radius: 12px;
    background: #f2f0eb;
}

.checkout-submit {
    margin-top: 18px;
    width: 100%;
    background: var(--dark);
    color: white;
}

.success-card {
    text-align: center;
}

.success-mark {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e8f7ec;
    color: #1b6e35;
    font-size: 34px;
    font-weight: 1000;
}

.order-number-box {
    margin: 28px 0;
    padding: 18px;
    border-radius: 14px;
    background: #f2f0eb;
}

.order-number-box span,
.success-details span {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.order-number-box strong {
    font-size: 26px;
    letter-spacing: .04em;
}

.success-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px 0;
}

.success-details > div {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.success-items {
    margin-top: 18px;
    border-top: 1px solid var(--border);
}

.success-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.success-home {
    margin-top: 24px;
}

.error-list {
    display: inline-block;
    text-align: left;
    color: #8a1c1c;
}

@media (max-width: 650px) {
    .checkout-card {
        padding: 20px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .success-details {
        grid-template-columns: 1fr;
    }
}


.site-logo img {
    display: block;
    max-width: 190px;
    max-height: 58px;
    object-fit: contain;
}


/* Sales contract consent */
.contract-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    cursor: pointer;
    line-height: 1.5;
}

.contract-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: currentColor;
}

.contract-consent a {
    font-weight: 700;
    text-decoration: underline;
}

.checkout-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* Managed site footer */
.site-footer {
    margin-top: 56px;
    padding: 48px 0;
    background: #111;
    color: #fff;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 42px;
    align-items: start;
}
.footer-column {
    min-width: 0;
    line-height: 1.7;
}
.footer-column h1,
.footer-column h2,
.footer-column h3,
.footer-column h4 {
    margin-top: 0;
    color: inherit;
}
.footer-column p {
    margin: 0 0 12px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column li {
    margin: 0 0 8px;
}
.footer-column a {
    color: inherit;
    text-decoration: none;
}
.footer-column a:hover {
    text-decoration: underline;
}
.footer-column img {
    display: block;
    max-width: 190px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
}
@media (max-width: 760px) {
    .site-footer { padding: 36px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}


/* Footer visibility hardening */
#site-footer {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    clear: both;
}
#site-footer .footer-grid {
    min-height: 120px;
}


/* Managed header */
.header-left,
.header-right {
    min-width: 0;
}
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.header-managed-content > * {
    margin-top: 0;
    margin-bottom: 0;
}
.header-managed-content p {
    margin: 0;
}
.header-managed-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
}
.header-managed-content a:hover {
    opacity: .88;
}
@media (max-width: 640px) {
    .header-right {
        justify-content: flex-end;
    }
    .header-managed-content a {
        min-height: 38px;
        padding: 9px 12px;
        font-size: 13px;
    }
}


.field-help {
    display: block;
    margin-top: -6px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
}

/* ROMA visual update 01: clickable cards, variant modal and mini cart */
.product-card-trigger {position:absolute;inset:0;z-index:2;width:100%;border:0;background:transparent;cursor:pointer;text-align:left;color:inherit}
.product-card-trigger:focus-visible {outline:3px solid var(--accent);outline-offset:-4px}
.product-card-trigger:disabled {cursor:not-allowed}
.product-card-badge {position:absolute;top:12px;left:12px;padding:8px 12px;border-radius:999px;background:#fff;box-shadow:0 4px 18px #0002;font-size:13px;font-weight:800}
.product-card-trigger-label {position:absolute;bottom:10px;right:10px;padding:8px 12px;border-radius:9px;background:#181818;color:white;font-size:12px;font-weight:700;opacity:0;transition:opacity .2s}
.product-card:hover .product-card-trigger-label,.product-card-trigger:focus-visible .product-card-trigger-label {opacity:1}
.product-card.is-selected .product-card-badge {background:#e7f8ed;color:#176337}
.product-card.is-locked {opacity:.46}
.selection-cart {margin-top:24px;border:1px solid var(--border);border-radius:18px;padding:20px;background:var(--card)}
.selection-cart-head {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.selection-cart-head h3 {margin:0;font-size:21px}
.selection-cart-head span,.cart-empty {color:var(--muted)}
.selection-cart-items {display:grid;gap:10px}
.selection-cart-item {display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:12px;padding:12px}
.selection-cart-item>div {flex:1;min-width:0;display:grid;gap:4px}
.selection-cart-item span {color:var(--muted);font-size:13px}
.selection-cart-item button {background:#f4f3f1;border:1px solid var(--border);border-radius:8px;padding:9px;cursor:pointer}
.variant-modal[hidden] {display:none!important}
.variant-modal {position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px}
.variant-backdrop {position:absolute;inset:0;background:#0009}
.variant-dialog {position:relative;width:min(100%,460px);max-height:90vh;overflow:auto;background:white;border-radius:20px;padding:28px;box-shadow:0 20px 80px #0004}
.variant-dialog h3 {margin:8px 0 24px;font-size:24px}
.variant-dialog label {display:block;font-weight:700;margin-bottom:8px}
.variant-dialog select {width:100%;min-height:50px;border:1px solid #ccc;border-radius:10px;padding:10px;font-size:16px;background:white}
.variant-close {position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:30px;cursor:pointer}
.variant-hint {color:#666;font-size:13px}
.variant-confirm {width:100%;margin-top:12px}
.variant-modal-open {overflow:hidden}
@media(max-width:700px) {.product-card-trigger-label {opacity:1}.selection-cart-item {flex-wrap:wrap}.variant-dialog {padding:22px}}


/* ROMA visual update 02 - product cards only */
.product-grid { gap: clamp(14px, 2.2vw, 26px); align-items: stretch; }
.product-card { display:flex; flex-direction:column; border-radius:22px; border:1px solid #e5e4e1; box-shadow:0 4px 16px rgba(20,25,30,.035); isolation:isolate; }
.product-card:not(.is-locked):hover { transform:translateY(-6px); border-color:#c9b6b8; box-shadow:0 18px 42px rgba(20,25,30,.13); }
.product-card:focus-within { border-color:var(--accent); box-shadow:0 0 0 3px rgba(154,36,48,.15); }
.product-image-wrap { aspect-ratio: 4 / 4.2; overflow:hidden; background:#f6f6f5; display:grid; place-items:center; }
.product-image { display:block; object-fit:contain; padding:12px; transition:transform .35s ease; }
.product-card:not(.is-locked):hover .product-image { transform:scale(1.065); }
.product-body { flex:1; padding:20px 18px 22px; }
.product-body h3 { font-size:clamp(16px,1.65vw,20px); line-height:1.35; }
.product-body p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.product-card-badge { top:14px;left:14px; background:rgba(255,255,255,.97); border:1px solid #eee; box-shadow:0 5px 18px #00000012; }
.product-card.is-selected { border:2px solid #228b55; box-shadow:0 0 0 3px rgba(34,139,85,.11),0 12px 26px #0000000d; }
.product-card.is-selected .product-card-badge { background:#177446; border-color:#177446; color:#fff; padding-left:34px; }
.product-card.is-selected .product-card-badge::before { content:'✓'; position:absolute; left:12px; top:50%; transform:translateY(-50%); font-weight:900; }
.product-card-trigger-label { bottom:14px;right:14px; border-radius:999px; padding:10px 14px; box-shadow:0 8px 20px #0002; }
.product-card.is-locked { opacity:.48; filter:grayscale(.2); }
.product-card.is-locked:hover { transform:none; box-shadow:0 4px 16px rgba(20,25,30,.035); }
@media (max-width:700px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .product-card { border-radius:16px; }
  .product-image-wrap { aspect-ratio:1/1.1; }
  .product-image { padding:7px; }
  .product-body { padding:12px 11px 44px; }
  .product-body h3 { font-size:14px; }
  .product-body p { font-size:12px; }
  .product-card-badge { top:8px;left:8px;font-size:10px;padding:6px 8px; }
  .product-card.is-selected .product-card-badge { padding-left:24px; }
  .product-card.is-selected .product-card-badge::before { left:8px; }
  .product-card-trigger-label { bottom:8px;right:8px;left:8px;text-align:center;font-size:10px;padding:7px 5px; }
}
@media (prefers-reduced-motion:reduce) {
 .product-card,.product-image,.product-card-trigger-label { transition:none!important; }
}

/* ROMA visual update 03: product variant popup */
.variant-dialog {width:min(100%,790px);padding:0;border-radius:24px;overflow:auto;max-height:min(90vh,820px)}
.variant-modal-layout {display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr)}
.variant-preview {min-height:340px;background:#f6f5f2;display:grid;place-items:center;padding:24px}
.variant-preview img {width:100%;height:100%;max-height:380px;object-fit:contain;border-radius:16px}
.variant-preview-empty {color:var(--muted);text-align:center}
.variant-preview-empty[hidden],.variant-preview img[hidden] {display:none}
.variant-modal-content {padding:38px 34px 32px;min-width:0}
.variant-modal-content .eyebrow {font-size:12px}
.variant-modal-content h3 {font-size:clamp(23px,3vw,32px);line-height:1.2;margin:12px 30px 12px 0}
.variant-modal-content .variant-hint {font-size:14px;line-height:1.6;margin:0 0 24px}
.variant-option-heading {font-size:14px;font-weight:800;margin-bottom:12px}
.variant-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}
.variant-option {min-height:52px;padding:12px 10px;border:1.5px solid #d8d5d0;border-radius:12px;background:white;color:#252525;font-size:14px;font-weight:750;cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}
.variant-option:hover {border-color:var(--accent);background:#fff8f8}
.variant-option.is-active {border-color:var(--accent);background:#fff2f3;box-shadow:0 0 0 2px rgba(154,36,48,.12)}
.variant-option:focus-visible,.variant-cancel:focus-visible,.variant-close:focus-visible {outline:3px solid var(--accent);outline-offset:2px}
.variant-modal-content .variant-confirm {display:block;width:100%;background:var(--accent);color:white;margin-top:4px}
.variant-modal-content .variant-confirm:disabled {opacity:.4}
.variant-cancel {display:block;width:100%;margin-top:10px;min-height:44px;border:1px solid var(--border);border-radius:12px;background:#fff;cursor:pointer;font-weight:750}
.variant-close {z-index:3;right:14px;top:12px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.9);font-size:25px;line-height:1}
@media(max-width:650px) {
 .variant-modal {padding:12px;align-items:center}
 .variant-dialog {width:100%;max-height:calc(100dvh - 24px);border-radius:18px}
 .variant-modal-layout {grid-template-columns:1fr}
 .variant-preview {min-height:0;height:180px;padding:12px}
 .variant-preview img {max-height:160px}
 .variant-modal-content {padding:22px 18px 20px}
 .variant-modal-content h3 {font-size:23px;margin:8px 26px 8px 0}
 .variant-modal-content .variant-hint {margin-bottom:15px}
 .variant-options {gap:8px;margin-bottom:14px}
 .variant-option {min-height:46px}
}
@media(prefers-reduced-motion:reduce) {.variant-option {transition:none}}

/* ROMA visual update 04: thumbnail mini-cart */
.selection-cart-item { display:flex; align-items:center; gap:14px; padding:12px; min-width:0; }
.selection-cart-thumb { flex:0 0 76px!important; width:76px; height:76px; min-width:76px!important; display:grid!important; place-items:center; overflow:hidden; border-radius:12px; background:#f6f5f2; border:1px solid #ece9e4; }
.selection-cart-thumb img { width:100%; height:100%; object-fit:contain; padding:4px; }
.selection-cart-no-image { font-size:11px!important; text-align:center; color:#777; }
.selection-cart-detail { flex:1!important; min-width:0; display:grid; gap:6px; }
.selection-cart-detail strong { overflow-wrap:anywhere; line-height:1.35; }
.selection-cart-detail span { overflow-wrap:anywhere; }
.selection-cart-actions { flex:0 0 auto!important; display:flex!important; gap:8px!important; align-items:center; }
.selection-cart-actions button { min-height:38px; font-weight:700; }
.selection-cart-actions button:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
@media(max-width:700px) {
 .selection-cart-item { gap:10px; padding:10px; flex-wrap:wrap; }
 .selection-cart-thumb { flex-basis:60px!important; width:60px; height:60px; min-width:60px!important; }
 .selection-cart-detail { flex-basis:calc(100% - 76px)!important; }
 .selection-cart-actions { width:100%; justify-content:flex-end; }
}

/* ROMA visual update 05: checkout presentation only */
.checkout-v05 {max-width:920px}
.checkout-v05 .checkout-card {padding:clamp(20px,4vw,42px);border-radius:24px;box-shadow:0 20px 60px rgba(30,24,20,.07)}
.checkout-steps {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.checkout-steps span {flex:1;min-width:130px;padding:11px 12px;text-align:center;border-radius:12px;background:#f3f1ed;color:#777;font-size:12px;font-weight:800}
.checkout-steps .is-complete {background:#eaf5ee;color:#226a41}
.checkout-steps .is-current {background:#292321;color:#fff}
.checkout-v05 .checkout-lead {max-width:700px;margin-bottom:30px}
.checkout-section-title {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 12px}
.checkout-section-title h2 {font-size:18px;margin:0;letter-spacing:-.02em}
.checkout-section-title>span {font-size:12px;color:var(--muted)}
.checkout-v05 .checkout-items {margin:12px 0 20px;gap:12px}
.checkout-v05 .checkout-item {grid-template-columns:76px minmax(0,1fr);padding:12px;border-radius:15px;background:#faf9f7}
.checkout-v05 .checkout-item img {width:76px;height:76px;border-radius:12px}
.checkout-v05 .checkout-item strong {line-height:1.4}
.checkout-v05 .checkout-total {border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 2px;margin-bottom:24px}
.checkout-form-heading {margin-top:28px}
.checkout-v05 .checkout-form label:not(.contract-consent) {margin-top:18px;margin-bottom:7px}
.checkout-v05 .checkout-form input:not([type=checkbox]):not([type=hidden]),.checkout-v05 .checkout-form textarea {min-height:48px;border:1px solid #d9d6d0;border-radius:12px;background:#fff;transition:border-color .2s,box-shadow .2s}
.checkout-v05 .checkout-form textarea {min-height:115px;resize:vertical}
.checkout-v05 .checkout-form input:focus-visible,.checkout-v05 .checkout-form textarea:focus-visible {outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(154,36,48,.12)}
.checkout-v05 .checkout-form input:invalid:not(:placeholder-shown):not(:focus) {border-color:#cfa9a9}
.required-mark {color:var(--accent)}
.checkout-payment-heading {margin-top:30px}
.checkout-v05 .payment-box {align-items:center;background:#f5f2ed;border:1px solid #e9e4dd;border-radius:14px}
.checkout-v05 .contract-consent {padding:15px;border:1px solid var(--border);border-radius:12px;background:#fbfaf8}
.checkout-v05 .checkout-submit {min-height:56px;border-radius:14px;font-size:16px}
@media(max-width:650px){.checkout-v05 .checkout-card{padding:18px 15px;border-radius:18px}.checkout-steps span{min-width:0;font-size:10px;padding:10px 5px}.checkout-v05 .checkout-item{grid-template-columns:64px minmax(0,1fr)}.checkout-v05 .checkout-item img{width:64px;height:64px}.checkout-v05 .checkout-total strong{font-size:23px}.checkout-section-title h2{font-size:16px}.checkout-v05 .payment-box{flex-direction:column;align-items:flex-start;gap:6px}}
@media(prefers-reduced-motion:reduce){.checkout-v05 .checkout-form input,.checkout-v05 .checkout-form textarea{transition:none}}

/* ROMA visual update 06: order confirmation only */
.order-success-page .checkout-container {max-width:900px}
.success-modern {padding:clamp(22px,4vw,48px);text-align:center;border-radius:24px}
.success-modern .success-mark {width:80px;height:80px;font-size:40px;box-shadow:0 0 0 9px #e8f7ec88}
.success-modern h1 {font-size:clamp(30px,5vw,48px)}
.success-modern .checkout-lead {max-width:550px;margin:12px auto 26px}
.success-order-number {display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;margin:22px 0 0;border:1px solid #e4e1db;background:#f7f6f3}
.success-order-number strong {display:block;overflow-wrap:anywhere;font-size:clamp(19px,3vw,28px)}
.success-copy-button {flex-shrink:0;min-height:44px;padding:10px 18px;background:#181818;color:white;border:0;border-radius:11px;font-weight:800;cursor:pointer}
.success-copy-button:hover {background:#9a2430}
.success-copy-button:focus-visible {outline:3px solid #9a2430;outline-offset:3px}
.success-copy-feedback {min-height:22px;text-align:left;font-size:13px;color:#356b45;margin:5px 0 14px}
.success-modern .success-details {text-align:left}
.success-modern .success-details>div {min-width:0;background:#fff}
.success-modern .success-details strong {overflow-wrap:anywhere}
.success-payment-note {display:grid;gap:6px;text-align:left;padding:18px 20px;border-radius:14px;border:1px solid #cfe5d6;background:#eff8f2;color:#194e30}
.success-payment-note span {font-size:14px;line-height:1.5}
.success-items-block {margin-top:26px;text-align:left}
.success-items-block h2 {font-size:20px;margin:0 0 12px}
.success-items {margin:0}
.success-item {align-items:center}
.success-item span {min-width:0;overflow-wrap:anywhere}
.success-item strong {padding:6px 10px;border-radius:8px;background:#f4f1ec;white-space:normal;text-align:right}
.success-modern .success-home {margin-top:28px;min-height:48px;padding:0 26px}
@media(max-width:650px) {
 .success-order-number {align-items:stretch;flex-direction:column}
 .success-copy-button {width:100%}
 .success-modern .success-details {grid-template-columns:1fr}
 .success-modern .success-item {gap:10px}
}
