/* shop/public/assets/css/shop.css */

.shop-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.shop-card {
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    background: var(--vm-card-bg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-card-media {
    position: relative;
    display: block;
}

.shop-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--shop-button-bg);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.shop-badge--best {
    background: #c19b2e;
    color: #111;
}

.shop-badge-inline.shop-badge--best {
    background: #c19b2e;
    color: #111;
}

.shop-badge-inline {
    display: inline-block;
    margin: 6px 0;
    background: var(--shop-button-bg);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
}

.shop-card img {
    width: 100%;
    height: auto;
    border-radius: var(--vm-radius);
    display: block;
}

.shop-price {
    color: var(--vm-accent);
    font-weight: 600;
}

.shop-price-main {
    color: var(--vm-accent);
    font-weight: 600;
}

.shop-price-sub {
    font-size: 11px;
    color: var(--vm-muted);
    margin-left: 6px;
}
.shop-muted {
    color: var(--vm-muted);
}

.shop-breadcrumbs {
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--vm-muted);
}

.shop-breadcrumbs a {
    color: var(--vm-muted);
    text-decoration: none;
}

.shop-category-chips {
    position: sticky;
    top: calc(var(--vm-content-offset) + 1px);
    z-index: 5;
    margin-bottom: 16px;
}

.shop-category-chips-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: linear-gradient(180deg, rgba(120, 64, 232, 0.38) 0%, rgba(79, 42, 150, 0.52) 100%);
    border: 1px solid rgba(187, 150, 255, 0.9);
    box-shadow: 0 10px 24px rgba(66, 35, 133, 0.34), inset 0 1px 0 rgba(207, 184, 255, 0.2);
    border-radius: 14px;
    padding: 8px 12px;
}

.shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid var(--vm-border);
    color: var(--vm-muted);
    text-decoration: none;
    font-size: 12px;
    background: rgba(12, 12, 18, 0.7);
}

.shop-chip.is-active {
    border-color: var(--vm-accent);
    color: var(--vm-accent);
}

.shop-chip.is-featured:not(.is-active) {
    border: 2px solid rgba(197, 164, 255, 0.95);
    background: linear-gradient(180deg, rgba(140, 91, 255, 0.26) 0%, rgba(12, 12, 18, 0.86) 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(219, 200, 255, 0.24), 0 0 0 1px rgba(140, 91, 255, 0.2), 0 0 10px rgba(140, 91, 255, 0.34);
}

.shop-chip--separator {
    border: none;
    background: transparent;
    color: var(--vm-muted);
    padding: 0 4px;
}

.shop-breadcrumbs a:hover {
    color: var(--vm-accent);
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
}

.shop-table th,
.shop-table td {
    padding: 10px;
    border-bottom: 1px solid var(--vm-border);
    text-align: left;
}

.shop-summary {
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    padding: 16px;
    background: var(--vm-bg-alt);
}

.shop-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.shop-form-row .p23-input,
.shop-form-row select,
.shop-form-row textarea {
    width: 100%;
}

.p23-search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.p23-search-row > .p23-input {
    flex: 1 1 180px;
    min-width: 150px;
    width: auto;
}

.p23-search-row > .shop-muted {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.p23-search-row > .p23-button {
    flex: 0 0 auto;
    overflow: visible;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .p23-search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .p23-search-row > .p23-input,
    .p23-search-row > .shop-muted,
    .p23-search-row > .p23-button {
        flex: 1 1 100%;
        width: 100%;
    }

    .p23-search-row > .shop-muted {
        white-space: normal;
    }
}

.shop-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.shop-form-actions .p23-button {
    margin: 0;
}

.shop-order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.shop-order-action-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.shop-order-action-form .p23-button {
    margin: 0;
}

.shop-order-cancel-select {
    width: auto;
    min-width: 156px;
    max-width: 190px;
    height: 36px;
    padding: 6px 28px 6px 10px;
    line-height: 1.2;
    font-size: 12px;
    border-radius: 10px;
}

.shop-media-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-height: 320px;
    overflow: auto;
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.shop-media-picker-item {
    display: grid;
    gap: 6px;
    border: 1px solid var(--vm-border);
    border-radius: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    align-content: start;
}

.shop-media-picker-item img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-media-picker-item span {
    font-size: 11px;
    line-height: 1.25;
    word-break: break-word;
}

.shop-media-picker-item input {
    margin: 0;
    justify-self: start;
}

.shop-media-picker-item input:checked + img {
    outline: 2px solid var(--vm-accent);
    outline-offset: 1px;
}

.shop-media-picker-item input:checked + img + span {
    color: var(--vm-accent);
}

.shop-media-picker-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.shop-media-picker-search {
    flex: 1 1 300px;
    min-width: 220px;
    max-width: 460px;
}

.shop-media-picker-count {
    font-size: 12px;
    color: var(--vm-muted);
}

.shop-media-table-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 10px;
}

.shop-media-table-search {
    flex: 1 1 300px;
    min-width: 220px;
    max-width: 460px;
}

.shop-media-table-count {
    font-size: 12px;
    color: var(--vm-muted);
}

.shop-file-input {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.shop-file-input-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
}

.shop-file-input-button {
    margin: 0 !important;
    cursor: pointer;
}

.shop-file-input-name {
    color: var(--vm-muted);
    font-size: 13px;
    line-height: 1.25;
}

.shop-file-input-name.has-files {
    color: var(--vm-text);
}

.shop-qr-box {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.shop-admin-body {
    --vm-content-offset: 0px;
    --shop-admin-accent: #8b5cf6;
    --shop-admin-accent-hover: #7c3aed;
    --shop-admin-accent-soft: rgba(139, 92, 246, 0.34);
    --shop-admin-accent-soft-strong: rgba(139, 92, 246, 0.58);
    --shop-admin-accent-ghost: rgba(139, 92, 246, 0.14);
    --shop-admin-header-bg: linear-gradient(180deg, rgba(20, 15, 36, 0.95), rgba(12, 10, 22, 0.95));
    --vm-accent: var(--shop-admin-accent);
    --shop-button-bg: var(--shop-admin-accent);
    --shop-button-bg-hover: var(--shop-admin-accent-hover);
}

.shop-admin-body .p23-main.w3-content {
    max-width: 1600px;
    margin-top: 0;
    padding-top: 20px;
}

.shop-admin-main {
    min-width: 0;
}

.shop-admin-header {
    position: sticky;
    top: 0;
    z-index: 10040;
    background: var(--shop-admin-header-bg);
    border-bottom: 1px solid var(--vm-border);
    backdrop-filter: blur(10px);
}

.shop-admin-header-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
}

.shop-admin-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
    margin-right: 8px;
}

