/* =========================================================
   SHARNIR.UZ — ACCOUNT

   SHARNIR-STUB: RU interface; temporary settings and resource IDs
   are in core/components/sharnir/account/config.php.

   REPEAT-20260910-3: order preview and confirmed cart addition.
   PROFILE-20260910-1: contact forms and credential changes.
   ORDERS-20260909-1: private dashboard, history and order details.
   STYLE-2026-09-09: matches the current sharnir.css / home.css.
   Load after sharnir.css. Colours inherit the global variables.
   Dark hero: same four layers, 40px grid and 65% orange line
   as .hero--dark. Panels and controls have square corners.
   ========================================================= */

.sa-hero,
.sa-area {
    --sa-border: rgba(22, 75, 59, 0.18);
    --sa-muted: #55605C;
    --sa-orange-hover: #df5e00;
    min-width: 0;
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.sa-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(55px, 8vh, 110px) 0 clamp(48px, 6vw, 80px);
    color: var(--color-white);
    background-color: #123C30;
    background-image:
        radial-gradient(circle at 75% 42%,
            rgba(37, 100, 78, 0.42) 0,
            rgba(22, 75, 59, 0.18) 32%, transparent 62%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #102F27 0%, #164B3B 55%, #12392E 100%);
    background-size: auto, 40px 40px, 40px 40px, auto;
}

.sharnir-overlay-header .sa-hero {
    padding-top: calc(var(--header-height) + clamp(55px, 8vh, 110px));
}

.sa-hero::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: clamp(20px, 4vw, 64px);
    width: 1px;
    background: rgba(249, 105, 0, 0.65);
    pointer-events: none;
}

.sa-hero__inner {
    position: relative;
    z-index: 1;
    animation: sa-hero-enter 0.75s 0.08s both ease-out;
}

.sa-eyebrow,
.sa-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sa-eyebrow {
    margin: 0 0 23px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.sa-eyebrow::before,
.sa-kicker::before {
    content: "";
    flex: 0 0 auto;
    width: 38px;
    height: 3px;
    background: var(--color-orange);
}

.sa-hero h1 {
    max-width: 1100px;
    margin: 0;
    color: var(--color-white);
    font-size: clamp(42px, 5vw, 78px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.sa-hero__lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.65;
}

/* ---------------------------------------------------------
   CONTENT AND PANELS
   --------------------------------------------------------- */

.sa-area {
    padding: clamp(48px, 6vw, 88px) 0;
    color: var(--color-text);
    background: var(--color-bg);
}

.sa-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(36px, 7vw, 110px);
}

.sa-intro {
    max-width: 450px;
    padding-block: 24px;
}

.sa-kicker {
    color: var(--color-green);
    font-size: 12px;
}

.sa-kicker::before { width: 34px; height: 2px; }

.sa-intro h2 {
    margin: 24px 0;
    color: var(--color-text);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.sa-intro p {
    max-width: 360px;
    color: var(--sa-muted);
    font-size: 16px;
    line-height: 1.75;
}

.sa-back {
    display: inline-block;
    margin-top: 28px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(22, 75, 59, 0.35);
    color: var(--color-green);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition);
}

.sa-card {
    min-width: 0;
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid var(--sa-border);
    border-radius: 0;
    color: var(--color-text);
    background: var(--color-white);
    box-shadow: none;
    overflow-wrap: anywhere;
}

.sa-card h2 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.sa-muted {
    margin: 0 0 28px;
    color: var(--sa-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ---------------------------------------------------------
   FORMS AND BUTTONS
   --------------------------------------------------------- */

.sa-form { display: flex; flex-direction: column; gap: 20px; }

.sa-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
}

.sa-field input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(22, 75, 59, 0.30);
    border-radius: 0;
    color: var(--color-text);
    background: var(--color-white);
    box-shadow: none;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    transition: border-color var(--transition), background-color var(--transition);
}

.sa-field input:hover,
.sa-field input:focus { border-color: var(--color-green); }
.sa-field input::placeholder { color: var(--sa-muted); opacity: 1; }
.sa-field input[aria-invalid="true"] { border-color: #A3392B; }

.sa-link {
    color: var(--color-green);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.sa-link:hover,
.sa-back:hover { color: var(--sa-orange-hover); border-color: currentColor; }
.sa-form__end { align-self: flex-end; margin-top: -6px; font-size: 13px; }

.sa-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 52px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 0;
    color: var(--color-white);
    background: var(--color-orange);
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition:
        background-color var(--transition), border-color var(--transition),
        color var(--transition), transform var(--transition);
}

.sa-button:not(:disabled):hover {
    background: var(--sa-orange-hover);
    transform: translateY(-2px);
}

.sa-button span { flex: 0 0 auto; font-size: 22px; line-height: 1; }

.sa-button--secondary {
    border-color: rgba(22, 75, 59, 0.45);
    color: var(--color-green);
    background: transparent;
}

.sa-button--secondary:not(:disabled):hover {
    border-color: var(--color-green);
    color: var(--color-white);
    background: var(--color-green);
}

.sa-button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.sa-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--sa-muted);
    font-size: 12px;
    line-height: 1.7;
    cursor: pointer;
}

