/* GarderobMaster premium configurable product card */
.gm-sp {
    --gm-sp-accent: #e0a139;
    --gm-sp-accent-bright: #f3b44a;
    --gm-sp-bg: #060a0b;
    --gm-sp-panel: rgba(8, 13, 14, .93);
    --gm-sp-line: rgba(255, 255, 255, .13);
    --gm-sp-muted: rgba(255, 255, 255, .66);
    --gm-sp-soft: rgba(255, 255, 255, .48);
    background:
        radial-gradient(circle at 72% 17%, rgba(85, 61, 28, .12), transparent 30%),
        linear-gradient(180deg, #06090a 0%, #070b0c 55%, #0a0e0f 100%);
    color: #fff;
    min-height: 100vh;
}

.gm-sp__section {
    padding: 22px 0 64px;
    position: relative;
    overflow: hidden;
}

.gm-sp__section::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: -80px;
    top: 120px;
    width: 190px;
    height: 860px;
    border-radius: 48% 52% 46% 54%;
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.055), rgba(255,255,255,.01));
    transform: rotate(-7deg);
    pointer-events: none;
}

.gm-sp__container {
    position: relative;
    z-index: 1;
}

.gm-sp__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0 0 20px;
    color: rgba(255,255,255,.46);
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
}

.gm-sp__breadcrumb a,
.gm-sp__breadcrumb-current {
    overflow: hidden;
    text-overflow: ellipsis;
}

.gm-sp__breadcrumb a {
    color: rgba(255,255,255,.58);
    text-decoration: none;
    transition: color .2s ease;
}

.gm-sp__breadcrumb a:hover {
    color: #fff;
}

.gm-sp__breadcrumb > span[aria-hidden="true"] {
    flex: 0 0 auto;
    color: rgba(255,255,255,.25);
}

.gm-sp__breadcrumb-current {
    color: rgba(255,255,255,.75);
}

.gm-sp__hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(390px, 1fr);
    gap: 40px;
    align-items: start;
}

.gm-sp__gallery {
    min-width: 0;
}

.gm-sp__gallery-main {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 11px;
    background: #121515;
    box-shadow: 0 18px 42px rgba(0,0,0,.24);
}

.gm-sp__gallery-main,
.gm-sp__gallery-main .swiper-wrapper,
.gm-sp__gallery-main .swiper-slide {
    height: auto !important;
}

.gm-sp__gallery-frame {
    position: relative;
    aspect-ratio: 1.30 / 1;
    overflow: hidden;
    background: #111;
}

.gm-sp__gallery-frame--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-sp__gallery-link,
.gm-sp__gallery-link picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gm-sp__main-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.gm-sp__gallery-main .swiper-button {
    width: 42px;
    height: 52px;
    margin-top: -26px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(5,7,8,.83);
    color: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.28);
}

.gm-sp__gallery-main .swiper-button::after {
    font-size: 18px;
}

.gm-sp__gallery-main .gm-sp__gallery-prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.gm-sp__gallery-main .gm-sp__gallery-next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.gm-sp__zoom {
    position: absolute;
    z-index: 5;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 11px;
    background: rgba(4,7,8,.86);
    color: #fff;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.gm-sp__zoom:hover {
    transform: translateY(-1px);
    background: rgba(17,20,21,.98);
}

.gm-sp__zoom svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.7;
}

.gm-sp__gallery-thumbs {
    margin-top: 16px !important;
    overflow: hidden;
}

.gm-sp__gallery-thumbs--single {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.gm-sp__gallery-thumbs,
.gm-sp__gallery-thumbs .swiper-wrapper,
.gm-sp__gallery-thumbs .swiper-slide {
    height: auto !important;
}

.gm-sp__thumb {
    display: block;
    width: 100%;
    height: 82px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 7px;
    background: #151818;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, opacity .2s ease;
}

.gm-sp__thumb:hover {
    border-color: rgba(224,161,57,.68);
}

.gm-sp__gallery-thumbs .swiper-slide-thumb-active .gm-sp__thumb {
    border-color: var(--gm-sp-accent);
    box-shadow: inset 0 0 0 1px var(--gm-sp-accent);
}

.gm-sp__thumb-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.gm-sp__card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,.03), transparent 38%),
        linear-gradient(150deg, rgba(9,14,15,.98), rgba(5,9,10,.97));
    box-shadow: 0 24px 52px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.02);
}

