@font-face {
    font-family: TypoGraphica;
    src: url("../../images/TypoGraphica%20Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --bg: #07111c;
    --panel: #0c1c2b;
    --panel-soft: #102a3a;
    --cyan: #06c8dd;
    --cyan-dark: #0598aa;
    --text: #f5fbff;
    --muted: #b8ccda;
    --line: rgba(6, 200, 221, 0.22);
    --danger: #e9412f;
    --gold: #d6a719;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: radial-gradient(circle at top, #123f4c 0, var(--bg) 42%, #050b12 100%);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

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

button {
    border: 0;
    border-radius: 10px;
    padding: 13px 18px;
    color: white;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    font-weight: 800;
    cursor: pointer;
}

button:hover {
    filter: brightness(1.06);
}

.is-hidden {
    display: none !important;
}

.vip-secondary {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.vip-danger {
    background: rgba(233, 65, 47, 0.18);
    border: 1px solid rgba(233, 65, 47, 0.34);
    color: #ffd8d3;
}

.vip-login-body {
    display: grid;
    place-items: center;
    padding: 20px;

}

.vip-login {
    width: min(430px, 100%);
    text-align: center;
    border-radius: 20px;
}

.vip-login-logo {
    width: 210px;
    max-width: 80%;
    margin-bottom: 18px;
    margin: 20px;
}

.vip-login-logo-link {
    display: inline-flex;
    justify-content: center;
    border-radius: 14px;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.vip-login-logo-link:hover,
.vip-login-logo-link:focus-visible {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 18px rgba(6, 200, 221, 0.22));
    outline: none;
}

.vip-login h1,
.vip-hero h1 {
    margin: 0;
    font-family: TypoGraphica, Arial, sans-serif;
    font-weight: 400;
}

.vip-login p,
.vip-hero p,
.vip-hint {
    color: var(--muted);
    line-height: 1.45;
    margin: 20px;
}

.vip-login-plan-link {
    margin: 12px auto 18px;
    max-width: 330px;
    font-size: 0.96rem;
}

.vip-login-plan-link a {
    color: var(--cyan);
    font-weight: 900;
    text-decoration: none;
}

.vip-login-plan-link a:hover,
.vip-login-plan-link a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.vip-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(7, 17, 28, 0.86);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    margin: 30px;
}

.vip-login .vip-card {
    padding: 24px;
    text-align: left;
}

.vip-remember-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 18px;
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
}

.vip-remember-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--cyan);
}

.vip-login-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.vip-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 16px;
    border: 1px solid rgba(6, 200, 221, 0.28);
    border-radius: 10px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    font-weight: 800;
    text-decoration: none;
}

.vip-back-link:hover,
.vip-back-link:focus-visible {
    border-color: rgba(6, 200, 221, 0.55);
    background: rgba(6, 200, 221, 0.12);
    outline: none;
}

.vip-form {
    padding: 22px;
}

.vip-panel-details {
    display: block;
    border: 1px solid rgba(6, 200, 221, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.vip-panel-details+.vip-panel-details {
    margin-top: 14px;
}

.vip-panel-details>summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 15px 16px;
    color: var(--text);
    cursor: pointer;
    list-style: none;
}

.vip-panel-details>summary::-webkit-details-marker {
    display: none;
}

.vip-panel-details>summary span {
    font-size: 1.1rem;
    font-weight: 900;
}

.vip-panel-details>summary small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: right;
}

.vip-panel-details>summary::after {
    content: "⌄";
    display: grid;
    flex: 0 0 30px;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(6, 200, 221, 0.10);
    font-weight: 900;
    transition: transform 0.18s ease;
}

.vip-panel-details[open]>summary::after {
    transform: rotate(180deg);
}

.vip-panel-details-body {
    padding: 0 16px 16px;
}

.vip-products-panel {
    padding: 0;
}

.vip-products-panel .vip-panel-details-body {
    padding: 0 18px 18px;
}

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

.vip-product-type-fieldset {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid rgba(1, 180, 181, 0.24);
    border-radius: 12px;
    background: rgba(238, 248, 251, 0.72);
}

.vip-product-type-fieldset legend {
    padding: 0 5px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.vip-product-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.vip-product-type-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(1, 95, 125, 0.18);
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
}

.vip-product-type-options label:has(input:checked) {
    border-color: rgba(1, 180, 181, 0.72);
    background: rgba(1, 180, 181, 0.12);
    box-shadow: 0 0 0 3px rgba(1, 180, 181, 0.1);
}