.shop-admin-logo img {
    display: block;
    width: auto;
    height: 54px;
    max-width: 280px;
}

.shop-admin-nav-panel {
    display: grid;
    flex: 1;
    gap: 8px;
    min-width: 0;
}

.shop-admin-nav-groups {
    display: none;
    gap: 8px;
}

.shop-admin-nav-groups.is-open {
    display: grid;
}

.shop-admin-nav-group {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--shop-admin-accent-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 10px;
}

.shop-admin-nav-group.is-active-group {
    border-color: var(--shop-admin-accent-soft-strong);
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.24);
}

.shop-admin-nav-group-title {
    font-size: 10.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #b6bdcc;
    white-space: nowrap;
    font-weight: 700;
}

.shop-admin-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
    justify-content: flex-start;
}

.shop-admin-nav-group--quick .shop-admin-nav-links {
    justify-content: flex-end;
}

.shop-admin-nav-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shop-admin-accent-soft);
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.08);
    color: var(--vm-text);
    padding: 6px 10px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
}

.shop-admin-nav-link:hover,
.shop-admin-nav-link:focus {
    color: #fff;
    border-color: var(--shop-admin-accent-soft-strong);
    background: var(--shop-admin-accent-ghost);
}

.shop-admin-nav-link.is-active {
    background: var(--vm-accent);
    border-color: var(--vm-accent);
    color: #fff;
}

.shop-admin-nav-link.is-logout {
    background: rgba(176, 0, 32, 0.18);
    border-color: rgba(176, 0, 32, 0.45);
    color: #ffd7df;
}

.shop-admin-nav-link--toggle {
    appearance: none;
    font-family: inherit;
    cursor: pointer;
    background: rgba(139, 92, 246, 0.16);
    border-style: dashed;
}

.shop-admin-nav-link--toggle.is-open {
    background: rgba(139, 92, 246, 0.24);
    border-style: solid;
}

.shop-admin-intro {
    margin: 0 0 16px;
    border: 1px solid var(--shop-admin-accent-soft);
    border-radius: var(--vm-radius);
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--vm-muted);
    line-height: 1.45;
}

.shop-maintenance-lead {
    margin: 0 0 16px;
}

