@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@400;500;600;700;800;900&display=swap');

.sm-front-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 14px 40px;
    color: #17262d;
}

.sm-front-shell--fluid {
    width: 100%;
    max-width: none;
    margin: 0;
}

.sm-front-shell--fluid.sm-elementor-products,
.sm-front-shell--fluid.sm-products-embed {
    padding: 0;
}

.sm-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 18px;
    color: var(--sm-muted, #667078);
    font-size: 13px;
}

.sm-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.sm-breadcrumbs__sep {
    opacity: 0.55;
}

.sm-catalog-breadcrumbs {
    grid-column: 1 / -1;
}

.sm-product-summary__brand {
    margin-top: 8px;
    color: var(--sm-muted, #667078);
    font-size: 14px;
}

.sm-product-summary__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

@media (max-width: 480px) {
    .sm-product-summary__tools {
        flex-direction: column;
        align-items: stretch;
    }
    .sm-product-summary__tools .sm-inline-form {
        margin: 0;
    }
    .sm-product-summary__tools .sm-icon-action {
        width: 100%;
        min-height: 44px;
    }
}

/* Без дублиран блок за продукт вътре в описанието */
.sm-product-description__content .sm-product-summary-panel,
.sm-product-description__content .sm-product-page,
.sm-product-description__content .sm-buy-box,
.sm-product-description__content .sm-product-purchase-form {
    display: none !important;
}

.sm-icon-action {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 22, 25, 0.12);
    border-radius: 8px;
    background: var(--sm-surface-alt, #f6f7f7);
    color: var(--sm-muted, #667078);
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sm-icon-action svg {
    width: 18px;
    height: 18px;
    display: block;
}

.sm-icon-action:hover,
.sm-icon-action:focus {
    border-color: var(--sm-primary, #0f4c81);
    background: #ffffff;
    color: var(--sm-primary, #0f4c81);
}

.sm-icon-action.is-active {
    border-color: var(--sm-primary, #0f4c81);
    background: color-mix(in srgb, var(--sm-primary, #0f4c81) 10%, #ffffff);
    color: var(--sm-primary, #0f4c81);
}

.sm-product-brand-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(18, 22, 25, 0.1);
    border-radius: 999px;
    background: var(--sm-surface-alt, #f6f7f7);
    color: var(--sm-text, #121619);
    font-size: 14px;
    line-height: 1.3;
}

.sm-product-brand-block__label {
    color: var(--sm-muted, #667078);
    font-weight: 600;
}

.sm-product-brand-block__value a {
    color: var(--sm-primary, #0f4c81);
    font-weight: 700;
    text-decoration: none;
}

.sm-product-brand-block__value a:hover {
    text-decoration: underline;
}

.sm-spec-table {
    display: grid;
    gap: 12px;
}

.sm-spec-table__row {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(18, 22, 25, 0.08);
}

.sm-spec-table__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sm-download-list {
    display: grid;
    gap: 12px;
}

.sm-download-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(18, 22, 25, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.sm-download-list__item strong {
    color: var(--sm-primary, #0f4c81);
}

@media (max-width: 767px) {
    .sm-spec-table__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .sm-download-list__item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.sm-single-product__top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 20px;
    align-items: start;
}

.sm-product-gallery,
.sm-product-summary,
.sm-product-description {
    overflow: hidden;
}

.sm-product-gallery__stage {
    border-radius: 20px;
    overflow: hidden;
    background: #f4f7f6;
    border: 1px solid #e2e8e5;
}

.sm-product-gallery__main-image {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.sm-product-gallery__placeholder {
    min-height: 420px;
    display: grid;
    place-items: center;
    color: #607077;
}

.sm-product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.sm-product-gallery__thumb {
    border: 1px solid #d8e1df;
    border-radius: 16px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.sm-product-gallery__thumb img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    display: block;
}

.sm-product-gallery__thumb.is-active {
    border-color: #0f766e;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
}

.sm-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.sm-front-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,249,.98));
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.sm-section-header,
.sm-cart-header,
.sm-product-purchase__header,
.sm-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sm-section-header h2,
.sm-cart-header h2,
.sm-product-purchase__header h3,
.sm-front-card h3 {
    margin: 0;
    letter-spacing: -0.02em;
}

.sm-section-header p,
.sm-cart-header p,
.sm-product-purchase__header p,
.sm-front-card p {
    color: #607077;
}

.sm-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, .92fr);
    gap: 20px;
    align-items: start;
}

.sm-sticky-card { position: sticky; top: 18px; }

.sm-section-block { margin-top: 22px; }

.sm-subtitle-row,
.sm-action-row,
.sm-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.sm-meta-row {
    justify-content: flex-start;
    color: #607077;
    font-size: 13px;
}

.sm-product-summary__title {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.sm-product-price-card {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(15, 76, 129, 0.08));
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.sm-product-options-block {
    display: grid;
    gap: 12px;
}

.sm-variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sm-variation-button {
    appearance: none;
    border: 1px solid #d6e1de;
    background: #fff;
    color: #14252d;
    border-radius: 999px;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.sm-variation-button.is-active {
    background: linear-gradient(135deg, #0f766e, #0f4c81);
    color: #fff;
    border-color: transparent;
}

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

.sm-form-grid label,
.sm-full-width,
.sm-product-purchase__form label,
.sm-inline-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: #14252d;
}

.sm-form-grid input,
.sm-form-grid select,
.sm-full-width textarea,
.sm-product-purchase__form input,
.sm-product-purchase__form select,
.sm-inline-form input {
    border: 1px solid #d8e1df;
    border-radius: 14px;
    padding: 11px 13px;
    font-size: 14px;
    min-height: 44px;
    background: #fff;
}

.sm-full-width textarea { min-height: 100px; }
.sm-full-width { margin-top: 14px; }

.sm-choice-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sm-choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 16px;
    padding: 12px 15px;
    background: #eef2f1;
    color: #17262d;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    min-height: 46px;
}

.sm-choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sm-choice.is-active { background: linear-gradient(135deg, #0f766e, #0f4c81); color: #fff; box-shadow: 0 12px 26px rgba(15, 118, 110, 0.18); }

.sm-primary-button,
.sm-cart-form button,
.sm-secondary-link {
    border: 0;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
}

.sm-primary-button { background: linear-gradient(135deg, #0f766e, #0f4c81); color: #fff; }
.sm-primary-button--full { width: 100%; }
.sm-secondary-link { background: #e7ecef; color: #14252d; }
.sm-text-button { background: transparent; color: #b91c1c; padding: 0; min-height: auto; border: 0; cursor: pointer; }

.sm-payment-panel {
    display: none;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8faf9;
    border: 1px solid #e2e8e5;
    margin-top: 12px;
}

.sm-payment-panel.is-visible,
.sm-invoice-fields.is-visible { display: grid; }

.sm-stripe-checkout {
    display: grid;
    gap: 12px;
}

.sm-stripe-checkout__element {
    padding: 14px;
    border: 1px solid #d9dddf;
    background: #fff;
    border-radius: 4px;
}

.sm-stripe-checkout__message {
    padding: 10px 12px;
    border: 1px solid #d9dddf;
    background: #f8fafc;
    border-radius: 4px;
    color: #0f172a;
    font-size: 14px;
}

.sm-stripe-checkout__message.is-error {
    color: #b42318;
    border-color: #fecaca;
    background: #fff5f5;
}

.sm-mini-cart-list,
.sm-order-totals { margin-top: 6px; }

.sm-mini-cart-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1ef;
}

.sm-mini-cart-item div { display: flex; flex-direction: column; gap: 4px; }
.sm-mini-cart-controls { align-items: flex-end; }
.sm-mini-cart-controls a { color: #0f4c81; text-decoration: none; font-weight: 600; }

.sm-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1ef;
    font-size: 14px;
}

.sm-summary-row.total { font-size: 15px; font-weight: 700; }
.sm-summary-row--discount strong { color: #166534; }

.sm-cart-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.sm-cart-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #f8faf9;
    border: 1px solid #e2e8e5;
}

.sm-cart-item__media img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 14px;
}

.sm-cart-item__content,
.sm-cart-item__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sm-cart-item__content span { color: #607077; font-size: 13px; }
.sm-cart-item__actions { align-items: flex-end; }
.sm-cart-item__actions input {
    width: 88px;
    border: 1px solid #d8e1df;
    border-radius: 12px;
    padding: 9px 10px;
    font-size: 14px;
}

.sm-product-purchase { margin-top: 22px; }

.sm-product-purchase__foot {
    margin-top: 12px;
    color: #607077;
    font-size: 12px;
}

.sm-product-purchase__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 210px;
    gap: 12px;
    align-items: end;
}

.sm-product-purchase__form--stacked {
    grid-template-columns: 1fr;
    margin-top: 18px;
}

.sm-price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.sm-price-stack strong { font-size: 1.1rem; }
.sm-price-stack span { color: #7a8790; text-decoration: line-through; font-size: 13px; }
.sm-price-stack--product strong { font-size: clamp(26px, 2.6vw, 38px); }
.sm-price-stack--product span { font-size: 15px; }

.sm-notice {
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}

.sm-notice.success { background: #dcfce7; color: #166534; }
.sm-notice.error { background: #fee2e2; color: #991b1b; }
.sm-notice.is-hidden,
.is-hidden { display: none !important; }

.sm-empty-state { padding: 20px 0 8px; color: #607077; }

.sm-empty-state .sm-secondary-link { margin-top: 8px; }

.sm-empty-state--rich {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 320px;
    padding: 32px;
    text-align: left;
}

.sm-empty-state__icon {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e1df;
    border-radius: 8px;
    background: #fff;
    color: var(--sm-accent);
    box-shadow: 0 14px 34px rgba(14, 33, 56, 0.08);
}

.sm-empty-state__icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.sm-empty-state__content {
    max-width: 460px;
}

.sm-empty-state__content h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.1;
    color: var(--sm-text);
}

.sm-empty-state__content p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.65;
    color: #607077;
}

.sm-empty-state__content .sm-primary-button {
    min-width: 180px;
}

.sm-account-orders { display: grid; gap: 10px; }

.sm-account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 18px;
    align-items: start;
}

.sm-account-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.sm-summary-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: #f8faf9;
    border-radius: 18px;
    border: 1px solid #e2e8e5;
}

.sm-summary-tile span {
    color: #607077;
    font-size: 13px;
}

.sm-product-description {
    margin-top: 20px;
}

.sm-product-description__content > :first-child {
    margin-top: 0;
}

.sm-account-order {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #f8faf9;
    border-radius: 16px;
    border: 1px solid #e2e8e5;
}

.sm-account-order div { display: flex; flex-direction: column; gap: 3px; }

.sm-account-order__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sm-account-detail {
    display: grid;
    gap: 18px;
}

.sm-account-detail__section {
    display: grid;
    gap: 8px;
}

.sm-account-detail__section h4 {
    margin: 0;
}

.sm-status-pill {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #0f4c81;
    font-size: 12px;
    font-weight: 700;
}

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

.sm-inline-form {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}

.sm-coupon-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #f8faf9;
    border: 1px solid #e2e8e5;
}

.sm-coupon-box--checkout { margin-top: 0; margin-bottom: 16px; }
.sm-applied-coupon-card {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    padding: 12px 14px;
    background: #ecfdf5;
    color: #166534;
    border-radius: 14px;
    border: 1px solid #a7f3d0;
}

.sm-check {
    position: relative;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
}
.sm-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}
.sm-check__box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #c6ced4;
    background: #fff;
    position: relative;
    flex: 0 0 18px;
}
.sm-check__box::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 2px;
    background: linear-gradient(135deg, #0f766e, #0f4c81);
    opacity: 0;
}
.sm-check input[type="checkbox"]:checked + .sm-check__box::after {
    opacity: 1;
}
.sm-check__label {
    color: #17262d;
}
.sm-check-row { margin: 16px 0 10px; }
.sm-invoice-fields { display: none; }

@media (max-width: 960px) {
    .sm-checkout-layout { grid-template-columns: 1fr; }
    .sm-sticky-card { position: static; }
    .sm-product-purchase__form { grid-template-columns: 1fr; }
    .sm-single-product__top { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .sm-form-grid,
    .sm-thankyou-grid,
    .sm-account-summary { grid-template-columns: 1fr; }
    .sm-account-layout { grid-template-columns: 1fr; }
    .sm-cart-item { grid-template-columns: 68px minmax(0, 1fr); }
    .sm-cart-item__actions { grid-column: 1 / -1; align-items: stretch; }
    .sm-section-header,
    .sm-cart-header,
    .sm-product-purchase__header,
    .sm-cart-footer,
    .sm-account-order,
    .sm-mini-cart-item,
    .sm-inline-form { flex-direction: column; align-items: stretch; }
    .sm-choice-row { display: grid; grid-template-columns: 1fr; }
    .sm-secondary-link,
    .sm-primary-button,
    .sm-choice { width: 100%; }
}

/* Scoped frontend overrides to keep Elementor/theme styles from leaking into the plugin UI. */
.sm-front-scope,
.sm-front-scope *,
.sm-front-scope *::before,
.sm-front-scope *::after {
    box-sizing: border-box;
}

.sm-front-scope {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2428;
    overflow-x: hidden;
}

.sm-front-scope :where(h1, h2, h3, h4, p, ul, ol) {
    margin-top: 0;
}

.sm-front-scope :where(img) {
    max-width: 100%;
    height: auto;
}

.sm-front-shell--product {
    max-width: 1280px;
    padding-top: 24px;
}

.sm-front-scope .sm-product-page {
    display: grid;
    gap: 28px;
}

.sm-front-scope .sm-product-page__main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.sm-front-scope .sm-product-gallery-panel,
.sm-front-scope .sm-product-summary-panel,
.sm-front-scope .sm-product-description-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,248,.98));
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.sm-front-scope .sm-product-gallery-panel {
    padding: 20px;
}

.sm-front-scope .sm-product-summary-panel {
    padding: 28px;
}

.sm-front-scope .sm-product-description-card {
    padding: 26px 28px;
}

.sm-front-scope .sm-product-gallery-grid {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.sm-front-scope .sm-product-gallery__thumbs--vertical {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
}

.sm-front-scope .sm-product-gallery__thumb {
    appearance: none;
    display: block;
    width: 100%;
    border: 1px solid #d9e1de;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
    cursor: pointer;
    box-shadow: none;
    transform: none !important;
    transition: border-color .16s ease, box-shadow .16s ease !important;
}

.sm-front-scope .sm-product-gallery__thumb img {
    width: 100%;
    height: 92px;
    object-fit: contain;
    display: block;
}

.sm-front-scope .sm-product-gallery__thumb.is-active {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.sm-front-scope .sm-product-gallery__stage {
    border: 1px solid #e2e8e5;
    border-radius: 24px;
    background: radial-gradient(circle at top, #ffffff 0%, #f4f7f6 100%);
    padding: 20px;
    min-height: 620px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.sm-front-scope .sm-product-gallery__main-image {
    width: 100%;
    max-height: 580px;
    object-fit: contain;
    display: block;
    transition: none !important;
}

.sm-front-scope .sm-product-gallery__placeholder {
    min-height: 420px;
    display: grid;
    place-items: center;
    color: #647079;
}

.sm-front-scope .sm-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.sm-front-scope .sm-product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sm-front-scope .sm-product-badge--primary {
    background: #d8f3e4;
    color: #14663f;
}

.sm-front-scope .sm-product-badge--accent {
    background: #fff0c9;
    color: #9a5a00;
}

.sm-front-scope .sm-product-summary__title {
    margin: 0 0 10px;
    font-size: clamp(32px, 3vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 900;
    color: #0f1720;
}

.sm-front-scope .sm-product-summary__sku {
    min-height: 20px;
    color: #6b7280;
    font-size: 14px;
}

.sm-front-scope .sm-product-summary__divider {
    height: 1px;
    background: #e2e8e5;
    margin: 18px 0;
}

.sm-front-scope .sm-product-shipping-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f6fbf7;
    border: 1px solid #e0ece3;
    color: #2d6b3e;
    font-size: 15px;
    font-weight: 700;
}

.sm-front-scope .sm-product-shipping-note__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 36px;
    border-radius: 999px;
    background: #d8f3e4;
    color: #14663f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sm-front-scope .sm-product-price-card {
    display: grid;
    gap: 8px;
}

.sm-front-scope .sm-product-price-old {
    color: #74808a;
    font-size: 22px;
    line-height: 1;
    text-decoration: line-through;
}

.sm-front-scope .sm-product-price-new {
    color: #198754;
    font-size: clamp(38px, 4vw, 62px) !important;
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.sm-front-scope .sm-product-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 22px;
}

.sm-front-scope .sm-product-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f8faf9;
    border: 1px solid #e1e8e4;
    color: #1f2933;
    font-size: 13px;
    font-weight: 700;
}

.sm-front-scope .sm-product-meta-pill::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #aeb9b3;
}

.sm-front-scope .sm-product-meta-pill.is-success::before {
    background: #16a34a;
}

.sm-front-scope .sm-product-purchase-form {
    display: grid;
    gap: 18px;
}

.sm-front-scope .sm-product-options-block {
    gap: 10px;
}

.sm-front-scope .sm-product-options-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #66757d;
}

.sm-front-scope .sm-variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sm-front-scope .sm-variation-button {
    appearance: none;
    border: 1px solid #d7dfdc;
    border-radius: 14px;
    background: #fff;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 800;
    color: #17262d;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transform: none !important;
    box-shadow: none !important;
    transition: border-color .16s ease, background .16s ease, color .16s ease !important;
}

.sm-front-scope .sm-variation-button.is-active {
    background: #17262d;
    border-color: #17262d;
    color: #fff;
}

.sm-front-scope .sm-buy-box {
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    width: min(100%, 440px);
    align-items: stretch;
}

.sm-front-scope .sm-buy-box__qty {
    display: grid !important;
    gap: 8px;
    margin: 0;
}

.sm-front-scope .sm-buy-box__qty span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #66757d;
}

.sm-front-scope .sm-buy-box__qty input {
    appearance: none;
    width: 100%;
    min-height: 56px;
    border: 1px solid #d7dfdc !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    background: #fff !important;
    color: #0f1720 !important;
    font-size: 22px !important;
    font-weight: 800;
    text-align: center;
    box-shadow: none !important;
}

.sm-front-scope .sm-buy-box__submit {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 56px !important;
    margin-top: auto !important;
    border: 0 !important;
    border-radius: 16px !important;
    padding: 0 18px !important;
    background: linear-gradient(135deg, #0f766e, #0f4c81) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: 0 16px 32px rgba(15, 118, 110, 0.22) !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: opacity .16s ease !important;
}

.sm-front-scope .sm-buy-box__submit:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.sm-front-scope .sm-product-description-card__header {
    margin-bottom: 18px;
}

.sm-front-scope .sm-product-description-card__header h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
    color: #0f1720;
}

.sm-front-scope .sm-product-description__content {
    color: #37424a;
    font-size: 15px;
    line-height: 1.75;
}

.sm-front-scope .sm-product-description__content > :last-child {
    margin-bottom: 0;
}

.sm-front-scope .sm-product-related-card {
    display: grid;
    gap: 18px;
}

.sm-front-scope .sm-product-related-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sm-front-scope .sm-product-related-card__header h2 {
    margin: 0;
    font-size: 22px;
}

.sm-front-scope .sm-product-related-card__nav {
    display: flex;
    gap: 10px;
}

.sm-front-scope .sm-related-nav {
    appearance: none;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e1df;
    border-radius: 12px;
    background: #fff;
    color: #17262d;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.sm-front-scope .sm-related-nav:hover {
    background: #f5f8f7;
    border-color: #c9d7d1;
}

.sm-front-scope .sm-related-nav svg {
    width: 18px;
    height: 18px;
    display: block;
}

.sm-front-scope .sm-related-slider {
    overflow: hidden;
}

.sm-front-scope .sm-related-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 5);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 6px;
}

.sm-front-scope .sm-related-slider__track::-webkit-scrollbar {
    display: none;
}

.sm-front-scope .sm-related-slider__item {
    min-width: 0;
    scroll-snap-align: start;
}

.sm-front-scope .sm-related-slider__item .sm-catalog-card {
    height: 100%;
}

.sm-front-scope .sm-product-gallery__thumb:hover,
.sm-front-scope .sm-variation-button:hover,
.sm-front-scope .sm-buy-box__submit:hover {
    transform: none !important;
    filter: none !important;
}

@media (max-width: 980px) {
    .sm-front-scope .sm-product-page__main {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sm-front-scope .sm-product-summary-panel,
    .sm-front-scope .sm-product-description-card {
        padding: 22px;
    }

    .sm-front-scope .sm-product-gallery-grid {
        grid-template-columns: 1fr;
    }

    .sm-front-scope .sm-product-gallery__thumbs--vertical {
        grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
        order: 2;
    }

    .sm-front-scope .sm-product-gallery__stage {
        min-height: 420px;
    }

    .sm-front-scope .sm-related-slider__track {
        grid-auto-columns: calc((100% - 36px) / 3);
    }
}

/* Final checkout spacing cleanup */
.sm-front-scope .sm-checkout-main .sm-front-card {
    padding: 28px !important;
}

.sm-front-scope .sm-checkout-main .sm-section-header {
    margin-bottom: 24px !important;
    gap: 18px !important;
}

.sm-front-scope .sm-checkout-main .sm-section-header h2 {
    margin: 0 !important;
    line-height: 1.06 !important;
}

.sm-front-scope .sm-checkout-main .sm-form-grid {
    gap: 18px !important;
}

.sm-front-scope .sm-checkout-main .sm-form-grid label,
.sm-front-scope .sm-checkout-main .sm-full-width,
.sm-front-scope .sm-checkout-main .sm-inline-form__field {
    gap: 8px !important;
}

.sm-front-scope .sm-checkout-main .sm-form-grid input,
.sm-front-scope .sm-checkout-main .sm-form-grid select,
.sm-front-scope .sm-checkout-main .sm-full-width textarea {
    min-height: 50px !important;
}

.sm-front-scope .sm-checkout-main .sm-full-width textarea {
    min-height: 120px !important;
}

.sm-front-scope .sm-checkout-main .sm-section-block {
    margin-top: 30px !important;
}

.sm-front-scope .sm-checkout-main .sm-subtitle-row {
    margin-bottom: 14px !important;
    gap: 14px !important;
}

.sm-front-scope .sm-checkout-main .sm-choice-row {
    gap: 14px !important;
    margin: 14px 0 18px !important;
}

.sm-front-scope .sm-checkout-main .sm-choice {
    min-height: 52px !important;
    padding: 14px 16px !important;
}

.sm-front-scope .sm-checkout-main .sm-pickup-panel,
.sm-front-scope .sm-checkout-main .sm-delivery-mode,
.sm-front-scope .sm-checkout-main .sm-shipping-address-fields,
.sm-front-scope .sm-checkout-main .sm-payment-panel,
.sm-front-scope .sm-checkout-main .sm-coupon-box,
.sm-front-scope .sm-checkout-main [data-sm-order-review] {
    margin-top: 18px !important;
}

.sm-front-scope .sm-checkout-main .sm-check-row {
    margin-top: 18px !important;
}

.sm-front-scope .sm-checkout-main .sm-invoice-fields {
    margin-top: 16px !important;
}

.sm-front-scope .sm-checkout-sidebar .sm-front-card {
    padding: 24px !important;
}

.sm-front-scope .sm-checkout-sidebar .sm-coupon-box {
    margin-top: 18px !important;
    padding: 16px !important;
}

.sm-front-scope .sm-checkout-sidebar .sm-inline-form {
    gap: 12px !important;
}

.sm-front-scope .sm-checkout-sidebar .sm-primary-button--full {
    margin-top: 18px !important;
}

@media (max-width: 980px) {
    .sm-front-scope .sm-checkout-main .sm-front-card,
    .sm-front-scope .sm-checkout-sidebar .sm-front-card {
        padding: 22px !important;
    }

    .sm-front-scope .sm-checkout-main .sm-section-header {
        margin-bottom: 20px !important;
    }

    .sm-front-scope .sm-checkout-main .sm-form-grid {
        gap: 16px !important;
    }

    .sm-front-scope .sm-checkout-main .sm-section-block {
        margin-top: 24px !important;
    }
}

@media (max-width: 640px) {
    .sm-front-shell--product {
        padding-inline: 10px;
    }

    .sm-front-scope .sm-product-gallery-panel,
    .sm-front-scope .sm-product-summary-panel,
    .sm-front-scope .sm-product-description-card {
        border-radius: 22px;
    }

    .sm-front-scope .sm-buy-box {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .sm-front-scope .sm-product-related-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .sm-front-scope .sm-related-slider__track {
        grid-auto-columns: 100%;
        gap: 14px;
    }
}

/* Shared frontend isolation so Elementor/theme widgets do not override cart, checkout and account UI. */
.sm-front-scope .sm-front-card,
.sm-front-scope .sm-coupon-box,
.sm-front-scope .sm-cart-item,
.sm-front-scope .sm-account-order,
.sm-front-scope .sm-summary-tile,
.sm-front-scope .sm-payment-panel,
.sm-front-scope .sm-applied-coupon-card {
    font-family: "Segoe UI", Arial, sans-serif;
}

.sm-front-scope .sm-front-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,249,.98));
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.sm-front-scope .sm-front-card :where(h1, h2, h3, h4) {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #17262d;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.sm-front-scope .sm-front-card :where(p, span, label, small, strong, a, button, input, select, textarea) {
    font-family: "Segoe UI", Arial, sans-serif;
}

.sm-front-scope .sm-front-card :where(input, select, textarea) {
    appearance: none;
    border: 1px solid #d8e1df;
    border-radius: 14px;
    background: #fff;
    color: #14252d;
    padding: 11px 13px;
    min-height: 44px;
    box-shadow: none;
}

.sm-front-scope .sm-front-card textarea {
    min-height: 100px;
    resize: vertical;
}

.sm-front-scope .sm-primary-button,
.sm-front-scope .sm-secondary-link,
.sm-front-scope .sm-choice,
.sm-front-scope button.sm-primary-button,
.sm-front-scope a.sm-secondary-link {
    appearance: none;
    text-decoration: none;
    border: 0;
    box-shadow: none;
}

.sm-front-scope .sm-primary-button {
    background: linear-gradient(135deg, #0f766e, #0f4c81);
    color: #fff;
}

.sm-front-scope .sm-secondary-link {
    background: #e7ecef;
    color: #14252d;
}

.sm-front-scope .sm-notice.success {
    background: #dcfce7;
    color: #166534;
}

.sm-front-scope .sm-notice.error {
    background: #fee2e2;
    color: #991b1b;
}

.sm-front-scope .sm-cart-item,
.sm-front-scope .sm-account-order,
.sm-front-scope .sm-account-detail,
.sm-front-scope .sm-coupon-box,
.sm-front-scope .sm-payment-panel,
.sm-front-scope .sm-summary-tile {
    background: #f8faf9;
    border: 1px solid #e2e8e5;
}

.sm-front-scope .sm-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #0f4c81;
    font-size: 12px;
    font-weight: 700;
}

.sm-front-scope .sm-inline-form {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}

.sm-front-scope .sm-order-totals,
.sm-front-scope .sm-mini-cart-list {
    color: #17262d;
}

.sm-front-scope .sm-mini-cart-controls a {
    color: #0f4c81;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 780px) {
    .sm-front-scope .sm-inline-form,
    .sm-front-scope .sm-cart-header,
    .sm-front-scope .sm-section-header,
    .sm-front-scope .sm-cart-footer,
    .sm-front-scope .sm-account-order {
        flex-direction: column;
        align-items: stretch;
    }

    .sm-front-scope .sm-primary-button,
    .sm-front-scope .sm-secondary-link,
    .sm-front-scope .sm-choice {
        width: 100%;
    }
}

.sm-front-shell--catalog {
    max-width: 1320px;
}

.sm-front-scope .sm-catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.sm-front-scope .sm-catalog-filters-toggle {
    display: none;
}

.sm-front-scope .sm-catalog-sidebar {
    position: sticky;
    top: 20px;
    min-width: 0;
}

.sm-front-scope .sm-catalog-sidebar__block + .sm-catalog-sidebar__block {
    margin-top: 18px;
}

.sm-front-scope .sm-catalog-sidebar__block h3 {
    font-size: 18px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.sm-front-scope .sm-filter-list,
.sm-front-scope .sm-filter-checks {
    display: grid;
    gap: 10px;
}

.sm-front-scope .sm-filter-list--categories {
    max-height: 280px;
    overflow: auto;
    padding-right: 6px;
}

.sm-front-scope .sm-filter-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #f6f8f7;
    color: #14252d;
    text-decoration: none;
    border: 1px solid #dde6e1;
    font-weight: 700;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.sm-front-scope .sm-filter-chip.is-active {
    background: linear-gradient(135deg, #0f766e, #0f4c81);
    color: #fff;
    border-color: transparent;
}

.sm-front-scope .sm-filter-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8faf9;
    border: 1px solid #e2e8e5;
}

.sm-front-scope .sm-filter-check input {
    min-height: 18px;
    width: 18px;
    margin: 0;
}

.sm-front-scope .sm-filter-check small {
    color: #607077;
    font-size: 12px;
}

.sm-front-scope .sm-catalog-actions {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.sm-front-scope .sm-catalog-actions > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.sm-front-scope .sm-catalog-main {
    display: grid;
    gap: 18px;
}

.sm-front-scope .sm-catalog-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
}

.sm-front-scope .sm-catalog-toolbar__intro {
    display: grid;
    gap: 8px;
}

.sm-front-scope .sm-catalog-toolbar__intro h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.05;
}

.sm-front-scope .sm-catalog-toolbar__meta {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.sm-front-scope .sm-catalog-count {
    font-weight: 800;
    color: #607077;
}

.sm-front-scope .sm-catalog-toolbar__sort label {
    display: grid;
    gap: 6px;
    min-width: 220px;
}

.sm-front-scope .sm-catalog-toolbar__sort span {
    font-size: 12px;
    font-weight: 700;
    color: #607077;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sm-front-scope .sm-catalog-active-filters {
    display: grid;
    gap: 14px;
}

.sm-front-scope .sm-catalog-active-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.sm-front-scope .sm-catalog-active-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sm-front-scope .sm-catalog-active-filter {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6f4;
    border: 1px solid #dbe7e3;
    color: #1a2a31;
    font-size: 13px;
    font-weight: 700;
}

.sm-front-scope .sm-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.sm-front-scope .sm-catalog-card {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sm-front-scope .sm-catalog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.sm-front-scope .sm-catalog-card__image {
    display: block;
    border-radius: 18px;
    background: #f7faf8;
    border: 1px solid #e2e8e5;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.sm-front-scope .sm-catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-front-scope .sm-catalog-card__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    height: 100%;
    min-height: 100%;
}

.sm-front-scope .sm-catalog-card__body h2 {
    font-size: 16px;
    margin: 0;
    line-height: 1.3;
}

.sm-front-scope .sm-catalog-card__body h2 a {
    text-decoration: none;
    color: #14252d;
}

.sm-front-scope .sm-catalog-card__meta {
    color: #607077;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sm-front-scope .sm-catalog-card__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sm-front-scope .sm-catalog-card__price span {
    color: #7a8790;
    text-decoration: line-through;
    font-size: 14px;
}

.sm-front-scope .sm-catalog-card__price strong {
    font-size: 18px;
    color: #0f766e;
}

.sm-front-scope .sm-catalog-filters > .sm-catalog-sidebar__block > input[type="search"] {
    display: block;
}

.sm-front-scope .sm-catalog-category-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 22px;
}

.sm-front-scope .sm-catalog-category-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f9fbfa, #eef4f1);
    border: 1px solid #dce6e0;
    text-decoration: none;
    color: #12222b;
}

.sm-front-scope .sm-catalog-category-card span {
    font-size: 13px;
    color: #62727a;
}

.sm-front-scope .sm-catalog-card__badges {
    position: absolute;
    inset: 14px auto auto 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.sm-front-scope .sm-catalog-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f4c81;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(15, 76, 129, 0.12);
}

.sm-front-scope .sm-catalog-card__stock {
    font-size: 13px;
    font-weight: 700;
    color: #0f766e;
}

.sm-front-scope .sm-catalog-card__stock.is-out {
    color: #b91c1c;
}

.sm-front-scope .sm-catalog-card__stock.is-backorder {
    color: #9a6700;
}

.sm-front-scope .sm-catalog-card__footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: flex-end;
}

.sm-front-scope .sm-price-range {
    display: grid;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.sm-front-scope .sm-price-range__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.sm-front-scope .sm-price-range__fields label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.sm-front-scope .sm-price-range__fields span {
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #607077;
}

.sm-front-scope .sm-price-range__fields input[type="number"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 52px;
    border: 1px solid #d9e4df;
    border-radius: 12px;
    background: #ffffff;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #14252d;
    box-shadow: none;
    box-sizing: border-box;
}

.sm-front-scope .sm-price-range__fields input[type="number"]:focus {
    border-color: #0f4c81;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
    outline: none;
}

@media (max-width: 980px) {
    .sm-front-scope .sm-price-range__fields {
        grid-template-columns: 1fr;
    }
}

.sm-front-scope .sm-catalog-pagination ul {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.sm-front-scope .sm-catalog-pagination a,
.sm-front-scope .sm-catalog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    background: #f6f8f7;
    border: 1px solid #dde6e1;
    color: #14252d;
    text-decoration: none;
    font-weight: 700;
}

.sm-front-scope .sm-catalog-pagination .current {
    background: linear-gradient(135deg, #0f766e, #0f4c81);
    color: #fff;
    border-color: transparent;
}

@media (max-width: 980px) {
    .sm-front-scope .sm-catalog-layout {
        grid-template-columns: 1fr;
    }

    .sm-front-scope .sm-catalog-sidebar {
        position: static;
        display: none;
    }

    .sm-front-scope .sm-catalog-sidebar.is-open {
        display: block;
    }

    .sm-front-scope .sm-catalog-filters-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 0 18px;
        border: 1px solid #dde6e1;
        border-radius: 10px;
        background: #fff;
        color: #14252d;
        font-weight: 700;
    }

    .sm-front-scope .sm-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-front-scope .sm-catalog-category-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .sm-front-scope .sm-catalog-grid {
        grid-template-columns: 1fr;
    }

    .sm-front-scope .sm-catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .sm-front-scope .sm-catalog-toolbar__meta {
        justify-items: stretch;
    }

    .sm-front-scope .sm-catalog-category-strip,
    .sm-front-scope .sm-catalog-price-grid {
        grid-template-columns: 1fr;
    }
}

.sm-front-scope .sm-choice-meta {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0.82;
}

.sm-front-scope .sm-pickup-panel {
    display: none;
    margin: 16px 0;
    padding: 16px 18px;
    border: 1px solid #d8dee8;
    border-radius: 16px;
    background: #f8fafc;
    color: #1f2937;
}

.sm-front-scope .sm-pickup-panel.is-visible {
    display: block;
}

.sm-front-scope .sm-shipping-address-fields.is-hidden {
    display: none;
}

.sm-front-scope .sm-delivery-mode.is-hidden {
    display: none;
}

/* Minimal frontend refresh */
.sm-front-scope {
    --sm-min-border: #d9dddf;
    --sm-min-text: #121619;
    --sm-min-muted: #667078;
    --sm-min-surface: #ffffff;
    --sm-min-surface-alt: #f6f7f7;
    --sm-min-accent: linear-gradient(135deg, #0f766e 0%, #0f4c81 100%);
    --sm-min-accent-solid: #0f4c81;
    --sm-min-accent-2: #0f766e;
    --sm-min-gold: linear-gradient(135deg, #f1bf2b 0%, #f7d44d 100%);
    --sm-min-gold-solid: #f1bf2b;
}

.sm-front-scope,
.sm-front-scope :where(h1, h2, h3, h4, h5, h6, p, span, a, button, input, select, textarea, label, strong, small, li) {
    font-family: "Sofia Sans", "Segoe UI", Arial, sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
}

.sm-front-scope .sm-front-shell,
.sm-front-scope .sm-front-card,
.sm-front-scope .sm-cart-item,
.sm-front-scope .sm-account-order,
.sm-front-scope .sm-account-detail,
.sm-front-scope .sm-coupon-box,
.sm-front-scope .sm-payment-panel,
.sm-front-scope .sm-summary-tile,
.sm-front-scope .sm-product-gallery-panel,
.sm-front-scope .sm-product-summary-panel,
.sm-front-scope .sm-product-description-card,
.sm-front-scope .sm-catalog-card,
.sm-front-scope .sm-applied-coupon-card {
    border-radius: 8px !important;
    box-shadow: none !important;
    background: var(--sm-min-surface) !important;
    border: 1px solid var(--sm-min-border) !important;
}

.sm-front-scope .sm-front-shell {
    color: var(--sm-min-text);
}

.sm-front-scope .sm-front-card,
.sm-front-scope .sm-product-gallery-panel,
.sm-front-scope .sm-product-summary-panel,
.sm-front-scope .sm-product-description-card {
    padding: 20px !important;
}

.sm-front-scope .sm-eyebrow,
.sm-front-scope .sm-product-shipping-note,
.sm-front-scope .sm-choice-meta {
    display: none !important;
}

.sm-front-scope .sm-section-header,
.sm-front-scope .sm-cart-header,
.sm-front-scope .sm-cart-footer,
.sm-front-scope .sm-subtitle-row,
.sm-front-scope .sm-action-row,
.sm-front-scope .sm-inline-form,
.sm-front-scope .sm-account-order,
.sm-front-scope .sm-mini-cart-item,
.sm-front-scope .sm-catalog-toolbar {
    gap: 12px !important;
}

.sm-front-scope .sm-front-card :where(h1, h2, h3, h4),
.sm-front-scope .sm-product-summary__title,
.sm-front-scope .sm-catalog-card__body h2 {
    color: var(--sm-min-text) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
}

.sm-front-scope .sm-product-summary__title {
    font-size: clamp(28px, 2.8vw, 42px) !important;
    line-height: 1.05 !important;
    margin-bottom: 8px !important;
}

.sm-front-scope .sm-product-summary__sku,
.sm-front-scope .sm-front-card p,
.sm-front-scope .sm-front-card small,
.sm-front-scope .sm-cart-item__content span,
.sm-front-scope .sm-order-totals,
.sm-front-scope .sm-mini-cart-row span {
    color: var(--sm-min-muted) !important;
}

.sm-front-scope .sm-product-page,
.sm-front-scope .sm-checkout-layout,
.sm-front-scope .sm-account-layout,
.sm-front-scope .sm-catalog-layout {
    gap: 20px !important;
}

.sm-front-scope .sm-product-page__main {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr) !important;
    gap: 20px !important;
}

.sm-front-scope .sm-product-gallery-grid {
    gap: 14px !important;
}

.sm-front-scope .sm-product-gallery__stage {
    min-height: 520px !important;
    padding: 14px !important;
    border-radius: 8px !important;
    position: relative;
    background: var(--sm-min-surface-alt) !important;
}

.sm-front-scope .sm-product-gallery__main-image {
    max-height: 500px !important;
}

.sm-front-scope .sm-product-badges--overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    margin: 0 !important;
}

.sm-front-scope .sm-product-badge {
    min-height: 28px !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.sm-front-scope .sm-product-badge--primary {
    background: var(--sm-min-accent) !important;
    color: #fff !important;
}

.sm-front-scope .sm-product-badge--accent {
    background: #f3f4f6 !important;
    color: #111827 !important;
    border: 1px solid var(--sm-min-border);
}

.sm-front-scope .sm-product-summary__divider {
    margin: 14px 0 !important;
    background: var(--sm-min-border) !important;
}

.sm-front-scope .sm-product-price-card {
    gap: 4px !important;
}

.sm-front-scope .sm-product-price-old {
    font-size: 18px !important;
    color: #7b848b !important;
}

.sm-front-scope .sm-product-price-new {
    font-size: clamp(32px, 3.5vw, 48px) !important;
    color: var(--sm-min-accent-solid) !important;
}

.sm-front-scope .sm-product-meta-line {
    margin: 16px 0 18px !important;
    gap: 8px !important;
}

.sm-front-scope .sm-product-summary__tools {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    flex-direction: row !important;
}

.sm-front-scope .sm-product-summary__tools .sm-icon-action {
    width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(18, 22, 25, 0.12) !important;
    border-radius: 8px !important;
    background: var(--sm-surface-alt, #f6f7f7) !important;
    color: var(--sm-muted, #667078) !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    box-shadow: none !important;
}

.sm-front-scope .sm-product-summary__tools .sm-icon-action:hover,
.sm-front-scope .sm-product-summary__tools .sm-icon-action:focus {
    border-color: var(--sm-primary, #0f4c81) !important;
    background: #fff !important;
    color: var(--sm-primary, #0f4c81) !important;
}

.sm-front-scope .sm-product-summary__tools .sm-icon-action.is-active {
    border-color: var(--sm-primary, #0f4c81) !important;
    background: color-mix(in srgb, var(--sm-primary, #0f4c81) 10%, #fff) !important;
    color: var(--sm-primary, #0f4c81) !important;
}

@media (max-width: 480px) {
    .sm-front-scope .sm-product-summary__tools {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .sm-front-scope .sm-product-summary__tools .sm-icon-action {
        width: 100% !important;
        min-height: 44px !important;
    }
}

.sm-front-scope .sm-product-meta-pill,
.sm-front-scope .sm-status-pill {
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    background: var(--sm-min-surface-alt) !important;
    border: 1px solid var(--sm-min-border) !important;
    color: var(--sm-min-text) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.sm-front-scope .sm-product-options-label,
.sm-front-scope .sm-inline-form__field span,
.sm-front-scope .sm-form-grid label span,
.sm-front-scope .sm-full-width span {
    color: var(--sm-min-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

.sm-front-scope .sm-variation-buttons {
    gap: 8px !important;
}

.sm-front-scope .sm-variation-button,
.sm-front-scope .sm-choice,
.sm-front-scope .sm-filter-chip,
.sm-front-scope .sm-catalog-category-card {
    border-radius: 4px !important;
    background: #fff !important;
    border: 1px solid var(--sm-min-border) !important;
    color: var(--sm-min-text) !important;
    box-shadow: none !important;
}

.sm-front-scope .sm-variation-button.is-active,
.sm-front-scope .sm-choice.is-active,
.sm-front-scope .sm-filter-chip.is-active,
.sm-front-scope .sm-catalog-category-card.is-active {
    background: var(--sm-min-accent) !important;
    color: #fff !important;
    border-color: var(--sm-min-accent-solid) !important;
}

.sm-front-scope .sm-choice {
    min-height: 44px !important;
    padding: 10px 12px !important;
}

.sm-front-scope .sm-buy-box {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 10px !important;
    width: min(100%, 380px) !important;
    padding: 10px !important;
    background: var(--sm-min-gold) !important;
    border: 0 !important;
    border-radius: 8px !important;
}

.sm-front-scope .sm-buy-box__qty input,
.sm-front-scope .sm-front-card :where(input, select, textarea),
.sm-front-scope .sm-catalog-price-grid input,
.sm-front-scope .sm-catalog-toolbar__sort select {
    border-radius: 4px !important;
    border: 1px solid var(--sm-min-border) !important;
    background: #fff !important;
    color: var(--sm-min-text) !important;
    box-shadow: none !important;
}

.sm-front-scope .sm-buy-box__qty input {
    min-height: 48px !important;
    font-size: 18px !important;
    border: 0 !important;
}

.sm-front-scope .sm-primary-button,
.sm-front-scope .sm-secondary-link,
.sm-front-scope .sm-buy-box__submit,
.sm-front-scope .sm-cart-form button,
.sm-front-scope .sm-catalog-card__footer a {
    border-radius: 4px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background .14s ease, color .14s ease, border-color .14s ease !important;
}

.sm-front-scope .sm-primary-button,
.sm-front-scope .sm-buy-box__submit {
    background: var(--sm-min-accent) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
}

.sm-front-scope .sm-secondary-link {
    background: #fff !important;
    color: var(--sm-min-accent-solid) !important;
    border: 1px solid var(--sm-min-border) !important;
}

.sm-front-scope .sm-text-button {
    color: var(--sm-min-accent-solid) !important;
}

.sm-front-scope .sm-cart-item,
.sm-front-scope .sm-account-order,
.sm-front-scope .sm-catalog-card {
    padding: 16px !important;
}

.sm-front-scope .sm-catalog-sidebar__block {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.sm-front-scope .sm-coupon-box,
.sm-front-scope .sm-payment-panel,
.sm-front-scope .sm-summary-tile {
    padding: 14px !important;
}

.sm-front-scope .sm-catalog-card__image,
.sm-front-scope .sm-cart-item__media {
    border-radius: 4px !important;
    background: var(--sm-min-surface-alt) !important;
}

.sm-front-scope .sm-buy-box__submit {
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.55) !important;
    min-height: 48px !important;
}

.sm-front-scope .sm-buy-box__qty {
    gap: 6px !important;
}

.sm-front-scope .sm-buy-box__qty span {
    color: rgba(17, 24, 39, 0.58) !important;
}

.sm-front-scope .sm-buy-box__submit,
.sm-front-scope .sm-primary-button,
.sm-front-scope .sm-variation-button.is-active,
.sm-front-scope .sm-choice.is-active,
.sm-front-scope .sm-filter-chip.is-active,
.sm-front-scope .sm-catalog-category-card.is-active {
    background-image: var(--sm-min-accent) !important;
}

.sm-front-scope .sm-catalog-card:hover,
.sm-front-scope .sm-product-gallery__thumb:hover,
.sm-front-scope .sm-variation-button:hover,
.sm-front-scope .sm-primary-button:hover,
.sm-front-scope .sm-secondary-link:hover,
.sm-front-scope .sm-buy-box__submit:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.sm-front-scope .sm-checkout-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr) !important;
}

.sm-front-scope .sm-thankyou-grid,
.sm-front-scope .sm-account-summary {
    gap: 12px !important;
}

.sm-front-scope .sm-order-review,
.sm-front-scope [data-sm-order-review] {
    border-radius: 4px !important;
}

.sm-front-scope .elementor-widget-container,
.sm-front-scope .elementor-button,
.sm-front-scope .elementor-heading-title,
.sm-front-scope .elementor-icon-list-item,
.sm-front-scope .elementor *,
.sm-front-scope [class*="elementor-"] {
    font-family: "Segoe UI", Arial, sans-serif !important;
    box-shadow: none !important;
}

@media (max-width: 980px) {
    .sm-front-scope .sm-product-page__main,
    .sm-front-scope .sm-checkout-layout,
    .sm-front-scope .sm-account-layout,
    .sm-front-scope .sm-catalog-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .sm-front-scope .sm-buy-box {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
}

/* Frontend builder variable overrides */
.sm-front-scope,
.sm-front-scope :where(h1, h2, h3, h4, h5, h6, p, span, a, button, input, select, textarea, label, strong, small, li) {
    font-family: var(--sm-builder-font, "Sofia Sans", "Segoe UI", Arial, sans-serif) !important;
}

.sm-front-scope :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--sm-builder-heading-font, var(--sm-builder-font, "Sofia Sans", "Segoe UI", Arial, sans-serif)) !important;
}

.sm-front-scope .elementor-widget-container,
.sm-front-scope .elementor-button,
.sm-front-scope .elementor-heading-title,
.sm-front-scope .elementor-icon-list-item,
.sm-front-scope .elementor *,
.sm-front-scope [class*="elementor-"] {
    font-family: var(--sm-builder-font, "Sofia Sans", "Segoe UI", Arial, sans-serif) !important;
}

.sm-front-scope .sm-front-shell,
.sm-front-scope .sm-front-card,
.sm-front-scope .sm-cart-item,
.sm-front-scope .sm-account-order,
.sm-front-scope .sm-account-detail,
.sm-front-scope .sm-coupon-box,
.sm-front-scope .sm-payment-panel,
.sm-front-scope .sm-summary-tile,
.sm-front-scope .sm-product-gallery-panel,
.sm-front-scope .sm-product-summary-panel,
.sm-front-scope .sm-product-description-card,
.sm-front-scope .sm-catalog-card,
.sm-front-scope .sm-applied-coupon-card,
.sm-front-scope .sm-catalog-sidebar,
.sm-front-scope .sm-catalog-category-card {
    border-radius: var(--sm-builder-card-radius, 8px) !important;
    box-shadow: var(--sm-builder-shadow, none) !important;
}

.sm-front-scope :where(input, select, textarea),
.sm-front-scope .sm-buy-box__qty input,
.sm-front-scope .sm-variation-button,
.sm-front-scope .sm-choice,
.sm-front-scope .sm-filter-chip,
.sm-front-scope .sm-catalog-card__image,
.sm-front-scope .sm-product-gallery__stage,
.sm-front-scope .sm-product-gallery__thumb,
.sm-front-scope .sm-status-pill,
.sm-front-scope .sm-product-meta-pill {
    border-radius: var(--sm-builder-input-radius, 4px) !important;
}

.sm-front-scope .sm-primary-button,
.sm-front-scope .sm-secondary-link,
.sm-front-scope .sm-buy-box__submit,
.sm-front-scope .sm-cart-form button,
.sm-front-scope .sm-catalog-card__footer a {
    border-radius: var(--sm-builder-button-radius, 4px) !important;
}

.sm-front-scope .sm-catalog-card:hover,
.sm-front-scope .sm-product-gallery__thumb:hover,
.sm-front-scope .sm-variation-button:hover,
.sm-front-scope .sm-primary-button:hover,
.sm-front-scope .sm-secondary-link:hover,
.sm-front-scope .sm-buy-box__submit:hover {
    transform: translateY(calc(var(--sm-builder-hover-lift, 0px) * -1)) !important;
}

.sm-front-scope .sm-builder-search {
    padding: 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.sm-front-scope .sm-builder-search--framed {
    padding: 14px 16px;
}

.sm-front-scope .sm-builder-search--plain .sm-inline-form {
    margin: 0;
}

.sm-front-scope .sm-builder-search .sm-inline-form__field {
    flex: 1 1 260px;
    max-width: 100%;
}

.sm-front-scope .sm-builder-search .sm-inline-form__field > span.sm-builder-search__label {
    margin-bottom: 8px;
}

.sm-front-scope .sm-builder-search input[type="search"] {
    width: 100%;
}

.sm-front-scope .sm-builder-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.sm-front-scope .sm-builder-search__submit.is-icon-only {
    min-width: 48px;
    width: 48px;
    padding-left: 0;
    padding-right: 0;
}

.sm-front-scope .sm-builder-search__button-icon {
    display: inline-flex;
    line-height: 1;
}

.sm-front-scope .sm-builder-search__button-icon i,
.sm-front-scope .sm-builder-search__button-icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

.sm-front-scope .sm-catalog-sidebar--plain {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.sm-front-scope .sm-live-search-results {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% - 8px);
    z-index: 40;
    display: grid;
    gap: 0;
    border: 1px solid var(--sm-min-border);
    background: var(--sm-min-surface);
    box-shadow: var(--sm-builder-shadow, none);
}

.sm-front-scope .sm-live-search-results.is-hidden {
    display: none;
}

.sm-front-scope .sm-live-search-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--sm-min-text);
    border-top: 1px solid var(--sm-min-border);
    background: var(--sm-min-surface);
}

.sm-front-scope .sm-live-search-item:first-child {
    border-top: 0;
}

.sm-front-scope .sm-live-search-item__image {
    width: 56px;
    height: 56px;
    border: 1px solid var(--sm-min-border);
    background: var(--sm-min-surface-alt);
    overflow: hidden;
}

.sm-front-scope .sm-live-search-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sm-front-scope .sm-live-search-item__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.sm-front-scope .sm-live-search-item__content strong {
    font-size: 14px;
    line-height: 1.3;
    color: var(--sm-min-text);
}

.sm-front-scope .sm-live-search-item__content span {
    font-size: 13px;
    font-weight: 700;
    color: var(--sm-min-accent-solid);
}

.sm-front-scope .sm-live-search-empty {
    padding: 12px;
    color: var(--sm-min-muted);
}

.sm-fly-cart-root {
    position: relative;
    z-index: 60;
}

.sm-fly-cart-root.is-fixed {
    position: fixed;
}

.sm-fly-cart-root.is-bottom_right { right: 20px; bottom: 20px; }
.sm-fly-cart-root.is-bottom_left { left: 20px; bottom: 20px; }
.sm-fly-cart-root.is-top_right { right: 20px; top: 20px; }
.sm-fly-cart-root.is-top_left { left: 20px; top: 20px; }

.sm-fly-cart-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    border: 1px solid var(--sm-min-border);
    background: var(--sm-min-surface);
    color: var(--sm-min-text);
    border-radius: var(--sm-builder-button-radius);
    box-shadow: var(--sm-builder-shadow);
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}

.sm-fly-cart-toggle__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    color: var(--sm-min-accent-solid);
}

.sm-fly-cart-toggle__icon svg {
    width: 22px;
    height: 22px;
}

.sm-fly-cart-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sm-fly-cart-toggle__count {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--sm-min-accent-solid);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.sm-fly-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 18, 24, 0.28);
}

.sm-fly-cart-panel {
    width: min(var(--sm-fly-cart-width, 440px), calc(100vw - 24px));
    background: var(--sm-min-surface);
    border: 1px solid var(--sm-min-border);
    box-shadow: var(--sm-builder-shadow);
}

.sm-fly-cart-root.is-drawer .sm-fly-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    transform: translateX(100%);
    transition: transform .24s ease;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.sm-fly-cart-root.is-drawer.is-top_left .sm-fly-cart-panel,
.sm-fly-cart-root.is-drawer.is-bottom_left .sm-fly-cart-panel {
    left: 0;
    right: auto;
    transform: translateX(-100%);
    border-left: 0;
    border-right: 1px solid var(--sm-min-border);
}

.sm-fly-cart-root.is-drawer.is-open .sm-fly-cart-panel {
    transform: translateX(0);
}

.sm-fly-cart-root.is-dropdown .sm-fly-cart-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    border-radius: var(--sm-builder-card-radius);
    padding: 0;
    display: none;
}

.sm-fly-cart-root.is-dropdown.is-top_left .sm-fly-cart-panel,
.sm-fly-cart-root.is-dropdown.is-bottom_left .sm-fly-cart-panel {
    left: 0;
    right: auto;
}

.sm-fly-cart-root.is-dropdown.is-open .sm-fly-cart-panel {
    display: grid;
}

.sm-fly-cart-panel__header,
.sm-fly-cart-panel__footer {
    padding: 14px;
    border-bottom: 1px solid var(--sm-min-border);
}

.sm-fly-cart-panel__footer {
    border-bottom: 0;
    border-top: 1px solid var(--sm-min-border);
    display: flex;
    gap: 10px;
}

.sm-fly-cart-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.sm-fly-cart-panel__header h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

.sm-fly-cart-panel__close {
    width: 44px;
    height: 44px;
    border: 1px solid var(--sm-min-border);
    background: var(--sm-min-surface);
    color: var(--sm-min-text);
    border-radius: var(--sm-builder-button-radius);
    box-shadow: none;
    background-image: none;
    text-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    font-weight: 400;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sm-fly-cart-panel__body {
    padding: 14px;
    overflow: auto;
}

.sm-fly-cart-items {
    display: grid;
    gap: 12px;
}

.sm-fly-cart-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--sm-min-border);
    background: var(--sm-min-surface-alt);
    border-radius: var(--sm-builder-card-radius);
}

.sm-fly-cart-item__media,
.sm-fly-cart-item__media img,
.sm-fly-cart-item__media-placeholder {
    width: 72px;
    height: 72px;
    border-radius: calc(var(--sm-builder-card-radius) - 2px);
}

.sm-fly-cart-item__media {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sm-min-border);
}

.sm-fly-cart-item__media img {
    object-fit: cover;
    display: block;
}

.sm-fly-cart-item__media-placeholder {
    background: var(--sm-min-surface);
}

.sm-fly-cart-item__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.sm-fly-cart-item__content strong {
    font-size: 14px;
    line-height: 1.45;
}

.sm-fly-cart-item__content span,
.sm-fly-cart-item__meta span {
    color: var(--sm-min-muted);
    font-size: 12px;
    line-height: 1.4;
}

.sm-fly-cart-item__meta {
    color: var(--sm-min-accent-2);
    font-weight: 700;
}

.sm-fly-cart-item__remove {
    width: 42px;
    height: 42px;
    border: 1px solid var(--sm-min-border);
    background: #fff;
    color: var(--sm-min-text);
    border-radius: 999px;
    box-shadow: none;
    background-image: none;
    text-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    font-weight: 400;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sm-fly-cart-panel__close svg,
.sm-fly-cart-item__remove svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    pointer-events: none;
}

.sm-fly-cart-toggle,
.sm-fly-cart-panel__close,
.sm-fly-cart-item__remove,
.sm-fly-cart-root [class*="elementor-"] {
    transform: none !important;
}

.sm-fly-cart-root .elementor-button,
.sm-fly-cart-root .elementor-button:hover,
.sm-fly-cart-root .elementor-button:focus,
.sm-fly-cart-root .sm-fly-cart-panel__close,
.sm-fly-cart-root .sm-fly-cart-item__remove,
.sm-fly-cart-root .sm-fly-cart-toggle {
    box-shadow: none !important;
    background-image: none !important;
    text-shadow: none !important;
}

.sm-fly-cart-total {
    margin-top: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--sm-min-border);
    color: var(--sm-min-text);
}

.sm-fly-cart-total strong {
    color: var(--sm-min-accent-2);
    font-size: 18px;
}

.sm-fly-cart-empty {
    padding: 12px 0;
    color: var(--sm-min-muted);
}

.sm-front-scope.sm-elementor-products .sm-catalog-grid {
    grid-template-columns: repeat(var(--sm-products-columns, 3), minmax(0, 1fr));
}

.sm-elementor-slider-wrap {
    position: relative;
}

.sm-elementor-slider-nav {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.sm-elementor-slider-nav__btn {
    appearance: none;
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sm-border-color, #d8e1df);
    border-radius: 10px;
    background: var(--sm-surface, #fff);
    color: var(--sm-text, #17262d);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sm-elementor-slider-nav__btn:hover {
    background: var(--sm-surface-alt, #f5f8f7);
    border-color: var(--sm-muted, #c9d7d1);
}

.sm-elementor-slider-nav__btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.sm-front-scope.sm-elementor-products--slider .sm-catalog-grid,
.sm-catalog-grid.is-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--sm-products-columns, 5) - 1) * 18px) / var(--sm-products-columns, 5));
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}

.sm-front-scope.sm-elementor-products--slider .sm-catalog-card,
.sm-catalog-grid.is-slider .sm-catalog-card {
    scroll-snap-align: start;
}

@media (max-width: 1024px) {
    .sm-front-scope.sm-elementor-products .sm-catalog-grid {
        grid-template-columns: repeat(var(--sm-products-columns-tablet, 2), minmax(0, 1fr));
    }

    .sm-front-scope.sm-elementor-products--slider .sm-catalog-grid,
    .sm-catalog-grid.is-slider {
        grid-auto-columns: calc((100% - 2 * 18px) / 3);
    }
}

@media (max-width: 767px) {
    .sm-front-scope.sm-elementor-products .sm-catalog-grid {
        grid-template-columns: repeat(var(--sm-products-columns-mobile, 1), minmax(0, 1fr));
    }

    .sm-front-scope.sm-elementor-products--slider .sm-catalog-grid,
    .sm-catalog-grid.is-slider {
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

@media (max-width: 520px) {
    .sm-front-scope.sm-elementor-products--slider .sm-catalog-grid,
    .sm-catalog-grid.is-slider {
        grid-auto-columns: 100%;
    }
}

@media (max-width: 767px) {
    .sm-elementor-slider-wrap {
        display: flex;
        flex-direction: column;
    }
    .sm-elementor-slider-nav {
        order: -1;
        margin-bottom: 12px;
        margin-top: 0;
        justify-content: flex-end;
    }
}

.sm-widget-pagination {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sm-widget-pagination__link {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--sm-min-border);
    background: var(--sm-min-surface);
    color: var(--sm-min-text);
    text-decoration: none;
    border-radius: var(--sm-builder-button-radius);
    font-weight: 700;
}

.sm-widget-pagination__link.is-active {
    background: var(--sm-min-accent-solid);
    border-color: var(--sm-min-accent-solid);
    color: #fff;
}

.sm-fly-cart-panel__footer .sm-secondary-link,
.sm-fly-cart-panel__footer .sm-primary-button {
    flex: 1 1 0;
    justify-content: center;
}

@media (max-width: 767px) {
    .sm-fly-cart-root.is-fixed.is-bottom_right,
    .sm-fly-cart-root.is-fixed.is-bottom_left {
        right: 12px;
        left: 12px;
        bottom: 12px;
    }

    .sm-fly-cart-root.is-fixed.is-top_right,
    .sm-fly-cart-root.is-fixed.is-top_left {
        right: 12px;
        left: 12px;
        top: 12px;
    }

    .sm-fly-cart-toggle {
        width: 58px;
    }

    .sm-fly-cart-root.is-drawer .sm-fly-cart-panel {
        width: min(100vw, 440px);
    }

    .sm-elementor-products .sm-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Final frontend cleanup overrides */
.sm-front-scope .sm-action-row,
.sm-front-scope .sm-cart-footer,
.sm-front-scope .sm-inline-form,
.sm-front-scope .sm-fly-cart-panel__footer {
    gap: 14px;
}

.sm-front-scope .sm-cart-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 18px;
}

.sm-front-scope .sm-coupon-box {
    margin-top: 24px;
}

.sm-front-scope .sm-coupon-box .sm-inline-form {
    column-gap: 12px;
    row-gap: 12px;
}

.sm-fly-cart-root .sm-fly-cart-toggle {
    background: #ffffff !important;
    border: 1px solid #d9dddf !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16) !important;
    outline: none !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.sm-fly-cart-root .sm-fly-cart-toggle:hover,
.sm-fly-cart-root .sm-fly-cart-toggle:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2) !important;
    border-color: #cfd7dc !important;
    background: #ffffff !important;
}

.sm-fly-cart-root .sm-fly-cart-panel {
    background: #ffffff !important;
    border: 1px solid #d9dddf !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.18) !important;
}

.sm-fly-cart-root .sm-fly-cart-panel__close,
.sm-fly-cart-root .sm-fly-cart-item__remove {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #d9dddf !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease !important;
}

.sm-fly-cart-root .sm-fly-cart-panel__close:hover,
.sm-fly-cart-root .sm-fly-cart-panel__close:focus {
    background: #f4f7f8 !important;
    border-color: #cfd7dc !important;
    color: #0f4c81 !important;
}

.sm-fly-cart-root .sm-fly-cart-item__remove:hover,
.sm-fly-cart-root .sm-fly-cart-item__remove:focus {
    background: #f4f7f8 !important;
    border-color: #cfd7dc !important;
    color: #b42318 !important;
}

.sm-fly-cart-root a,
.sm-fly-cart-root button,
.sm-fly-cart-root .elementor-button,
.sm-fly-cart-root .elementor-button:hover,
.sm-fly-cart-root .elementor-button:focus {
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
    outline: none !important;
    text-decoration: none !important;
}

/* Final single product cleanup */
.sm-video-modal-open {
    overflow: hidden;
}

.sm-front-scope .sm-product-page__main {
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.84fr) !important;
    gap: 18px !important;
    align-items: start !important;
}

.sm-front-scope .sm-product-gallery-grid {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
}

.sm-front-scope .sm-product-gallery__thumbs--vertical {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
}

.sm-front-scope .sm-product-gallery__thumb {
    width: 96px !important;
    min-width: 96px !important;
    height: 96px !important;
    min-height: 96px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #d8e1df !important;
    border-radius: 8px !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.sm-front-scope .sm-product-gallery__thumb img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transform: none !important;
    filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.sm-front-scope .sm-product-gallery__thumb:hover,
.sm-front-scope .sm-product-gallery__thumb:focus,
.sm-front-scope .sm-product-gallery__thumb:active,
.sm-front-scope .sm-product-gallery__thumb:hover img,
.sm-front-scope .sm-product-gallery__thumb:focus img,
.sm-front-scope .sm-product-gallery__thumb:active img {
    background: #fff !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.sm-front-scope .sm-product-gallery__thumb.is-active {
    border-color: #0f4c81 !important;
    box-shadow: 0 0 0 1px #0f4c81 !important;
}

.sm-front-scope .sm-product-gallery__stage {
    min-height: 0 !important;
    padding: 10px !important;
    background: #f8faf9 !important;
}

.sm-front-scope .sm-product-gallery__main-image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}

.sm-front-scope .sm-product-gallery__video-bar {
    margin-top: 12px !important;
    display: flex !important;
    justify-content: flex-start !important;
    grid-column: 2 !important;
}

.sm-front-scope .sm-product-gallery-grid > .sm-product-gallery__stage:first-child,
.sm-front-scope .sm-product-gallery-grid > .sm-product-gallery__stage:first-child + .sm-product-gallery__video-bar {
    grid-column: 1 / -1 !important;
}

.sm-front-scope .sm-product-video-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border: 1px solid #d8e1df !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #17262d !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

.sm-front-scope .sm-product-video-trigger:hover,
.sm-front-scope .sm-product-video-trigger:focus {
    background: #f4f7f8 !important;
    border-color: #cfd7dc !important;
    color: #0f4c81 !important;
}

.sm-front-scope .sm-product-video-trigger__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 999px !important;
    background: #0f4c81 !important;
    color: #fff !important;
}

.sm-front-scope .sm-product-video-trigger__icon svg {
    width: 12px !important;
    height: 12px !important;
    display: block !important;
}

.sm-front-scope .sm-product-summary__title {
    font-size: clamp(24px, 2vw, 32px) !important;
    line-height: 1.12 !important;
    margin: 0 0 8px !important;
}

.sm-front-scope .sm-product-summary__sku {
    font-size: 14px !important;
}

.sm-front-scope .sm-product-price-card {
    margin-top: 12px !important;
    padding: 14px 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.sm-front-scope .sm-product-price-old {
    font-size: 15px !important;
}

.sm-front-scope .sm-product-price-new {
    font-size: clamp(18px, 1.6vw, 24px) !important;
    line-height: 1.18 !important;
}

.sm-front-scope .sm-product-meta-line {
    margin: 14px 0 16px !important;
}

.sm-front-scope .sm-variation-buttons {
    gap: 10px !important;
}

.sm-front-scope .sm-variation-button {
    min-height: 40px !important;
    padding: 8px 12px !important;
}

.sm-front-scope .sm-buy-box {
    width: min(100%, 340px) !important;
}

.sm-front-scope .sm-buy-box__submit:hover,
.sm-front-scope .sm-buy-box__submit:focus,
.sm-front-scope .sm-variation-button:hover,
.sm-front-scope .sm-variation-button:focus {
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

/* Модал „Добавен в количката” */
.sm-added-to-cart-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.sm-added-to-cart-modal.is-hidden {
    display: none;
}

.sm-added-to-cart-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
}

.sm-added-to-cart-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(400px, calc(100vw - 32px));
    background: var(--sm-surface, #fff);
    border: 1px solid var(--sm-border-color, #d8e1df);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    padding: 24px;
}

.sm-added-to-cart-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--sm-muted, #667078);
    padding: 0;
    cursor: pointer;
}

.sm-added-to-cart-modal__close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--sm-text, #121619);
}

.sm-added-to-cart-modal__close svg {
    width: 20px;
    height: 20px;
    display: block;
}

.sm-added-to-cart-modal__title {
    margin: 0 0 20px;
    padding-right: 36px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--sm-text, #121619);
}

.sm-added-to-cart-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sm-added-to-cart-modal__actions .sm-primary-button {
    flex: 1;
    min-width: 120px;
}

body.sm-added-modal-open {
    overflow: hidden;
}

.sm-front-scope .sm-product-video-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    display: grid !important;
    place-items: center !important;
    padding: 24px !important;
}

.sm-front-scope .sm-product-video-modal.is-hidden {
    display: none !important;
}

.sm-front-scope .sm-product-video-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.72) !important;
}

.sm-front-scope .sm-product-video-modal__dialog {
    position: relative !important;
    z-index: 1 !important;
    width: min(960px, calc(100vw - 32px)) !important;
    background: #fff !important;
    border: 1px solid #d8e1df !important;
    border-radius: 8px !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28) !important;
    padding: 18px !important;
}

.sm-front-scope .sm-product-video-modal__close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid #d8e1df !important;
    border-radius: 4px !important;
    color: #17262d !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.sm-front-scope .sm-product-video-modal__close svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

.sm-front-scope .sm-product-video-modal__body {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #0f172a !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.sm-front-scope .sm-product-video-modal__body iframe,
.sm-front-scope .sm-product-video-modal__body video {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border: 0 !important;
}

@media (max-width: 980px) {
    .sm-front-scope .sm-product-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .sm-front-scope .sm-product-gallery__thumbs--vertical {
        grid-template-columns: repeat(auto-fit, minmax(72px, 72px)) !important;
        justify-content: flex-start !important;
    }

    .sm-front-scope .sm-product-gallery__video-bar {
        grid-column: 1 / -1 !important;
    }

    .sm-empty-state--rich {
        flex-direction: column;
        text-align: center;
        min-height: 0;
        padding: 26px 20px;
    }

    .sm-empty-state__content {
        max-width: none;
    }

    .sm-empty-state__content h3 {
        font-size: 24px;
    }
}

.sm-front-scope .sm-card-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 14px 0 0 !important;
}

.sm-front-scope .sm-card-actions--product {
    margin: 16px 0 12px !important;
}

.sm-front-scope .sm-inline-form {
    margin: 0 !important;
}

.sm-front-scope .sm-chip-button {
    min-height: 38px !important;
    padding: 0 14px !important;
    border: 1px solid #d9dddf !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #17262d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
}

.sm-front-scope .sm-chip-button:hover,
.sm-front-scope .sm-chip-button:focus {
    border-color: #0f4c81 !important;
    color: #0f4c81 !important;
    background: #f5f9fc !important;
}

.sm-front-scope .sm-chip-button.is-active {
    background: #0f4c81 !important;
    border-color: #0f4c81 !important;
    color: #ffffff !important;
}

.sm-front-scope .sm-account-side-card {
    margin-top: 18px !important;
}

.sm-front-scope .sm-saved-product-row {
    align-items: center !important;
    gap: 12px !important;
}

.sm-front-scope .sm-saved-product-row a {
    font-weight: 600 !important;
    color: #17262d !important;
    text-decoration: none !important;
}

.sm-front-scope .sm-saved-product-row a:hover,
.sm-front-scope .sm-saved-product-row a:focus {
    color: #0f4c81 !important;
}

.sm-front-scope .sm-address-book-form {
    display: block !important;
}

.sm-front-scope .sm-address-book-list {
    display: grid !important;
    gap: 14px !important;
}

.sm-front-scope .sm-address-book-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 14px !important;
    border: 1px solid #d9dddf !important;
    border-radius: 8px !important;
    background: #fbfcfc !important;
}

.sm-front-scope .sm-download-center-list {
    display: grid !important;
    gap: 12px !important;
}

.sm-front-scope .sm-download-center-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 14px !important;
    border: 1px solid #d9dddf !important;
    border-radius: 8px !important;
    background: #fbfcfc !important;
}

.sm-front-scope .sm-download-center-row strong {
    display: block !important;
    margin-bottom: 4px !important;
}

.sm-front-scope .sm-order-timeline {
    display: grid !important;
    gap: 14px !important;
    padding-left: 4px !important;
}

.sm-front-scope .sm-order-timeline__item {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    position: relative !important;
}

.sm-front-scope .sm-order-timeline__item:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    left: 8px !important;
    top: 22px !important;
    bottom: -14px !important;
    width: 2px !important;
    background: #d9dddf !important;
}

.sm-front-scope .sm-order-timeline__dot {
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    border: 2px solid #c4cdd2 !important;
    background: #ffffff !important;
    margin-top: 1px !important;
    position: relative !important;
    z-index: 1 !important;
}

.sm-front-scope .sm-order-timeline__item.is-active .sm-order-timeline__dot {
    border-color: #0f4c81 !important;
    background: #0f4c81 !important;
}

.sm-front-scope .sm-order-timeline__item strong {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 15px !important;
}

.sm-front-scope .sm-order-timeline__item span:last-child {
    color: #667078 !important;
    font-size: 13px !important;
}

@media (max-width: 980px) {
    .sm-front-scope .sm-address-book-row {
        grid-template-columns: 1fr !important;
    }

    .sm-front-scope .sm-download-center-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}
.sm-front-scope .sm-product-countdown,
.sm-front-scope .sm-catalog-card__countdown {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--sm-secondary, #0f766e);
}

.sm-front-scope .sm-product-countdown {
    margin: 10px 0 14px;
}

.sm-front-scope .sm-catalog-card__countdown {
    margin-top: 8px;
    flex-wrap: wrap;
}

.sm-front-scope .sm-pickup-panel select {
    width: 100%;
}

/* Final single-product mobile polish */
.sm-front-scope .sm-related-slider__track {
    grid-auto-columns: calc((100% - 54px) / 4);
}

.sm-front-scope .sm-product-mobile-heading {
    display: none;
}

@media (max-width: 980px) {
    .sm-front-scope .sm-related-slider__track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

@media (max-width: 767px) {
    .sm-front-shell--product {
        padding-inline: 12px !important;
    }

    .sm-front-scope .sm-product-mobile-heading {
        display: grid !important;
        gap: 6px !important;
        padding: 4px 2px 0 !important;
    }

    .sm-front-scope .sm-product-mobile-heading__title {
        margin: 0 !important;
        font-size: 24px !important;
        line-height: 1.14 !important;
        font-weight: 800 !important;
        color: #121619 !important;
    }

    .sm-front-scope .sm-product-mobile-heading__sku,
    .sm-front-scope .sm-product-mobile-heading__brand {
        font-size: 13px !important;
        color: #667078 !important;
    }

    .sm-front-scope .sm-product-page {
        gap: 16px !important;
    }

    .sm-front-scope .sm-product-page__main {
        gap: 16px !important;
    }

    .sm-front-scope .sm-product-gallery-panel {
        order: 1 !important;
    }

    .sm-front-scope .sm-product-summary-panel {
        order: 2 !important;
    }

    .sm-front-scope .sm-product-gallery-panel,
    .sm-front-scope .sm-product-summary-panel,
    .sm-front-scope .sm-product-description-card,
    .sm-front-scope .sm-product-related-card {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .sm-front-scope .sm-product-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .sm-front-scope .sm-product-gallery__stage {
        min-height: 0 !important;
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .sm-front-scope .sm-product-gallery__main-image {
        aspect-ratio: 1 / 1 !important;
        max-height: none !important;
    }

    .sm-front-scope .sm-product-gallery__thumbs--vertical {
        order: 2 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 4px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .sm-front-scope .sm-product-gallery__thumbs--vertical::-webkit-scrollbar {
        display: none !important;
    }

    .sm-front-scope .sm-product-gallery__thumb {
        flex: 0 0 72px !important;
        width: 72px !important;
        min-width: 72px !important;
        height: 72px !important;
        min-height: 72px !important;
        border-radius: 10px !important;
    }

    .sm-front-scope .sm-product-gallery__video-bar {
        order: 3 !important;
        grid-column: 1 / -1 !important;
        margin-top: 2px !important;
    }

    .sm-front-scope .sm-product-video-trigger {
        width: 100% !important;
        justify-content: center !important;
        min-height: 44px !important;
        border-radius: 12px !important;
    }

    .sm-front-scope .sm-product-summary__title {
        display: none !important;
    }

    .sm-front-scope .sm-product-summary__sku,
    .sm-front-scope .sm-product-summary__brand {
        display: none !important;
    }

    .sm-front-scope .sm-product-price-card {
        padding: 2px 0 10px !important;
        margin-top: 0 !important;
    }

    .sm-front-scope .sm-product-price-old {
        font-size: 14px !important;
    }

    .sm-front-scope .sm-product-price-new {
        font-size: 28px !important;
    }

    .sm-front-scope .sm-product-countdown {
        flex-wrap: wrap !important;
        row-gap: 4px !important;
        margin: 8px 0 12px !important;
        font-size: 12px !important;
    }

    .sm-front-scope .sm-product-meta-line {
        margin: 12px 0 14px !important;
    }

    .sm-front-scope .sm-product-summary__tools {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        margin: 2px 0 8px !important;
    }

    .sm-front-scope .sm-product-summary__tools .sm-inline-form {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    .sm-front-scope .sm-product-summary__tools .sm-icon-action {
        width: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
    }

    .sm-front-scope .sm-product-summary__tools .sm-icon-action svg {
        width: 18px !important;
        height: 18px !important;
    }

    .sm-front-scope .sm-product-purchase-form {
        gap: 14px !important;
    }

    .sm-front-scope .sm-product-options-block {
        gap: 8px !important;
    }

    .sm-front-scope .sm-variation-buttons {
        gap: 8px !important;
    }

    .sm-front-scope .sm-variation-button {
        min-height: 38px !important;
        padding: 8px 12px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
    }

    .sm-front-scope .sm-buy-box {
        grid-template-columns: 108px minmax(0, 1fr) !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .sm-front-scope .sm-buy-box__qty {
        gap: 6px !important;
    }

    .sm-front-scope .sm-buy-box__qty span {
        font-size: 10px !important;
    }

    .sm-front-scope .sm-buy-box__qty input {
        min-height: 52px !important;
        border-radius: 14px !important;
        font-size: 20px !important;
        padding: 10px 12px !important;
    }

    .sm-front-scope .sm-buy-box__submit {
        min-height: 52px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
        box-shadow: 0 10px 24px rgba(15, 118, 110, 0.16) !important;
    }

    .sm-front-scope .sm-product-description-card__header {
        margin-bottom: 12px !important;
    }

    .sm-front-scope .sm-product-description-card__header h2,
    .sm-front-scope .sm-product-related-card__header h2 {
        font-size: 20px !important;
    }

    .sm-front-scope .sm-product-related-card {
        gap: 14px !important;
    }

    .sm-front-scope .sm-product-related-card__header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .sm-front-scope .sm-product-related-card__nav {
        gap: 8px !important;
    }

    .sm-front-scope .sm-related-nav {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 560px) {
    .sm-front-scope .sm-buy-box {
        grid-template-columns: 1fr !important;
    }

    .sm-front-scope .sm-product-summary__tools {
        margin-bottom: 10px !important;
    }

    .sm-front-scope .sm-related-slider__track {
        grid-auto-columns: 100% !important;
        gap: 12px !important;
    }
}

@media (max-width: 1024px) {
    .sm-front-scope .sm-product-mobile-heading {
        display: grid !important;
        gap: 6px !important;
        padding: 4px 2px 0 !important;
    }

    .sm-front-scope .sm-product-mobile-heading__title {
        margin: 0 !important;
        font-size: 24px !important;
        line-height: 1.14 !important;
        font-weight: 800 !important;
        color: #121619 !important;
    }

    .sm-front-scope .sm-product-mobile-heading__sku,
    .sm-front-scope .sm-product-mobile-heading__brand {
        font-size: 13px !important;
        color: #667078 !important;
    }

    .sm-front-scope .sm-product-page__main {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .sm-front-scope .sm-product-gallery-panel {
        order: 1 !important;
    }

    .sm-front-scope .sm-product-summary-panel {
        order: 2 !important;
    }

    .sm-front-scope .sm-product-gallery-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .sm-front-scope .sm-product-gallery__stage {
        order: 1 !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .sm-front-scope .sm-product-gallery__main-image {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .sm-front-scope .sm-product-gallery__thumbs--vertical {
        order: 2 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .sm-front-scope .sm-product-gallery__thumbs--vertical::-webkit-scrollbar {
        display: none !important;
    }

    .sm-front-scope .sm-product-gallery__thumb {
        flex: 0 0 72px !important;
        width: 72px !important;
        min-width: 72px !important;
        height: 72px !important;
        min-height: 72px !important;
        border-radius: 10px !important;
    }

    .sm-front-scope .sm-product-gallery__video-bar {
        order: 3 !important;
        width: 100% !important;
        margin-top: 0 !important;
        grid-column: auto !important;
    }

    .sm-front-scope .sm-product-video-trigger {
        width: 100% !important;
        justify-content: center !important;
    }

    .sm-front-scope .sm-product-summary__title,
    .sm-front-scope .sm-product-summary__sku,
    .sm-front-scope .sm-product-summary__brand {
        display: none !important;
    }
}
