:root {
    --plum: #422d3d;
    --plum-light: #71576b;
    --gold: #ac8754;
    --ink: #302a2e;
    --muted: #81767b;
    --cream: #faf8f5;
    --line: #eae4df;
    --green: #42725b;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 14px/1.6 var(--sans);
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:disabled,
input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}
img {
    max-width: 100%;
    display: block;
}
svg {
    flex-shrink: 0;
    vertical-align: middle;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.13;
    letter-spacing: -1px;
}
h1 {
    font-size: 44px;
    margin-bottom: 16px;
}
h2 {
    font-size: 32px;
    margin-bottom: 18px;
}
h3 {
    font-size: 17px;
    font-weight: 550;
    margin-bottom: 8px;
}
p {
    margin-bottom: 18px;
}
em {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--plum-light);
}
.container {
    max-width: 1296px;
    margin: auto;
    padding: 40px 48px 72px;
    min-height: 75vh;
}
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1392px;
    padding: 19px 48px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 94px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-symbol {
    position: relative;
    font: italic 47px var(--serif);
    color: var(--plum);
    line-height: 1;
    width: 39px;
}
.brand-symbol > span {
    font-size: 22px;
    position: absolute;
    top: -9px;
    right: -5px;
    color: var(--gold);
}
.brand-name {
    display: block;
    font: 32px/1 var(--serif);
    letter-spacing: -1.8px;
    color: var(--plum);
}
.brand-dot {
    color: var(--gold);
}
.brand-caption {
    display: block;
    font-size: 8px;
    letter-spacing: 4.8px;
    padding-left: 4px;
    margin-top: 7px;
}
.main-nav {
    display: flex;
    gap: 30px;
}
.main-nav a {
    display: flex;
    gap: 9px;
    align-items: center;
    color: var(--muted);
    padding: 9px 0;
    position: relative;
}
.main-nav a.active {
    color: var(--plum);
    font-weight: 600;
}
.main-nav a.active:after {
    content: "";
    height: 2px;
    background: var(--plum);
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 11px;
}
.basket-link {
    position: relative;
    margin-right: 13px;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--plum);
    color: white;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    text-align: center;
    line-height: 18px;
}
.user-avatar {
    height: 34px;
    width: 34px;
    background: #eee5eb;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--plum);
    font-size: 13px;
    font-weight: 600;
}
.user-name {
    font-size: 12px;
}
.icon-button {
    border: 0;
    background: none;
    padding: 8px;
    color: var(--muted);
}
.header-tag {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--muted);
}
.eyebrow {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 16px;
}
.muted {
    color: var(--muted);
}
.small {
    font-size: 12px;
}
.center {
    text-align: center;
}
.full {
    width: 100%;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid var(--plum);
    background: var(--plum);
    color: #fff;
    border-radius: 6px;
    font-weight: 550;
    line-height: 1.4;
    font-size: 13px;
    transition:
        background 0.15s,
        transform 0.15s;
}
.button:hover:not(:disabled) {
    background: #5b4054;
    transform: translateY(-1px);
}
.button.secondary {
    background: transparent;
    color: var(--plum);
    border-color: #d8cdd3;
}
.button.secondary:hover {
    background: #eee6eb;
}
.button.whatsapp {
    background: #eff7f1;
    border-color: #d5e9dc;
    color: #34644a;
}
.small-button {
    padding: 9px 14px;
    font-size: 12px;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--plum);
}
.text-button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--plum);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.back-link {
    display: inline-block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 28px;
}
.panel {
    padding: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 24px;
}
.notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 8px;
    background: #f1e9ef;
    border: 1px solid #dfd1db;
}
.notice.success {
    background: #eef6ef;
    border-color: #d4e4d6;
    color: #36614a;
}
.notice.error {
    background: #fff0eb;
    border-color: #efd7cd;
    color: #913f2c;
}
.notice ul {
    margin: 8px 0 0;
    padding-left: 18px;
}
label {
    display: block;
    font-size: 12px;
    color: #5a4c53;
    font-weight: 550;
    margin-bottom: 18px;
}
input,
select,
textarea {
    background: #fff;
    width: 100%;
    border: 1px solid #ded5d9;
    color: var(--ink);
    padding: 12px 14px;
    border-radius: 5px;
    min-height: 44px;
    outline: none;
}
label input,
label select,
label textarea {
    display: block;
    margin-top: 8px;
}
input::placeholder,
textarea::placeholder {
    color: #b0a3aa;
    font-size: 12px;
}
input:focus,
select:focus,
textarea:focus {
    border-color: var(--plum-light);
    box-shadow: 0 0 0 3px #71576b15;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}
.checkbox {
    display: flex;
    gap: 9px;
    align-items: center;
    font-weight: 400;
    margin: 0;
}
.checkbox input {
    width: 15px;
    height: 15px;
    min-height: 0;
    margin: 0;
    accent-color: var(--plum);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.span-two {
    grid-column: span 2;
}
.catalog-hero {
    min-height: 372px;
    border-radius: 12px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #efe7df;
    overflow: hidden;
}
.hero-copy {
    padding: 46px 48px;
    z-index: 1;
}
.hero-copy h1 {
    font-size: 49px;
    line-height: 1.12;
    color: var(--plum);
    margin-bottom: 18px;
}
.hero-copy p {
    font-size: 13px;
    color: #897269;
    line-height: 1.9;
}
.hero-copy .eyebrow {
    color: #8b6654;
    letter-spacing: 2.2px;
    margin-bottom: 19px;
}
.tiny-star {
    font-size: 15px;
    margin-right: 7px;
}
.hero-image {
    position: relative;
    background: radial-gradient(ellipse at 30% 60%, #faf5ed00, #dfd1c433);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image > img {
    width: 88%;
    height: 370px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: rotate(-12deg);
}
.hero-badge {
    position: absolute;
    bottom: 26px;
    right: 42px;
    font-size: 11px;
    text-align: right;
    line-height: 1.7;
    color: #8c7569;
}
.hero-badge em {
    font-size: 22px;
    color: #765640;
}
.hero-vertical {
    position: absolute;
    right: 12px;
    top: 58px;
    font-size: 8px;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    color: #9a867b;
}
.catalog-perks {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid var(--line);
    padding: 23px 12px;
    margin-bottom: 43px;
    gap: 16px;
    color: #84716f;
    font-size: 11px;
}
.catalog-perks span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.catalog-perks svg {
    color: var(--gold);
    width: 17px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    gap: 20px;
}
.section-heading h1,
.section-heading h2 {
    margin-bottom: 0;
}
.section-heading p {
    margin-top: 12px;
    margin-bottom: 0;
}
.section-heading .eyebrow {
    margin-bottom: 11px;
}
.count-pill {
    font: 11px var(--sans);
    padding: 5px 9px;
    background: #ece5e9;
    color: var(--plum-light);
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 10px;
    letter-spacing: 0;
}
.live-label {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 10px;
    color: var(--muted);
}
.live-label i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7e987d;
    box-shadow: 0 0 0 4px #7e987d15;
}
.catalog-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.search-input {
    position: relative;
    flex: 1;
}
.search-input input {
    padding-left: 43px;
    background: white;
}
.search-input svg {
    position: absolute;
    left: 14px;
    top: 13px;
    color: #a18e99;
    width: 17px;
}
.catalog-filter > select {
    width: auto;
    min-width: 160px;
    font-size: 12px;
}
.catalog-filter .checkbox {
    white-space: nowrap;
    font-size: 11px;
}
.category-tabs {
    display: flex;
    gap: 9px;
    margin: 24px 0 30px;
    overflow: auto;
}
.category-tabs a {
    padding: 8px 17px;
    font-size: 11px;
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--muted);
}
.category-tabs a.selected {
    background: var(--plum);
    border-color: var(--plum);
    color: white;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.product-card:hover {
    box-shadow: 0 8px 28px #422d3d0c;
}
.product-image {
    display: block;
    position: relative;
    aspect-ratio: 1.18;
    background: #f3eee8;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-image img {
    transform: scale(1.045);
}
.product-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    background: #fffdf8df;
    color: #806d50;
    font-size: 9px;
    letter-spacing: 0.3px;
}
.product-image .product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
}
.product-badge.sold-out {
    background: #eae3e7;
    color: #806572;
}
.image-arrow {
    position: absolute;
    bottom: 13px;
    right: 13px;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    background: white;
    border-radius: 50%;
    color: var(--plum);
    opacity: 0;
    transition: opacity 0.2s;
}
.product-card:hover .image-arrow {
    opacity: 1;
}
.product-info {
    padding: 21px 22px 23px;
}
.product-category {
    font-size: 9px;
    letter-spacing: 1.2px;
    color: #a68b79;
    text-transform: uppercase;
}
.product-info h3 {
    font-size: 17px;
    margin: 7px 0 12px;
    font-family: var(--serif);
    letter-spacing: 0;
}
.product-price {
    font-size: 16px;
    color: var(--plum);
    font-weight: 600;
    margin-bottom: 19px;
}
.stock-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 9px;
}
.stock-meta strong {
    font-weight: 550;
    color: #65575f;
}
.stock-track {
    height: 3px;
    border-radius: 10px;
    background: #ede8e3;
    margin-bottom: 18px;
    overflow: hidden;
}
.stock-track span {
    display: block;
    background: #b69872;
    height: 3px;
    transition: width 0.3s;
}
.reserve-form {
    display: flex;
    gap: 9px;
}
.reserve-form input {
    width: 54px;
    min-height: 41px;
    text-align: center;
    padding: 8px;
}
.reserve-form .button {
    flex: 1;
    padding: 11px;
}
.reserve-form .button svg {
    width: 16px;
    height: 16px;
}
.sold-duration:empty {
    display: none;
}
.sold-duration {
    color: var(--gold);
    font-size: 12px;
}
.collection-note {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #f0eae5;
    border-radius: 7px;
    padding: 24px 30px;
    margin-top: 44px;
    color: #857061;
}
.collection-note svg {
    color: #aa8660;
}
.collection-note strong {
    font-size: 13px;
    color: #5d464e;
}
.collection-note p {
    font-size: 11px;
    margin: 4px 0 0;
}
.site-footer {
    max-width: 1296px;
    padding: 28px 48px;
    margin: auto;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: #a2959d;
    align-items: center;
}
.footer-brand {
    font: 24px var(--serif);
    color: #826d79;
}
.auth-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    min-height: 610px;
    margin: 16px auto;
}
.auth-art {
    background: #eee4db;
    padding: 43px 42px 26px;
    position: relative;
    overflow: hidden;
}
.auth-art h1 {
    font-size: 44px;
    color: var(--plum);
}
.auth-art p {
    max-width: 350px;
    color: #88776b;
    font-size: 12px;
    line-height: 1.9;
}
.auth-jewel {
    height: 265px;
    position: relative;
}
.auth-jewel img {
    height: 340px;
    width: 100%;
    object-fit: contain;
    margin-top: -34px;
    mix-blend-mode: multiply;
    transform: rotate(-12deg);
}
.floating-note {
    position: absolute;
    right: 0;
    bottom: 20px;
    display: flex;
    gap: 7px;
    align-items: center;
    color: #826d5f;
    font: italic 18px var(--serif);
}
.art-foot {
    font-size: 10px;
    display: flex;
    gap: 16px;
    align-items: center;
    color: #9a7e6a;
    margin-top: 17px;
}
.art-foot span {
    font-size: 18px;
}
.auth-form {
    padding: 54px 52px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-form h2 {
    font-size: 34px;
}
.auth-form .muted {
    font-size: 12px;
}
.auth-form .checkbox {
    margin: 22px 0;
}
.auth-divider {
    margin: 26px 0 18px;
    font-size: 9px;
    letter-spacing: 1.2px;
    text-align: center;
    color: #a4929e;
}
.auth-form .small {
    margin: 22px 0 0;
}
.register-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin: 24px 0;
}
.register-intro h1 {
    font-size: 54px;
    line-height: 1.17;
}
.register-intro > p {
    max-width: 360px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}