.shop-maintenance-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.shop-maintenance-panel {
    height: 100%;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.shop-maintenance-warmup h2,
.shop-maintenance-danger h2 {
    margin: 0 0 10px;
}

.shop-maintenance-warmup-form {
    margin: 0;
    display: grid;
    gap: 12px;
}

.shop-maintenance-summary {
    margin: 0;
}

.shop-maintenance-last-run {
    margin: 0 !important;
    padding-top: 10px;
    border-top: 1px solid var(--p23-border);
    font-size: 13px;
    line-height: 1.45;
}

.shop-maintenance-warmup-controls {
    display: grid;
    gap: 10px;
    align-content: start;
    grid-template-columns: minmax(0, 1fr);
}

.shop-maintenance-warmup-controls > div {
    max-width: 420px;
}

.shop-maintenance-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.35;
}

.shop-maintenance-check input[type="checkbox"] {
    margin-top: 2px;
}

.shop-maintenance-warmup-controls .p23-button,
.shop-maintenance-warmup-controls .msr-button {
    justify-self: start;
}

.shop-maintenance-danger {
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.shop-maintenance-danger p {
    margin: 0 0 12px;
}

.shop-maintenance-delete-form {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.shop-maintenance-danger-row {
    align-items: start;
}

.shop-dashboard-link {
    text-decoration: none;
    color: inherit;
    margin: 0;
    width: 100%;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-dashboard-link:hover {
    transform: translateY(-1px);
    border-color: var(--shop-button-bg, var(--vm-accent));
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

.shop-dashboard-link:focus-visible {
    outline: 2px solid var(--shop-button-bg, var(--vm-accent));
    outline-offset: 2px;
}

.shop-grid > .shop-dashboard-link {
    margin: 0;
}

.shop-dashboard-link,
.shop-dashboard-link *,
.shop-dashboard-link:hover,
.shop-dashboard-link:hover * {
    text-decoration: none !important;
}

.shop-admin-body .p23-card,
.shop-admin-body .shop-summary,
.shop-admin-body .p23-box:not(.p23-box--danger),
.shop-admin-body .shop-table th,
.shop-admin-body .shop-table td {
    border-color: var(--shop-admin-accent-soft);
}

.shop-admin-body .p23-input,
.shop-admin-body select,
.shop-admin-body textarea {
    min-height: 40px;
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.08);
}

.shop-admin-body .p23-input:focus,
.shop-admin-body .p23-input:focus-visible,
.shop-admin-body select:focus,
.shop-admin-body select:focus-visible,
.shop-admin-body textarea:focus,
.shop-admin-body textarea:focus-visible {
    border-color: var(--shop-admin-accent);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.28);
    outline: none;
}

@media (max-width: 980px) {
    .shop-maintenance-panels {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .shop-admin-header-inner {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 10px;
    }

    .shop-admin-logo img {
        height: 42px;
        max-width: 220px;
    }

    .shop-admin-logo {
        order: 1;
        margin-left: auto;
        margin-right: auto;
    }

    .shop-admin-nav-panel {
        display: grid;
        order: 2;
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        gap: 10px;
        border-top: 1px solid var(--vm-border);
        padding-top: 10px;
    }

    .shop-admin-nav-group--quick .shop-admin-nav-links {
        justify-content: flex-start;
    }

    .shop-admin-nav-group {
        width: 100%;
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 7px;
        padding-bottom: 6px;
    }

    .shop-admin-nav-links {
        width: 100%;
        gap: 6px;
    }

    .shop-admin-nav-link {
        font-size: 12px;
        padding: 7px 10px;
    }

    .shop-admin-body .p23-main.w3-content {
        padding-top: 14px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .shop-admin-intro {
        margin-bottom: 12px;
        font-size: 13px;
        padding: 10px 12px;
    }

    .shop-admin-body .p23-section h1 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .shop-admin-body .p23-card {
        padding: 10px;
    }

    .shop-admin-body .p23-stat__value {
        font-size: 1.45rem;
    }

    .shop-admin-body table,
    .shop-admin-body .shop-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .shop-admin-body table th,
    .shop-admin-body table td,
    .shop-admin-body .shop-table th,
    .shop-admin-body .shop-table td {
        white-space: nowrap;
    }

    .shop-order-cancel-select {
        min-width: 142px;
        max-width: 174px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .shop-admin-logo img {
        height: 42px;
        max-width: 200px;
    }

    .shop-admin-nav-link {
        font-size: 14px;
        padding: 9px 12px;
    }

    .shop-admin-nav-group-title {
        font-size: 10px;
    }
}

.shop-header-sep {
    color: var(--vm-muted);
    margin: 0 6px;
    display: inline-block;
}

.p23-body .p23-main {
    padding-bottom: var(--shop-main-offset, 0px);
}

.shop-product-top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 24px;
}

.shop-product-top h1 {
    font-size: clamp(1.6rem, 3.2vw, 2rem);
    line-height: 1.15;
    margin: 0 0 10px;
}

.shop-product-media {
    margin-right: 5%;
}

.shop-product-media > .p23-gallery-item {
    flex: 1 1 auto;
    max-width: none;
}

.shop-product-media > .p23-gallery-item img {
    width: 100%;
    height: auto;
}

.js-gallery-thumb.is-active {
    outline: 2px solid var(--vm-accent);
    box-shadow: 0 0 0 2px rgba(192, 22, 47, 0.2);
}

@media (max-width: 900px) {
    .shop-product-top {
        grid-template-columns: 1fr;
    }
    .shop-product-media {
        margin-right: 0;
    }
}

.shop-admin-body table,
.shop-admin-body .shop-table {
    width: 100%;
    max-width: 100%;
}

.shop-admin-body .shop-form-row,
.shop-admin-body .shop-grid {
    min-width: 0;
}

.shop-color-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    border-width: 1px;
}

.shop-color-pill .shop-color-swatch,
.shop-variant-pill[style*="background:"] .shop-color-swatch {
    display: none;
}

.shop-color-swatch {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid var(--vm-border);
    display: inline-block;
}

.shop-color-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 8px;
    min-height: 12px;
}

.shop-card-variant-hint {
    font-size: 11px;
    line-height: 1.25;
    color: var(--vm-muted);
}

.shop-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    display: inline-block;
}

.shop-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.shop-card-body h3 {
    margin: 0;
    line-height: 1.2;
    min-height: 3.6em;
    text-shadow: none;
}

.shop-card-body h3 .p23-meta-link {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-shadow: -1px 0 0 rgba(0, 0, 0, 0.86), 1px 0 0 rgba(0, 0, 0, 0.86), 0 -1px 0 rgba(0, 0, 0, 0.86), 0 1px 0 rgba(0, 0, 0, 0.86), 0 0 4px rgba(106, 60, 255, 0.5), 0 0 7px rgba(106, 60, 255, 0.28);
}

.shop-card-body .shop-price {
    min-height: 22px;
    margin-top: auto;
    text-align: right;
}

.shop-price-row {
    text-align: right;
}

.shop-stock {
    font-size: 11px;
    color: var(--vm-muted);
}

.shop-price-row + .shop-stock {
    text-align: right;
}

.shop-stock.is-in {
    color: var(--shop-stock-in);
}

.shop-stock.is-out {
    color: var(--vm-muted);
}

.shop-qty-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-color-pill.is-active {
    border-color: var(--vm-accent);
    box-shadow: 0 0 0 1px var(--vm-accent);
}

.shop-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-variant-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.shop-variant-pill {
    cursor: pointer;
}

.shop-variant-pill.is-active {
    border-color: var(--vm-accent);
    box-shadow: 0 0 0 1px var(--vm-accent);
    background: var(--vm-bg-alt);
}

.shop-variant-input:checked + .shop-variant-pill {
    border-color: var(--vm-accent);
    box-shadow: 0 0 0 1px var(--vm-accent);
    background: var(--vm-bg-alt);
}

.shop-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: 12px;
}

