.store-page,
.store-product-page,
.store-page *,
.store-product-page * {
    box-sizing: border-box;
}

.store-page,
.store-product-page {
    --store-ink: #111827;
    --store-text: #273142;
    --store-muted: #6b7280;
    --store-line: #d9e0ea;
    --store-line-strong: #c4cedb;
    --store-panel: #ffffff;
    --store-soft: #f4f7fb;
    --store-soft-2: #eaf0f7;
    --store-blue: #ec1684;
    --store-cyan: #0ea5b7;
    --store-orange: #ec1684;
    --store-green: #118a5b;
    --store-shadow: 0 18px 48px rgba(17, 24, 39, .11);
    --store-shadow-soft: 0 10px 28px rgba(17, 24, 39, .08);
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 72px;
    color: var(--store-text);
}

.store-page a,
.store-product-page a {
    color: inherit;
}

.store-kicker {
    margin: 0 0 8px;
    color: var(--store-orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.store-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(520px, 740px);
    gap: 22px;
    align-items: end;
    padding: 24px;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fff4fb);
    box-shadow: var(--store-shadow-soft);
}

.store-toolbar h1,
.store-product-info h1 {
    margin: 0;
    color: var(--store-ink);
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1;
    letter-spacing: 0;
}

.store-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
    gap: 10px;
    align-items: center;
}

.store-filters input,
.store-filters select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    color: var(--store-ink);
    font: inherit;
    outline: none;
}

.store-filters input:focus,
.store-filters select:focus {
    border-color: var(--store-blue);
    box-shadow: 0 0 0 3px rgba(236, 22, 132, .14);
}

.store-filters button,
.store-card-action,
.store-add-cart,
.store-design-link,
.store-logo-link {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff55bd, #ec1684);
    color: #fff;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.store-filters button:hover,
.store-card-action:hover,
.store-add-cart:hover,
.store-design-link:hover,
.store-logo-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(17, 24, 39, .16);
}

.store-category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 18px 0 24px;
}

.store-category-pills a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--store-line);
    border-radius: 999px;
    padding: 0 14px;
    background: #fff;
    color: var(--store-ink);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(17, 24, 39, .05);
}

.store-category-pills a.active,
.store-category-pills a:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff55bd, #ec1684);
    border-color: var(--store-blue);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.store-card {
    min-width: 0;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--store-shadow-soft);
}

.store-card-media {
    position: relative;
    aspect-ratio: 1 / 1.08;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #fff, #fff2fa);
    border-bottom: 1px solid var(--store-line);
}

.store-card-media img {
    width: 94%;
    height: 94%;
    object-fit: contain;
    transition: transform .22s ease, filter .22s ease;
}

.store-card:hover .store-card-media img {
    transform: scale(1.035);
    filter: saturate(1.05);
}

.store-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, .94);
    color: var(--store-ink);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .14);
}

.store-card-body {
    min-width: 0;
    padding: 15px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.store-card-body p {
    margin: 0 0 4px;
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 800;
}

.store-card-body h2 {
    margin: 0;
    color: var(--store-ink);
    font-size: 18px;
    line-height: 1.24;
}

.store-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.store-card-body strong {
    color: var(--store-ink);
    font-size: 18px;
}

.store-card-stock {
    color: var(--store-green);
    font-size: 12px;
    font-weight: 900;
}

.store-card-flags,
.store-product-flags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.store-card-flags span,
.store-product-flags span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(236, 22, 132, .14);
    border-radius: 999px;
    padding: 0 9px;
    background: #fff1f8;
    color: #c01372;
    font-size: 12px;
    font-weight: 900;
}

.store-card-actions,
.store-secondary-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 8px;
}

.store-card-action.ghost,
.store-logo-link {
    background: #fff;
    color: #c01372;
    border: 1px solid rgba(236, 22, 132, .28);
}

.store-swatches,
.store-color-row {
    display: flex;
    gap: 9px;
    align-items: center;
    min-height: 42px;
}

.store-swatches {
    flex-wrap: nowrap;
}

.store-color-row {
    flex-wrap: wrap;
}