.register-layout .panel {
    padding: 36px;
}
.benefit {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 28px 0;
}
.benefit svg {
    color: var(--gold);
    width: 24px;
    height: 24px;
}
.benefit strong {
    font-size: 13px;
}
.benefit p {
    font-size: 12px;
    margin: 4px 0 0;
    color: var(--muted);
}
.register-layout .panel > p {
    font-size: 12px;
}
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
}
.detail-image {
    background: #f0e9e1;
    border-radius: 12px;
    align-self: start;
    overflow: hidden;
}
.detail-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.detail-copy {
    padding: 16px 0;
}
.detail-copy h1 {
    font-size: 42px;
}
.detail-price {
    font-size: 29px;
    color: var(--plum);
    margin: 22px 0;
}
.description {
    color: var(--muted);
    line-height: 1.9;
    white-space: pre-line;
}
.detail-stock {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 19px 12px;
    gap: 8px;
    margin: 24px 0 10px;
    background: white;
}
.detail-stock > div {
    text-align: center;
}
.detail-stock strong {
    display: block;
    font-size: 24px;
    font-weight: 550;
    color: var(--plum);
}
.detail-stock span {
    font-size: 10px;
    color: var(--muted);
}
.detail-reserve {
    margin-top: 25px;
}
.detail-reserve input {
    width: 70px;
}
.cities {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 25px;
}
.cities h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.city-chip {
    display: inline-flex;
    gap: 8px;
    padding: 7px 11px;
    background: #eee6eb;
    font-size: 11px;
    border-radius: 30px;
    margin: 0 5px 9px 0;
    color: var(--plum);
}
.city-chip strong {
    font-size: 10px;
    opacity: 0.65;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 32px;
}
.cart-items {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 25px;
}
.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item:last-child {
    border: 0;
}
.cart-item > img {
    width: 105px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 5px;
}
.cart-item-info {
    flex: 1;
}
.cart-item-info .eyebrow {
    margin-bottom: 6px;
    font-size: 8px;
}
.cart-item h3 {
    font-size: 16px;
}
.cart-item p {
    font-size: 13px;
    margin-bottom: 8px;
}
.cart-item > strong {
    font-size: 13px;
    white-space: nowrap;
}
.quantity-form {
    display: flex;
    gap: 13px;
    align-items: center;
    margin: 14px 0 8px;
}
.quantity-form input {
    width: 62px;
    min-height: 36px;
    padding: 6px 10px;
}
.quantity-form .text-button {
    font-size: 11px;
}
.cart-summary {
    align-self: start;
    position: sticky;
    top: 24px;
}
.cart-summary h2 {
    font-size: 28px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.summary-row.total {
    font-size: 16px;
    border-bottom: 0;
    margin-bottom: 12px;
}
.summary-row.total strong {
    color: var(--plum);
}
.cart-summary .small {
    line-height: 1.9;
}
.cart-summary .center {
    margin-top: 16px;
    margin-bottom: 0;
}
.empty-state {
    padding: 65px 25px;
    text-align: center;
    grid-column: 1/-1;
    background: white;
    border: 1px dashed var(--line);
    border-radius: 10px;
}
.empty-state > svg {
    color: var(--gold);
    margin-bottom: 22px;
}
.empty-state p {
    color: var(--muted);
}
.empty-state h2 {
    font-size: 30px;
}
.order-card {
    padding: 26px 30px;
}
.order-card-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.order-card-header h3 {
    font-family: var(--serif);
    font-size: 23px;
}
.order-card-header .eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
}
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #ece8ec;
    color: #7b6174;
    font-size: 10px;
    font-weight: 550;
    white-space: nowrap;
}
.status-pending {
    background: #fbf2e2;
    color: #a17a36;
}
.status-separating {
    background: #eee6f1;
    color: #836296;
}
.status-separated {
    background: #e9eff8;
    color: #627aa1;
}
.status-shipped {
    background: #e6f3eb;
    color: #4a7e61;
}
.order-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}
.order-preview > span {
    background: #f7f4f0;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 4px;
}
.order-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px;
}
.order-progress {
    display: flex;
    margin: 35px 0 29px;
    position: relative;
}
.progress-step {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #b4a9b0;
    font-size: 11px;
    z-index: 0;
}
.progress-step:before {
    content: "";
    height: 2px;
    background: #e9e3e7;
    position: absolute;
    top: 17px;
    left: -50%;
    right: 50%;
    z-index: -1;
}
.progress-step:first-child:before {
    display: none;
}
.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f6f3f5;
    border: 1px solid #ded4db;
    color: #9d8a99;
}
.step-check {
    display: none;
}
.complete .step-dot {
    background: var(--plum);
    border-color: var(--plum);
    color: white;
}
.complete .step-check {
    display: block;
}
.complete .step-number {
    display: none;
}
.complete:before {
    background: var(--plum);
}
.complete {
    color: var(--plum);
}
.current .step-dot {
    box-shadow: 0 0 0 5px #422d3d12;
}
.status-panel {
    text-align: center;
}
.status-panel > p {
    font-size: 12px;
}
.status-panel .order-progress {
    max-width: 750px;
    margin: 40px auto 29px;
}
.order-detail-layout {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 26px;
}
.order-detail-layout > section {
    align-self: start;
}
.order-detail-layout h2 {
    font-size: 27px;
}
.table-scroll {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
}
th {
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #9e8c96;
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
}
td {
    padding: 18px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
tbody tr:last-child td {
    border: 0;
}
.table-sub {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
}
.history {
    padding-left: 17px;
    margin-top: 22px;
}
.history > div {
    position: relative;
    padding: 0 0 22px 18px;
    border-left: 1px solid var(--line);
}
.history > div:last-child {
    border: 0;
    padding-bottom: 0;
}
.history i {
    position: absolute;
    left: -4px;
    top: 4px;
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: var(--gold);
}
.history strong {
    display: block;
    font-size: 12px;
}
.history span {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
}
.consultant-card p {
    font-size: 12px;
    color: var(--muted);
}
.status-form {
    margin-top: 15px;
}
.status-form label {
    margin-bottom: 12px;
}
.admin-nav {
    display: flex;
    gap: 30px;
    padding: 15px 48px;
    background: #f0e9ee;
    border-bottom: 1px solid #e1d4dc;
    justify-content: center;
    overflow: auto;
}
.admin-nav a {
    font-size: 11px;
    white-space: nowrap;
    color: #907887;
}
.admin-nav a.active {
    font-weight: 600;
    color: var(--plum);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 25px;
}
.stat-card > strong {
    font: 36px var(--serif);
    color: var(--plum);
    margin-bottom: 9px;
}
.stat-card > span:last-child {
    font-size: 11px;
    color: var(--muted);
}
.stat-icon {
    position: absolute;
    right: 23px;
    top: 25px;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: grid;
    place-items: center;
}
.operation-summary {
    display: flex;
    gap: 35px;
    padding: 23px 0 28px;
    color: var(--muted);
    font-size: 11px;
}
.operation-summary strong {
    color: #68555f;
}
.admin-order h3 {
    margin-bottom: 4px;
}
.admin-order-body {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 0.85fr;
    gap: 35px;
    margin-top: 25px;
    padding-top: 23px;
    border-top: 1px solid var(--line);
}
.consultant-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.consultant-info strong {
    font-size: 13px;
}
.consultant-info p {
    font-size: 11px;
    color: var(--muted);
    margin: 7px 0;
}
.category-group {
    margin-bottom: 18px;
}
.category-group .eyebrow {
    font-size: 8px;
    margin-bottom: 8px;
}
.category-group > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 6px;
}
.category-group strong {
    white-space: nowrap;
    font-weight: 500;
}
.admin-order-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.admin-order-actions > strong {
    font-size: 16px;
    color: var(--plum);
}
.admin-order-actions .status-form {
    margin: 0;
}
.admin-order-actions select {
    font-size: 12px;
    margin-bottom: 8px;
    padding: 8px 10px;
    min-height: 38px;
}
.table-product {
    display: flex;
    align-items: center;
    gap: 14px;
}
.table-product img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}
.product-editor {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}
.editor-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f3eee9;
    border-radius: 7px;
    margin-bottom: 23px;
}
.product-editor input[type="file"] {
    font-size: 11px;
}
.management-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}
.management-layout > .panel {
    align-self: start;
}
.management-layout h2 {
    font-size: 27px;
}
.management-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}
.management-row:last-child {
    border: 0;
}
.management-row h3,
.management-row p {
    margin-bottom: 5px;
}
details {
    margin-top: 17px;
}
summary {
    color: var(--plum);
    cursor: pointer;
    font-size: 12px;
}
details form {
    margin-top: 18px;
}
.danger-text {
    color: #a85a50;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    gap: 15px;
}
.pagination > div {
    display: flex;
    gap: 7px;
}
.page-link {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 11px;
}
.page-link.disabled {
    opacity: 0.4;
}
.page-link.current {
    background: var(--plum);
    color: #fff;
    border-color: var(--plum);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    left: 10px;
    top: -100px;
    background: var(--plum);
    color: white;
    padding: 12px;
    z-index: 10;
}
.skip-link:focus {
    top: 10px;
}
@media (min-width: 1450px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1050px) {
    .container {
        padding: 32px 28px 55px;
    }
    .header-inner {
        padding: 19px 28px;
    }
    .hero-copy {
        padding: 40px 33px;
    }
    .hero-copy h1 {
        font-size: 42px;
    }
    .product-grid {
        gap: 18px;
    }
    .product-info {
        padding: 18px 16px;
    }
    .stock-meta {
        font-size: 9px;
    }
    .auth-form {
        padding: 38px 32px;
    }
    .auth-art {
        padding: 37px 30px;
    }
    .register-layout {
        gap: 35px;
    }
    .register-intro h1 {
        font-size: 44px;
    }
    .admin-order-body {
        gap: 20px;
    }
    .catalog-filter {
        flex-wrap: wrap;
    }
    .catalog-filter .search-input {
        min-width: 210px;
    }
    .cart-layout {
        grid-template-columns: 1.4fr 1fr;
        gap: 22px;
    }
    .cart-item > img {
        width: 75px;
    }
    .cart-item {
        gap: 14px;
    }
    .cart-item > strong {
        font-size: 11px;
    }
    .site-footer {
        padding: 25px 28px;
    }
    .product-editor {
        gap: 30px;
    }
}
@media (max-width: 760px) {
    .header-inner {
        padding: 17px 20px;
        gap: 16px;
        flex-wrap: wrap;
        min-height: 80px;
    }
    .brand-name {
        font-size: 29px;
    }
    .brand-symbol {
        font-size: 40px;
    }
    .brand-caption {
        font-size: 7px;
    }
    .header-actions {
        margin-left: auto;
    }
    .user-name {
        display: none;
    }
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding-top: 8px;
    }
    .main-nav a.active:after {
        bottom: -17px;
    }
    .header-tag {
        font-size: 8px;
        letter-spacing: 1px;
        max-width: 120px;
        text-align: right;
    }
    .container {
        padding: 26px 20px 45px;
    }
    .catalog-hero {
        grid-template-columns: 1.15fr 0.85fr;
        min-height: 320px;
    }
    .hero-copy {
        padding: 29px 24px;
    }
    .hero-copy h1 {
        font-size: 34px;
    }
    .hero-copy .eyebrow {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .hero-copy p {
        font-size: 11px;
    }
    .hero-image > img {
        width: 155%;
        max-width: none;
        height: 310px;
        transform: rotate(-12deg) translateX(-10px);
    }
    .hero-vertical {
        display: none;
    }
    .hero-badge {
        bottom: 25px;
        right: 17px;
        font-size: 9px;
    }
    .hero-badge em {
        font-size: 16px;
    }
    .catalog-perks {
        padding: 20px 0;
        gap: 15px;
        justify-content: space-between;
        margin-bottom: 30px;
        font-size: 9px;
    }
    .catalog-perks svg {
        width: 14px;
    }
    .catalog-perks span {
        gap: 5px;
    }
    .section-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
    }
    .section-heading h1 {
        font-size: 35px;
    }
    .section-heading h2 {
        font-size: 30px;
    }
    .section-heading .eyebrow {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
    .section-heading .button {
        font-size: 11px;
        padding: 10px 12px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .catalog-filter > select {
        min-width: 0;
        max-width: 200px;
        flex: 1;
    }
    .catalog-filter .search-input {
        min-width: 100%;
    }
    .category-tabs {
        margin: 20px 0 25px;
    }
    .product-info h3 {
        font-size: 16px;
    }
    .product-price {
        font-size: 15px;
    }
    .product-category {
        font-size: 8px;
    }
    .stock-meta {
        flex-direction: column;
        gap: 4px;
        font-size: 10px;
    }
    .product-info {
        padding: 17px 15px;
    }
    .reserve-form input {
        width: 43px;
        padding: 5px;
        min-height: 37px;
    }
    .reserve-form .button {
        padding: 9px 8px;
        font-size: 11px;
        gap: 6px;
    }
    .reserve-form .button svg {
        width: 14px;
    }
    .product-image .product-badge {
        top: 10px;
        left: 10px;
        font-size: 8px;
        padding: 4px 7px;
    }
    .auth-layout {
        grid-template-columns: 1fr;
        margin: 0 auto;
        max-width: 520px;
    }
    .auth-art {
        min-height: 230px;
        padding: 27px 28px;
    }
    .auth-art h1 {
        font-size: 33px;
        position: relative;
        z-index: 1;
    }
    .auth-art p {
        max-width: 65%;
        font-size: 11px;
        position: relative;
        z-index: 1;
    }
    .auth-jewel {
        position: absolute;
        right: -90px;
        bottom: -20px;
        height: 260px;
        width: 280px;
        opacity: 0.6;
    }
    .auth-jewel img {
        height: 290px;
    }
    .floating-note,
    .art-foot {
        display: none;
    }
    .auth-form {
        padding: 33px 28px;
    }
    .register-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 0;
    }
    .register-intro {
        padding: 10px 5px;
    }
    .register-intro h1 {
        font-size: 40px;
    }
    .register-intro .benefit {
        display: none;
    }
    .register-layout .panel {
        padding: 26px 22px;
    }
    .form-grid {
        gap: 0 14px;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .detail-image {
        max-width: 550px;
        width: 100%;
        margin: auto;
    }
    .detail-copy h1 {
        font-size: 36px;
    }
    .detail-copy {
        padding: 14px 0;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-item > img {
        width: 83px;
    }
    .cart-summary {
        position: static;
    }
    .order-detail-layout {
        grid-template-columns: 1fr;
    }
    .order-progress {
        margin: 30px 0;
    }
    .progress-step {
        font-size: 9px;
        gap: 10px;
    }
    .step-dot {
        width: 30px;
        height: 30px;
    }
    .progress-step:before {
        top: 14px;
    }
    .panel {
        padding: 23px 20px;
    }
    .order-card-bottom {
        flex-wrap: wrap;
    }
    .status-panel .order-progress {
        margin: 30px auto;
    }
    .order-card-header h3 {
        font-size: 21px;
    }
    .admin-nav {
        padding: 13px 20px;
        gap: 23px;
        justify-content: flex-start;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-card {
        padding: 20px;
    }
    .stat-icon {
        top: 21px;
        right: 17px;
    }
    .stat-card > strong {
        font-size: 32px;
    }
    .operation-summary {
        gap: 12px;
        justify-content: space-between;
        flex-wrap: wrap;
        font-size: 10px;
    }
    .admin-order-body {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .admin-order-actions {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .admin-order-actions .status-form {
        grid-row: span 2;
    }
    .admin-order-actions > strong {
        text-align: center;
    }
    .management-layout {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .product-editor {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-editor > aside {
        grid-row: 1;
        max-width: 300px;
        margin: auto;
        width: 100%;
    }
    .editor-image {
        max-height: 250px;
    }
    .site-footer {
        padding: 24px 20px;
        gap: 10px;
        flex-wrap: wrap;
    }
    .site-footer > span:last-child {
        width: 100%;
    }
    .pagination {
        flex-wrap: wrap;
    }
    .page-link {
        padding: 7px 9px;
    }
    .collection-note {
        padding: 20px;
        align-items: flex-start;
    }
    .collection-note strong {
        font-size: 12px;
    }
    .collection-note p {
        font-size: 11px;
    }
    .empty-state {
        padding: 50px 20px;
    }
    .table-scroll th,
    .table-scroll td {
        padding: 12px 10px;
    }
}
@media (max-width: 420px) {
    .hero-copy h1 {
        font-size: 29px;
    }
    .hero-copy {
        padding: 26px 18px;
    }
    .hero-copy p {
        font-size: 10px;
    }
    .hero-copy .eyebrow {
        font-size: 7px;
    }
    .catalog-hero {
        min-height: 305px;
    }
    .catalog-perks span:last-child {
        display: none;
    }
    .product-grid {
        gap: 10px;
    }
    .product-info {
        padding: 14px 11px;
    }
    .reserve-form {
        gap: 5px;
    }
    .reserve-form input {
        width: 37px;
    }
    .reserve-form .button svg {
        display: none;
    }
    .product-info h3 {
        font-size: 15px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .span-two {
        grid-column: auto;
    }
    .cart-items {
        padding: 0 15px;
    }
    .cart-item {
        flex-wrap: wrap;
    }
    .cart-item > strong {
        margin-left: auto;
    }
    .admin-order-body {
        grid-template-columns: 1fr;
    }
    .admin-order-actions {
        grid-column: auto;
    }
    .section-heading h1 {
        font-size: 31px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        transition: none !important;
    }
}

/* Allow scrollable tables to remain inside their grid columns on narrow screens. */
.order-detail-layout > *,
.cart-layout > *,
.admin-order-body > *,
.product-editor > * {
    min-width: 0;
}

.guide-steps {
    padding-left: 23px;
}
.guide-steps li {
    padding-left: 6px;
    margin-bottom: 20px;
    line-height: 1.9;
}
.guide-statuses dt {
    font-weight: 600;
    color: var(--plum);
    margin-top: 18px;
}
.guide-statuses dd {
    margin: 5px 0 0;
    color: var(--muted);
}
@media (max-width: 760px) {
    .main-nav {
        flex-wrap: wrap;
        column-gap: 20px;
        row-gap: 8px;
    }
}

.registration-whatsapp {
    flex-wrap: wrap;
    background: #eff7f1;
    border-color: #d5e9dc;
}
.registration-whatsapp > div {
    flex: 1;
    min-width: 200px;
}
.registration-whatsapp p {
    font-size: 12px;
    margin: 4px 0 0;
}
.consultants-table {
    padding: 12px 18px;
}
.consultant-list-name {
    display: flex;
    align-items: center;
    gap: 12px;
}
.consultant-list-name strong {
    font-weight: 550;
}
.actions-column {
    width: 68px;
    text-align: center;
}
.actions-trigger {
    border: 1px solid var(--line);
    background: white;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    color: var(--plum-light);
}
.actions-trigger:hover,
.actions-trigger[aria-expanded="true"] {
    background: #eee6eb;
    border-color: #d8cdd3;
}
.actions-popover {
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 7px;
    width: 245px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 40px #422d3d20;
    color: var(--ink);
}
.actions-popover-title {
    display: block;
    padding: 8px 11px 11px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.action-item {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 11px;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-size: 12px;
    color: var(--plum);
}
.action-item:hover,
.action-item:focus-visible {
    background: #f7f3f6;
}
.action-item.danger-text {
    color: #a85a50;
}
.consultants-empty {
    text-align: center;
    padding: 38px 10px;
}
.consultants-empty svg {
    color: var(--gold);
    margin-bottom: 14px;
}
.consultants-empty p {
    margin-bottom: 0;
}
.app-modal {
    width: min(480px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 30px 90px #24151f30;
}
.app-modal::backdrop {
    background: #24151f80;
    backdrop-filter: blur(3px);
}
.modal-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.modal-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: #f0e9ee;
    border-radius: 14px;
    color: var(--plum);
}
.app-modal h2 {
    font-size: 32px;
    margin-bottom: 12px;
}
.app-modal .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
}
.app-modal > p {
    font-size: 13px;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--line);
    margin-top: 22px;
    padding-top: 20px;
}
.password-input {
    position: relative;
}
.password-input input {
    padding-right: 44px;
}
.password-input .icon-button {
    position: absolute;
    top: 3px;
    right: 5px;
}
body:has(dialog[open]) {
    overflow: hidden;
}
@media (max-width: 480px) {
    .app-modal {
        padding: 24px 20px;
    }
    .modal-footer .button {
        flex: 1;
        padding: 12px 10px;
        font-size: 12px;
    }
    .registration-whatsapp .button {
        width: 100%;
    }
}

/* Product photo viewer and compact mobile catalogue navigation. */
.image-open {
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    cursor: zoom-in;
}
.image-open-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 30px;
    background: #fffffff0;
    color: var(--plum);
    font-size: 12px;
}
.image-viewer {
    width: min(960px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--cream, #faf8f5);
    color: var(--plum);
    overflow: hidden;
}
.image-viewer::backdrop {
    background: #1e1422cc;
}
.image-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
}
.image-viewer-header strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.image-viewport {
    height: min(65dvh, 650px);
    overflow: auto;
    background: #eee8e1;
    overscroll-behavior: contain;
}
.image-viewport img {
    display: block;
    max-width: none;
    object-fit: contain;
    margin: auto;
}
.image-viewer-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
}
.image-zoom-controls {
    display: flex;
    gap: 6px;
}
.image-viewer-tools .button {
    min-height: 44px;
    padding: 10px 14px;
}
.image-viewer-tools > span {
    width: 100%;
}
.category-tabs {
    scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar {
    display: none;
}
@media (max-width: 760px) {
    .header-inner {
        row-gap: 12px;
        padding-bottom: 12px;
    }
    .main-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 0;
    }
    .main-nav::-webkit-scrollbar {
        display: none;
    }
    .main-nav a {
        min-width: 0;
        white-space: normal;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 5px;
        padding: 9px 6px;
        border-radius: 9px;
        font-size: 11px;
    }
    .main-nav a svg {
        width: 16px;
        height: 16px;
    }
    .main-nav a.active {
        background: #eee5eb;
    }
    .main-nav a.active:after {
        display: none;
    }
    .catalog-perks {
        padding: 10px 0 16px;
        margin-bottom: 24px;
    }
    .container:has(> .catalog-perks) {
        padding-top: 14px;
    }
}
@media (max-width: 420px) {
    .main-nav a {
        padding: 9px 4px;
        font-size: 11px;
    }
    .image-viewer-tools {
        padding: 12px;
        gap: 8px;
    }
    .image-viewer-tools .button {
        font-size: 12px;
        padding: 10px 12px;
    }
}

.brand-logo {
    display: block;
    width: auto;
    height: 64px;
    object-fit: contain;
}
.footer-logo {
    width: auto;
    height: 48px;
    object-fit: contain;
}
@media (max-width: 760px) {
    .brand-logo {
        height: 54px;
    }
}

.auth-art.auth-banner {
    padding: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    background: #f1e7dc;
}
.auth-banner > img {
    display: block;
    width: 100%;
    height: auto;
}
.reserved-piece-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.reserved-piece-link img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.reserved-piece-link > span {
    min-width: 0;
}
.reserved-piece-link strong {
    overflow-wrap: anywhere;
}
.reserved-piece > strong {
    flex-shrink: 0;
}
.product-gallery {
    min-width: 0;
    align-self: start;
}
.photo-thumbnails {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding: 12px 2px;
}
.photo-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 2px;
    background: white;
}
.photo-thumbnail.selected {
    border-color: var(--plum);
}
.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.viewer-thumbnails {
    padding: 8px 18px;
}
.image-viewer:has(.viewer-thumbnails) .image-viewport {
    height: min(54dvh, 540px);
}
.editor-gallery,
.upload-previews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.editor-photo img,
.upload-previews img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}
.editor-photo .checkbox {
    font-size: 11px;
    margin: 8px 0;
}
.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.collection-card h2 {
    margin: 18px 0 12px;
}
.collection-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
    font-size: 12px;
}
.collection-metrics strong {
    display: block;
    font-size: 24px;
    color: var(--plum);
}
.collection-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.collection-piece {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.collection-piece img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}
.collection-piece > span:last-child {
    margin-left: auto;
}
.collection-selector {
    max-width: 440px;
    margin-bottom: 20px;
}
.collection-launch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: #eee5eb;
    border-radius: 12px;
    margin-bottom: 12px;
}
.collection-launch h1 {
    font-size: 34px;
    margin: 12px 0;
}
.collection-availability {
    flex-shrink: 0;
}
.collection-availability span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
}
@media (max-width: 760px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
    .collection-launch {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }
    .collection-launch h1 {
        font-size: 28px;
    }
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.button.danger-button {
    background: #a33d45;
    border-color: #a33d45;
}
.removed-product-summary {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}
.removed-product-summary > img {
    width: 100%;
    border-radius: 10px;
}
@media (max-width: 760px) {
    .removed-product-summary {
        grid-template-columns: 1fr;
    }
}

.account-link {
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 20px;
}
.account-link:focus-visible {
    outline: 2px solid var(--plum);
    outline-offset: 4px;
}

/* Public consultant applications */
.prereg-page {
    background: #faf7f3;
    color: #422d3d;
}
.prereg-header {
    max-width: 1100px;
    margin: auto;
    padding: 16px 24px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.prereg-header img {
    width: 140px;
    height: 94px;
    object-fit: contain;
}
.prereg-header span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #907751;
}
.prereg-shell {
    max-width: 850px;
    padding: 18px 24px 24px;
    margin: auto;
}
.prereg-form-panel {
    padding: clamp(20px, 5vw, 42px);
    border-top: 4px solid #ed4270;
}
.prereg-form-heading {
    margin-bottom: 26px;
}
.prereg-form-heading h2 {
    font-size: 30px;
    margin: 0 0 10px;
}
.prereg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.prereg-grid label {
    margin: 0;
    min-width: 0;
}
.prereg-wide {
    grid-column: 1/-1;
}
.prereg-form-panel fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 30px;
    min-width: 0;
}
.prereg-form-panel legend {
    font-weight: 600;
    font-size: 17px;
    width: 100%;
    padding: 0 0 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee6e9;
}
.prereg-form-panel input,
.prereg-form-panel select,
.prereg-form-panel textarea {
    width: 100%;
    min-width: 0;
}
.prereg-submit {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
    min-height: 52px;
}
.prereg-footer {
    text-align: center;
    color: #857480;
    padding: 35px 20px;
    font-size: 12px;
}
.prereg-confirmation {
    max-width: 650px;
    margin: 25px auto;
    text-align: center;
    padding: clamp(24px, 5vw, 45px);
}
.prereg-confirmation h1 {
    font-size: 42px;
    line-height: 1.2;
}
.prereg-confirmation p {
    line-height: 1.7;
}
.prereg-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e4eee4;
    color: #49724f;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
}
.prereg-check svg {
    width: 30px;
    height: 30px;
}
.prereg-protocol {
    background: #faf7f3;
    padding: 18px;
    margin: 25px 0;
    display: grid;
    gap: 8px;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.prereg-status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.prereg-status-grid strong {
    display: block;
    font-size: 30px;
    margin-top: 8px;
}
.prereg-filter {
    display: flex;
    align-items: end;
    gap: 15px;
    margin-bottom: 24px;
}
.prereg-filter label {
    flex: 1;
    margin: 0;
}
.prereg-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.prereg-details dt {
    font-size: 12px;
    color: #857480;
    margin-bottom: 6px;
}
.prereg-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.prereg-text {
    white-space: pre-line;
}
.prereg-settings {
    max-width: 650px;
}
@media (max-width: 600px) {
    .prereg-header {
        padding: 12px 20px 4px;
    }
    .prereg-header img {
        width: 110px;
        height: 74px;
    }
    .prereg-header span {
        max-width: 150px;
        font-size: 9px;
        text-align: right;
        line-height: 1.7;
    }
    .prereg-shell {
        padding: 18px 16px 16px;
    }
    .prereg-grid,
    .prereg-details {
        grid-template-columns: 1fr;
    }
    .prereg-status-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .prereg-filter {
        flex-direction: column;
        align-items: stretch;
    }
    .prereg-confirmation h1 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .prereg-page input,
    .prereg-page select,
    .prereg-page textarea {
        font-size: 16px;
    }
}

/* Additional application filters */
.prereg-offcanvas {
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    width: min(420px, 100%);
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 28px;
    border: 0;
    border-left: 1px solid var(--line);
    color: var(--ink);
    background: white;
    overflow-y: auto;
    box-shadow: -12px 0 40px #422d3d20;
}
.prereg-offcanvas::backdrop {
    background: #302a2e75;
}
.prereg-offcanvas-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.prereg-offcanvas-heading h2 {
    margin: 6px 0 0;
}
.prereg-offcanvas-heading button {
    font-size: 28px;
}
.prereg-offcanvas fieldset {
    margin: 24px 0;
    border: 0;
    padding: 0;
    min-width: 0;
}
.prereg-offcanvas legend {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}
.prereg-offcanvas-ages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.prereg-offcanvas input,
.prereg-offcanvas select {
    font-size: 16px;
    min-width: 0;
}
.prereg-offcanvas-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}
.prereg-offcanvas-actions .button {
    justify-content: center;
}
html:has(.prereg-offcanvas[open]) {
    overflow: hidden;
}

.prereg-offcanvas[open]::backdrop {
    animation: prereg-backdrop-in 300ms ease-out both;
}
.prereg-offcanvas.is-closing::backdrop {
    animation: prereg-backdrop-out 220ms ease-in both;
}
@keyframes prereg-backdrop-in {
    from {
        background: #302a2e00;
    }
    to {
        background: #302a2e75;
    }
}
@keyframes prereg-backdrop-out {
    from {
        background: #302a2e75;
    }
    to {
        background: #302a2e00;
    }
}
@media (prefers-reduced-motion: reduce) {
    .prereg-offcanvas[open]::backdrop,
    .prereg-offcanvas.is-closing::backdrop {
        animation: none;
    }
}