.shop-product-actions .p23-button {
    margin: 0;
}

.shop-product-actions .js-fb-share {
    font-size: 12px;
    padding: 6px 10px;
}

.shop-size-guide-trigger {
    font-size: 12px;
    padding: 6px 10px;
}

.shop-size-guide-modal .shop-modal-panel {
    max-width: 720px;
}

.shop-size-guide-wrap {
    margin-top: 12px;
    overflow-x: auto;
}

.shop-size-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.shop-size-guide-table th,
.shop-size-guide-table td {
    border: 1px solid var(--vm-border);
    padding: 6px 8px;
    text-align: center;
}

.shop-size-guide-image img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--vm-radius);
    margin-top: 12px;
    display: block;
}

.shop-size-guide-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.shop-benefits {
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    padding: 10px 12px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.shop-benefits summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--vm-text);
}

.shop-benefits ul {
    margin: 8px 0 0 18px;
    color: var(--vm-muted);
}

.shop-checkout-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px;
}

.shop-badge-chip {
    border: 1px solid var(--vm-border);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    color: var(--vm-muted);
    background: rgba(255, 255, 255, 0.03);
}

.shop-badge-chip.is-good {
    border-color: var(--shop-stock-in);
    color: var(--shop-stock-in);
}

.shop-badge-chip.is-warn {
    border-color: var(--vm-muted);
    color: var(--vm-muted);
}