.store-swatches button,
.store-color-row button {
    position: relative;
    overflow: hidden;
    width: 44px;
    height: 42px;
    flex: 0 0 44px;
    border: 2px solid #fff;
    border-radius: 12px;
    outline: 1px solid rgba(236, 22, 132, .22);
    background: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(236, 22, 132, .12);
    transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease;
}

.store-swatches-more {
    width: 44px;
    height: 42px;
    flex: 0 0 44px;
    border: 2px solid #fff;
    border-radius: 12px;
    outline: 1px solid rgba(236, 22, 132, .28);
    background: linear-gradient(135deg, #fff, #ffe4f4);
    color: #c01372;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(236, 22, 132, .12);
}

.store-color-window-data {
    display: none;
}

.store-swatches button.active,
.store-color-row button.active {
    outline: 2px solid #ec1684;
    box-shadow: 0 10px 24px rgba(236, 22, 132, .24);
    transform: translateY(-1px);
}

.store-color-row button {
    width: 66px;
    height: 58px;
    flex-basis: 66px;
    border-radius: 14px;
}

.store-swatches button img,
.store-color-row button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    background: linear-gradient(180deg, #fff, #fff7fc);
}

.store-swatches button span,
.store-color-row button span {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 13px;
    height: 13px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--swatch, #ddd);
    box-shadow: 0 2px 7px rgba(17, 24, 39, .22);
}

.store-color-row button span {
    width: 15px;
    height: 15px;
}

.store-color-modal[hidden] {
    display: none;
}

.store-color-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 24, 39, .36);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.store-color-modal-panel {
    position: relative;
    width: min(680px, 100%);
    max-height: min(760px, 88vh);
    overflow: auto;
    padding: 22px;
    border: 1px solid rgba(236, 22, 132, .22);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fff3fa);
    box-shadow: 0 24px 70px rgba(17, 24, 39, .24);
}

.store-color-modal-panel h2 {
    margin: 0 46px 16px 0;
    color: var(--store-ink);
    font-size: 24px;
    line-height: 1.1;
}

.store-color-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #ec1684;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.store-color-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 12px;
}

.store-color-modal-grid button {
    position: relative;
    min-width: 0;
    min-height: 120px;
    padding: 8px;
    border: 1px solid rgba(236, 22, 132, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    display: grid;
    grid-template-rows: 74px auto;
    gap: 8px;
    color: var(--store-ink);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(236, 22, 132, .09);
}

.store-color-modal-grid button img {
    width: 100%;
    height: 74px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.store-color-modal-grid button span {
    position: absolute;
    right: 10px;
    top: 70px;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--swatch, #ddd);
    box-shadow: 0 2px 7px rgba(17, 24, 39, .22);
}

.store-color-modal-grid button strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 900;
}

.store-empty {
    border: 1px dashed var(--store-line-strong);
    border-radius: 8px;
    padding: 34px;
    background: var(--store-soft);
    color: var(--store-muted);
    text-align: center;
}

.store-product-page {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 28px;
    align-items: start;
}

.store-product-gallery {
    position: relative;
    top: auto;
    min-width: 0;
    display: grid;
    gap: 12px;
    align-self: start;
}

.store-product-stage {
    min-height: clamp(420px, 58vh, 640px);
    max-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #f9fbfd, #eef3f9);
    box-shadow: var(--store-shadow-soft);
}

.store-product-stage img {
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
}

.store-product-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
}

.store-product-thumbs button {
    flex: 0 0 76px;
    aspect-ratio: 1;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    padding: 5px;
}

.store-product-thumbs button.active {
    border-color: var(--store-blue);
    box-shadow: 0 0 0 3px rgba(31, 111, 235, .12);
}

.store-product-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-product-info {
    min-width: 0;
    display: grid;
    gap: 16px;
}

.store-product-lead {
    margin: 0;
    color: var(--store-muted);
    font-size: 17px;
    line-height: 1.55;
}

.store-buy-panel {
    display: grid;
    gap: 17px;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    box-shadow: var(--store-shadow);
}

.store-price-row,
.store-option-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.store-price-row span,
.store-option-title span {
    color: var(--store-muted);
    font-weight: 800;
}