.sa-consent input {
    appearance: none;
    -webkit-appearance: none;
    display: grid;
    place-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    border: 1px solid rgba(22, 75, 59, 0.45);
    border-radius: 0;
    background: var(--color-white);
    cursor: pointer;
}

.sa-consent input:checked { border-color: var(--color-green); background: var(--color-green); }
.sa-consent input:checked::before {
    content: "";
    width: 5px;
    height: 9px;
    margin-top: -3px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg);
}

.sa-hint { margin: -13px 0 -1px; color: var(--sa-muted); font-size: 12px; line-height: 1.6; }
.sa-divider { margin: 28px 0 0; padding-top: 23px; border-top: 1px solid var(--sa-border); color: var(--sa-muted); font-size: 13px; line-height: 1.7; }
.sa-help { color: var(--sa-muted); font-size: 12px; line-height: 1.7; }
.sa-help summary { padding-block: 4px; color: var(--color-green); cursor: pointer; }
.sa-text-button { padding: 0; border: 0; border-radius: 0; color: var(--color-green); background: none; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------------------------------------------------------
   FEEDBACK AND PROFILE
   --------------------------------------------------------- */

.sa-error,
.sa-notice {
    margin: 0 0 24px;
    padding: 15px 17px;
    border: 1px solid var(--sa-border);
    border-left-width: 3px;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.6;
}

.sa-error { border-color: #E5B9A5; border-left-color: #A3392B; color: #852D23; background: #FFF3ED; }
.sa-notice { border-left-color: var(--color-green); color: var(--color-green); background: var(--color-bg); }

.sa-badge {
    display: inline-block;
    margin: 0 0 25px;
    padding: 8px 10px;
    border: 1px solid var(--sa-border);
    border-left: 3px solid var(--color-green);
    border-radius: 0;
    color: var(--color-green);
    background: var(--color-bg);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.10em;
}

.sa-profile { margin: 26px 0; padding-block: 23px; border-block: 1px solid var(--sa-border); }
.sa-profile dt { margin-bottom: 8px; color: var(--sa-muted); font-size: 12px; }
.sa-profile dd { margin: 0; color: var(--color-text); font-size: 17px; }
.sa-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sa-area :is(a, button, input, summary):focus-visible {
    outline: 3px solid rgba(249, 105, 0, 0.45);
    outline-offset: 3px;
}

@keyframes sa-hero-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------
   PRIVATE ACCOUNT AND ORDERS
   --------------------------------------------------------- */

.sa-layout--private {
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
}

.sa-account-sidebar { min-width: 0; overflow-wrap: anywhere; }
.sa-account-person { padding: 10px 0 24px; }
.sa-account-name { margin: 18px 0 8px; font-size: 23px; font-weight: 700; line-height: 1.3; }
.sa-account-email { margin: 0; color: var(--sa-muted); font-size: 14px; line-height: 1.6; }
.sa-account-nav { display: grid; border-top: 1px solid var(--sa-border); }
.sa-account-nav a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 52px; padding: 13px 15px; border-bottom: 1px solid var(--sa-border);
    color: var(--color-green); text-decoration: none; font-size: 14px; font-weight: 600;
}
.sa-account-nav a:hover { background: rgba(22, 75, 59, 0.06); }
.sa-account-nav a[aria-current="page"] { border-left: 3px solid var(--color-orange); padding-left: 12px; background: var(--color-white); }
.sa-account-privacy { display: inline-block; margin-top: 24px; font-size: 12px; line-height: 1.6; }
.sa-account-logout { margin: 18px 0 0; font-size: 13px; }
.sa-account-logout button { min-height: 44px; }
.sa-card--orders { padding: clamp(24px, 3vw, 40px); }
.sa-orders-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.sa-orders-heading h2 { margin: 16px 0 0; }
.sa-orders-count { flex-shrink: 0; color: var(--sa-muted); font-size: 13px; line-height: 1.4; }
.sa-orders-list { border-top: 1px solid var(--sa-border); }
.sa-order-row { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--sa-border); }
.sa-order-row__main { min-width: 0; }
.sa-order-row h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.sa-order-row h3 a { color: var(--color-green); text-decoration: none; }
.sa-order-row h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sa-order-date { margin: 7px 0 12px; color: var(--sa-muted); font-size: 13px; }
.sa-order-status {
    display: inline-block; padding: 6px 10px; border-left: 2px solid var(--color-green);
    color: var(--color-green); background: var(--color-bg); font-size: 12px; font-weight: 600; line-height: 1.5;
}
.sa-order-row__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 16px; min-width: 0; text-align: right; }
.sa-order-row__end .sa-link { font-size: 13px; }
.sa-order-cost { margin: 0; color: var(--color-text); font-size: 18px; font-weight: 700; line-height: 1.5; }
.sa-orders-footer { margin-top: 26px; font-size: 14px; }
.sa-orders-footer:empty { display: none; }
.sa-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.sa-pagination span { color: var(--sa-muted); font-size: 12px; }
.sa-orders-message .sa-kicker { margin-bottom: 20px; }
.sa-orders-message .sa-muted { margin-top: 18px; }
.sa-orders-message .sa-button { max-width: 330px; text-decoration: none; }
.sa-order-title { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 15px; margin: 26px 0; }
.sa-order-title h2 { margin: 0; }
.sa-order-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; }
.sa-order-meta dt { margin-bottom: 7px; color: var(--sa-muted); font-size: 12px; }
.sa-order-meta dd { margin: 0; font-size: 14px; line-height: 1.6; }
.sa-order-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.sa-order-table-wrap:focus-visible { outline: 3px solid rgba(249, 105, 0, 0.45); outline-offset: 3px; }
.sa-order-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
.sa-order-table caption { padding-bottom: 15px; color: var(--color-text); font-size: 18px; font-weight: 700; text-align: left; }
.sa-order-table th, .sa-order-table td { padding: 15px 12px; border-bottom: 1px solid var(--sa-border); text-align: right; vertical-align: top; }
.sa-order-table thead th { background: var(--color-bg); color: var(--sa-muted); font-size: 11px; font-weight: 600; }
.sa-order-table th:first-child { width: 40%; padding-left: 0; text-align: left; }
.sa-order-table thead th:first-child { padding-left: 12px; }
.sa-order-table tbody th { font-weight: 500; }
.sa-order-table td { white-space: nowrap; }
.sa-order-table th:last-child, .sa-order-table td:last-child { padding-right: 0; }
.sa-order-table thead th:last-child { padding-right: 12px; }
.sa-order-totals { max-width: 400px; margin: 28px 0 0 auto; }
.sa-order-totals > div { display: flex; justify-content: space-between; gap: 22px; padding: 9px 0; font-size: 14px; line-height: 1.6; }
.sa-order-totals dt { color: var(--sa-muted); }
.sa-order-totals dd { margin: 0; text-align: right; }
.sa-order-totals .sa-order-total { margin-top: 12px; padding-top: 18px; border-top: 2px solid var(--color-green); font-size: 19px; font-weight: 700; }
.sa-order-total dt { color: var(--color-text); }