:root {
    --shop-button-bg: #8b5cf6;
    --shop-button-bg-hover: #7c3aed;
    --shop-button-text: #ffffff;
    --shop-button-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
    --shop-stock-in: #22c55e;
    --vm-content-offset: 120px;
    --p23-accent: #8b5cf6;
    --p23-accent-soft: rgba(139, 92, 246, 0.24);
    --color-accent-red: rgb(139, 92, 246);
    --color-accent-red-soft: rgba(139, 92, 246, 0.19);
    --color-accent-red-strong: rgba(139, 92, 246, 0.5);
    --shadow-card-red: 0 4px 10px 0 var(--color-accent-red-strong),
        0 4px 20px 0 var(--color-accent-red-soft);
    --bg-image-red: url('/shop/stuff/img/graph/backWHITISH.avif');
}

#backTOP {
    height: 132px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.68) 54%, rgba(0, 0, 0, 0) 100%);
    background-image: none !important;
}

.logotyp,
.logotyp-center {
    top: 10px;
    max-height: 74px;
}

.logotyp {
    max-width: 210px;
}

#menuBTN,
#menuBTN2 {
    top: 28px;
    min-height: 48px;
}

#menuBTN button,
#menuBTN2 button {
    height: 48px;
    padding: 0 14px;
}

.p23-button {
    background-color: var(--shop-button-bg) !important;
    color: var(--shop-button-text) !important;
    border-color: var(--shop-button-bg) !important;
}

.p23-button:hover,
.p23-button:focus {
    background-color: var(--shop-button-bg-hover) !important;
    border-color: var(--shop-button-bg-hover) !important;
    color: var(--shop-button-text) !important;
}

.p23-button--secondary {
    background-color: transparent !important;
    color: var(--shop-button-bg) !important;
    border-color: var(--shop-button-bg) !important;
}

.p23-button--secondary:hover,
.p23-button--secondary:focus {
    background-color: var(--shop-button-bg) !important;
    color: var(--shop-button-text) !important;
}

.p23-header .p23-button {
    background-color: transparent !important;
    border-color: transparent !important;
    color: inherit;
}
.p23-header .p23-button:hover,
.p23-header .p23-button:focus {
    background-color: transparent !important;
    border-color: transparent !important;
}

.p23-card {
    padding: 16px;
}

.shop-variant-group {
    margin-bottom: 12px;
}

.shop-product-full {
    width: 100%;
}

.shop-variant-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.shop-color-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--vm-muted);
}

.shop-color-count {
    font-weight: 600;
    color: var(--vm-accent);
}

.shop-variant-title {
    margin-bottom: 6px;
}

.shop-size-list {
    margin-top: 8px;
}

.shop-size-list.is-hidden {
    display: none;
}

.shop-size-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.shop-size-cell {
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    background: var(--vm-bg-alt);
    padding: 8px;
    text-align: center;
}

.shop-size-cell input {
    width: 100%;
    margin-top: 6px;
    text-align: center;
}

.shop-size-label {
    font-weight: 600;
}

.shop-size-price {
    font-size: 12px;
    color: var(--vm-muted);
}

.shop-size-table-wrap {
    overflow-x: auto;
}

.shop-size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    min-width: 640px;
}

.shop-size-table th,
.shop-size-table td {
    padding: 8px;
    border: 1px solid var(--vm-border);
    text-align: center;
    vertical-align: top;
}

.shop-size-table .shop-size-cell {
    border: 0;
    background: transparent;
    padding: 4px;
}

.shop-size-head {
    background: var(--vm-bg-alt);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.shop-size-row.is-hidden {
    display: none;
}

.shop-size-color {
    text-align: left;
    white-space: nowrap;
}

.shop-size-color .shop-color-swatch {
    margin-right: 6px;
}

.shop-size-row-qty,
.shop-size-row-total {
    font-weight: 600;
}

.shop-size-summary {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    background: var(--vm-bg-alt);
}

.shop-size-cell.shop-size-empty {
    background: transparent;
    color: var(--vm-muted);
    border-radius: var(--vm-radius);
}

.shop-size-table .shop-size-cell.shop-size-empty {
    border: 0;
}

.shop-size-price .shop-price-sub {
    display: block;
    margin-left: 0;
}

.shop-card-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.shop-card-actions form {
    margin: 0;
}

.shop-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-recent-section .shop-product-grid > *:nth-child(n+4) {
    display: none;
}

.shop-suggested-section .shop-product-grid > *:nth-child(n+4) {
    display: none;
}

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

    .shop-recent-section .shop-product-grid > *:nth-child(n+3),
    .shop-suggested-section .shop-product-grid > *:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 600px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .shop-recent-section .shop-product-grid > *:nth-child(n+3) {
        display: none;
    }
    .shop-suggested-section .shop-product-grid > *:nth-child(n+3) {
        display: none;
    }
}