.gm-sp__card::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -50px;
    bottom: -76px;
    width: 210px;
    height: 510px;
    border-radius: 50% 43% 48% 52%;
    background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.05), rgba(255,255,255,.008));
    transform: rotate(-8deg);
}

.gm-sp__card-content {
    padding: 32px 34px 0;
}

.gm-sp__title {
    max-width: 520px;
    margin: 0 0 4px;
    color: #fff;
    font-family: 'tilda-semibold', sans-serif;
    font-size: clamp(30px, 2.25vw, 42px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.025em;
    text-transform: none;
}

.gm-sp__price {
    min-height: 50px;
    margin-top: 2px;
    color: #fff;
    font-family: 'tilda-semibold', sans-serif;
    font-size: clamp(34px, 2.55vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.gm-sp__price del {
    display: inline-block;
    margin-right: 8px;
    color: rgba(255,255,255,.42);
    font-size: .58em;
    font-weight: 400;
}

.gm-sp__price ins {
    color: #fff;
    text-decoration: none;
}

.gm-sp__price .woocommerce-Price-currencySymbol {
    font-size: .85em;
}

.gm-sp__order,
.gm-sp__calculate,
.gm-sp__config-toggle,
.gm-sp__option,
.gm-sp__tab {
    font-family: 'tilda-semibold', sans-serif;
}

.gm-sp__order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    padding: 12px 20px;
    border: 1px solid rgba(255,196,92,.42);
    border-radius: 5px;
    background: linear-gradient(180deg, #e4a63f 0%, #d7972e 100%);
    color: #090a0a;
    box-shadow: 0 7px 18px rgba(209,143,36,.16), inset 0 1px 0 rgba(255,255,255,.32);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .015em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}

.gm-sp__order:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.gm-sp__order:disabled {
    cursor: not-allowed;
    filter: grayscale(.65);
    opacity: .52;
    transform: none;
}

.gm-sp__order svg {
    width: 23px;
    height: 23px;
    stroke: currentColor;
    stroke-width: 1.7;
}

.gm-sp__calculate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 47px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: var(--gm-sp-accent-bright);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s ease;
}

.gm-sp__calculate:hover {
    color: #ffc86a;
}

.gm-sp__calculate svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.7;
}

.gm-sp__config {
    border-top: 1px solid var(--gm-sp-line);
}

.gm-sp__config-row {
    border-bottom: 1px solid var(--gm-sp-line);
}

.gm-sp__static-dimensions-row {
    border-bottom: 1px solid var(--gm-sp-line);
}

.gm-sp__config-row.is-configurable {
    cursor: pointer;
}

.gm-sp__config-row.is-configurable:hover .gm-sp__config-label,
.gm-sp__config-row.is-configurable:hover .gm-sp__config-toggle {
    color: #ffc86a;
}

.gm-sp__config-row.is-configurable:focus-visible {
    outline: 2px solid rgba(255, 200, 106, .62);
    outline-offset: -2px;
}

.gm-sp__config-summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    min-height: 72px;
    padding: 9px 0;
}

.gm-sp__config-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--gm-sp-accent-bright);
}

.gm-sp__config-icon svg {
    width: 37px;
    height: 37px;
    stroke: currentColor;
    stroke-width: 1.45;
}

.gm-sp__config-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.gm-sp__config-label {
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.1;
}

.gm-sp__config-value {
    overflow: hidden;
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.gm-sp__config-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 7px 0 7px 12px;
    border: 0;
    background: transparent;
    color: var(--gm-sp-accent-bright);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.gm-sp__config-toggle svg {
    width: 23px;
    height: 23px;
    stroke: currentColor;
    stroke-width: 1.55;
    transition: transform .2s ease;
}

.gm-sp__config-row.is-open .gm-sp__config-toggle svg {
    transform: rotate(90deg);
}

.gm-sp__config-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 16px 55px;
}