@media (max-width: 900px) {
    .sa-layout--private { grid-template-columns: minmax(0, 1fr); }
    .sa-account-sidebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
    .sa-account-person { flex: 1 0 100%; padding: 0 0 8px; }
    .sa-account-person .sa-kicker { display: none; }
    .sa-account-name { margin: 0 0 4px; font-size: 20px; }
    .sa-account-nav { flex: 1 0 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sa-account-privacy, .sa-account-logout { margin: 0; }
    .sa-order-meta { gap: 18px; }
}

@media (max-width: 640px) {
    .sa-orders-heading { flex-direction: column; gap: 14px; }
    .sa-order-row { flex-direction: column; gap: 17px; padding: 23px 0; }
    .sa-order-row__end { flex-direction: row; align-items: center; gap: 15px; text-align: left; }
    .sa-order-cost { font-size: 17px; }
    .sa-order-row__end .sa-link { flex-shrink: 0; }
    .sa-order-meta { grid-template-columns: minmax(0, 1fr); }
    .sa-order-totals .sa-order-total { font-size: 18px; }
}

/* ---------------------------------------------------------
   ACCOUNT PROFILE EDITING
   --------------------------------------------------------- */

.sa-profile-section + .sa-profile-section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--sa-border); }
.sa-profile-section > .sa-kicker { margin-bottom: 18px; }
.sa-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sa-profile-grid__wide { grid-column: 1 / -1; }
.sa-profile-submit { max-width: 350px; }
.sa-profile-email { margin: 16px 0; color: var(--sa-muted); font-size: 16px; overflow-wrap: anywhere; }
.sa-profile-change summary { padding: 8px 0; color: var(--color-green); font-size: 14px; font-weight: 600; cursor: pointer; }
.sa-profile-change[open] summary { margin-bottom: 20px; }
.sa-profile-change .sa-form { max-width: 620px; }
.sa-profile-confirm { padding: clamp(18px, 3vw, 28px); margin-bottom: 32px; border: 1px solid var(--sa-border); border-left: 3px solid var(--color-orange); background: var(--color-bg); }
.sa-profile-confirm p { margin: 0 0 18px; font-size: 14px; line-height: 1.7; }
.sa-profile-confirm .sa-text-button { min-height: 44px; font-size: 13px; }