.store-price-row strong {
    color: var(--store-ink);
    font-size: 28px;
}

.store-option-block {
    display: grid;
    gap: 10px;
}

.store-option-title a {
    color: var(--store-blue);
    font-weight: 900;
    text-decoration: none;
}

.store-size-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
    gap: 8px;
}

.store-size-row label {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: #fff;
    color: var(--store-ink);
    font-weight: 900;
    cursor: pointer;
}

.store-size-row label.active {
    border-color: var(--store-ink);
    background: var(--store-ink);
    color: #fff;
}

.store-size-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.store-attribute-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.store-attribute-panel div {
    min-width: 0;
    display: grid;
    gap: 4px;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: var(--store-soft);
    padding: 12px;
}

.store-attribute-panel span {
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 800;
}

.store-attribute-panel strong {
    color: var(--store-ink);
    font-size: 15px;
}

.store-quantity-row {
    display: grid;
    grid-template-columns: 44px minmax(70px, 1fr) 44px;
    min-height: 44px;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: #fff;
}

.store-quantity-row button,
.store-quantity-row input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: #fff;
    color: var(--store-ink);
    font: inherit;
    font-weight: 900;
    text-align: center;
}

.store-quantity-row button {
    cursor: pointer;
    font-size: 18px;
}

.store-add-cart {
    width: 100%;
    background: var(--store-orange);
    color: #111827;
}

.store-design-link {
    width: 100%;
    background: var(--store-ink);
}

.store-logo-link {
    width: 100%;
}

.store-service-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: #fff;
}

.store-service-strip div {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 14px;
    border-right: 1px solid var(--store-line);
}

.store-service-strip div:last-child {
    border-right: 0;
}

.store-service-strip strong {
    color: var(--store-ink);
}

.store-service-strip span {
    color: var(--store-muted);
    font-size: 13px;
}

.store-description,
.store-size-guide,
.store-related {
    grid-column: 1 / -1;
    border-top: 1px solid var(--store-line);
    padding-top: 28px;
}

.store-description h2,
.store-size-guide h2,
.store-section-head h2 {
    margin: 0 0 12px;
    color: var(--store-ink);
    font-size: 24px;
}

.store-description div {
    width: min(920px, 100%);
    color: var(--store-muted);
    line-height: 1.7;
}

.store-size-guide-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.store-size-guide-grid span {
    min-width: 56px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: #fff;
    color: var(--store-ink);
    font-weight: 900;
}

.store-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.store-section-head h2 {
    font-size: 32px;
}

.store-related-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

@media (max-width: 1100px) {
    .store-toolbar,
    .store-product-page {
        grid-template-columns: 1fr;
    }

    .store-product-stage {
        min-height: clamp(390px, 58vh, 560px);
    }
}

@media (max-width: 780px) {
    .store-page,
    .store-product-page {
        width: min(100% - 24px, 1480px);
        padding: 22px 0 54px;
    }

    .store-toolbar {
        padding: 18px;
    }

    .store-filters {
        grid-template-columns: 1fr;
    }

    .store-attribute-panel {
        grid-template-columns: 1fr;
    }

    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }

    .store-card-body {
        padding: 12px;
    }

    .store-card-body h2 {
        font-size: 16px;
    }

    .store-product-stage {
        min-height: 420px;
        max-height: 520px;
    }

    .store-service-strip {
        grid-template-columns: 1fr;
    }

    .store-service-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--store-line);
    }

    .store-service-strip div:last-child {
        border-bottom: 0;
    }

    .store-section-head {
        display: grid;
    }
}

@media (max-width: 460px) {
    .store-page,
    .store-product-page {
        width: min(100% - 18px, 1480px);
    }

    .store-toolbar h1,
    .store-product-info h1 {
        font-size: 34px;
    }

    .store-grid {
        grid-template-columns: 1fr 1fr;
    }

    .store-card-action,
    .store-add-cart,
    .store-design-link,
    .store-logo-link {
        padding: 0 10px;
        font-size: 13px;
    }

    .store-product-stage {
        min-height: 340px;
        max-height: 420px;
    }

    .store-product-thumbs button {
        flex-basis: 62px;
    }
}