.shop-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.shop-summary-row .shop-summary-value {
    text-align: right;
    white-space: nowrap;
}

.shop-label-required::after {
    content: ' *';
    color: var(--vm-accent);
    font-weight: 700;
}

.shop-qr-box #shop-qr {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
}

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

.shop-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--vm-radius);
    overflow: hidden;
    margin: 16px 0 24px;
    background: #111;
}

.shop-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--vm-border);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 10050;
    display: none;
}

.shop-cookie.is-visible {
    display: block;
}

.shop-cookie-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.shop-cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.shop-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    display: block;
}

.shop-banner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.shop-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-category-section {
    margin: 24px 0;
}

.shop-category-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.shop-category-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    border-radius: var(--vm-radius);
    background: var(--shop-button-bg);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.03em;
    text-align: center;
    padding: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.shop-category-card:hover,
.shop-category-card:focus {
    background: var(--shop-button-bg-hover);
    color: #fff;
}

.shop-category-card.has-bg {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.shop-category-card.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.6));
    z-index: 0;
}
.shop-category-card.has-bg > * {
    position: relative;
    z-index: 1;
}

.shop-analytics-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.shop-analytics-title {
    margin: 0;
    font-size: 18px;
    white-space: nowrap;
}

.shop-analytics-links {
    display: flex;
    flex: 1;
    gap: 8px;
    align-items: center;
    justify-content: space-evenly;
}

.shop-analytics-links .pill {
    white-space: nowrap;
}

.shop-analytics-links .pill.is-active {
    background: var(--shop-button-bg);
    color: #fff;
    border: 1px solid var(--shop-button-bg);
}

.shop-review-image {
    margin-top: 10px;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
}

.shop-ship-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
}

#upBTN {
    bottom: calc(20px + var(--shop-up-offset, 0px)) !important;
    z-index: 10010;
}

.shop-toast {
    position: fixed;
    left: 50%;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    background: var(--vm-accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    font-weight: 600;
    font-size: 15px;
    min-width: 240px;
    max-width: min(92vw, 640px);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translate(-50%, -8px);
    z-index: 10060;
}

.shop-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.shop-footerbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid var(--vm-border);
    padding: 10px 16px 8px;
    text-align: center;
    z-index: 9994;
}

.shop-footerbar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: var(--vm-muted);
    line-height: 1.2;
}

.shop-footerbar-row + .shop-footerbar-row {
    margin-top: 4px;
}

.shop-footerbar-links {
    margin-top: 2px;
}

.shop-footerbar a {
    color: var(--vm-text);
    text-decoration: none;
}

.shop-footerbar a:hover {
    color: var(--vm-accent);
}

.shop-footerbar-socials a {
    font-size: 20px;
}

.shop-toast.is-error {
    background: #b00020;
}

.shop-toast.is-success {
    background: var(--vm-accent);
}

.shop-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9998;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
}

.shop-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.shop-modal-panel {
    position: relative;
    background: #111;
    max-width: 960px;
    width: min(960px, 100%);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: auto;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--vm-border);
}

.shop-modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    border: 1px solid var(--vm-border);
    color: #fff;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
}

.shop-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.shop-quick-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
}

.shop-quick-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-quick-header {
    font-size: 16px;
}

.shop-quick-media img {
    width: 100%;
    border-radius: var(--vm-radius);
    display: block;
}

.shop-quick-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.shop-quick-thumbs img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .shop-quick-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .shop-modal {
        padding: 8px;
    }

    .shop-modal-panel {
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        padding: 16px 14px 14px;
        border-radius: 12px;
    }

    .shop-modal-close {
        top: 8px;
        right: 8px;
    }
}

.shop-sticky-add {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(env(safe-area-inset-bottom, 0px) + var(--shop-sticky-offset, 0px) + var(--shop-footer-offset, 0px));
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--vm-border);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    transform: translateY(100%);
    transition: transform 0.2s ease;
    z-index: 9997;
}

.shop-sticky-add.is-visible {
    transform: translateY(0);
}

.shop-sticky-tab {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-end;
    padding: 8px 14px;
    border-radius: 14px 14px 0 0;
    border: 1px solid var(--shop-button-bg);
    background: var(--shop-button-bg);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    box-shadow: var(--shop-button-shadow);
    cursor: pointer;
}