.gm-sp__config-options[hidden] {
    display: none !important;
}

.gm-sp__option {
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 4px;
    background: rgba(255,255,255,.025);
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.gm-sp__option:hover,
.gm-sp__option.is-selected {
    border-color: var(--gm-sp-accent);
    background: rgba(224,161,57,.11);
    color: #fff;
}

.gm-sp__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
    border-top: 1px solid var(--gm-sp-line);
    background: rgba(2,6,7,.32);
}

.gm-sp__benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    min-height: 113px;
    padding: 16px 9px 13px;
    border-right: 1px solid var(--gm-sp-line);
    color: rgba(255,255,255,.67);
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

.gm-sp__benefit:last-child {
    border-right: 0;
}

.gm-sp__benefit-icon {
    display: grid;
    place-items: center;
    color: var(--gm-sp-accent-bright);
}

.gm-sp__benefit-icon svg {
    width: 37px;
    height: 37px;
    stroke: currentColor;
    stroke-width: 1.45;
}

.gm-sp__tabs {
    margin-top: 20px;
}

.gm-sp__tab-list {
    display: flex;
    align-items: flex-end;
    gap: 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--gm-sp-line);
    scrollbar-width: none;
}

.gm-sp__tab-list::-webkit-scrollbar {
    display: none;
}

.gm-sp__tab {
    position: relative;
    flex: 0 0 auto;
    min-height: 55px;
    padding: 15px 18px 14px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.60);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease;
}

.gm-sp__tab:first-child {
    padding-left: 8px;
}

.gm-sp__tab::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 2px;
    background: transparent;
}

.gm-sp__tab:first-child::after {
    left: 0;
}

.gm-sp__tab:hover,
.gm-sp__tab.is-active {
    color: #fff;
}

.gm-sp__tab.is-active::after {
    background: var(--gm-sp-accent-bright);
}

.gm-sp__tab-panels {
    min-height: 150px;
    padding: 22px 8px 6px;
    border-bottom: 1px solid rgba(255,255,255,.035);
}

.gm-sp__tab-panel {
    max-width: 1120px;
    color: rgba(255,255,255,.70);
    font-size: 16px;
    line-height: 1.55;
}

.gm-sp__tab-panel[hidden] {
    display: none !important;
}

.gm-sp__tab-panel p {
    margin: 0 0 13px;
}

.gm-sp__tab-panel ul,
.gm-sp__attribute-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 48px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.gm-sp__tab-panel li {
    position: relative;
    padding-left: 25px;
}

.gm-sp__tab-panel li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gm-sp-accent-bright);
    font-family: 'tilda-semibold', sans-serif;
}

.gm-sp__tab-panel strong {
    color: rgba(255,255,255,.88);
    font-weight: 500;
}

.gm-sp__related {
    border-top: 1px solid rgba(255,255,255,.06);
}

.gm-sp__variations-json {
    display: none !important;
}