.vip-product-type-options input {
    accent-color: #01b4b5;
}

.vip-product-type-fieldset .vip-hint {
    display: block;
    margin: 8px 0 0;
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--muted);
    font-weight: 700;
}

label.is-disabled {
    opacity: 0.58;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 12px 13px;
    color: var(--text);
    background: rgba(2, 10, 18, 0.78);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 200, 221, 0.14);
}

.vip-price-field {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(2, 10, 18, 0.78);
    overflow: hidden;
}

.vip-price-field>span {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 100%;
    color: var(--cyan);
    background: rgba(6, 200, 221, 0.10);
    font-weight: 900;
}

.vip-price-field input {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.vip-price-field:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 200, 221, 0.14);
}

.vip-percent-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(2, 10, 18, 0.78);
    overflow: hidden;
}

.vip-percent-field input {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.vip-percent-field>span {
    display: grid;
    place-items: center;
    min-width: 72px;
    height: 100%;
    color: #25d366;
    background: rgba(37, 211, 102, 0.12);
    font-weight: 900;
}

.vip-percent-field:focus-within {
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.13);
}

.vip-promotion-extra small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.vip-profile-subsection {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid rgba(6, 200, 221, 0.18);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(6, 200, 221, 0.08), rgba(255, 255, 255, 0.025));
}

.vip-profile-subsection h3 {
    margin: 0 0 4px;
    color: var(--text);
}

.vip-profile-subsection .vip-hint {
    margin: 0;
}

.vip-check-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(6, 200, 221, 0.14);
    border-radius: 0;
    background: transparent;
    color: var(--text);
}

.vip-check-card input {
    width: auto;
    accent-color: var(--cyan);
}

.vip-sales-modes {
    min-width: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(6, 200, 221, 0.18);
    border-radius: 12px;
    background: rgba(238, 248, 251, 0.72);
}

.vip-sales-modes legend {
    padding: 0 5px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.vip-sales-modes .vip-hint {
    margin: 0 0 9px;
}

.vip-sales-mode-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.vip-sales-mode-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid rgba(1, 180, 181, 0.2);
    border-radius: 10px;
    background: #ffffff;
    color: #304957;
    cursor: pointer;
}

.vip-sales-mode-option input {
    flex: 0 0 auto;
    width: auto;
    accent-color: var(--cyan);
}

.vip-sales-mode-option span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.vip-sales-mode-option i {
    color: #007f8e;
}

.vip-weekly-hours {
    display: grid;
    gap: 0;
    margin: 10px 0 14px;
    border-top: 1px solid rgba(6, 200, 221, 0.14);
}

.vip-weekly-hours.is-disabled {
    opacity: 0.6;
}

.vip-week-toolbar {
    display: grid;
    gap: 9px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(6, 200, 221, 0.14);
    border-radius: 0;
    background: transparent;
}

.vip-week-toolbar-fields label {
    margin: 0;
}

.vip-week-toolbar-fields span {
    display: grid;
    grid-template-columns: minmax(112px, 160px) auto minmax(112px, 160px);
    align-items: center;
    gap: 8px;
}

.vip-week-toolbar-fields small {
    color: var(--muted);
    font-weight: 900;
}