.shop-sticky-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-weight: 800;
    background: #fff;
    color: var(--shop-button-bg);
    font-size: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-sticky-panel {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.shop-sticky-title {
    font-size: 12px;
    color: var(--vm-muted);
}

.shop-sticky-price {
    font-weight: 700;
    color: var(--vm-accent);
}

.shop-sticky-sub {
    font-size: 11px;
    color: var(--vm-muted);
}

.shop-sticky-summary {
    font-size: 12px;
    color: var(--vm-muted);
}

.shop-sticky-info {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    text-align: right;
    min-width: 180px;
}

.shop-sticky-ship {
    order: 1;
    font-size: 11px;
    color: var(--vm-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    margin-left: 0;
    margin-right: auto;
}

.shop-sticky-ship-label {
    font-weight: 600;
}

.shop-sticky-ship-note {
    color: var(--vm-muted);
}

.shop-sticky-actions {
    order: 4;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: 0;
}

.shop-sticky-add .shop-qty-inline {
    order: 3;
}

.shop-sticky-cart {
    font-size: 12px;
    color: var(--vm-text);
    text-decoration: none;
    border: 1px solid var(--vm-border);
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
}

.shop-sticky-cart:hover {
    color: var(--vm-accent);
}

.shop-sticky-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-weight: 700;
    margin-left: 6px;
    background: var(--vm-accent);
    color: #fff;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.shop-sticky-cart--primary {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--vm-accent);
    border-color: var(--vm-accent);
    box-shadow: var(--shop-button-shadow);
}

.shop-sticky-cart--primary .shop-sticky-cart-count {
    background: #fff;
    color: var(--vm-accent);
    border-color: rgba(0, 0, 0, 0.08);
}

.shop-sticky-cart--primary:hover {
    color: #fff;
    filter: brightness(1.05);
}

.shop-free-progress {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}

.shop-free-bar {
    height: 100%;
    background: var(--shop-stock-in);
}

.shop-free-progress--inline {
    height: 4px;
    max-width: 180px;
    margin-top: 6px;
}

.shop-ship-note {
    font-size: 12px;
    color: var(--vm-muted);
}

.shop-cartbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(env(safe-area-inset-bottom, 0px) + var(--shop-sticky-offset, 0px) + var(--shop-footer-offset, 0px));
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--vm-border);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    z-index: 9996;
}

.shop-cartbar-tab {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-end;
    padding: 8px 14px;
    border-radius: 14px 14px 0 0;
    border: 1px solid var(--shop-button-bg);
    background: var(--shop-button-bg);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    box-shadow: var(--shop-button-shadow);
    cursor: pointer;
}

.shop-cartbar-panel {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .shop-sticky-info,
    .shop-sticky-actions,
    .shop-sticky-ship {
        width: 100%;
        align-items: flex-end;
    }
}

.shop-cartbar-link {
    order: 2;
    color: var(--vm-text);
    text-decoration: none;
    border: 1px solid var(--vm-border);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
}

.shop-cartbar-link--primary {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--vm-accent);
    border-color: var(--vm-accent);
    box-shadow: var(--shop-button-shadow);
}

.shop-cartbar-link--primary .shop-cartbar-count {
    background: #fff;
    color: var(--vm-accent);
    border-color: rgba(0, 0, 0, 0.08);
}

.shop-cartbar-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-weight: 700;
    margin-left: 6px;
    background: var(--vm-accent);
    color: #fff;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.shop-cartbar-tab .shop-cartbar-count {
    background: #fff;
    color: var(--shop-button-bg);
    border-color: rgba(0, 0, 0, 0.08);
}

.shop-cartbar-ship {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    font-size: 11px;
    color: var(--vm-muted);
}

.shop-cartbar-label {
    font-weight: 600;
}

.shop-cartbar-note {
    color: var(--vm-muted);
}