@media (max-width: 1250px) {
    .gm-sp__hero {
        grid-template-columns: minmax(0, 2fr) minmax(370px, 1fr);
        gap: 28px;
    }

    .gm-sp__card-content {
        padding: 27px 27px 0;
    }

    .gm-sp__benefit {
        min-height: 108px;
        padding-inline: 6px;
        font-size: 11px;
    }

    .gm-sp__config-summary {
        grid-template-columns: 39px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .gm-sp__config-toggle span {
        display: none;
    }
}

@media (max-width: 980px) {
    .gm-sp__section {
        padding-top: 16px;
    }

    .gm-sp__hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gm-sp__card {
        max-width: none;
    }

    .gm-sp__card-content {
        padding: 28px 30px 0;
    }

    .gm-sp__config-toggle span {
        display: inline;
    }

    .gm-sp__benefit {
        min-height: 104px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .gm-sp__section {
        padding: 12px 0 42px;
    }

    .gm-sp__breadcrumb {
        margin-bottom: 13px;
        font-size: 12px;
    }

    .gm-sp__hero {
        gap: 18px;
    }

    .gm-sp__gallery-main {
        border-radius: 8px;
    }

    .gm-sp__gallery-frame {
        aspect-ratio: 1.08 / 1;
    }

    .gm-sp__gallery-main .swiper-button {
        width: 36px;
        height: 45px;
        margin-top: -22px;
    }

    .gm-sp__zoom {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }

    .gm-sp__gallery-thumbs {
        margin-top: 10px !important;
    }

    .gm-sp__thumb {
        height: 68px;
    }

    .gm-sp__card {
        border-radius: 12px;
    }

    .gm-sp__card-content {
        padding: 23px 20px 0;
    }

    .gm-sp__title {
        font-size: 30px;
    }

    .gm-sp__price {
        min-height: 40px;
        font-size: 35px;
    }

    .gm-sp__order {
        min-height: 50px;
        margin-top: 13px;
        font-size: 16px;
    }

    .gm-sp__config-summary {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        min-height: 66px;
    }

    .gm-sp__config-icon,
    .gm-sp__config-icon svg {
        width: 34px;
        height: 34px;
    }

    .gm-sp__config-label {
        font-size: 15px;
    }

    .gm-sp__config-value,
    .gm-sp__config-toggle {
        font-size: 14px;
    }

    .gm-sp__config-toggle span {
        display: none;
    }

    .gm-sp__config-options {
        padding-left: 48px;
    }

    .gm-sp__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gm-sp__benefit {
        min-height: 105px;
        border-bottom: 1px solid var(--gm-sp-line);
    }

    .gm-sp__benefit:nth-child(2) {
        border-right: 0;
    }

    .gm-sp__benefit:nth-child(n+3) {
        border-bottom: 0;
    }

    .gm-sp__tabs {
        margin-top: 12px;
    }

    .gm-sp__tab {
        min-height: 49px;
        padding: 12px 14px 11px;
        font-size: 12px;
    }

    .gm-sp__tab-panels {
        padding: 17px 2px 2px;
    }

    .gm-sp__tab-panel {
        font-size: 14px;
        line-height: 1.5;
    }

    .gm-sp__tab-panel ul,
    .gm-sp__attribute-list {
        grid-template-columns: 1fr;
        gap: 9px;
    }
}

@media (max-width: 430px) {
    .gm-sp__gallery-frame {
        aspect-ratio: 1 / 1;
    }

    .gm-sp__thumb {
        height: 61px;
    }

    .gm-sp__card-content {
        padding-inline: 17px;
    }

    .gm-sp__config-summary {
        grid-template-columns: 35px minmax(0, 1fr) 28px;
        gap: 8px;
    }

    .gm-sp__config-toggle {
        width: 28px;
        padding-left: 0;
    }

    .gm-sp__config-options {
        padding-left: 43px;
    }
}

/* 2026-07-14: compact desktop configurator with four editable rows */
@media (min-width: 981px) {
    .gm-sp__card-content {
        padding: 24px 26px 0;
    }

    .gm-sp__title {
        font-size: clamp(28px, 1.75vw, 36px);
        line-height: 1.02;
    }

    .gm-sp__price {
        min-height: 42px;
        font-size: clamp(32px, 2vw, 40px);
    }

    .gm-sp__order {
        min-height: 48px;
        margin-top: 12px;
    }

    .gm-sp__calculate {
        min-height: 40px;
        padding-block: 7px;
    }

    .gm-sp__config-summary {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 60px;
        padding: 6px 0;
    }

    .gm-sp__config-icon {
        width: 38px;
        height: 38px;
    }

    .gm-sp__config-icon svg {
        width: 32px;
        height: 32px;
    }

    .gm-sp__config-copy {
        gap: 4px;
    }

    .gm-sp__config-label {
        font-size: 14px;
    }

    .gm-sp__config-value {
        font-size: 13px;
    }

    .gm-sp__config-toggle {
        min-height: 34px;
        font-size: 14px;
    }

    .gm-sp__config-options {
        padding: 0 0 12px 48px;
    }

    .gm-sp__benefits {
        margin-top: 8px;
    }

    .gm-sp__benefit {
        gap: 6px;
        min-height: 88px;
        padding: 11px 6px 10px;
        font-size: 10.5px;
    }

    .gm-sp__benefit-icon svg {
        width: 30px;
        height: 30px;
    }
}


/* Configurator modal windows */
.gm-sp__config-options {
    display: none !important;
}

body.gm-sp-modal-open {
    overflow: hidden !important;
}

.gm-sp-config-modal[hidden] {
    display: none !important;
}

.gm-sp-config-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.gm-sp-config-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.gm-sp-config-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(3, 5, 6, .82);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: default;
}

.gm-sp-config-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(610px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    background: #fff;
    color: #161616;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
    transform: translateY(14px) scale(.985);
    outline: none;
    transition: transform .18s ease;
}

.gm-sp-config-modal.is-open .gm-sp-config-modal__dialog {
    transform: translateY(0) scale(1);
}

.gm-sp-config-modal__dialog--wide {
    width: min(680px, calc(100vw - 48px));
}

.gm-sp-config-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 28px 18px;
}