.vip-week-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vip-week-toolbar-actions button {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.vip-week-day {
    display: grid;
    grid-template-columns: minmax(86px, 0.65fr) minmax(230px, 2fr);
    align-items: start;
    gap: 10px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(6, 200, 221, 0.12);
    border-radius: 0;
    background: transparent;
}

.vip-week-day-head,
.vip-week-range {
    display: flex;
    align-items: center;
    gap: 9px;
}

.vip-week-day-head {
    display: grid;
    gap: 3px;
    justify-content: start;
    min-height: 0;
}

.vip-week-day-head strong {
    color: var(--text);
    font-size: 14px;
}

.vip-week-closed {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.vip-week-closed input {
    width: auto;
    accent-color: var(--cyan);
}

.vip-week-ranges {
    display: grid;
    gap: 6px;
}

.vip-week-range {
    display: grid;
    grid-template-columns: minmax(88px, 112px) auto minmax(88px, 112px) auto;
    gap: 6px;
}

.vip-week-range input {
    min-width: 88px;
    min-height: 36px;
    padding: 7px 9px;
    border-color: rgba(6, 200, 221, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.vip-week-range span {
    color: var(--muted);
    font-weight: 900;
}

.vip-week-range-actions {
    display: contents;
}

.vip-week-remove,
.vip-week-add {
    width: auto;
    min-height: 34px;
    padding: 7px 9px;
    white-space: nowrap;
}

.vip-week-remove {
    grid-column: 4;
    color: #ffb8b0;
    background: transparent;
    border: 1px solid rgba(233, 65, 47, 0.24);
}

.vip-week-add {
    grid-column: 1 / -1;
    justify-self: start;
    color: var(--cyan);
    background: transparent;
    border: 1px dashed rgba(6, 200, 221, 0.24);
}

.vip-legacy-hours {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.vip-category-suggestions {
    display: grid;
    gap: 9px;
    margin: -4px 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
}

.vip-category-suggestions strong,
.vip-current-images strong {
    color: var(--text);
    font-size: 13px;
}

.vip-category-suggestions>div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vip-category-suggestions button {
    padding: 8px 13px;
    border: 1px solid rgba(6, 200, 221, 0.42);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(6, 200, 221, 0.10);
    font-size: 13px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vip-category-suggestions button:hover,
.vip-category-suggestions button:focus-visible {
    border-color: rgba(6, 200, 221, 0.72);
    background: rgba(6, 200, 221, 0.16);
    filter: none;
    outline: none;
}

.vip-promotion-extra {
    border-color: rgba(214, 167, 25, 0.28);
}

.vip-current-images {
    display: grid;
    gap: 10px;
    margin: -4px 0 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.vip-current-images>div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 118px));
    gap: 10px;
}

.vip-current-images figure {
    position: relative;
    margin: 0;
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.vip-current-images img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
}

.vip-current-images figcaption {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.vip-current-image-order {
    position: absolute;
    top: 6px;
    left: 6px;
    display: grid;
    min-width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 999px;
    color: #061b22;
    background: rgba(6, 200, 221, 0.92);
    font-size: 12px;
    font-weight: 900;
}

.vip-current-images figure.is-dragging {
    opacity: 0.5;
    transform: scale(0.96);
}

.vip-current-images figure.is-drop-target img {
    border-color: rgba(6, 200, 221, 0.88);
    box-shadow: 0 0 0 3px rgba(6, 200, 221, 0.18);
}

.vip-current-image-delete {
    position: absolute;
    right: 6px;
    top: 6px;
    min-height: 28px;
    border: 1px solid rgba(233, 65, 47, 0.45);
    border-radius: 999px;
    padding: 5px 9px;
    color: #fff;
    background: rgba(126, 24, 17, 0.88);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(126, 24, 17, 0.22);
}

.vip-current-image-delete:hover,
.vip-current-image-delete:focus-visible {
    border-color: rgba(233, 65, 47, 0.8);
    background: rgba(185, 44, 33, 0.94);
    outline: none;
}

.vip-minisite-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 40px;
    margin: -4px 0 14px;
    border: 1px solid rgba(6, 200, 221, 0.34);
    border-radius: 999px;
    padding: 9px 14px;
    color: var(--text);
    background: rgba(6, 200, 221, 0.12);
    font-weight: 900;
    text-decoration: none;
}

.vip-minisite-link:hover {
    background: rgba(6, 200, 221, 0.20);
}

.vip-assets-preview {
    display: block;
    margin: 0 0 16px;
}

.vip-gallery-preview {
    grid-column: 1 / -1;
    border: 1px solid rgba(6, 200, 221, 0.16);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.vip-gallery-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.vip-gallery-preview-head strong {
    display: block;
    color: var(--text);
}

.vip-gallery-preview-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.vip-gallery-preview-head span {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
}

.vip-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.vip-gallery-card {
    position: relative;
    min-width: 0;
    cursor: grab;
    transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.vip-gallery-card img,
.vip-gallery-card video {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.vip-gallery-card video {
    background: rgba(2, 10, 18, 0.72);
}

.vip-gallery-type {
    position: absolute;
    right: 6px;
    top: 6px;
    padding: 4px 7px;
    border-radius: 999px;
    color: #061b22;
    background: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 900;
}

.vip-gallery-card.is-dragging {
    opacity: 0.48;
    transform: scale(0.96);
}

.vip-gallery-card.is-drop-target img {
    border-color: rgba(6, 200, 221, 0.88);
    box-shadow: 0 0 0 3px rgba(6, 200, 221, 0.18);
}

.vip-gallery-order {
    position: absolute;
    top: 6px;
    left: 6px;
    display: grid;
    min-width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    color: #061b22;
    background: rgba(6, 200, 221, 0.92);
    font-size: 12px;
    font-weight: 900;
}

.vip-gallery-delete {
    position: absolute;
    right: 6px;
    bottom: 6px;
    min-height: 30px;
    border: 1px solid rgba(233, 65, 47, 0.38);
    border-radius: 999px;
    padding: 6px 9px;
    color: #ffd9d4;
    background: rgba(100, 14, 7, 0.78);
    font-size: 12px;
}

.vip-gallery-upload {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 12px;
}

.vip-gallery-upload input {
    min-height: 45px;
}

.vip-gallery-upload button:disabled,
.vip-gallery-upload input:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.vip-service-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 8px;
}

.vip-service-tools strong {
    color: var(--muted);
    font-size: 13px;
}

.vip-service-tools button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(6, 200, 221, 0.24);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    font-size: 13px;
}

.vip-message {
    min-height: 22px;
    margin-top: 12px;
    color: var(--cyan);
    font-weight: 700;
}

.vip-message.is-error {
    color: #ff9b8f;
}

.vip-hint.is-error {
    color: #ff9b8f;
}

.vip-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px clamp(14px, 4vw, 34px);
    border-bottom: 1px solid var(--line);
    background: rgba(4, 13, 22, 0.94);
    backdrop-filter: blur(12px);
}

.vip-brand img {
    width: 170px;
    max-width: 42vw;
}

.vip-topbar div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vip-topbar a:last-child {
    color: var(--cyan);
    font-weight: 800;
    text-decoration: none;
}

.vip-panel {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 26px 0 44px;
}

.vip-hero {
    position: relative;
    margin-bottom: clamp(72px, 10vw, 96px);
    padding: clamp(24px, 6vw, 44px);
    padding-bottom: clamp(72px, 9vw, 92px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(6, 200, 221, 0.16), rgba(4, 13, 22, 0.62));
    display: block;
}

.vip-hero span {
    color: var(--cyan);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.vip-hero h1 {
    margin-top: 10px;
    font-size: clamp(40px, 8vw, 72px);
}

.vip-hero-profile {
    position: absolute;
    left: 50%;

    bottom: 0;
    z-index: 2;
    display: grid;
    width: clamp(118px, 13vw, 200px);
    aspect-ratio: 1;
    place-items: center;
    border: 4px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
    transform: translate(-50%, 50%);
    overflow: hidden;
}

.vip-hero-profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

.vip-hero-profile strong {
    color: #10212c;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900;
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.vip-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px 0;
}

.vip-products-tools {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.vip-products-search {
    width: min(330px, 100%);
    margin: 0;
}

.vip-products-search input {
    min-height: 44px;
}

.vip-section-heading h2,
.vip-form h2 {
    margin: 0 0 16px;
}

.vip-products-list {
    display: grid;
    gap: 12px;
    padding: 18px 22px 22px;
}

.vip-product-group {
    border: 1px solid rgba(6, 200, 221, 0.18);
    border-radius: 14px;
    background: rgba(6, 200, 221, 0.045);
    overflow: hidden;
}

.vip-product-group+.vip-product-group {
    margin-top: 2px;
}

.vip-product-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 14px 16px;
    color: var(--text);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.vip-product-group summary::-webkit-details-marker {
    display: none;
}

.vip-product-group summary::after {
    content: "+";
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(6, 200, 221, 0.24);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.05);
}

.vip-product-group[open] summary::after {
    content: "-";
}

.vip-product-group summary small {
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.vip-product-group-list {
    display: grid;
    gap: 10px;
    padding: 0 12px 12px;
}

.vip-product-row {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.vip-product-row img,
.vip-product-fallback {
    width: 88px;
    aspect-ratio: 5 / 4;
    border-radius: 9px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
}

.vip-product-fallback {
    display: grid;
    place-items: center;
    color: var(--cyan);
    font-weight: 900;
}

.vip-product-row h3 {
    margin: 0 0 6px;
}

.vip-product-row p {
    margin: 0 0 6px;
    color: var(--muted);
}

.vip-product-titleline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.vip-product-titleline h3 {
    margin: 0;
}

.vip-product-meta,
.vip-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vip-product-meta {
    margin: 6px 0;
}

.vip-product-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
    font-weight: 800;
}

.vip-product-actions {
    margin-top: 10px;
}

.vip-product-actions button {
    padding: 9px 12px;
    font-size: 13px;
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.10);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.vip-badge.aprobado {
    background: rgba(37, 211, 102, 0.20);
    color: #80f0aa;
}

.vip-badge.pendiente {
    background: rgba(214, 167, 25, 0.22);
    color: #ffe39a;
}

.vip-badge.destacado {
    background: rgba(247, 217, 135, 0.22);
    color: #f7d987;
}

.vip-badge.promocion {
    background: rgba(37, 211, 102, 0.20);
    color: #86f3ae;
}

.vip-badge.product-kind {
    background: linear-gradient(135deg, #e5f7fb, #c6edf2);
    border-color: rgba(1, 95, 125, 0.2);
    color: #075f7d;
}

.vip-badge.rechazado,
.vip-badge.pausado {
    background: rgba(233, 65, 47, 0.20);
    color: #ffaaa0;
}

@media (max-width: 860px) {

    .vip-grid,
    .vip-product-row {
        grid-template-columns: 1fr;
    }

    .vip-section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .vip-products-tools {
        align-items: stretch;
        justify-content: stretch;
    }

    .vip-products-search {
        width: 100%;
    }

    .vip-product-group summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .vip-product-group summary small {
        margin-left: 0;
    }

    .vip-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vip-assets-preview {
        grid-template-columns: 1fr;
    }

    .vip-gallery-upload {
        grid-template-columns: 1fr;
    }

    .vip-product-row img,
    .vip-product-fallback {
        width: 100%;
        max-width: 240px;
    }

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

    .vip-login-actions button,
    .vip-back-link {
        width: 100%;
    }

    .vip-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 1100px) {
    .vip-grid {
        grid-template-columns: 1fr;
    }

    .vip-week-day {
        grid-template-columns: minmax(110px, 0.55fr) minmax(0, 1fr);
    }

    .vip-week-range {
        grid-template-columns: minmax(104px, 132px) auto minmax(104px, 132px) auto;
    }

    .vip-week-range input {
        min-width: 104px;
    }
}

@media (min-width: 721px) and (max-width: 900px) {
    .vip-week-toolbar-fields span {
        grid-template-columns: minmax(112px, 150px) auto minmax(112px, 150px);
    }

    .vip-week-toolbar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vip-week-toolbar-actions button:last-child {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .vip-week-day {
        grid-template-columns: minmax(104px, 0.42fr) minmax(0, 1fr);
    }

    .vip-week-range {
        grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr) auto;
    }
}

/* White mode 2026: VIP client panel. */
:root {
    --bg: #f7fbfd;
    --panel: #ffffff;
    --panel-soft: #eef8fb;
    --text: #10212c;
    --muted: #526a78;
    --line: rgba(1, 95, 125, 0.16);
}

body {
    background:
        radial-gradient(circle at 20% 0%, rgba(1, 180, 181, 0.16), transparent 32%),
        radial-gradient(circle at 82% 15%, rgba(1, 209, 255, 0.12), transparent 34%),
        linear-gradient(135deg, #ffffff, #ffffff 48%, #d9f1f6);
    color: var(--text);
}

.vip-card,
.vip-topbar,
.vip-section,
.vip-login,
.vip-product-group,
.vip-product-row,
.vip-gallery-preview,
.vip-gallery-card,
.vip-assets-card,
.vip-category-suggestions,
.vip-form-box {
    background: rgba(255, 255, 255, 0.92);
    border-color: var(--line);
    box-shadow: 0 18px 44px rgba(18, 60, 75, 0.1);
    color: var(--text);
}

.vip-login p,
.vip-hero p,
.vip-hint,
.vip-gallery-preview-head p,
.vip-product-row p,
.vip-product-meta,
.vip-product-group summary small {
    color: var(--muted);
}

input,
select,
textarea,
.vip-products-search input {
    background: #ffffff;
    border-color: rgba(16, 33, 44, 0.14);
    color: var(--text);
}

input::placeholder,
textarea::placeholder {
    color: rgba(16, 33, 44, 0.48);
}

.vip-secondary {
    background: rgba(18, 97, 129, 0.08);
    border-color: rgba(18, 97, 129, 0.18);
    color: var(--text);
}

.vip-danger {
    background: rgba(233, 65, 47, 0.1);
    color: #9b2e24;
}

.vip-gallery-upload,
.vip-service-tools,
.vip-products-tools {
    background: rgba(238, 248, 251, 0.281);
    border-color: var(--line);
}

/* VIP panel contrast polish. */
.vip-hero {
    position: relative;
    overflow: visible;
    background:
        radial-gradient(circle at 12% 0%, rgba(1, 180, 181, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 249, 252, 0.94));
    border-color: rgba(1, 180, 181, 0.28);
    box-shadow: 0 22px 52px rgba(18, 60, 75, 0.12);
}

.vip-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #01b4b5, #126181, transparent);
}

.vip-hero span {
    display: inline-flex;
    width: max-content;
    border: 1px solid rgba(1, 180, 181, 0.24);
    border-radius: 999px;
    padding: 7px 11px;
    color: #007f8e;
    background: rgba(1, 180, 181, 0.1);
    letter-spacing: 0.08em;
}

.vip-hero h1 {
    color: #10212c;
    line-height: 0.95;
    text-shadow: none;
}

.vip-hero p {
    max-width: 720px;
    color: #39515f;
    font-size: 1.05rem;
}

.vip-hero-profile {
    border-color: rgba(255, 255, 255, 0.92);
    background: #ffffff;
    box-shadow: 0 24px 58px rgba(18, 60, 75, 0.18);
}

.vip-section-heading h2,
.vip-form h2,
.vip-product-titleline h3,
.vip-product-row h3 {
    color: #10212c;
}

label {
    color: #304957;
}

.vip-form label>input,
.vip-form label>select,
.vip-form label>textarea,
.vip-products-search input {
    border-color: rgba(16, 33, 44, 0.14);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(16, 33, 44, 0.03);
    color: #10212c;
}

.vip-form label>input:focus,
.vip-form label>select:focus,
.vip-form label>textarea:focus,
.vip-products-search input:focus {
    border-color: rgba(1, 180, 181, 0.62);
    box-shadow: 0 0 0 4px rgba(1, 180, 181, 0.14);
}

.vip-form .vip-sales-mode-option input[type="checkbox"] {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.vip-price-field,
.vip-percent-field {
    border-color: rgba(1, 95, 125, 0.2);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(16, 33, 44, 0.03);
}

.vip-price-field>span {
    min-width: 48px;
    border-right: 1px solid rgba(1, 95, 125, 0.16);
    color: #007f8e;
    background: linear-gradient(180deg, rgba(1, 180, 181, 0.13), rgba(1, 180, 181, 0.07));
}

.vip-price-field input,
.vip-percent-field input {
    color: #10212c;
    font-weight: 800;
}

.vip-price-field input::placeholder,
.vip-percent-field input::placeholder {
    color: rgba(16, 33, 44, 0.42);
    font-weight: 600;
}

.vip-price-field:focus-within {
    border-color: rgba(1, 180, 181, 0.68);
    box-shadow: 0 0 0 4px rgba(1, 180, 181, 0.14);
}

.vip-percent-field>span {
    border-left: 1px solid rgba(37, 211, 102, 0.18);
    color: #087f37;
    background: rgba(37, 211, 102, 0.11);
}

.vip-percent-field:focus-within {
    border-color: rgba(37, 211, 102, 0.54);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.13);
}

button {
    box-shadow: 0 4px 8px rgba(1, 180, 181, 0.16);
    margin-bottom: 10px;
}

.vip-secondary {
    box-shadow: none;
}

.vip-badge {
    min-height: 28px;
    border: 1px solid rgba(16, 33, 44, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
    letter-spacing: 0.04em;
}

.vip-badge.aprobado {
    background: linear-gradient(135deg, #dff8e8, #bff0d2);
    border-color: rgba(8, 127, 55, 0.2);
    color: #075f2c;
}

.vip-badge.pendiente {
    background: linear-gradient(135deg, #fff4cf, #ffe19a);
    border-color: rgba(166, 112, 0, 0.24);
    color: #7a4c00;
}

.vip-badge.destacado {
    background: linear-gradient(135deg, #fff0b8, #ffd866);
    border-color: rgba(166, 112, 0, 0.28);
    color: #6b4300;
}

.vip-badge.promocion {
    background: linear-gradient(135deg, #d8fff0, #aaf0d1);
    border-color: rgba(8, 127, 55, 0.2);
    color: #075f2c;
}

.vip-badge.rechazado,
.vip-badge.pausado {
    background: linear-gradient(135deg, #ffe5e1, #ffc7bf);
    border-color: rgba(155, 46, 36, 0.22);
    color: #8a281f;
}

.vip-product-meta span {
    border-color: rgba(1, 95, 125, 0.16);
    color: #304957;
    background: rgba(238, 248, 251, 0.82);
}

.vip-form label>select[name="estado"],
#productStatus {
    color: #075f2c;
    font-weight: 900;
    background:
        linear-gradient(135deg, rgba(223, 248, 232, 0.96), rgba(191, 240, 210, 0.96)),
        #ffffff;
    border-color: rgba(8, 127, 55, 0.26);
}

.vip-form label>select[name="estado"]:focus,
#productStatus:focus {
    border-color: rgba(8, 127, 55, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.14);
}

.vip-form label:has(.vip-price-field) {
    color: #263f4e;
    font-weight: 900;
}

.vip-price-field input,
.vip-percent-field input,
#productPrice,
#productPreviousPrice,
#productDiscount {
    color: #10212c;
    caret-color: #01a8bb;
}

#productPrice:focus,
#productPreviousPrice:focus,
#productDiscount:focus {
    outline: 0;
}

.vip-topbar {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(1, 95, 125, 0.16);
}

.vip-topbar strong,
.vip-topbar span,
.vip-topbar a {
    color: #10212c;
}

@media (max-width: 720px) {
    .vip-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(106px, 1fr));
    }

    .vip-hero {
        margin-bottom: 68px;
        padding-bottom: 68px;
    }

    .vip-hero-profile {
        width: 104px;
        margin: 0;
    }

    .vip-hero h1 {
        font-size: clamp(38px, 14vw, 54px);
    }
}

/* Mobile usability pass: compact, full-width VIP client panel. */
@media (max-width: 720px) {
    body {
        background:
            radial-gradient(circle at 20% 0%, rgba(1, 180, 181, 0.18), transparent 34%),
            linear-gradient(180deg, #f7fbfd 0%, #edf8fb 100%);
    }

    button {
        min-height: 44px;
        padding: 11px 14px;
        border-radius: 12px;
    }

    .vip-topbar {
        position: sticky;
        top: 0;
        align-items: center;
        flex-direction: row;
        gap: 10px;
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.96);
    }

    .vip-brand img {
        width: 116px;
        max-width: 38vw;
    }

    .vip-topbar div {
        min-width: 0;
        gap: 8px;
        margin-left: auto;
        font-size: 0.86rem;
    }

    .vip-topbar strong {
        max-width: 34vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vip-panel {
        width: 100%;
        padding: 10px 8px 26px;
    }

    .vip-hero {
        margin: 0 0 58px;
        padding: 18px 16px 60px;
        border-radius: 16px;
    }

    .vip-hero span {
        padding: 6px 10px;
        font-size: 0.76rem;
    }

    .vip-hero h1 {
        margin-top: 8px;
        font-size: clamp(36px, 13vw, 50px);
        line-height: 0.98;
    }

    .vip-hero p {
        margin: 12px 0 0;
        font-size: 0.96rem;
        line-height: 1.35;
    }

    .vip-hero-profile {
        width: 96px;
        border-width: 3px;
    }

    .vip-grid {
        gap: 10px;
        margin-bottom: 10px;
    }

    .vip-card {
        margin: 0;
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(18, 60, 75, 0.09);
    }

    .vip-form {
        padding: 10px;
    }

    .vip-minisite-link {
        width: 100%;
        min-height: 42px;
        margin: 0 0 10px;
    }

    .vip-panel-details {
        border-radius: 13px;
    }

    .vip-panel-details+.vip-panel-details {
        margin-top: 9px;
    }

    .vip-panel-details>summary {
        min-height: 50px;
        gap: 8px;
        padding: 11px 12px;
    }

    .vip-panel-details>summary span {
        font-size: 1rem;
        line-height: 1.05;
    }

    .vip-panel-details>summary small {
        display: none;
    }

    .vip-panel-details>summary::after {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .vip-panel-details-body {
        padding: 0 10px 12px;
    }

    label {
        gap: 5px;
        margin-bottom: 10px;
        font-size: 0.92rem;
    }

    input,
    select,
    textarea,
    .vip-products-search input {
        min-height: 44px;
        border-radius: 11px;
        padding: 10px 11px;
        font-size: 16px;
    }

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

    .vip-form-row {
        gap: 0;
    }

    .vip-price-field,
    .vip-percent-field {
        border-radius: 11px;
    }

    .vip-price-field>span {
        min-width: 42px;
    }

    .vip-profile-subsection {
        gap: 10px;
        margin: 10px 0;
        padding: 12px;
        border-radius: 13px;
    }

    .vip-check-card {
        min-height: 44px;
        padding: 9px 0;
    }

    .vip-sales-mode-options {
        grid-template-columns: 1fr;
    }

    .vip-weekly-hours {
        gap: 8px;
        margin: 10px 0 12px;
    }

    .vip-week-toolbar {
        gap: 8px;
        padding: 10px 0;
        border-radius: 0;
    }

    .vip-week-toolbar-fields span {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .vip-week-toolbar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .vip-week-toolbar-actions button {
        width: 100%;
        min-height: 38px;
        padding: 8px 9px;
        white-space: normal;
    }

    .vip-week-toolbar-actions button:last-child {
        grid-column: 1 / -1;
    }

    .vip-week-day {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 9px 0;
        border-radius: 0;
    }

    .vip-week-day-head {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        flex-wrap: wrap;
    }

    .vip-week-range {
        display: grid;
        grid-template-columns: minmax(88px, 1fr) auto minmax(88px, 1fr) auto;
        gap: 6px;
    }

    .vip-week-range input {
        width: 100%;
        min-width: 88px;
    }

    .vip-service-tools {
        gap: 7px;
        margin: 2px 0 8px;
    }

    .vip-service-tools strong {
        flex: 1 0 100%;
    }

    .vip-service-tools button,
    .vip-category-suggestions button {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 0.82rem;
    }

    .vip-hint {
        margin: 8px 0;
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .vip-gallery-preview {
        padding: 10px;
        border-radius: 13px;
    }

    .vip-gallery-preview-head {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 8px;
    }

    .vip-gallery-preview-head p {
        font-size: 0.82rem;
    }

    .vip-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
        gap: 8px;
    }

    .vip-gallery-card img,
    .vip-gallery-card video {
        border-radius: 10px;
    }

    .vip-gallery-delete {
        min-height: 28px;
        padding: 5px 8px;
        font-size: 0.72rem;
    }

    .vip-gallery-upload {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 10px;
    }

    .vip-gallery-upload input,
    .vip-gallery-upload button {
        width: 100%;
    }

    .vip-products-panel .vip-panel-details-body {
        padding: 0 10px 12px;
    }

    .vip-section-heading {
        gap: 10px;
        padding: 12px 10px 0;
    }

    .vip-section-heading h2,
    .vip-form h2 {
        margin-bottom: 8px;
        font-size: 1.25rem;
    }

    .vip-products-tools {
        gap: 8px;
        padding: 8px;
        border-radius: 13px;
    }

    .vip-products-tools button {
        width: 100%;
    }

    .vip-products-list {
        gap: 9px;
        padding: 10px;
    }

    .vip-product-group {
        border-radius: 13px;
    }

    .vip-product-group summary {
        min-height: 50px;
        padding: 11px 12px;
    }

    .vip-product-group summary::after {
        width: 28px;
        height: 28px;
    }

    .vip-product-group-list {
        gap: 8px;
        padding: 0 8px 8px;
    }

    .vip-product-row {
        grid-template-columns: 74px 1fr;
        gap: 10px;
        padding: 10px;
        border-radius: 12px;
    }

    .vip-product-row img,
    .vip-product-fallback {
        width: 74px;
        max-width: 74px;
    }

    .vip-product-row>div:last-child {
        grid-column: 1 / -1;
    }

    .vip-product-titleline {
        gap: 6px;
    }

    .vip-product-titleline h3,
    .vip-product-row h3 {
        font-size: 1rem;
        line-height: 1.18;
    }

    .vip-product-meta {
        gap: 6px;
        margin: 5px 0;
    }

    .vip-product-meta span,
    .vip-badge {
        min-height: 26px;
        padding: 5px 8px;
        font-size: 0.76rem;
    }

    .vip-product-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 8px;
    }

    .vip-product-actions button {
        min-height: 40px;
        padding: 8px;
        font-size: 0.82rem;
    }

    .vip-message {
        margin-top: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 390px) {
    .vip-panel {
        padding-inline: 6px;
    }

    .vip-form {
        padding: 8px;
    }

    .vip-hero {
        padding-inline: 13px;
    }

    .vip-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    }

    .vip-product-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .vip-week-day {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 8px 0;
    }

    .vip-week-day-head,
    .vip-week-ranges {
        grid-column: 1 / -1;
    }

    .vip-week-toolbar-actions {
        grid-template-columns: 1fr;
    }

    .vip-week-toolbar-actions button:last-child {
        grid-column: auto;
    }

    .vip-week-range {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        row-gap: 7px;
    }

    .vip-week-range input {
        min-width: 0;
    }

    .vip-week-range-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
        gap: 8px;
        width: 100%;
    }

    .vip-week-remove,
    .vip-week-add {
        grid-column: auto;
        width: 100%;
    }
}
