.zv-portal {
    --zv-ink: #201815;
    --zv-muted: #6d625d;
    --zv-line: #e6ded8;
    --zv-wine: #7b1e2b;
    --zv-gold: #b98b45;
    --zv-bg: #fffaf5;
    --zv-deep: #12090b;
    color: var(--zv-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zv-header {
    align-items: center;
    border-bottom: 1px solid var(--zv-line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
}

.zv-header h2 {
    letter-spacing: 0;
    margin: 0;
}

.zv-kicker {
    color: var(--zv-gold);
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.zv-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zv-nav a,
.zv-button {
    background: var(--zv-wine);
    border: 1px solid var(--zv-wine);
    border-radius: 6px;
    color: #fff;
    display: inline-block;
    font-weight: 700;
    line-height: 1;
    padding: 11px 14px;
    text-decoration: none;
}

.zv-button.secondary,
.zv-nav a {
    background: #fff;
    color: var(--zv-wine);
}

.zv-button.danger {
    background: #9f1239;
    border-color: #9f1239;
}

.zv-icon-button {
    background: #fff;
    border: 1px solid var(--zv-line);
    border-radius: 6px;
    color: var(--zv-wine);
    cursor: pointer;
    font-weight: 700;
    padding: 10px;
}

.zv-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.zv-panel,
.zv-stat {
    background: #fff;
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    padding: 18px;
}

.zv-panel {
    box-shadow: 0 14px 35px rgba(32, 24, 21, 0.06);
}

.zv-stat span {
    color: var(--zv-muted);
    display: block;
    font-size: 13px;
}

.zv-stat strong {
    display: block;
    font-size: 26px;
    margin-top: 8px;
}

.zv-stat.warning strong,
.zv-pending {
    color: #a15c00;
}

.zv-ok {
    color: #227447;
    font-weight: 700;
}

.zv-table {
    border-collapse: collapse;
    width: 100%;
}

.zv-table th,
.zv-table td {
    border-bottom: 1px solid var(--zv-line);
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.zv-table th {
    background: var(--zv-bg);
    font-size: 13px;
}

.zv-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.zv-form input,
.zv-form select,
.zv-form textarea {
    border: 1px solid var(--zv-line);
    border-radius: 6px;
    font: inherit;
    padding: 10px;
}

.zv-form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 18px;
}

.zv-item-row {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(220px, 1fr) 90px 140px 88px;
    margin-bottom: 10px;
}

.zv-line-preview,
.zv-quote-preview {
    color: var(--zv-muted);
    font-size: 13px;
    grid-column: 1 / -1;
}

.zv-quote-preview {
    background: var(--zv-bg);
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    margin: 12px 0;
    padding: 12px;
}

.zv-section-head,
.zv-actions,
.zv-dashboard-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.zv-actions {
    justify-content: flex-start;
}

.zv-cost-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
}

.zv-cost-preview {
    background: linear-gradient(145deg, #1b0c10, #4b111d);
    border-radius: 8px;
    color: #fff;
    padding: 18px;
}

.zv-cost-preview dl {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr auto;
    margin: 0;
}

.zv-cost-preview dt,
.zv-cost-preview dd {
    margin: 0;
}

.zv-cost-preview .zv-small {
    color: #f7d8b4;
}

.zv-dashboard-row {
    align-items: stretch;
    margin-top: 18px;
}

.zv-donut {
    align-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    justify-items: center;
    max-width: 240px;
    position: relative;
}

.zv-donut::after {
    background: #fff;
    border-radius: 50%;
    content: "";
    height: 58%;
    position: absolute;
    width: 58%;
}

.zv-donut a {
    color: transparent;
    inset: 0;
    position: absolute;
}

.zv-status-cards,
.zv-report-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    width: 100%;
}

.zv-report-grid .zv-panel {
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 0;
}

.zv-report-grid .zv-panel h3 {
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.12;
    margin: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.zv-clean-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zv-clean-list li {
    align-items: baseline;
    border-bottom: 1px solid var(--zv-line);
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 0 8px;
}

.zv-clean-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.zv-clean-list span {
    color: var(--zv-ink);
    overflow-wrap: anywhere;
}

.zv-clean-list strong {
    color: var(--zv-wine);
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
}

.zv-clean-list small {
    color: var(--zv-muted);
    grid-column: 1 / -1;
}

.zv-mini-card {
    background: var(--zv-bg);
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    color: var(--zv-ink);
    padding: 12px;
    text-decoration: none;
}

.zv-mini-card span,
.zv-mini-card em {
    color: var(--zv-muted);
    display: block;
    font-size: 12px;
    font-style: normal;
}

.zv-mini-card strong {
    display: block;
    font-size: 22px;
}

.zv-notice {
    border-radius: 6px;
    margin: 12px 0;
    padding: 12px;
}

.zv-notice-error {
    background: #fff0f0;
    border: 1px solid #e3b1b1;
}

.zv-notice-success {
    background: #f0fff7;
    border: 1px solid #b8e7c8;
}

.zv-notice-warning {
    background: #fff8ea;
    border: 1px solid #e8c98a;
}

.zv-quote-head {
    align-items: start;
    display: flex;
    justify-content: space-between;
}

.zv-small {
    color: var(--zv-muted);
    font-size: 13px;
}

@media print {
    .zv-header,
    .zv-button,
    .zv-nav {
        display: none !important;
    }

    .zv-panel {
        border: 0;
        padding: 0;
    }
}

@media (max-width: 720px) {
    .zv-header,
    .zv-dashboard-row,
    .zv-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .zv-item-row,
    .zv-cost-layout {
        grid-template-columns: 1fr;
    }
}

/* v2.1 responsive polish */
.zv-portal {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1440px;
    overflow-wrap: anywhere;
    width: 100%;
}
.zv-portal *, .zv-portal *::before, .zv-portal *::after { box-sizing: border-box; }
.zv-container, .zv-section { margin: 0 0 20px; width: 100%; }
.zv-section-title { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 12px; }
.zv-section-title h3 { margin: 0; }
.zv-stack { display: grid; gap: 12px; }
.zv-dashboard-grid { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.zv-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.zv-grid.zv-report-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.zv-card, .zv-metric-card, .zv-stat { background: #fff; border: 1px solid var(--zv-line); border-radius: 8px; min-width: 0; padding: 14px; }
.zv-metric-card { display: grid; gap: 6px; min-height: 116px; }
.zv-metric-card span { color: var(--zv-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.zv-metric-card strong { color: var(--zv-ink); font-size: clamp(18px, 2vw, 24px); line-height: 1.15; }
.zv-metric-card small { color: var(--zv-muted); font-size: 12px; }
.zv-metric-card a { color: var(--zv-wine); font-size: 13px; font-weight: 700; }
.zv-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.zv-responsive-table { min-width: 760px; }
.zv-nav { align-items: center; display: flex; flex-wrap: wrap; max-width: 100%; }
.zv-nav a { font-size: 13px; white-space: nowrap; }
.zv-header { gap: 16px; }
.zv-donut-layout { align-items: center; display: grid; gap: 18px; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); }
.zv-donut { max-width: 220px; width: 100%; }
.zv-item-row { align-items: start; grid-template-columns: minmax(240px, 1fr) 90px minmax(180px, 220px) 88px; }
.zv-item-row select, .zv-item-row input, .zv-form input, .zv-form select, .zv-form textarea { max-width: 100%; min-width: 0; width: 100%; }
.zv-line-commission-field { display: grid; gap: 4px; }
.zv-line-commission-field small, .zv-form label small { color: var(--zv-muted); font-size: 12px; font-weight: 400; }
.zv-badge { border-radius: 999px; display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 8px; }
.zv-badge-draft { background: #eef2ff; color: #3730a3; }
.zv-badge-sent { background: #ecfeff; color: #155e75; }
.zv-badge-approved { background: #ecfdf5; color: #166534; }
.zv-badge-cancelled { background: #fff1f2; color: #9f1239; }
.zv-badge-archived { background: #f3f4f6; color: #374151; }
.zv-badge-inventory { background: #fff7ed; color: #9a3412; margin: 2px; }
.zv-actions { flex-wrap: wrap; margin: 12px 0; }
.zv-actions form { margin: 0; }
.zv-fieldset { border: 1px solid var(--zv-line); border-radius: 8px; display: grid; gap: 8px; margin: 12px 0; padding: 12px; }
.zv-fieldset legend { color: var(--zv-ink); font-weight: 800; padding: 0 6px; }
.zv-weekday-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.zv-weekday-grid .zv-check { background: #fff; border: 1px solid var(--zv-line); border-radius: 8px; padding: 10px; }
.zv-express-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zv-express-card { display: grid; gap: 18px; min-width: 0; }
.zv-express-heading { align-items: flex-start; display: flex; gap: 12px; }
.zv-express-heading h4, .zv-express-heading p { margin: 0; }
.zv-express-heading p { color: var(--zv-muted); font-size: 13px; margin-top: 4px; }
.zv-express-icon { align-items: center; background: var(--zv-wine); border-radius: 6px; color: #fff; display: inline-flex; flex: 0 0 36px; font-weight: 800; height: 36px; justify-content: center; }
.zv-express-icon.service { background: #2f6f61; }
.zv-form-row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zv-express-result { border-bottom: 1px solid var(--zv-line); border-top: 1px solid var(--zv-line); margin: 16px 0; padding: 14px 0; }
.zv-express-result dl { display: grid; gap: 8px; margin: 12px 0 0; }
.zv-express-result dl > div { align-items: baseline; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto; }
.zv-express-result dt { color: var(--zv-muted); }
.zv-express-result dd { font-weight: 800; margin: 0; text-align: right; overflow-wrap: anywhere; }
.zv-express-result .zv-express-total { border-top: 1px solid var(--zv-line); color: var(--zv-wine); font-size: 18px; margin-top: 4px; padding-top: 10px; }
.zv-express-warning[hidden] { display: none !important; }
.zv-reservation-layout { display: grid; gap: 16px; grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr); }
.zv-reservation-details { padding: 0; }
.zv-reservation-details > summary { color: var(--zv-wine); cursor: pointer; font-size: 18px; font-weight: 900; list-style-position: inside; padding: 18px; }
.zv-reservation-details[open] > summary { border-bottom: 1px solid var(--zv-line); }
.zv-reservation-details .zv-reservation-layout { padding: 18px; }
.zv-reservation-details-body { display: grid; gap: 16px; padding: 18px; }
.zv-checkin-form { align-items: end; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto; }
.zv-reservation-filters { align-items: end; margin-bottom: 18px; }
.zv-reservation-analysis {
    background: var(--zv-bg);
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(220px, 0.55fr) minmax(280px, 1fr);
    margin-top: 16px;
    padding: 16px;
}
.zv-reservation-analysis h3 { margin-bottom: 4px; }
.zv-reservation-bars { display: grid; gap: 10px; }
.zv-reservation-bar-row {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(140px, 1fr) minmax(160px, 2fr) 44px minmax(70px, auto);
}
.zv-reservation-bar-row span { color: var(--zv-ink); font-size: 13px; font-weight: 800; }
.zv-reservation-bar-row strong { color: var(--zv-wine); font-size: 16px; text-align: right; }
.zv-reservation-bar-row small { color: var(--zv-muted); white-space: nowrap; }
.zv-reservation-bar {
    background: #efe4dc;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}
.zv-reservation-bar i {
    background: linear-gradient(90deg, var(--zv-wine), #b98b45);
    display: block;
    height: 100%;
}
.zv-bulk-session-actions {
    align-items: center;
    background: #fffaf5;
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin: 0 0 18px;
    padding: 12px;
}
.zv-bulk-session-actions p { flex: 1 1 280px; margin: 0; }
.zv-bulk-session-actions form { margin: 0; }
.zv-bulk-session-actions .zv-button { min-height: 40px; padding: 10px 14px; }
.zv-session-table-tools {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: space-between;
    margin: 8px 0 12px;
}
.zv-check-compact {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    margin: 0;
}
.zv-select-col {
    text-align: center;
    width: 54px;
}
.zv-select-col input {
    height: 18px;
    margin: 0;
    width: 18px;
}
.zv-reservation-calendar-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.zv-reservation-date-card { background: var(--zv-bg); border: 1px solid var(--zv-line); border-radius: 8px; display: grid; gap: 10px; padding: 14px; }
.zv-reservation-date-card > strong { color: var(--zv-wine); text-transform: uppercase; }
.zv-reservation-date-card a { background: #fff; border: 1px solid var(--zv-line); border-radius: 8px; color: var(--zv-ink); display: grid; gap: 4px; padding: 10px; text-decoration: none; }
.zv-reservation-date-card a span { font-weight: 800; }
.zv-reservation-date-card a small { color: var(--zv-muted); }
.zv-reservation-date-card a em { color: var(--zv-wine); font-style: normal; font-weight: 800; }
.zv-session-card-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 12px 0 18px; }
.zv-session-card { background: var(--zv-bg); border: 1px solid var(--zv-line); border-radius: 8px; display: grid; gap: 8px; padding: 14px; }
.zv-session-card > strong { color: var(--zv-wine); }
.zv-session-card > span { font-weight: 800; }
.zv-session-card > small { color: var(--zv-muted); }
.zv-session-card dl { display: grid; gap: 6px; grid-template-columns: repeat(3, minmax(72px, 1fr)); margin: 4px 0; }
.zv-session-card dl div { background: #fff; border: 1px solid var(--zv-line); border-radius: 6px; padding: 8px; }
.zv-session-card dt { color: var(--zv-muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zv-session-card dd { color: var(--zv-ink); font-size: 18px; font-weight: 900; margin: 0; }
.zv-session-card a { color: var(--zv-wine); font-weight: 800; }
.zv-actions form,
.zv-inline-form { display: inline; margin: 0; }
.zv-link-button {
    background: transparent;
    border: 0;
    color: var(--zv-wine);
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}
.zv-ticket-code { display: block; overflow-wrap: anywhere; }
.zv-print-actions { background: #fff; border: 1px solid var(--zv-line); border-radius: 8px; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 12px; }
.zv-print-subtitle { color: #666; font-family: "Century Gothic", Futura, Arial, sans-serif; font-size: 12px; margin: 8px 0 0; }
.zv-print-document {
    background: #fff;
    box-shadow: 0 18px 55px rgba(20, 20, 20, 0.12);
    color: #333;
    font-family: "Century Gothic", Futura, "Trebuchet MS", Arial, sans-serif;
    overflow: hidden;
    position: relative;
}
.zv-print-document::before {
    background: #93191a;
    content: "";
    height: 34px;
    right: 0;
    position: absolute;
    top: 0;
    width: 132px;
    z-index: 2;
}
.zv-print-document::after {
    background: url("../img/zeneva-vineyard-line.png") center bottom / 100% auto no-repeat;
    bottom: 0;
    content: "";
    height: 360px;
    left: 0;
    opacity: 0.055;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 0;
}
.zv-print-standalone { background: #eee9e5; margin: 0; padding: 24px; }
.zv-print-shell { margin: 0 auto; max-width: 860px; }
.zv-print-document { margin: 0 auto; min-height: 11in; padding: 0 58px 46px; }
.zv-print-document > * { position: relative; z-index: 1; }
.zv-print-brand {
    align-items: center;
    background: #fff;
    break-inside: avoid;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 242px;
    padding: 34px 0 22px;
    page-break-inside: avoid;
    position: relative;
    text-align: center;
}
.zv-print-brand img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    object-fit: contain;
}
.zv-print-brand-logo { width: 128px; }
.zv-print-brand-motto { width: 390px; }
.zv-quote-head {
    align-items: end;
    border-bottom: 1px solid #d8d8d8;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 190px;
    padding: 28px 0 22px;
}
.zv-print-title h1 {
    color: #93191a;
    font-family: Athelas, Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 5px 0 8px;
}
.zv-print-document .zv-kicker { color: #93191a; font-size: 9px; letter-spacing: 0.12em; }
.zv-print-folio { color: #777; font-size: 9px; letter-spacing: 0.08em; margin: 0; text-transform: uppercase; }
.zv-print-folio strong { color: #222; font-size: 11px; overflow-wrap: anywhere; }
.zv-print-meta { display: grid; gap: 10px; margin: 0; text-align: right; }
.zv-print-meta > div { border-left: 2px solid #93191a; padding-left: 12px; }
.zv-print-meta dt,
.zv-print-client span,
.zv-print-totals span,
.zv-print-validity span {
    color: #777;
    display: block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.zv-print-meta dd { color: #222; font-size: 13px; font-weight: 700; margin: 3px 0 0; }
.zv-print-section { padding-top: 28px; }
.zv-print-section-heading { align-items: center; display: flex; gap: 12px; margin-bottom: 15px; }
.zv-print-section-heading > span {
    align-items: center;
    background: #93191a;
    color: #fff;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 8px;
    height: 13px;
    justify-content: center;
}
.zv-print-section-heading p { color: #777; font-size: 8px; font-weight: 700; letter-spacing: 0.1em; margin: 0; text-transform: uppercase; }
.zv-print-section-heading h2 { color: #93191a; font-family: Athelas, Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; letter-spacing: 0; margin: 1px 0 0; }
.zv-print-client {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    display: grid;
    gap: 18px 26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px 0;
}
.zv-print-client strong { color: #222; display: block; font-size: 12px; margin-top: 5px; overflow-wrap: anywhere; }
.zv-print-table-wrap { overflow: hidden; }
.zv-print-table th,
.zv-print-table td { border-bottom: 1px solid #ddd; padding: 11px 9px; }
.zv-print-table th {
    background: #f7f7f7;
    border-bottom: 2px solid #93191a;
    color: #93191a;
    font-size: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.zv-print-table td { background: rgba(255, 255, 255, 0.86); color: #333; font-size: 10px; vertical-align: middle; }
.zv-print-table tbody tr:last-child td { border-bottom: 0; }
.zv-print-table small { color: #93191a; }
.zv-print-summary { align-items: stretch; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); margin-top: 24px; }
.zv-print-summary-note { align-items: flex-start; border-top: 1px solid #93191a; display: flex; padding-top: 12px; }
.zv-print-summary-note p { color: #93191a; font-family: Athelas, Georgia, "Times New Roman", serif; font-size: 12px; font-style: italic; line-height: 1.5; margin: 0; }
.zv-print-totals { border-top: 1px solid #aaa; color: #222; display: grid; gap: 8px; padding: 12px 0 0; }
.zv-print-totals > div { align-items: baseline; display: grid; gap: 20px; grid-template-columns: 1fr auto; }
.zv-print-totals strong { white-space: nowrap; }
.zv-print-grand-total { border-top: 2px solid #93191a; color: #93191a; font-family: Athelas, Georgia, "Times New Roman", serif; font-size: 20px; margin-top: 4px; padding-top: 10px; }
.zv-print-notes { border-left: 4px solid #93191a; break-inside: avoid; margin-top: 26px; padding: 2px 0 2px 15px; page-break-inside: avoid; }
.zv-print-notes p { margin: 5px 0 0; }
.zv-print-contact {
    align-items: end;
    border-top: 1px solid #d8d8d8;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 18px;
}
.zv-print-validity strong { color: #93191a; display: block; font-family: Athelas, Georgia, "Times New Roman", serif; font-size: 19px; margin-top: 4px; }
.zv-print-validity p { color: #666; font-size: 9px; margin: 2px 0 0; }
.zv-print-signature { display: grid; text-align: right; }
.zv-print-signature strong { color: #222; font-family: Athelas, Georgia, "Times New Roman", serif; font-size: 16px; }
.zv-print-signature span { color: #93191a; font-size: 8px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.zv-print-signature a,
.zv-print-signature .zv-print-phone { color: #555; font-size: 9px; font-weight: 400; letter-spacing: 0; margin-top: 3px; text-decoration: none; text-transform: none; }
.zv-print-table thead { display: table-header-group; }
.zv-print-table tr { break-inside: avoid; page-break-inside: avoid; }
body.zeneva-print-quote-page #masthead,
body.zeneva-print-quote-page .site-header,
body.zeneva-print-quote-page .elementor-location-header,
body.zeneva-print-quote-page .site-footer,
body.zeneva-print-quote-page .elementor-location-footer,
body.zeneva-print-quote-page footer,
body.zeneva-print-quote-page .whatsapp,
body.zeneva-print-quote-page .whatsapp-button,
body.zeneva-print-quote-page .floating-whatsapp,
body.zeneva-print-quote-page .xoo-wsc-modal,
body.zeneva-print-quote-page .account-icon,
body.zeneva-print-quote-page .cart-icon {
    display: none !important;
}

@media print {
    @page { margin: 8mm; size: auto; }
    body { background: #fff !important; margin: 0 !important; }
    body * { visibility: hidden !important; }
    .zv-printable, .zv-printable * { visibility: visible !important; }
    .zv-print-actions, .zv-print-actions * { display: none !important; visibility: hidden !important; }
    .zv-printable {
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
        color: #201815 !important;
        font-family: "Century Gothic", Futura, "Trebuchet MS", Arial, sans-serif !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        print-color-adjust: exact !important;
        top: 0 !important;
        -webkit-print-color-adjust: exact !important;
        width: 100% !important;
    }
    .zv-print-brand {
        break-inside: avoid !important;
        margin: 0 !important;
        min-height: 48mm;
        padding: 7mm 12mm 4mm;
        page-break-inside: avoid !important;
    }
    .zv-print-brand img {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .zv-print-brand-logo { width: 27mm; }
    .zv-print-brand-motto { width: 90mm; }
    .zv-print-document { overflow: visible; }
    .zv-print-document::before { height: 9mm; width: 34mm; }
    .zv-print-document::after { height: 80mm; opacity: 0.045; }
    .zv-quote-head,
    .zv-print-section,
    .zv-print-summary,
    .zv-print-notes,
    .zv-print-contact { margin-left: 10mm; margin-right: 10mm; }
    .zv-quote-head { padding-bottom: 5mm; padding-top: 6mm; }
    .zv-print-section { padding-top: 6mm; }
    .zv-print-client { padding: 4mm 5mm; }
    .zv-print-table th,
    .zv-print-table td { padding: 2.6mm 2mm; }
    .zv-print-summary { margin-top: 5mm; }
    .zv-print-notes { margin-top: 5mm; }
    .zv-print-contact { margin-bottom: 7mm; margin-top: 6mm; }
    .zv-print-document .zv-button,
    .zv-print-document script { display: none !important; }
    .zv-print-document tr { break-inside: avoid; page-break-inside: avoid; }
}

@media (max-width: 640px) {
    .zv-print-standalone { padding: 0; }
    .zv-print-document { min-height: 0; padding: 0 18px 28px; }
    .zv-print-brand { gap: 8px; min-height: 0; padding: 28px 0 18px; }
    .zv-print-brand-logo { width: 105px; }
    .zv-print-brand-motto { width: min(100%, 360px); }
    .zv-quote-head { align-items: start; gap: 18px; grid-template-columns: 1fr; padding: 24px 0; }
    .zv-print-title h1 { font-size: 30px; }
    .zv-print-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
    .zv-print-client { grid-template-columns: 1fr; }
    .zv-print-table-wrap { overflow-x: auto; }
    .zv-print-table { min-width: 680px; }
    .zv-print-summary { grid-template-columns: 1fr; }
    .zv-print-contact { flex-direction: column; }
    .zv-print-signature { text-align: left; }
    .zv-checkin-form { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
    .zv-dashboard-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .zv-item-row { grid-template-columns: minmax(220px, 1fr) 90px minmax(160px, 200px) 80px; }
}
@media (max-width: 900px) {
    .zv-header { align-items: flex-start; flex-direction: column; }
    .zv-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zv-donut-layout, .zv-cost-layout, .zv-reservation-layout { grid-template-columns: 1fr; }
    .zv-reservation-analysis { grid-template-columns: 1fr; }
    .zv-reservation-bar-row { grid-template-columns: minmax(0, 1fr) 44px; }
    .zv-reservation-bar-row .zv-reservation-bar { grid-column: 1 / -1; grid-row: 2; }
    .zv-reservation-bar-row small { grid-column: 1 / -1; }
    .zv-donut { justify-self: center; }
    .zv-item-row { background: var(--zv-bg); border: 1px solid var(--zv-line); border-radius: 8px; grid-template-columns: 1fr 110px; padding: 12px; }
    .zv-line-commission-field, .zv-icon-button, .zv-line-preview { grid-column: 1 / -1; }
    .zv-express-grid { grid-template-columns: 1fr; }
    .zv-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .zv-portal { font-size: 14px; }
    .zv-dashboard-grid, .zv-grid, .zv-status-cards, .zv-report-grid, .zv-form-grid, .zv-item-row { grid-template-columns: 1fr; }
    .zv-section-title { align-items: stretch; flex-direction: column; }
    .zv-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .zv-nav a, .zv-button, .zv-icon-button { text-align: center; white-space: normal; width: 100%; }
    .zv-panel, .zv-stat, .zv-metric-card { padding: 12px; }
    .zv-metric-card { min-height: auto; }
    .zv-form-row { grid-template-columns: 1fr; }
    .zv-express-result dl > div { grid-template-columns: 1fr; gap: 2px; }
    .zv-express-result dd { text-align: left; }
    .zv-filter-bar { grid-template-columns: 1fr; }
}
.zv-actions-cell { display: flex; flex-wrap: wrap; gap: 8px; min-width: 220px; }
.zv-actions-cell form { margin: 0; }
.zv-link-button { background: transparent; border: 0; color: var(--zv-wine); cursor: pointer; font: inherit; font-weight: 700; padding: 0; text-decoration: underline; }
.zv-link-button.danger { color: #9f1239; }
.zv-filter-bar {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 1fr)) auto auto;
    margin: 14px 0 18px;
}
.zv-filter-bar label {
    color: var(--zv-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.zv-filter-bar input,
.zv-filter-bar select {
    margin-top: 6px;
}
.zv-report-grid-balanced .zv-panel {
    min-height: 0;
}
.zv-bulk-toolbar {
    align-items: center;
    background: #fffaf4;
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin: 12px 0;
    padding: 10px 12px;
}
.zv-bulk-left,
.zv-bulk-totals {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.zv-bulk-totals {
    color: var(--zv-muted);
    font-size: 13px;
}
.zv-bulk-totals strong {
    color: var(--zv-deep);
    font-size: 15px;
}
.zv-bulk-toolbar form {
    margin: 0;
}
.zv-compact-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 130px;
}
.zv-compact-card span {
    color: var(--zv-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.zv-compact-card strong {
    color: var(--zv-ink);
    font-size: clamp(20px, 2vw, 28px);
}
.zv-inline-edit {
    background: #fffaf4;
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 14px;
}
.zv-inline-edit textarea {
    min-height: 74px;
}
.zv-steps {
    color: var(--zv-muted);
    margin: 10px 0 0 18px;
}
.zv-steps li {
    margin: 6px 0;
}
.zv-ml-log {
    margin-top: 8px;
    max-width: 420px;
}
.zv-ml-log summary {
    color: var(--zv-wine);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}
.zv-ml-log pre {
    background: #161111;
    border-radius: 8px;
    color: #fff7ed;
    font-size: 11px;
    line-height: 1.45;
    margin: 8px 0 0;
    max-height: 260px;
    overflow: auto;
    padding: 10px;
    white-space: pre-wrap;
    word-break: break-word;
}
.zv-button.is-loading,
.zv-link-button.is-loading,
button:disabled {
    cursor: wait;
    opacity: 0.68;
}
.zv-advanced-options {
    background: #fffaf4;
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    margin: 8px 0 16px;
    padding: 10px 12px;
}
.zv-advanced-options summary {
    color: var(--zv-wine);
    cursor: pointer;
    font-weight: 800;
}
.zv-advanced-options .zv-check {
    margin-top: 10px;
}
.zv-trash-button {
    align-items: center;
    background: #fff7f7;
    border: 1px solid #e4b4b7;
    border-radius: 8px;
    color: var(--zv-wine);
    cursor: pointer;
    display: inline-flex;
    font-size: 17px;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    text-decoration: none;
    width: 34px;
}
.zv-trash-button:hover,
.zv-trash-button:focus {
    background: var(--zv-wine);
    border-color: var(--zv-wine);
    color: #fff;
    outline: none;
}
.zv-nav .zv-logout-link,
.zv-nav .zv-nav-logout {
    background: var(--zv-deep);
    border-color: var(--zv-deep);
    color: #fff;
}
.zv-nav .zv-logout-link:hover,
.zv-nav .zv-nav-logout:hover {
    background: var(--zv-wine);
    border-color: var(--zv-wine);
    color: #fff;
}
.zv-custom-wine {
    --zv-ink: #201815;
    --zv-muted: #6d625d;
    --zv-line: #e6ded8;
    --zv-wine: #7b1e2b;
    --zv-gold: #b98b45;
    --zv-bg: #fffaf5;
    --zv-deep: #12090b;
    color: var(--zv-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0 auto;
    max-width: 1240px;
    padding: clamp(24px, 4vw, 54px) 18px;
}
.zv-cw-hero {
    align-items: end;
    border-bottom: 1px solid var(--zv-line);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
}
.zv-cw-hero h1 {
    color: #0f1b2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 0.94;
    margin: 6px 0 10px;
}
.zv-cw-hero p {
    color: var(--zv-muted);
    max-width: 680px;
}
.zv-cw-price-pill {
    background: #fff;
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(46, 24, 16, 0.08);
    min-width: 220px;
    padding: 18px;
}
.zv-cw-price-pill span,
.zv-cw-summary span {
    color: var(--zv-muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.zv-cw-price-pill strong,
.zv-cw-summary strong {
    color: var(--zv-wine);
    display: block;
    font-size: 24px;
    margin-top: 4px;
}
.zv-cw-layout {
    align-items: start;
    display: grid;
    gap: clamp(18px, 3vw, 34px);
    grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
}
.zv-cw-render-wrap {
    background: linear-gradient(160deg, #fffaf4, #ffffff);
    border: 1px solid var(--zv-line);
    border-radius: 10px;
    min-height: 680px;
    padding: clamp(18px, 4vw, 40px);
    position: sticky;
    top: 18px;
}
.zv-cw-bottle {
    height: 600px;
    margin: 0 auto 18px;
    max-width: 260px;
    position: relative;
}
.zv-cw-neck {
    background: linear-gradient(90deg, #12090b, #41161b 44%, #16090a);
    border-radius: 34px 34px 8px 8px;
    height: 170px;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 88px;
}
.zv-cw-body {
    background: radial-gradient(circle at 35% 18%, rgba(255,255,255,0.18), transparent 32%), linear-gradient(90deg, #12090b, #541c22 42%, #150a0c);
    border-radius: 52% 52% 15% 15% / 12% 12% 8% 8%;
    bottom: 0;
    box-shadow: 0 26px 48px rgba(18, 9, 11, 0.28);
    height: 470px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 240px;
}
.zv-cw-label {
    --zv-cw-primary: #93191A;
    --zv-cw-secondary: #C59A3D;
    --zv-cw-accent: #111827;
    background: #fffdf8;
    border: 1px solid rgba(90, 52, 32, 0.22);
    bottom: 98px;
    box-shadow: inset 0 0 0 5px rgba(255,255,255,0.75);
    display: grid;
    left: 24px;
    min-height: 220px;
    padding: 22px 18px;
    place-items: center;
    position: absolute;
    right: 24px;
    text-align: center;
}
.zv-cw-label::before {
    background: var(--zv-cw-secondary);
    content: "";
    height: 2px;
    left: 28px;
    position: absolute;
    right: 28px;
    top: 54px;
}
.zv-cw-label strong {
    color: var(--zv-cw-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 0.96;
    overflow-wrap: anywhere;
}
.zv-cw-label em {
    color: var(--zv-cw-accent);
    font-style: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.zv-cw-label p {
    color: var(--zv-cw-accent);
    font-size: 13px;
    margin: 0;
    overflow-wrap: anywhere;
}
.zv-cw-label small,
.zv-cw-mark {
    color: var(--zv-cw-secondary);
}
.zv-cw-mark {
    border: 1px solid currentColor;
    border-radius: 999px;
    display: grid;
    font-family: Georgia, "Times New Roman", serif;
    height: 34px;
    place-items: center;
    width: 34px;
}
.zv-cw-panel {
    background: #fff;
    border: 1px solid var(--zv-line);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(46, 24, 16, 0.06);
    display: grid;
    gap: 18px;
    padding: clamp(18px, 3vw, 28px);
}
.zv-cw-swatches,
.zv-cw-options {
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin: 0;
    padding: 14px;
}
.zv-cw-swatches input[type="color"] {
    display: block;
    height: 42px;
    margin-top: 6px;
    width: 100%;
}
.zv-cw-options legend {
    color: var(--zv-wine);
    font-weight: 800;
    padding: 0 8px;
}
.zv-cw-summary {
    background: #fff8f2;
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 16px;
}
body.zeneva-portal-page .login-popup,
body.zeneva-portal-page .account-login-popup,
body.zeneva-portal-page .modal-login,
body.zeneva-portal-page .xoo-el-container,
body.zeneva-portal-page .mfp-wrap {
    display: none !important;
}
@media (max-width: 900px) {
    .zv-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zv-cw-layout { grid-template-columns: 1fr; }
    .zv-cw-render-wrap { min-height: auto; position: static; }
    .zv-cw-hero { align-items: stretch; flex-direction: column; }
}
@media (max-width: 640px) {
    .zv-filter-bar { grid-template-columns: 1fr; }
    .zv-bulk-toolbar { align-items: stretch; flex-direction: column; }
    .zv-bulk-left,
    .zv-bulk-totals { align-items: flex-start; flex-direction: column; }
    .zv-custom-wine { padding: 22px 12px; }
    .zv-cw-bottle { height: 520px; transform: scale(0.9); transform-origin: top center; }
    .zv-cw-body { height: 430px; }
    .zv-cw-panel { padding: 16px; }
}

/* Public custom wine studio */
.zv-custom-wine .zv-cw-studio-head {
    display: grid;
    justify-items: center;
    margin: 0 auto 24px;
    max-width: 1180px;
    text-align: center;
}
.zv-cw-public-logo {
    display: block;
    height: auto;
    margin: 0 auto 10px;
    max-width: min(240px, 62vw);
}
.zv-custom-wine .zv-cw-studio-head h1 {
    color: #0f1b2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 78px);
    line-height: 0.92;
    margin: 6px 0 12px;
}
.zv-custom-wine .zv-cw-studio-head p {
    color: var(--zv-muted);
    max-width: 760px;
}
.zv-cw-studio {
    align-items: start;
    display: grid;
    gap: 0;
    grid-template-columns: 330px minmax(380px, 1fr) 360px;
    margin: 0 auto;
    max-width: 1500px;
    min-height: 760px;
}
.zv-cw-tools,
.zv-cw-summary-card {
    background: #fff;
    border: 1px solid var(--zv-line);
    display: grid;
    gap: 16px;
    padding: 24px;
}
.zv-cw-tools {
    border-radius: 12px 0 0 12px;
}
.zv-cw-summary-card {
    border-radius: 0 12px 12px 0;
}
.zv-cw-tools label,
.zv-cw-summary-card label,
.zv-cw-color-group {
    color: #17110f;
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
}
.zv-cw-tools input,
.zv-cw-tools select,
.zv-cw-summary-card input,
.zv-cw-summary-card select,
.zv-cw-summary-card textarea {
    border: 1px solid #d8d2cc;
    border-radius: 8px;
    font: inherit;
    padding: 12px 14px;
    width: 100%;
}
.zv-cw-tools input[type="number"] {
    font-size: 18px;
    font-weight: 900;
    min-height: 48px;
}
.zv-cw-back {
    color: #0e8585;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.zv-cw-help {
    color: var(--zv-muted);
    font-size: 12px;
    line-height: 1.65;
    margin: 0;
}
.zv-cw-color-group label {
    align-items: center;
    border: 1px solid var(--zv-line);
    border-radius: 999px;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    padding: 7px 10px;
}
.zv-cw-color-group input[type="color"] {
    border: 0;
    height: 30px;
    padding: 0;
    width: 42px;
}
.zv-cw-tool-row {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}
.zv-cw-mini {
    background: #fff;
    border: 1px solid #d8d2cc;
    border-radius: 8px;
    color: #231816;
    cursor: pointer;
    font-weight: 800;
    padding: 11px 12px;
}
.zv-cw-preview-stage {
    align-items: center;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.95), rgba(247, 249, 250, 0.62) 36%, rgba(224, 231, 235, 0.76)),
        linear-gradient(145deg, #eef2f3, #ffffff);
    border-bottom: 1px solid var(--zv-line);
    border-top: 1px solid var(--zv-line);
    display: grid;
    min-height: 760px;
    overflow: hidden;
    padding: 56px 24px 34px;
    position: relative;
    place-items: center;
}
.zv-cw-method {
    background: #110f0f;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    left: 50%;
    padding: 12px 18px;
    position: absolute;
    top: 14px;
    transform: translateX(-50%);
    white-space: nowrap;
}
.zv-cw-bottle-render {
    height: min(680px, 78vh);
    max-height: 720px;
    position: relative;
    width: min(360px, 72vw);
}
.zv-cw-bottle-shadow {
    background: radial-gradient(ellipse, rgba(20, 8, 10, 0.35), transparent 62%);
    bottom: 0;
    filter: blur(8px);
    height: 36px;
    left: 7%;
    position: absolute;
    right: 7%;
}
.zv-cw-bottle-glass {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.12), transparent 20%, rgba(255,255,255,0.08) 43%, transparent 72%),
        linear-gradient(90deg, #120809, #421015 42%, #190708 100%);
    border-radius: 48% 48% 13% 13% / 11% 11% 7% 7%;
    bottom: 28px;
    box-shadow: 0 38px 80px rgba(28, 7, 10, 0.33);
    height: 82%;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 82%;
}
.zv-cw-capsule {
    background: linear-gradient(90deg, #080505, #7d1822 54%, #140607);
    border-radius: 34px 34px 7px 7px;
    height: 210px;
    left: 50%;
    position: absolute;
    top: -180px;
    transform: translateX(-50%);
    width: 92px;
}
.zv-cw-shoulder {
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.14), transparent 55%);
    border-radius: 50% 50% 0 0;
    height: 95px;
    left: 10%;
    position: absolute;
    right: 10%;
    top: 0;
}
.zv-cw-wine-liquid {
    background: linear-gradient(90deg, rgba(99, 17, 25, 0.72), rgba(134, 26, 35, 0.82), rgba(56, 9, 14, 0.72));
    border-radius: 0 0 42px 42px;
    bottom: 0;
    height: 56%;
    left: 0;
    position: absolute;
    right: 0;
}
.zv-cw-gloss {
    background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
    border-radius: 999px;
    height: 64%;
    left: 20%;
    opacity: 0.25;
    position: absolute;
    top: 7%;
    width: 18px;
}
.zv-cw-preview-stage .zv-cw-label {
    bottom: 108px;
    min-height: 245px;
    overflow: hidden;
    padding: 20px 18px;
}
.zv-cw-label img {
    display: block;
    height: 72%;
    left: 50%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72%;
    z-index: 0;
}
.zv-cw-label.has-artwork::before {
    display: none;
}
.zv-cw-label.has-artwork .zv-cw-mark,
.zv-cw-label.has-artwork strong,
.zv-cw-label.has-artwork em,
.zv-cw-label.has-artwork p,
.zv-cw-label.has-artwork small {
    opacity: 0.18;
    position: relative;
    z-index: 1;
}
.zv-cw-summary-card h2 {
    color: #3a2a26;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    margin: 0;
}
.zv-cw-summary-card .zv-cw-options {
    background: #fffaf5;
    grid-template-columns: 1fr;
}
.zv-cw-total-box {
    background: #12090b;
    border-radius: 12px;
    color: #fff;
    display: grid;
    gap: 6px;
    padding: 18px;
}
.zv-cw-total-box span {
    color: #d7b06a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.zv-cw-total-box strong {
    color: #fff;
    font-size: 28px;
}
.zv-cw-total-box small {
    color: rgba(255,255,255,0.72);
}
.zv-cw-cart {
    justify-content: center;
    width: 100%;
}
.zv-cw-real-render {
    display: grid;
    height: min(720px, 78vh);
    place-items: center;
    width: min(460px, 74vw);
}
.zv-cw-scene {
    align-items: center;
    display: grid;
    gap: 10px;
    justify-items: center;
    position: relative;
}
.zv-cw-packaging {
    align-items: end;
    border: 1px solid rgba(91, 46, 22, 0.22);
    border-radius: 10px;
    bottom: 28px;
    box-shadow: 0 22px 45px rgba(30, 12, 8, 0.16);
    display: grid;
    height: 120px;
    justify-items: center;
    left: 50%;
    padding: 14px;
    position: absolute;
    transform: translateX(-50%);
    width: 330px;
    z-index: 0;
}
.zv-cw-packaging span {
    background: linear-gradient(135deg, #936738, #d4a75d);
    border-radius: 8px;
    inset: 0;
    position: absolute;
}
.zv-cw-packaging strong {
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.18em;
    position: relative;
    text-transform: uppercase;
}
.zv-cw-occasion-boda .zv-cw-packaging span {
    background: linear-gradient(135deg, #f7efe3, #c8a96a);
}
.zv-cw-occasion-empresa .zv-cw-packaging span {
    background: linear-gradient(135deg, #102037, #7d1d2a);
}
.zv-cw-occasion-evento .zv-cw-packaging {
    width: 380px;
}
.zv-cw-occasion-evento .zv-cw-packaging span {
    background:
        radial-gradient(circle at 16% 72%, #8d6f40 0 10px, transparent 11px),
        radial-gradient(circle at 28% 70%, #556b2f 0 8px, transparent 9px),
        linear-gradient(135deg, #9a6f3c, #d1a35a);
}
.zv-cw-occasion-coleccion .zv-cw-packaging span {
    background: linear-gradient(135deg, #2d0c14, #9b1422);
}
.zv-cw-package-note {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--zv-line);
    border-radius: 999px;
    color: var(--zv-muted);
    font-size: 12px;
    margin: -2px 0 0;
    padding: 8px 12px;
    position: relative;
    text-align: center;
    z-index: 3;
}
.zv-cw-real-bottle {
    display: block;
    filter: drop-shadow(0 34px 42px rgba(22, 9, 8, 0.18));
    height: 100%;
    max-height: 720px;
    object-fit: contain;
    position: relative;
    width: auto;
    z-index: 1;
}
.zv-cw-real-render .zv-cw-label {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.995), rgba(250,247,241,0.995)),
        repeating-linear-gradient(45deg, rgba(120,92,58,0.055) 0 1px, transparent 1px 6px);
    border: 0;
    bottom: auto;
    box-shadow: inset 0 0 0 1px rgba(126, 92, 50, 0.13);
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    left: 50%;
    min-height: 0;
    overflow: hidden;
    padding: 18px 14px;
    position: absolute;
    right: auto;
    text-align: center;
    top: 42%;
    transform: translateX(-50%);
    width: 45%;
    z-index: 2;
}
.zv-cw-real-render .zv-cw-label::before {
    left: 18%;
    right: 18%;
    top: 24%;
}
.zv-cw-render-red .zv-cw-label,
.zv-cw-render-red-blue .zv-cw-label {
    height: 27%;
    top: 43%;
    width: 44%;
}
.zv-cw-render-rose .zv-cw-label {
    height: 31%;
    top: 42%;
    width: 44%;
}
.zv-cw-render-don-marcel .zv-cw-label {
    height: 28%;
    top: 40.5%;
    width: 45%;
}
.zv-cw-render-constanto .zv-cw-label {
    background: linear-gradient(135deg, rgba(255,255,255,0.995), rgba(251,249,243,0.995));
    height: 25%;
    top: 46%;
    width: 45%;
}
.zv-cw-render-toroide .zv-cw-label {
    height: 34%;
    top: 38%;
    width: 50%;
}
.zv-cw-render-white .zv-cw-label {
    height: 30%;
    top: 40%;
    width: 44%;
}
.zv-cw-real-render .zv-cw-label strong {
    font-size: clamp(22px, 2.15vw, 34px);
    line-height: 0.98;
}
.zv-cw-real-render .zv-cw-label em {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.zv-cw-real-render .zv-cw-label p {
    font-size: 12px;
    line-height: 1.35;
    margin: 2px 0;
    max-width: 92%;
}
.zv-cw-real-render .zv-cw-label small {
    font-size: 10px;
}
.zv-cw-real-render .zv-cw-mark {
    font-size: 11px;
    letter-spacing: 0.08em;
}
.zv-cw-style-minimal {
    background: #fff !important;
}
.zv-cw-style-minimal::before {
    display: none;
}
.zv-cw-style-minimal .zv-cw-mark {
    display: none;
}
.zv-cw-style-minimal strong {
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(20px, 1.9vw, 30px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.zv-cw-style-clasico {
    outline: 5px double rgba(185, 139, 69, 0.28);
    outline-offset: -12px;
}
.zv-cw-style-clasico strong {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}
.zv-cw-style-moderno {
    background: linear-gradient(180deg, #ffffff 0 58%, color-mix(in srgb, var(--zv-cw-primary) 12%, white) 58% 100%) !important;
}
.zv-cw-style-moderno strong {
    font-family: Inter, system-ui, sans-serif;
    font-weight: 950;
    text-transform: uppercase;
}
.zv-cw-art-controls {
    display: grid;
    gap: 10px;
}
.zv-cw-art-controls label {
    font-size: 12px;
}
.zv-cw-art-controls input[type="range"] {
    accent-color: var(--zv-wine);
    padding: 0;
}
@media (max-width: 1180px) {
    .zv-cw-studio {
        grid-template-columns: 300px minmax(340px, 1fr);
    }
    .zv-cw-summary-card {
        border-radius: 0 0 12px 12px;
        grid-column: 1 / -1;
    }
}
@media (max-width: 820px) {
    .zv-cw-studio {
        grid-template-columns: 1fr;
    }
    .zv-cw-tools,
    .zv-cw-summary-card {
        border-radius: 12px;
    }
    .zv-cw-preview-stage {
        min-height: 620px;
        order: -1;
    }
    .zv-cw-bottle-render {
        height: 560px;
        width: min(300px, 80vw);
    }
    .zv-cw-real-render {
        height: 580px;
        width: min(340px, 86vw);
    }
    .zv-cw-packaging {
        width: min(320px, 82vw);
    }
    .zv-cw-method {
        font-size: 12px;
        top: 10px;
    }
}

/* Custom wine studio v0.5.6: transparent bottles and integrated label canvas */
.zv-cw-studio {
    grid-template-columns: minmax(280px, 320px) minmax(520px, 1fr) minmax(300px, 350px);
    max-width: 1580px;
}
.zv-cw-preview-stage {
    min-height: 820px;
    padding: 58px 18px 28px;
}
.zv-cw-scene {
    min-height: 720px;
    width: 100%;
}
.zv-cw-real-render {
    aspect-ratio: 2 / 3;
    height: 690px;
    max-height: 690px;
    width: 460px;
    z-index: 2;
}
.zv-cw-real-bottle {
    height: 100%;
    object-fit: contain;
    width: 100%;
}
.zv-cw-real-render .zv-cw-label {
    background: transparent !important;
    border: 0;
    box-shadow: none;
    height: 33.5%;
    left: 34.5%;
    outline: 0;
    padding: 12px 9px;
    top: 42.1%;
    transform: none;
    width: 31%;
}
.zv-cw-render-red .zv-cw-label,
.zv-cw-render-red-blue .zv-cw-label,
.zv-cw-render-rose .zv-cw-label,
.zv-cw-render-don-marcel .zv-cw-label,
.zv-cw-render-constanto .zv-cw-label,
.zv-cw-render-white .zv-cw-label {
    background: transparent !important;
    height: 33.5%;
    left: 34.5%;
    top: 42.1%;
    width: 31%;
}
.zv-cw-render-toroide .zv-cw-label {
    background: transparent !important;
    height: 38.5%;
    left: 34.2%;
    top: 37.1%;
    width: 29.2%;
}
.zv-cw-real-render .zv-cw-label::before {
    left: 18%;
    right: 18%;
    top: 25%;
}
.zv-cw-real-render .zv-cw-label strong {
    font-size: clamp(16px, 1.5vw, 23px);
}
.zv-cw-real-render .zv-cw-label em,
.zv-cw-real-render .zv-cw-label small,
.zv-cw-real-render .zv-cw-mark {
    font-size: 8px;
}
.zv-cw-real-render .zv-cw-label p {
    font-size: 9px;
    line-height: 1.25;
}
.zv-cw-label img {
    clip-path: inset(0 round 2px);
    max-height: 92%;
    max-width: 92%;
    object-fit: contain;
}
.zv-cw-style-clasico {
    outline: 2px double color-mix(in srgb, var(--zv-cw-secondary) 55%, transparent);
    outline-offset: -6px;
}
.zv-cw-style-moderno {
    background: linear-gradient(180deg, transparent 0 62%, color-mix(in srgb, var(--zv-cw-primary) 13%, transparent) 62% 100%) !important;
}
.zv-cw-package-render {
    bottom: 82px;
    filter: drop-shadow(0 24px 32px rgba(33, 15, 10, 0.2));
    height: auto;
    left: 50%;
    max-height: 570px;
    object-fit: contain;
    position: absolute;
    transform: translateX(-50%);
    width: min(720px, 98%);
    z-index: 0;
}
.zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-real-render {
    height: 510px;
    transform: translateY(52px);
}
.zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-package-copy {
    transform: translateY(34px);
}
.zv-cw-package-copy {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    justify-items: center;
    max-width: 620px;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    z-index: 4;
}
.zv-cw-package-copy strong {
    color: var(--zv-wine);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.zv-cw-package-copy p {
    color: var(--zv-muted);
    font-size: 12px;
    margin: 0;
}
.zv-cw-included {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}
.zv-cw-included span {
    background: #f4ece4;
    border-radius: 999px;
    color: #6d302e;
    font-size: 10px;
    padding: 4px 7px;
}
.zv-cw-presentation-options {
    border: 1px solid var(--zv-line);
    border-radius: 8px;
    padding: 11px 12px;
}
.zv-cw-presentation-options summary {
    color: var(--zv-wine);
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
}
.zv-cw-check-grid {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}
.zv-cw-check-grid label {
    align-items: center;
    display: flex;
    font-size: 12px;
    font-weight: 650;
    gap: 8px;
}
.zv-cw-check-grid input {
    height: 17px;
    margin: 0;
    width: 17px;
}
.zv-cw-breakdown {
    border-top: 1px solid rgba(255,255,255,0.18);
    display: grid;
    gap: 5px;
    margin: 8px 0 0;
    padding-top: 9px;
}
.zv-cw-breakdown div {
    display: flex;
    font-size: 11px;
    justify-content: space-between;
}
.zv-cw-breakdown dt,
.zv-cw-breakdown dd {
    margin: 0;
}
.zv-cw-art-dialog[hidden] {
    display: none;
}
.zv-cw-art-dialog {
    align-items: center;
    background: rgba(16, 9, 10, 0.72);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 999999;
}
.zv-cw-art-dialog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 26px 80px rgba(0,0,0,0.28);
    max-width: 520px;
    padding: 26px;
    width: 100%;
}
.zv-cw-art-dialog-card h2 {
    color: #271715;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    margin: 5px 0 10px;
}
.zv-cw-art-dialog-card p {
    color: var(--zv-muted);
    line-height: 1.55;
}
.zv-cw-art-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
@media (max-width: 1240px) {
    .zv-cw-studio {
        grid-template-columns: 300px minmax(500px, 1fr);
    }
    .zv-cw-summary-card {
        grid-column: 1 / -1;
    }
}
@media (max-width: 900px) {
    .zv-cw-studio {
        gap: 14px;
        grid-template-columns: 1fr;
        padding: 0 12px;
    }
    .zv-cw-preview-stage {
        min-height: 690px;
        order: -1;
    }
    .zv-cw-scene {
        min-height: 600px;
    }
    .zv-cw-real-render {
        height: 570px;
        width: 380px;
    }
    .zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-real-render {
        height: 430px;
    }
    .zv-cw-package-render {
        bottom: 90px;
        max-height: 460px;
    }
}
@media (max-width: 560px) {
    .zv-custom-wine .zv-cw-studio-head h1 {
        font-size: 42px;
    }
    .zv-cw-preview-stage {
        min-height: 570px;
        padding-inline: 5px;
    }
    .zv-cw-scene {
        min-height: 500px;
    }
    .zv-cw-real-render {
        height: 475px;
        width: 316px;
    }
    .zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-real-render {
        height: 350px;
        transform: translateY(38px);
    }
    .zv-cw-package-render {
        bottom: 94px;
        max-height: 380px;
        width: 100%;
    }
    .zv-cw-package-copy {
        margin-inline: 8px;
    }
    .zv-cw-tools,
    .zv-cw-summary-card {
        padding: 18px;
    }
}

/* Custom wine studio v0.5.9: device-safe composition and fluid label typography */
.zv-cw-real-render .zv-cw-label {
    align-content: stretch;
    contain: layout paint;
    container-type: inline-size;
    display: grid;
    gap: 2%;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    isolation: isolate;
    overflow: hidden;
    padding: 30% 7% 5%;
    place-items: center;
    touch-action: none;
}
.zv-cw-real-render .zv-cw-label > [data-zv-cw-artwork-preview] {
    cursor: grab;
    display: block;
    height: auto;
    max-height: none;
    max-width: none;
    object-fit: contain;
    pointer-events: auto;
    position: absolute;
    transform: translate(-50%, -50%);
    transform-origin: center;
    user-select: none;
    z-index: 1;
}
.zv-cw-real-render .zv-cw-label.is-artwork-dragging > [data-zv-cw-artwork-preview] {
    cursor: grabbing;
}
.zv-cw-label.has-artwork::before {
    display: block;
}
.zv-cw-label.has-artwork .zv-cw-mark,
.zv-cw-label.has-artwork strong,
.zv-cw-label.has-artwork em,
.zv-cw-label.has-artwork p,
.zv-cw-label.has-artwork small {
    opacity: 1;
    pointer-events: none;
    position: relative;
    z-index: 3;
}
.zv-cw-real-render .zv-cw-mark {
    background: var(--zv-cw-logo, #111);
    border: 0;
    border-radius: 0;
    display: block;
    height: 18%;
    left: 50%;
    margin: 0;
    max-height: none;
    min-height: 0;
    -webkit-mask: var(--zv-cw-logo-image) center / contain no-repeat;
    mask: var(--zv-cw-logo-image) center / contain no-repeat;
    pointer-events: none;
    position: absolute !important;
    top: 3%;
    transform: translateX(-50%);
    width: 48%;
    z-index: 4;
}
.zv-cw-real-render .zv-cw-label::before {
    left: 15%;
    right: 15%;
    top: 24%;
}
.zv-cw-real-render .zv-cw-label strong {
    font-size: clamp(8px, 15cqw, 22px);
    line-height: 0.94;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.zv-cw-real-render [data-zv-fit="long"] {
    font-size: clamp(6px, 9cqw, 14px);
}
.zv-cw-real-render [data-zv-fit="xlong"] {
    font-size: clamp(5px, 7cqw, 11px);
    line-height: 1.08;
}
.zv-cw-real-render .zv-cw-label em {
    font-size: clamp(5px, 5cqw, 10px);
    letter-spacing: clamp(0.4px, 1cqw, 2px);
    max-width: 100%;
    overflow-wrap: anywhere;
}
.zv-cw-real-render .zv-cw-label p {
    font-size: clamp(6px, 6cqw, 11px);
    line-height: 1.2;
    margin: 0;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.zv-cw-real-render .zv-cw-label small {
    font-size: clamp(5px, 5cqw, 9px);
    line-height: 1.1;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.zv-cw-art-controls input[type="range"] {
    width: 100%;
}
.zv-cw-scene:not(.zv-cw-occasion-sin) {
    align-content: center;
    column-gap: clamp(8px, 1.4vw, 22px);
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    grid-template-rows: auto auto;
    justify-content: center;
    padding: 30px 8px 8px;
}
.zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-real-render {
    aspect-ratio: 2 / 3;
    grid-column: 1;
    grid-row: 1;
    height: auto;
    justify-self: center;
    max-height: none;
    transform: none;
    width: min(280px, 100%);
    z-index: 2;
}
.zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-package-render {
    align-self: center;
    bottom: auto;
    grid-column: 2;
    grid-row: 1;
    height: auto;
    justify-self: start;
    left: auto;
    max-height: 430px;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    transform: none;
    width: 100%;
    z-index: 1;
}
.zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-package-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    margin-top: 4px;
    transform: none;
    width: min(680px, 100%);
}
.zv-cw-scene.zv-cw-occasion-sin {
    grid-template-columns: 1fr;
}
@media (max-width: 900px) {
    .zv-cw-scene:not(.zv-cw-occasion-sin) {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
        padding-inline: 8px;
    }
    .zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-real-render {
        height: auto;
        max-height: none;
        width: min(250px, 100%);
    }
    .zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-package-render {
        max-height: 420px;
    }
}
@media (max-width: 560px) {
    .zv-custom-wine {
        max-width: 100%;
        overflow: clip;
        padding: 16px 0 24px;
        width: 100%;
    }
    .zv-custom-wine .zv-cw-studio-head {
        margin-bottom: 18px;
        padding-inline: 16px;
    }
    .zv-custom-wine .zv-cw-studio-head h1 {
        font-size: clamp(36px, 11vw, 52px);
        line-height: 0.96;
        margin-top: 0;
        overflow-wrap: anywhere;
    }
    .zv-cw-studio {
        gap: 12px;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        width: 100%;
    }
    .zv-cw-studio > *,
    .zv-cw-tools select,
    .zv-cw-tools input,
    .zv-cw-summary-card input,
    .zv-cw-summary-card textarea {
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    .zv-cw-preview-stage {
        min-height: 0;
        overflow: hidden;
        padding: 54px 10px 14px;
        width: 100%;
    }
    .zv-cw-method {
        max-width: calc(100% - 28px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .zv-cw-scene:not(.zv-cw-occasion-sin) {
        gap: 8px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        min-height: 0;
        padding: 12px 4px 4px;
    }
    .zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-real-render {
        grid-column: 1;
        grid-row: 1;
        height: auto;
        justify-self: center;
        max-height: none;
        width: min(270px, 76vw);
    }
    .zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-package-render {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        max-height: 250px;
        width: min(350px, 92vw);
    }
    .zv-cw-scene:not(.zv-cw-occasion-sin) .zv-cw-package-copy {
        grid-column: 1;
        grid-row: 3;
        margin-top: 2px;
        width: 100%;
    }
    .zv-cw-scene.zv-cw-occasion-sin {
        min-height: 500px;
        padding-inline: 4px;
    }
    .zv-cw-scene.zv-cw-occasion-sin .zv-cw-real-render {
        height: auto;
        max-height: none;
        transform: none;
        width: min(300px, 82vw);
    }
    .zv-cw-real-render .zv-cw-mark {
        min-height: 0;
    }
}

@media (min-width: 901px) {
    .zv-cw-preview-stage {
        align-self: start;
        height: calc(100vh - 24px);
        max-height: 820px;
        min-height: 620px;
        overflow: hidden;
        position: sticky;
        top: 12px;
    }
    .zv-cw-preview-stage .zv-cw-scene {
        height: 100%;
        min-height: 0;
    }
}