@media (max-width: 720px) {
    .shop-cartbar-ship {
        width: 100%;
        align-items: flex-end;
    }

    .shop-cartbar-ship .shop-free-progress--inline {
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .shop-sticky-tab,
    .shop-cartbar-tab {
        display: inline-flex;
        position: relative;
        z-index: 1;
        transform: none;
        margin-bottom: 0;
    }

    .shop-sticky-add,
    .shop-cartbar {
        padding: 8px 12px;
    }

    .shop-sticky-panel,
    .shop-cartbar-panel {
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        transform: translateY(6px);
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.25s ease, padding 0.2s ease;
    }

    .shop-sticky-add.is-collapsed,
    .shop-cartbar.is-collapsed {
        gap: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        align-items: flex-end;
        pointer-events: none;
    }

    .shop-sticky-add:not(.is-collapsed) .shop-sticky-panel,
    .shop-cartbar:not(.is-collapsed) .shop-cartbar-panel {
        max-height: 320px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        padding-top: 6px;
    }

    .shop-cartbar-link--primary,
    .shop-sticky-cart,
    .shop-sticky-cart--primary {
        font-size: 12px;
        padding: 7px 12px;
    }

    .shop-sticky-add.is-collapsed .shop-sticky-tab,
    .shop-cartbar.is-collapsed .shop-cartbar-tab {
        pointer-events: auto;
        margin-right: 12px;
    }

    .shop-sticky-tab-count,
    .shop-cartbar-tab .shop-cartbar-count {
        background: transparent;
        color: #fff;
        border-color: rgba(255, 255, 255, 0.6);
    }
}

@media (max-width: 720px) {
    .shop-recent-section .shop-card:nth-child(n+3),
    .shop-suggested-section .shop-card:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 720px) {
    .shop-analytics-nav {
        flex-wrap: wrap;
    }
    .shop-analytics-title {
        flex: 1 1 100%;
    }
    .shop-analytics-links {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

.shop-img {
    display: block;
    width: 100%;
    height: auto;
}

.shop-img--blur {
    filter: blur(14px);
    transform: scale(1.02);
    transition: filter 0.35s ease, transform 0.35s ease;
    background: #111;
}

.shop-img--blur.is-loaded {
    filter: blur(0);
    transform: scale(1);
}

.shop-richtext {
    line-height: 1.55;
}

.shop-richtext h1,
.shop-richtext h2,
.shop-richtext h3,
.shop-richtext h4,
.shop-richtext h5,
.shop-richtext h6 {
    margin-left: 0;
    width: auto;
    max-width: 100%;
}

.shop-richtext h2 {
    font-size: clamp(1.15rem, 2.1vw, 1.35rem);
}

.shop-richtext h3 {
    font-size: clamp(1.05rem, 1.7vw, 1.18rem);
}

.shop-category-description {
    margin: 14px 0 18px;
}

.shop-category-title {
    margin: 6px 0 12px;
}

.shop-random-title {
    margin: 8px 0 14px;
}

.shop-category-description .shop-richtext > :first-child {
    margin-top: 0;
}

.shop-category-description .shop-richtext > :last-child {
    margin-bottom: 0;
}

@media (max-width: 720px) {
    :root {
        --vm-content-offset: 82px;
    }

    body.p23-body {
        font-size: 0.92rem;
    }

    .logotyp,
    .logotyp-center {
        top: 6px;
        left: 10px;
        max-width: 148px;
        max-height: 44px;
    }

    #backTOP {
        height: 88px;
    }

    #menuBTN,
    #menuBTN2 {
        top: 12px;
        right: 10px;
        min-height: 36px;
    }

    #menuBTN button,
    #menuBTN2 button {
        height: 36px;
        padding: 0 10px;
    }

    #upBTN {
        padding: 8px;
        font-size: 1.15em;
        bottom: 2.2em;
    }

    .shop-category-chips-inner {
        border-radius: 12px;
        padding: 6px 10px;
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
    }

    .shop-category-chips-inner::-webkit-scrollbar {
        height: 5px;
    }

    .shop-category-chips-inner::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.35);
        border-radius: 999px;
    }

    .shop-category-chips-inner::-webkit-scrollbar-track {
        background: transparent;
    }

    .shop-chip {
        padding: 5px 10px;
        font-size: 11px;
        flex: 0 0 auto;
    }

    .shop-chip--separator {
        flex: 0 0 auto;
    }

    .shop-grid {
        gap: 14px;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

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

    .shop-card {
        padding: 10px;
        gap: 8px;
    }

    .shop-card-body {
        gap: 6px;
    }

    .shop-card-body h3 {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .shop-price-main {
        font-size: 0.9rem;
    }

    .shop-price-sub,
    .shop-badge,
    .shop-badge-inline {
        font-size: 10px;
    }

    .shop-product-top {
        gap: 14px;
    }

    .shop-product-top h1 {
        font-size: 1.45rem;
        line-height: 1.25;
        margin: 0 0 8px;
    }

    .shop-product-media .p23-gallery-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .shop-product-media .p23-gallery-item img {
        max-height: 55vh;
        object-fit: contain;
        background: #111;
    }

    .shop-sticky-info,
    .shop-sticky-ship {
        min-width: 0;
    }

    .shop-richtext {
        font-size: 0.9rem;
    }

    .shop-size-table th,
    .shop-size-table td {
        padding: 6px;
        font-size: 11px;
    }

    .shop-size-summary {
        padding: 10px 12px;
    }
}