.gm-sp-config-modal__title {
    margin: 0;
    color: #141414;
    font-family: 'tilda-semibold', Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.015em;
}

.gm-sp-config-modal__close {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #242424;
    font-size: 32px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease;
}

.gm-sp-config-modal__close:hover {
    background: #f2f2f2;
}

.gm-sp-config-modal__body {
    padding: 0 28px 8px;
}

.gm-sp-config-modal__footer {
    margin: 8px 28px 0;
    padding: 20px 0 24px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.gm-sp-config-modal__price {
    color: #111;
    font-family: 'tilda-semibold', Arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
}

.gm-sp-config-modal__price-caption {
    margin-top: 7px;
    color: #777;
    font-size: 14px;
    line-height: 1.3;
}

.gm-sp-config-modal__apply {
    width: min(330px, 100%);
    min-height: 50px;
    margin-top: 17px;
    padding: 12px 20px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(180deg, #dca54e 0%, #cc8d2f 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(197, 130, 34, .2), inset 0 1px 0 rgba(255,255,255,.3);
    font-family: 'tilda-semibold', Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease;
}

.gm-sp-config-modal__apply:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.gm-sp-config-modal__range-row {
    padding: 12px 0 16px;
}

.gm-sp-config-modal__range-label {
    margin-bottom: 10px;
    color: #242424;
    font-size: 16px;
    line-height: 1.2;
}

.gm-sp-config-modal__range-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 22px;
    align-items: start;
}

.gm-sp-config-modal__slider-wrap {
    min-width: 0;
    padding-top: 7px;
}

.gm-sp-config-modal__range {
    --gm-range-progress: 50%;
    display: block;
    width: 100%;
    height: 18px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

.gm-sp-config-modal__range::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, #c8892c 0 var(--gm-range-progress), #dedede var(--gm-range-progress) 100%);
}

.gm-sp-config-modal__range::-moz-range-track {
    height: 3px;
    border-radius: 4px;
    background: #dedede;
}

.gm-sp-config-modal__range::-moz-range-progress {
    height: 3px;
    border-radius: 4px;
    background: #c8892c;
}

.gm-sp-config-modal__range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -7.5px;
    border: 1px solid #b9781e;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background: #d8a14b;
    box-shadow: 0 2px 5px rgba(150, 94, 18, .25);
}

.gm-sp-config-modal__range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 1px solid #b9781e;
    border-radius: 50%;
    background: #d8a14b;
    box-shadow: 0 2px 5px rgba(150, 94, 18, .25);
}

.gm-sp-config-modal__range-scale {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    margin-top: 5px;
    color: #707070;
    font-size: 13px;
    line-height: 1.2;
}

.gm-sp-config-modal__range-scale strong {
    color: #c47d17;
    font-weight: 600;
    text-align: center;
}