@media (max-width: 900px) {
    .sa-account-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .sa-profile-grid { grid-template-columns: minmax(0, 1fr); }
    .sa-account-nav a { padding-inline: 9px; font-size: 13px; }
    .sa-account-nav a[aria-current="page"] { padding-left: 6px; }
    .sa-account-nav a span { display: none; }
    .sa-profile-section + .sa-profile-section { margin-top: 28px; padding-top: 26px; }
}

/* ---------------------------------------------------------
   RESPONSIVE AND ACCESSIBILITY
   --------------------------------------------------------- */

@media (max-width: 900px) {
    .sa-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .sa-intro { max-width: none; padding: 0; }
    .sa-intro h2 { margin: 16px 0; font-size: 30px; }
    .sa-intro h2 br { display: none; }
    .sa-intro p { max-width: none; margin-block: 12px; }
    .sa-back { margin-top: 6px; }
}

@media (max-width: 640px) {
    .sa-hero { padding-bottom: 42px; }
    .sa-hero::before { display: none; }
    .sa-eyebrow { gap: 10px; font-size: 11px; }
    .sa-eyebrow::before { width: 30px; }
    .sa-hero h1 { font-size: clamp(36px, 10vw, 54px); line-height: 1.05; }
    .sa-hero__lead { margin-top: 22px; font-size: 16px; }
    .sa-area { padding: 32px 0 50px; }
    .sa-card { padding: 25px 20px; }
    .sa-card h2 { font-size: 25px; }
    .sa-button { gap: 12px; padding-inline: 18px; }
    .sa-intro { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sa-hero__inner { animation: none; }
    .sa-field input, .sa-button, .sa-back { transition: none; }
    .sa-button:not(:disabled):hover { transform: none; }
}

@media (forced-colors: active) {
    .sa-consent input { appearance: auto; -webkit-appearance: auto; }
    .sa-consent input:checked::before { content: none; }
    .sa-button:disabled { opacity: 1; color: GrayText; border-color: GrayText; }
}

/* ADDRESSES-20260910-2: saved address cards and forms. */
.sa-address-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sa-address-heading > div { flex: 1 1 260px; }
.sa-address-add { width: auto; max-width: 100%; min-width: 200px; text-decoration: none; }
.sa-address-intro { margin: 12px 0 20px; color: var(--sa-muted); font-size: 15px; line-height: 1.7; }
.sa-address-title { margin: 26px 0 16px; color: var(--color-green); font-size: clamp(24px, 3vw, 32px); line-height: 1.3; }
.sa-address-list { display: grid; gap: 20px; }
.sa-address-row { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--sa-border); background: #fff; min-width: 0; }
.sa-address-row__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sa-address-row h2 { margin: 0; font-size: 22px; line-height: 1.35; color: var(--color-green); overflow-wrap: anywhere; }
.sa-address-badge { padding: 6px 10px; background: var(--color-green); color: #fff; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.sa-address-description { color: var(--color-green); margin: 18px 0 10px; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.sa-address-comment { color: var(--sa-muted); margin: 10px 0; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.sa-address-comment:empty { display: none; }
.sa-address-actions { margin-top: 20px; border-top: 1px solid var(--sa-border); padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.sa-address-actions form { margin: 0; }
.sa-address-actions a, .sa-address-actions button { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.sa-address-actions button:disabled { display: none; }
.sa-address-delete { color: #923d2e; }
.sa-address-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; cursor: pointer; }
.sa-address-check input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--color-green); }
.sa-field textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 16px 18px; min-height: 110px; border: 1px solid var(--sa-border); border-radius: 0; background: #fff; color: var(--color-text); font: inherit; line-height: 1.6; resize: vertical; }
.sa-field textarea:focus { outline: 2px solid var(--color-orange); outline-offset: 3px; border-color: var(--color-green); }
@media (max-width: 640px) {
    .sa-address-add { width: 100%; }
    .sa-address-row h2 { font-size: 20px; }
}

/* Repeat order: square cards, current quantities and prices. */
.sa-repeat-link { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin: 26px 0; }
.sa-repeat-link .sa-button { flex: 0 1 260px; }
.sa-repeat-link p { flex: 1 1 250px; margin: 0; color: var(--sa-muted); font-size: 14px; line-height: 1.7; }
.sa-repeat-heading { margin: 32px 0 28px; }
.sa-repeat-heading h2 { margin: 16px 0; color: var(--color-green); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.sa-repeat-heading p { color: var(--sa-muted); margin: 0; font-size: 16px; line-height: 1.7; }
.sa-repeat-items { display: grid; gap: 20px; }
.sa-repeat-item { border: 1px solid var(--sa-border); padding: clamp(18px, 3vw, 28px); min-width: 0; }
.sa-repeat-item__heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.sa-repeat-item h3 { flex: 1 1 200px; color: var(--color-green); font-size: 21px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.sa-repeat-badge { color: #fff; background: var(--color-green); padding: 7px 10px; font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .035em; }
.is-unavailable .sa-repeat-badge { color: var(--sa-muted); background: #edf0ed; }
.sa-repeat-current-name { font-size: 13px; color: var(--sa-muted); margin: 12px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.sa-repeat-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 24px 0 0; }
.sa-repeat-values dt, .sa-repeat-summary dt { color: var(--sa-muted); font-size: 13px; line-height: 1.6; }
.sa-repeat-values dd { margin: 5px 0 0; color: var(--color-green); font-size: 17px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.sa-repeat-note { margin: 20px 0 0; color: #795018; background: #fff7eb; border-left: 2px solid var(--color-orange); padding: 12px 14px; font-size: 13px; line-height: 1.7; }
.sa-repeat-note:empty { display: none; }
.sa-repeat-line-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--sa-border); color: var(--color-green); font-size: 14px; line-height: 1.5; }
.sa-repeat-line-total strong { font-size: 17px; }
.sa-repeat-summary { margin-top: 32px; }
.sa-repeat-summary dl { margin: 0; }
.sa-repeat-summary dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding: 12px 0; }
.sa-repeat-summary dd { margin: 0; flex-shrink: 0; color: var(--color-green); font-size: 18px; font-weight: 600; line-height: 1.5; }
.sa-repeat-summary__total { border-top: 1px solid var(--sa-border); margin-top: 12px; }
.sa-repeat-summary__total dt { color: var(--color-green); font-size: 16px; font-weight: 600; }
.sa-repeat-form { margin-top: 24px; }
.sa-repeat-form .sa-button { width: 100%; }
.sa-repeat-cart { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }
@media (max-width: 640px) {
    .sa-repeat-link .sa-button { flex-basis: 100%; }
    .sa-repeat-values { gap: 18px 14px; }
    .sa-repeat-item h3 { font-size: 19px; }
    .sa-repeat-summary dl > div { flex-wrap: wrap; gap: 4px 20px; }
    .sa-repeat-summary dd { margin-left: auto; }
}