.gm-sp-config-modal__range-scale span:last-child {
    text-align: right;
}

.gm-sp-config-modal__number-box {
    display: flex;
    align-items: center;
    height: 42px;
    overflow: hidden;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    background: #fff;
}

.gm-sp-config-modal__number {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 4px 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #202020;
    font: inherit;
    font-size: 16px;
    text-align: right;
    appearance: textfield;
    -moz-appearance: textfield;
}

.gm-sp-config-modal__number::-webkit-inner-spin-button,
.gm-sp-config-modal__number::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.gm-sp-config-modal__number-unit {
    padding-right: 11px;
    color: #777;
    font-size: 13px;
    white-space: nowrap;
}

.gm-sp-config-modal__options {
    display: grid;
    gap: 8px;
}

.gm-sp-config-modal__option {
    display: grid;
    grid-template-columns: 24px 52px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    width: 100%;
    min-height: 66px;
    padding: 8px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    color: #171717;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.gm-sp-config-modal__option:hover {
    border-color: #c9aa7a;
    background: #fdfbf8;
}

.gm-sp-config-modal__option.is-selected {
    border-color: rgba(202, 135, 36, .7);
    box-shadow: inset 0 0 0 1px rgba(202, 135, 36, .14);
}

.gm-sp-config-modal__radio {
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #c8c8c8;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 4px #fff;
}

.gm-sp-config-modal__option.is-selected .gm-sp-config-modal__radio {
    border-color: #c78322;
    background: #cf8c2b;
}

.gm-sp-config-modal__swatch {
    display: block;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 4px;
    background-color: #d8d8d8;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

.gm-sp-config-modal__option-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.gm-sp-config-modal__option-copy strong {
    overflow: hidden;
    color: #171717;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
}

.gm-sp-config-modal__option-copy small {
    color: #777;
    font-size: 13px;
    line-height: 1.15;
}

.gm-sp-config-modal__option-price {
    color: #c77913;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}

.gm-sp-config-modal__option-price:first-letter {
    color: inherit;
}

@media (max-width: 767px) {
    .gm-sp-config-modal {
        align-items: end;
        padding: 0;
    }

    .gm-sp-config-modal__dialog,
    .gm-sp-config-modal__dialog--wide {
        width: 100%;
        max-height: min(92vh, 820px);
        border-width: 0;
        border-radius: 16px 16px 0 0;
        transform: translateY(24px);
    }

    .gm-sp-config-modal__header {
        padding: 20px 18px 13px;
    }

    .gm-sp-config-modal__title {
        font-size: 21px;
    }

    .gm-sp-config-modal__body {
        padding: 0 18px 5px;
    }

    .gm-sp-config-modal__footer {
        position: sticky;
        bottom: 0;
        margin: 5px 18px 0;
        padding: 17px 0 calc(18px + env(safe-area-inset-bottom));
        background: #fff;
    }

    .gm-sp-config-modal__range-control {
        grid-template-columns: minmax(0, 1fr) 78px;
        gap: 14px;
    }

    .gm-sp-config-modal__option {
        grid-template-columns: 22px 44px minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 60px;
        padding: 7px 10px;
    }

    .gm-sp-config-modal__swatch {
        width: 42px;
        height: 42px;
    }

    .gm-sp-config-modal__option-copy strong {
        font-size: 15px;
    }

    .gm-sp-config-modal__option-price {
        font-size: 13px;
    }
}

@media (max-width: 430px) {
    .gm-sp-config-modal__range-control {
        grid-template-columns: minmax(0, 1fr) 72px;
        gap: 10px;
    }

    .gm-sp-config-modal__number {
        padding-left: 6px;
        font-size: 14px;
    }

    .gm-sp-config-modal__number-unit {
        padding-right: 7px;
        font-size: 11px;
    }

    .gm-sp-config-modal__option {
        grid-template-columns: 20px 40px minmax(0, 1fr);
    }

    .gm-sp-config-modal__option-price {
        grid-column: 3;
        justify-self: start;
        margin-top: -5px;
    }
}
