:root {
    color-scheme: light;
    --text: #172033;
    --muted: #6d7482;
    --line: #e7eaf0;
    --surface: #f6f7fb;
    --dark: #080d19;
    --accent: #d71962;
    --accent-hover: #b91352;
    --success: #1f8a5b;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

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

.site-header {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.utility-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 34px;
    padding: 0 clamp(16px, 4vw, 32px);
    color: #c4c9d4;
    background: var(--dark);
    font-size: 13px;
}

.utility-links,
.utility-meta,
.language-switcher,
.main-header,
.header-actions {
    display: flex;
    align-items: center;
}

.utility-links,
.utility-meta {
    gap: 22px;
}

.language-switcher {
    gap: 4px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.language-switcher a {
    min-width: 30px;
    padding: 4px 7px;
    border-radius: 14px;
    text-align: center;
    color: #c4c9d4;
}

.language-switcher a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.phone {
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.main-header {
    gap: 16px;
    min-height: 86px;
    padding: 16px clamp(16px, 4vw, 32px);
}

.site-logo {
    flex: 0 0 auto;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--dark);
}

.site-logo span {
    color: var(--accent);
}

.catalog-button,
.buy-button,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.catalog-button {
    padding: 0 18px;
}

.search-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    flex: 1 1 auto;
    min-width: 220px;
    height: 52px;
    overflow: visible;
    border: 1px solid transparent;
    border-radius: 26px;
    background: var(--surface);
}

.search-suggestions {
    position: absolute;
    z-index: 100;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(420px, 70vh);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.16);
}

.search-suggestion {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    min-height: 72px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
}

.search-suggestion:last-child {
    border-bottom: 0;
}

.search-suggestion:hover,
.search-suggestion.is-active {
    background: #f6f7fb;
}

.search-suggestion-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.search-suggestion-media {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.search-suggestion-media img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.search-suggestion-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--accent);
    background: var(--surface);
    font-size: 11px;
    font-weight: 900;
}

.search-suggestion-fallback[hidden] {
    display: none;
}

.search-suggestion-price {
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.search-suggestion strong,
.search-suggestion small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion strong {
    color: var(--text);
    font-size: 14px;
}

.search-suggestion small {
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 620px) {
    .search-suggestion {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .search-suggestion-media {
        width: 48px;
        height: 48px;
    }

    .search-suggestion-price {
        grid-column: 2;
        justify-self: start;
        font-size: 13px;
    }
}

.search-form:focus-within {
    border-color: rgba(215, 25, 98, 0.3);
    background: #fff;
}

.search-form input {
    min-width: 0;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
}

.search-form button {
    width: 42px;
    height: 42px;
    margin: 5px 6px 5px 0;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.catalog-button:hover,
.search-form button:hover,
.buy-button:hover,
.primary-link:hover {
    background: var(--accent-hover);
}

.header-actions {
    flex: 0 0 auto;
    gap: 10px;
}

.header-actions span,
.cart-action {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff4f8;
    color: var(--dark);
    font-size: 22px;
}

.cart-action {
    position: relative;
}

.cart-action strong {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.page-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 64px;
}

.store-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    align-items: center;
    min-height: 360px;
    overflow: hidden;
    border-radius: 8px;
    background: #dce8f2;
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: clamp(26px, 5vw, 52px);
}

.section-label {
    display: inline-block;
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.store-hero h1,
.content-section h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.05;
}

.store-hero h1 {
    max-width: 520px;
    margin-bottom: 24px;
}

.primary-link {
    width: max-content;
    padding: 0 20px;
}

.hero-image {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    padding: 30px;
}

.category-strip {
    display: flex;
    gap: 18px;
    margin: 18px 0 30px;
    padding: 14px 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    color: #303746;
    font-size: 14px;
    font-weight: 700;
}

.category-strip a {
    flex: 0 0 auto;
    white-space: nowrap;
}

.breadcrumbs {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: #a6adba;
}

.breadcrumbs a {
    color: #4b5565;
}

.breadcrumbs span {
    color: var(--text);
    font-weight: 700;
}

.content-section {
    margin-top: 34px;
}

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

.section-heading h2 {
    margin: 0;
    font-size: 28px;
}

.section-heading a,
.section-heading span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

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

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}

.category-item:hover,
.category-tree a:hover,
.subcategory-item:hover,
.product-card:hover {
    border-color: rgba(215, 25, 98, 0.35);
    box-shadow: 0 8px 24px rgba(19, 24, 35, 0.08);
}

.category-tree {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.category-tree .category-tree {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 8px;
    padding-left: 14px;
}

.category-tree-item {
    min-width: 0;
}

.category-tree a,
.subcategory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #252d3d;
    font-weight: 800;
}

.category-tree .category-tree a {
    min-height: 36px;
    padding: 8px 10px;
    border-color: transparent;
    background: var(--surface);
    color: #4b5565;
    font-size: 14px;
    font-weight: 700;
}

.category-tree .category-tree .category-tree a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.subcategory-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.product-card {
    display: grid;
    grid-template-rows: 210px minmax(122px, 1fr) auto;
    gap: 12px;
    min-height: 438px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-media {
    position: relative;
    min-width: 0;
}

.product-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.favorite-button {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #3a4150;
    background: #fff;
    box-shadow: 0 6px 18px rgba(19, 24, 35, 0.12);
    font-size: 20px;
    cursor: pointer;
}

.product-info {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.image-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 16px;
    color: #7b8494;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(215, 25, 98, 0.08), rgba(8, 13, 25, 0.04)),
        var(--surface);
}

.image-placeholder[hidden] {
    display: none;
}

.image-placeholder-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(215, 25, 98, 0.22);
    border-radius: 50%;
    color: var(--accent);
    background: #fff;
    font-weight: 900;
}

.image-placeholder-text {
    font-size: 13px;
    font-weight: 700;
}

.product-title {
    color: #252d3d;
    font-size: 14px;
    line-height: 1.35;
}

.product-brand {
    min-height: 17px;
    color: #7b8494;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.stock-status,
.delivery-status {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.25;
}

.stock-status.is-available {
    color: var(--success);
    font-weight: 800;
}

.stock-status.is-empty {
    color: #9b243f;
    font-weight: 800;
}

.product-purchase {
    display: grid;
    gap: 10px;
}

.product-purchase form,
.product-buy-form {
    margin: 0;
}

.product-price {
    color: var(--dark);
    font-size: 21px;
    line-height: 1;
}

.quantity-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
}

.quantity-stepper {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    height: 40px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    text-align: center;
    font-weight: 800;
}

.quantity-stepper button {
    width: 28px;
    height: 40px;
    border: 0;
    color: #8d95a3;
    background: transparent;
    cursor: pointer;
}

.quantity-stepper button:hover {
    color: var(--accent);
}

.card-cart-button {
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.card-cart-button:hover {
    background: var(--accent-hover);
}

.card-cart-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.product-page {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gallery-image,
.product-gallery .image-placeholder-large {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.product-summary h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
}

.muted,
.empty-state {
    color: var(--muted);
}

.offer-box {
    display: grid;
    gap: 12px;
    margin: 22px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.product-detail-price {
    margin: 0;
    color: var(--dark);
    font-size: 34px;
    font-weight: 900;
}

.buy-button {
    width: 100%;
}

.product-buy-form {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
}

.product-quantity-input {
    min-height: 44px;
    min-width: 0;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}

.product-description {
    color: #303746;
    line-height: 1.65;
}

.message {
    max-width: 560px;
    padding: 48px 0;
}

.static-page {
    max-width: 840px;
}

.static-page h1 {
    margin: 0 0 18px;
}

.static-copy {
    color: #303746;
    font-size: 16px;
    line-height: 1.7;
}

.checkout-page {
    display: grid;
    gap: 22px;
}

.checkout-heading h1,
.order-success h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.cart-items,
.checkout-form-stack {
    display: grid;
    gap: 12px;
}

.cart-item,
.checkout-panel,
.order-summary,
.empty-cart,
.order-success {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 220px;
    gap: 16px;
    padding: 14px;
}

.cart-item-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-main,
.cart-item-controls,
.checkout-panel,
.order-summary,
.empty-cart,
.order-success {
    display: grid;
    gap: 10px;
}

.cart-item-title {
    font-weight: 800;
}

.cart-item-controls {
    justify-items: end;
    align-content: center;
}

.cart-item-controls input {
    width: 76px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
}

.link-button {
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.cart-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.secondary-link,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-weight: 800;
}

.secondary-button {
    cursor: pointer;
}

.checkout-panel,
.order-summary,
.empty-cart,
.order-success {
    padding: 18px;
}

.checkout-panel h2,
.order-summary h2,
.empty-cart h2 {
    margin: 0;
}

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

.form-grid label,
.checkout-panel > label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.form-grid input,
.checkout-panel textarea {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.checkout-panel textarea {
    padding-top: 10px;
    resize: vertical;
}

.delivery-options {
    display: grid;
    gap: 10px;
}

.delivery-option,
.payment-option {
    display: grid;
    grid-template-columns: 22px 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.payment-option {
    grid-template-columns: 22px minmax(0, 1fr);
}

.delivery-option input,
.payment-option input {
    width: 18px;
    height: 18px;
}

.delivery-option small,
.payment-option small,
.summary-items span {
    color: var(--muted);
}

.delivery-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--accent);
    font-weight: 900;
}

.order-summary {
    position: sticky;
    top: 16px;
}

.order-summary dl,
.order-details {
    display: grid;
    gap: 10px;
    margin: 0;
}

.order-summary dl div,
.order-details div,
.summary-items div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.order-details div {
    justify-content: flex-start;
}

.order-details dt {
    width: 170px;
    color: var(--muted);
}

.order-summary dd,
.order-summary dt,
.order-details dd,
.order-details dt {
    margin: 0;
}

.summary-total {
    font-size: 20px;
    font-weight: 900;
}

.summary-items {
    display: grid;
    gap: 4px;
}

.checkout-errors {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(155, 36, 63, 0.22);
    border-radius: 8px;
    color: #9b243f;
    background: #fff4f8;
    font-weight: 700;
}

.checkout-errors p {
    margin: 0;
}

.product-page {
    display: grid;
    grid-template-columns: minmax(0, 590px) minmax(360px, 1fr);
    gap: 46px;
    align-items: start;
}

.product-gallery-panel {
    display: grid;
    gap: 14px;
}

.product-gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    padding: clamp(20px, 4vw, 54px);
}

.gallery-zoom,
.gallery-nav,
.wishlist-button,
.cart-remove-button {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: #3b4352;
    cursor: pointer;
}

.gallery-zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    font-size: 24px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 28px;
}

.gallery-nav-prev {
    left: 16px;
}

.gallery-nav-next {
    right: 16px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.gallery-thumb {
    display: grid;
    place-items: center;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.gallery-thumb.is-active {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-buy-box {
    display: grid;
    gap: 20px;
    padding-top: 4px;
}

.product-buy-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #9aa2b0;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-buy-meta span:last-child {
    margin-left: auto;
    text-transform: none;
    font-weight: 600;
}

.product-buy-box h1 {
    margin: 0;
    color: #151d2c;
    font-size: clamp(27px, 3.6vw, 34px);
    line-height: 1.18;
}

.product-offer {
    display: grid;
    gap: 10px;
}

.product-detail-price {
    margin: 0;
    color: var(--dark);
    font-size: clamp(34px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: 0;
}

.price-note {
    color: #9aa2b0;
    font-size: 13px;
}

.product-stock,
.cart-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
}

.product-stock::before,
.cart-stock::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.product-stock.is-available,
.cart-stock.is-available {
    color: var(--success);
}

.product-stock.is-empty,
.cart-stock.is-empty {
    color: #9b243f;
}

.product-buy-form {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr) 54px;
    gap: 10px;
    align-items: center;
    margin-top: 2px;
}

.quantity-control {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    min-height: 54px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 27px;
    background: #fff;
}

.quantity-control button {
    width: 38px;
    height: 54px;
    border: 0;
    color: #303746;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.quantity-control button:hover {
    color: var(--accent);
}

.quantity-control input {
    width: 100%;
    min-width: 0;
    height: 54px;
    border: 0;
    outline: 0;
    text-align: center;
    font-weight: 800;
    -moz-appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.product-buy-form .buy-button {
    min-height: 54px;
    border-radius: 8px;
    font-size: 16px;
}

.wishlist-button {
    width: 54px;
    height: 54px;
    color: #5c6472;
    font-size: 22px;
}

.delivery-block {
    display: grid;
    border-top: 1px solid var(--line);
}

.delivery-block-head,
.delivery-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.delivery-block-head {
    padding: 18px 0 6px;
}

.delivery-block-head h2 {
    margin: 0;
    font-size: 21px;
}

.delivery-block-head span {
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
}

.delivery-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 70px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.delivery-row .delivery-icon {
    width: 42px;
    height: 42px;
    background: #fff4f8;
}

.delivery-row span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.delivery-row strong {
    font-size: 15px;
}

.delivery-row small {
    color: #9aa2b0;
}

.delivery-row b {
    color: var(--success);
    white-space: nowrap;
}

.product-detail-tabs {
    grid-column: 1 / -1;
    display: grid;
    gap: 0;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    min-height: 54px;
    padding: 0 20px;
    border-bottom: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 900;
}

.product-tab span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff4f8;
}

.product-description {
    padding: 20px;
    color: #303746;
    line-height: 1.65;
}

.cart-page {
    display: grid;
    gap: 24px;
    max-width: 890px;
    margin: 0 auto;
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
}

.checkout-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #9aa2b0;
    font-weight: 900;
}

.checkout-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 46px;
    right: -8px;
    top: 50%;
    height: 2px;
    background: var(--line);
    transform: translateY(-50%);
    z-index: 0;
}

.checkout-step span {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: #9aa2b0;
}

.checkout-step.is-active {
    color: var(--text);
}

.checkout-step.is-active span {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent);
}

.cart-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.cart-heading h1 {
    margin: 0;
    font-size: 30px;
}

.cart-heading span {
    color: var(--muted);
    font-weight: 800;
}

.cart-layout {
    display: grid;
    gap: 22px;
}

.cart-list-card {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cart-list-card .cart-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 160px 42px;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

.cart-list-card .cart-item:last-child {
    border-bottom: 0;
}

.cart-item-image {
    width: 90px;
    height: 90px;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    background: #fff;
}

.cart-item-image img {
    padding: 7px;
}

.cart-item-main {
    display: grid;
    gap: 9px;
}

.cart-item-title {
    color: #151d2c;
    font-weight: 900;
    line-height: 1.35;
}

.cart-item-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cart-quantity {
    width: 100px;
    min-height: 42px;
    grid-template-columns: 30px 1fr 30px;
}

.cart-quantity button,
.cart-quantity input {
    height: 42px;
}

.cart-update-button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.cart-item-price {
    display: grid;
    gap: 4px;
    justify-items: start;
}

.cart-item-price strong {
    color: var(--dark);
    font-size: 19px;
}

.cart-item-price span {
    color: #9aa2b0;
    font-size: 12px;
}

.cart-item-actions {
    align-self: start;
    justify-self: end;
}

.cart-remove-button {
    width: 38px;
    height: 38px;
    color: #9aa2b0;
    background: var(--surface);
    font-weight: 900;
}

.cart-summary-card {
    display: grid;
    gap: 18px;
    width: min(490px, 100%);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cart-summary-card dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.cart-summary-card dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}

.cart-summary-card dt,
.cart-summary-card dd {
    margin: 0;
}

.cart-summary-card dt {
    color: var(--muted);
}

.cart-summary-card .summary-total {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 20px;
}

.cart-summary-card .summary-total dt {
    color: var(--text);
    font-weight: 900;
}

.cart-summary-card .summary-total dd {
    font-size: 28px;
    font-weight: 900;
}

.cart-summary-card .buy-button {
    min-height: 54px;
    border-radius: 27px;
}

.continue-shopping-link {
    justify-self: center;
    color: var(--accent);
    font-weight: 900;
}

.checkout-flow {
    max-width: 890px;
    margin: 0 auto;
}

.checkout-back-link {
    width: max-content;
    color: var(--accent);
    font-weight: 900;
}

.checkout-step.is-done {
    color: var(--text);
}

.checkout-step.is-done span {
    border-color: var(--accent);
    color: var(--accent);
    background: #fff4f8;
}

.checkout-step.is-done::after {
    background: var(--accent);
}

.checkout-form {
    display: grid;
    gap: 18px;
}

.checkout-section {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.checkout-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-section-head > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: var(--accent);
    font-weight: 900;
}

.checkout-section-head h2 {
    margin: 0;
    font-size: 22px;
}

.checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: #fff;
    font: inherit;
    font-weight: 600;
    text-transform: none;
}

.field textarea {
    padding-top: 11px;
    resize: vertical;
}

.checkout-option-list {
    display: grid;
    gap: 10px;
}

.checkout-option {
    display: grid;
    grid-template-columns: 24px 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 68px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.checkout-option.is-active,
.checkout-option:focus-within,
.checkout-option:hover {
    border-color: rgba(215, 25, 98, 0.55);
    box-shadow: 0 8px 24px rgba(19, 24, 35, 0.06);
}

.checkout-option input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.checkout-option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #c9ced8;
    border-radius: 50%;
}

.checkout-option.is-active .checkout-option-radio {
    border: 6px solid var(--accent);
}

.checkout-option-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--accent);
    background: #fff4f8;
    font-weight: 900;
}

.checkout-option-body {
    display: grid;
    gap: 4px;
}

.checkout-option-body strong {
    color: var(--text);
}

.checkout-option-body small {
    color: var(--muted);
    line-height: 1.35;
}

.checkout-option b {
    white-space: nowrap;
    color: var(--success);
}

.delivery-extra {
    display: none;
    gap: 12px;
    margin-top: 4px;
}

.delivery-extra.is-visible {
    display: grid;
}

.parcel-filter-field {
    max-width: 260px;
}

.parcel-locker-list {
    display: grid;
    gap: 8px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 4px;
}

.parcel-locker-option {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    min-height: 62px;
}

.parcel-locker-option .checkout-option-body {
    grid-column: auto;
}

.checkout-order-items {
    padding-bottom: 4px;
}

.checkout-total-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.checkout-total-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-total-list dt,
.checkout-total-list dd {
    margin: 0;
}

.checkout-total-list dt {
    color: var(--muted);
}

.checkout-total-list .summary-total {
    border-bottom: 0;
    font-size: 22px;
    font-weight: 900;
}

.checkout-total-list .summary-total dt {
    color: var(--text);
}

.checkout-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.checkout-agree input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.checkout-place-button {
    min-height: 54px;
    border-radius: 27px;
}

.checkout-comment-field {
    margin-top: 2px;
}

.site-footer {
    color: #d8dde7;
    background: var(--dark);
}

.newsletter-strip,
.footer-main,
.footer-bottom {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.newsletter-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 24px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-strip h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 24px;
}

.newsletter-strip p {
    margin: 0;
    color: #aeb6c5;
}

.newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    height: 48px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.newsletter-form input,
.newsletter-form button {
    min-width: 0;
    border: 0;
}

.newsletter-form input {
    padding: 0 16px;
    color: var(--text);
}

.newsletter-form button {
    color: #fff;
    background: var(--accent);
    font-weight: 800;
}

.newsletter-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.newsletter-contact:hover {
    background: var(--accent-hover);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 1fr));
    gap: 34px;
    padding: 34px 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.footer-logo span {
    color: var(--accent);
}

.footer-company p,
.footer-company address {
    max-width: 360px;
    margin: 0 0 16px;
    color: #aeb6c5;
    font-style: normal;
    line-height: 1.55;
}

.footer-company address,
.footer-contact,
.footer-column {
    display: grid;
    gap: 9px;
}

.footer-company strong {
    color: #fff;
}

.footer-contact a {
    width: max-content;
    color: #fff;
    font-weight: 800;
}

.footer-column h2 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: 16px;
}

.footer-column a,
.footer-column button {
    width: max-content;
    max-width: 100%;
    padding: 0;
    border: 0;
    color: #aeb6c5;
    background: transparent;
    text-align: left;
    line-height: 1.4;
}

.footer-column a:hover,
.footer-column button:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-social-title {
    padding-top: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aeb6c5;
    font-size: 13px;
}

.admin-body {
    min-height: 100vh;
    background: var(--surface);
}

.admin-login {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.admin-login-panel {
    width: min(420px, 100%);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(19, 24, 35, 0.08);
}

.admin-logo {
    display: inline-block;
    color: var(--dark);
    font-size: 28px;
    font-weight: 900;
}

.admin-logo span {
    color: var(--accent);
}

.admin-login-panel h1,
.admin-section h1,
.admin-section h2 {
    margin: 18px 0;
}

.admin-alert {
    padding: 12px;
    border: 1px solid rgba(155, 36, 63, 0.22);
    border-radius: 8px;
    color: #9b243f;
    background: #fff4f8;
    font-weight: 700;
}

.admin-notice {
    padding: 12px;
    border: 1px solid rgba(29, 131, 72, 0.2);
    border-radius: 8px;
    color: #1d8348;
    background: #f0fbf4;
    font-weight: 700;
}

.admin-error {
    padding: 12px;
    border: 1px solid rgba(155, 36, 63, 0.22);
    border-radius: 8px;
    color: #9b243f;
    background: #fff4f8;
    font-weight: 700;
}

.admin-muted {
    margin: 0 0 14px;
    color: var(--muted);
    font-weight: 700;
}

.admin-form {
    display: grid;
    gap: 14px;
}

.admin-form label {
    display: grid;
    gap: 6px;
    color: #4b5565;
    font-size: 13px;
    font-weight: 800;
}

.admin-form input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: 0;
    background: #fff;
}

.admin-form input:focus {
    border-color: rgba(215, 25, 98, 0.45);
}

.admin-form button,
.admin-user button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.admin-form button:hover,
.admin-user button:hover {
    background: var(--accent-hover);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 0 clamp(16px, 4vw, 32px);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
}

.admin-nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 8px;
    color: #4b5565;
    font-size: 13px;
    font-weight: 800;
}

.admin-nav a.is-active,
.admin-nav a:hover {
    color: #fff;
    background: var(--accent);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #4b5565;
    font-weight: 800;
}

.admin-user button {
    min-height: 36px;
    padding: 0 14px;
}

.admin-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 64px;
}

.admin-section {
    margin-bottom: 28px;
}

.admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-section-head h2 {
    margin: 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.admin-stats div {
    display: grid;
    gap: 6px;
    min-height: 96px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-stats strong {
    font-size: 30px;
}

.admin-stats span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table-wide {
    min-width: 1180px;
}

.admin-table th,
.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 14px;
}

.admin-table th {
    color: #4b5565;
    background: var(--surface);
    font-size: 12px;
    text-transform: uppercase;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.admin-status.is-success {
    background: var(--success);
}

.admin-status.is-failed {
    background: #9b243f;
}

.admin-inline-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-mapping-filter {
    grid-template-columns: minmax(180px, 260px) minmax(240px, 1fr) auto auto;
    margin-bottom: 14px;
}

.admin-mapping-filter select,
.admin-mapping-filter input {
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.admin-mapping-filter .admin-secondary-button {
    display: inline-flex;
    align-items: center;
}

.admin-pricing-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-pricing-form label {
    display: grid;
    gap: 6px;
    color: #4b5565;
    font-size: 13px;
    font-weight: 800;
}

.admin-pricing-form input,
.admin-pricing-form select,
.admin-pricing-form button,
.admin-section-head button {
    min-height: 38px;
    border-radius: 8px;
    font: inherit;
}

.admin-pricing-form input,
.admin-pricing-form select {
    min-width: 0;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: #fff;
}

.admin-pricing-form button,
.admin-section-head button {
    border: 0;
    color: #fff;
    background: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.admin-checkbox {
    align-content: end;
    grid-template-columns: 18px 1fr;
    align-items: center;
}

.admin-checkbox input {
    min-height: 18px;
    padding: 0;
}

.admin-inline-form input,
.admin-inline-form button,
.admin-row-form input,
.admin-row-form select,
.admin-row-form button,
.admin-actions button {
    min-height: 38px;
    border-radius: 8px;
    font: inherit;
}

.admin-inline-form input,
.admin-row-form input,
.admin-row-form select {
    min-width: 0;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: #fff;
}

.admin-inline-form button,
.admin-row-form button,
.admin-actions button {
    border: 0;
    color: #fff;
    background: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.admin-row-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 68px;
    gap: 8px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-actions form {
    margin: 0;
}

.supplier-modules {
    display: grid;
    gap: 16px;
}

.supplier-module {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.supplier-module-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.supplier-module-head p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--muted);
}

.supplier-module-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.supplier-module-title h2 {
    margin: 0;
    font-size: 20px;
}

.supplier-version {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-status.is-available {
    color: #4b5565;
    background: #e8edf3;
}

.admin-status.is-disabled {
    color: #6b7280;
    background: #eceff3;
}

.supplier-module-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.supplier-module-facts div {
    display: grid;
    gap: 4px;
    padding: 14px 20px;
    border-right: 1px solid var(--line);
}

.supplier-module-facts div:last-child {
    border-right: 0;
}

.supplier-module-facts div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
}

.supplier-module-facts div:nth-child(3n) {
    border-right: 0;
}

.supplier-module-facts span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.supplier-module-facts strong {
    overflow-wrap: anywhere;
    font-size: 14px;
}

.supplier-module-actions {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
}

.supplier-run-form {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 8px;
}

.supplier-run-form label,
.supplier-settings label {
    display: grid;
    gap: 6px;
    color: #4b5565;
    font-size: 12px;
    font-weight: 800;
}

.supplier-run-form input,
.supplier-settings input {
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.supplier-run-form input {
    width: 190px;
}

.admin-primary-button,
.admin-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.admin-primary-button {
    color: #fff;
    background: var(--accent);
}

.admin-secondary-button {
    border-color: var(--line);
    color: #4b5565;
    background: #fff;
}

.admin-primary-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.supplier-settings {
    display: grid;
    gap: 14px;
    padding: 4px 20px 20px;
}

.supplier-settings h3 {
    margin: 8px 0 0;
    font-size: 15px;
}

.supplier-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 12px;
}

.supplier-settings small {
    color: var(--success);
    font-size: 11px;
}

.supplier-settings .supplier-schedule-checkbox {
    align-content: center;
    grid-template-columns: 18px 1fr;
    align-items: center;
}

.supplier-settings .supplier-schedule-checkbox input {
    width: 18px;
    height: 18px;
    padding: 0;
}

.supplier-settings > .admin-primary-button {
    justify-self: start;
}

@media (max-width: 860px) {
    .utility-bar,
    .main-header,
    .store-hero,
    .product-page {
        grid-template-columns: 1fr;
    }

    .utility-bar,
    .main-header {
        align-items: stretch;
        flex-direction: column;
    }

    .utility-meta,
    .utility-links {
        justify-content: space-between;
    }

    .site-logo {
        font-size: 28px;
    }

    .catalog-button {
        width: 100%;
    }

    .header-actions {
        justify-content: space-between;
    }

    .store-hero {
        min-height: 0;
    }

    .hero-image {
        max-height: 240px;
        padding-top: 0;
    }

    .newsletter-strip,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        align-items: stretch;
        flex-direction: column;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .admin-nav {
        order: 3;
    }

    .admin-user {
        justify-content: space-between;
    }

    .admin-inline-form {
        grid-template-columns: 1fr;
    }

    .supplier-module-head,
    .supplier-module-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .supplier-module-facts,
    .supplier-settings-grid {
        grid-template-columns: 1fr;
    }

    .supplier-module-facts div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .supplier-module-facts div:last-child {
        border-bottom: 0;
    }
}

/* Storefront visual parity refinement. */
.utility-bar {
    min-height: 34px;
}

.main-header {
    min-height: 70px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.site-logo {
    display: grid;
    gap: 2px;
    min-width: 92px;
    color: var(--p24-ink);
    text-align: center;
}

.site-logo-word {
    font-size: 25px;
    font-weight: 950;
    line-height: 0.9;
}

.site-logo small {
    color: #8b93a2;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.catalog-button {
    min-height: 48px;
}

.search-form {
    height: 48px;
}

.search-form::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 19px;
    border: 2px solid #8b93a2;
    border-radius: 50%;
    box-shadow: 7px 8px 0 -6px #8b93a2;
}

.search-form input {
    padding-left: 10px;
}

.search-form button {
    width: 38px;
    height: 38px;
}

.header-category-strip {
    gap: 0;
    min-height: 46px;
    scrollbar-width: none;
}

.header-category-strip::-webkit-scrollbar {
    display: none;
}

.header-category-strip a:not(.header-category-strip-back)::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 2px solid var(--p24-accent);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #fff;
    background: rgba(215, 25, 98, 0.16);
}

.page-shell {
    padding-top: 16px;
}

.store-hero {
    position: relative;
    display: block;
    min-height: 438px;
    overflow: hidden;
    border: 0;
    background: #dceffc;
    box-shadow: none;
}

.store-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(6, 12, 24, 0.46), transparent);
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    object-fit: cover;
}

.hero-copy {
    position: absolute;
    z-index: 1;
    bottom: 34px;
    left: 38px;
    max-width: 460px;
    padding: 0;
}

.hero-copy .section-label {
    color: #fff;
}

.hero-copy h1 {
    margin: 7px 0 20px;
    color: #fff;
    font-size: 36px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.hero-copy .primary-link {
    min-height: 46px;
    padding: 0 24px;
    color: #fff;
}

.store-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: var(--p24-line);
}

.store-benefit {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 104px;
    padding: 18px;
    color: var(--p24-ink);
    background: #fff;
}

.store-benefit:hover strong {
    color: var(--p24-accent);
}

.store-benefit > span:last-child,
.product-benefits a > span:last-child {
    display: grid;
    gap: 4px;
}

.store-benefit strong,
.product-benefits strong {
    font-size: 14px;
    line-height: 1.25;
}

.store-benefit small,
.product-benefits small {
    color: var(--p24-muted);
    font-size: 12px;
    line-height: 1.35;
}

.store-benefit-icon,
.product-benefit-icon,
.subcategory-icon,
.home-category-icon {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: var(--p24-accent);
    background: #fff0f6;
}

.store-benefit-icon::before,
.product-benefit-icon::before,
.subcategory-icon::before,
.home-category-icon::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.is-delivery::before,
.is-courier::before {
    width: 21px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 7px 5px 0 -5px currentColor;
}

.is-payment::before,
.is-warranty::before {
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #fff0f6;
    background: currentColor;
}

.is-support::before,
.is-return::before {
    border-radius: 50% 50% 4px 4px;
}

.home-categories,
.home-products {
    margin-top: 34px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-category-group {
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.home-category-title {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 14px;
    color: var(--p24-ink);
    background: #fff;
}

.home-category-title > span:nth-child(2) {
    display: grid;
    gap: 4px;
}

.home-category-title strong {
    font-size: 15px;
    line-height: 1.25;
}

.home-category-title small {
    color: var(--p24-muted);
    font-size: 12px;
}

.home-category-title > span:last-child {
    color: var(--p24-accent);
    font-size: 20px;
}

.home-category-links {
    display: grid;
    border-top: 1px solid var(--p24-line);
}

.home-category-links a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    min-height: 37px;
    padding: 9px 14px;
    border-bottom: 1px solid #f1f3f7;
    color: #4f5868;
    font-size: 12px;
    font-weight: 700;
}

.home-category-links a:last-child {
    border-bottom: 0;
}

.home-category-links a:hover {
    color: var(--p24-accent);
    background: #fff8fb;
}

.home-category-links span {
    color: #9aa1ae;
}

.subcategory-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subcategory-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 88px;
}

.subcategory-item > span:nth-child(2) {
    display: grid;
    gap: 4px;
}

.subcategory-item strong {
    color: var(--p24-ink);
    font-size: 14px;
}

.subcategory-item small {
    color: var(--p24-muted);
    font-size: 12px;
}

.product-media,
.product-image {
    background: #f5f6f8;
}

.product-card {
    grid-template-rows: 224px minmax(140px, 1fr) auto;
    min-height: 486px;
}

.product-image {
    height: 224px;
}

.product-title {
    font-size: 14px;
}

.card-cart-button {
    font-size: 13px;
}

.product-page {
    grid-template-columns: minmax(0, 600px) minmax(360px, 1fr);
    gap: 38px;
}

.product-buy-box h1 {
    font-size: 27px;
}

.product-detail-price {
    font-size: 38px;
}

.delivery-icon {
    position: relative;
}

.delivery-icon::before {
    content: "";
    width: 17px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.checkout-option-icon::before {
    content: "";
    width: 17px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.checkout-option-icon.is-courier::before {
    width: 20px;
    height: 12px;
    box-shadow: 7px 5px 0 -5px currentColor;
}

.checkout-option-icon.is-parcel::before {
    border-radius: 50% 50% 3px 3px;
}

.checkout-option-icon.is-bank::before,
.checkout-option-icon.is-montonio::before {
    width: 19px;
    height: 13px;
    border-radius: 2px;
    box-shadow: inset 0 -4px 0 rgba(215, 25, 98, 0.16);
}

.delivery-icon.is-parcel::before {
    border-radius: 50% 50% 3px 3px;
}

.product-benefits {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.product-benefits a {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 98px;
    padding: 16px 18px;
    border-right: 1px solid var(--p24-line);
    color: var(--p24-ink);
}

.product-benefits a:last-child {
    border-right: 0;
}

.product-detail-tabs {
    grid-column: 1 / -1;
}

.cart-page,
.checkout-flow,
.checkout-page {
    max-width: 890px;
}

.cart-heading h1,
.checkout-heading h1 {
    font-size: 27px;
}

.cart-list-card .cart-item {
    grid-template-columns: 96px minmax(0, 1fr) auto 34px;
    padding: 13px 0;
}

.cart-item-image {
    width: 96px;
    height: 96px;
}

.cart-summary-card {
    max-width: 496px;
}

.checkout-section {
    padding: 22px 24px;
}

.checkout-section-head h2 {
    font-size: 20px;
}

.field input,
.field select,
.field textarea {
    border-color: transparent;
    background: #f2f4f7;
}

.field input,
.field select {
    min-height: 48px;
}

.checkout-option {
    min-height: 76px;
    background: #f8f9fb;
}

.site-footer {
    color: #4b5563;
    background: #fff;
}

.newsletter-strip {
    width: 100%;
    max-width: none;
    min-height: 128px;
    margin: 0;
    padding: 30px max(22px, calc((100% - 1240px) / 2));
    border: 0;
    color: #d6dce7;
    background: var(--p24-dark);
}

.newsletter-strip h2 {
    color: #fff;
}

.newsletter-strip p {
    color: #aeb7c6;
}

.newsletter-contact {
    min-width: 330px;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.footer-main {
    padding-top: 44px;
    padding-bottom: 36px;
}

.footer-main .footer-logo,
.footer-column h2,
.footer-company strong {
    color: var(--p24-ink);
}

.footer-company p,
.footer-company address,
.footer-contact,
.footer-column {
    color: #6b7280;
}

.footer-column a:hover,
.footer-column button:hover,
.footer-contact a:hover {
    color: var(--p24-accent);
}

.footer-bottom {
    border-top: 1px solid var(--p24-line);
    color: #8b93a2;
}

@media (max-width: 980px) {
    .store-benefits,
    .home-category-grid,
    .subcategory-list,
    .product-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-benefits a:nth-child(2) {
        border-right: 0;
    }

    .product-benefits a:nth-child(-n + 2) {
        border-bottom: 1px solid var(--p24-line);
    }
}

@media (max-width: 620px) {
    .store-hero {
        min-height: 360px;
    }

    .hero-image {
        object-position: 58% center;
    }

    .hero-copy {
        right: 20px;
        bottom: 24px;
        left: 20px;
    }

    .hero-copy h1 {
        max-width: 320px;
        font-size: 27px;
    }

    .store-benefits,
    .home-category-grid,
    .subcategory-list {
        grid-template-columns: 1fr;
    }

    .store-benefit {
        min-height: 88px;
    }

    .home-categories,
    .home-products {
        margin-top: 26px;
    }

    .product-benefits {
        grid-template-columns: 1fr;
    }

    .product-benefits a,
    .product-benefits a:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--p24-line);
    }

    .product-benefits a:last-child {
        border-bottom: 0;
    }

    .newsletter-strip {
        align-items: stretch;
        flex-direction: column;
        padding-right: 20px;
        padding-left: 20px;
    }

    .newsletter-contact {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .utility-links {
        display: none;
    }

    .main-header {
        gap: 12px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-card {
        grid-template-rows: 150px minmax(120px, 1fr) auto;
        min-height: 392px;
        padding: 10px;
    }

    .product-image {
        height: 150px;
    }

    .quantity-row {
        grid-template-columns: 1fr;
    }

    .product-buy-form,
    .checkout-grid,
    .cart-item,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .cart-item-controls {
        justify-items: stretch;
    }

    .order-summary {
        position: static;
    }

    .delivery-option {
        grid-template-columns: 22px 42px minmax(0, 1fr);
    }

    .delivery-option b {
        grid-column: 3;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
        height: auto;
    }

    .newsletter-form input,
    .newsletter-form button {
        min-height: 46px;
    }

    .footer-bottom {
        flex-direction: column;
    }

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

@media (max-width: 860px) {
    .product-page {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery-main {
        min-height: 360px;
    }

    .product-detail-tabs {
        grid-column: auto;
    }

    .cart-page {
        max-width: none;
    }

    .checkout-steps {
        gap: 8px;
    }

    .checkout-step {
        font-size: 13px;
    }
}

@media (max-width: 560px) {
    .product-buy-form {
        grid-template-columns: 1fr 54px;
    }

    .product-buy-form .quantity-control,
    .product-buy-form .buy-button {
        grid-column: 1 / -1;
    }

    .delivery-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .delivery-row b {
        grid-column: 2;
    }

    .checkout-steps {
        grid-template-columns: 1fr;
    }

    .checkout-step:not(:last-child)::after {
        display: none;
    }

    .cart-list-card .cart-item {
        grid-template-columns: 78px minmax(0, 1fr) 32px;
        gap: 12px;
        padding: 14px;
    }

    .cart-item-image {
        width: 78px;
        height: 78px;
    }

    .cart-item-price {
        grid-column: 2 / 3;
    }

    .cart-item-actions {
        grid-column: 3;
        grid-row: 1;
    }

    .cart-summary-card .summary-total dd {
        font-size: 24px;
    }

    .checkout-fields {
        grid-template-columns: 1fr;
    }

    .checkout-section {
        padding: 16px;
    }

    .checkout-option {
        grid-template-columns: 22px 38px minmax(0, 1fr);
    }

    .checkout-option b {
        grid-column: 3;
    }

    .parcel-locker-option {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .parcel-locker-option b {
        grid-column: 2;
    }

    .parcel-locker-list {
        max-height: 360px;
    }
}

/* 4shop-inspired storefront polish. Keep this layer last so legacy rules stay harmless. */
:root {
    --p24-ink: #111827;
    --p24-muted: #7a8291;
    --p24-soft: #f4f6fb;
    --p24-line: #e5e9f1;
    --p24-card: #ffffff;
    --p24-dark: #070b16;
    --p24-accent: #d71962;
    --p24-accent-hover: #bd1555;
    --p24-success: #178558;
    --p24-radius: 8px;
    --p24-page: min(1240px, calc(100% - 44px));
}

body {
    color: var(--p24-ink);
    background: var(--p24-soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--p24-line);
    background: var(--p24-card);
    box-shadow: 0 6px 22px rgba(19, 27, 44, 0.05);
}

.utility-bar,
.main-header,
.header-category-strip {
    width: 100%;
    padding-right: max(22px, calc((100% - 1240px) / 2));
    padding-left: max(22px, calc((100% - 1240px) / 2));
}

.utility-bar {
    min-height: 36px;
    color: #cfd5df;
    background: var(--p24-dark);
    font-size: 13px;
}

.utility-links a,
.utility-meta a {
    transition: color 0.16s ease, background 0.16s ease;
}

.utility-links a:hover,
.utility-meta a:hover {
    color: #fff;
}

.language-switcher {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.language-switcher a {
    min-width: 32px;
    color: #cfd5df;
}

.language-switcher a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.main-header {
    gap: 18px;
    min-height: 82px;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #fff;
}

.site-logo,
.footer-logo {
    font-size: 31px;
    line-height: 1;
    letter-spacing: 0;
}

.site-logo span,
.footer-logo span {
    color: var(--p24-accent);
}

.catalog-button {
    min-width: 128px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: var(--p24-radius);
    background: var(--p24-accent);
    box-shadow: 0 8px 16px rgba(215, 25, 98, 0.22);
}

.catalog-button:hover,
.search-form button:hover,
.buy-button:hover,
.primary-link:hover,
.card-cart-button:hover,
.checkout-place-button:hover {
    background: var(--p24-accent-hover);
}

.catalog-icon {
    display: grid;
    grid-template-columns: repeat(2, 6px);
    grid-template-rows: repeat(2, 6px);
    gap: 3px;
}

.catalog-icon::before,
.catalog-icon::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background:
        linear-gradient(#fff 0 0) 0 0 / 6px 6px no-repeat,
        linear-gradient(#fff 0 0) 9px 0 / 6px 6px no-repeat,
        linear-gradient(#fff 0 0) 0 9px / 6px 6px no-repeat,
        linear-gradient(#fff 0 0) 9px 9px / 6px 6px no-repeat;
}

.catalog-icon::after {
    display: none;
}

.search-form {
    height: 54px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f1f4f9;
}

.search-form:focus-within {
    border-color: rgba(215, 25, 98, 0.34);
    background: #fff;
}

.search-form input {
    padding-left: 22px;
    color: var(--p24-ink);
    font-size: 15px;
}

.search-form button {
    position: relative;
    width: 44px;
    height: 44px;
    margin: 5px 6px 5px 0;
    background: var(--p24-accent);
}

.search-form button span {
    position: absolute;
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateX(-2px) rotate(45deg);
}

.search-form button span::before {
    content: "";
    position: absolute;
    top: 5px;
    right: -2px;
    width: 15px;
    height: 2px;
    background: #fff;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.header-actions {
    gap: 9px;
}

.header-action,
.header-actions > span.header-action,
.cart-action {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #eef1f6;
    border-radius: 50%;
    color: var(--p24-ink);
    background: #fff;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

.header-actions button.header-action {
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.header-action-theme::before {
    content: "";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    box-shadow: inset -6px 0 0 var(--p24-ink);
}

.header-action-favorite::before,
.favorite-button::before,
.wishlist-button::before {
    content: "";
    width: 18px;
    height: 16px;
    background:
        radial-gradient(circle at 30% 30%, currentColor 0 6px, transparent 6px),
        radial-gradient(circle at 70% 30%, currentColor 0 6px, transparent 6px),
        linear-gradient(45deg, transparent 0 31%, currentColor 31% 69%, transparent 69%);
    transform: rotate(0deg);
}

.header-action-favorite.is-active,
.favorite-button.is-active,
.wishlist-button.is-active {
    color: var(--accent);
}

.header-action-profile::before {
    content: "";
    width: 20px;
    height: 20px;
    background:
        radial-gradient(circle at 50% 30%, currentColor 0 5px, transparent 5.5px),
        radial-gradient(ellipse at 50% 92%, currentColor 0 9px, transparent 9.5px);
}

.cart-icon {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.header-actions .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    background: transparent;
}

.header-actions .cart-icon {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
}

.cart-icon::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 3px;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.cart-action strong {
    top: -3px;
    right: -3px;
    background: var(--p24-accent);
}

.header-category-strip {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 46px;
    overflow-x: auto;
    border-top: 1px solid #f0f2f6;
    background: #fff;
    scrollbar-width: thin;
}

.header-category-strip a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 13px;
    color: #303848;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.header-category-strip a:hover {
    color: var(--p24-accent);
}

.header-category-strip a:hover::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--p24-accent);
}

.header-category-strip-back {
    width: 42px;
    flex: 0 0 42px;
}

.header-category-strip-back::before {
    content: "";
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--p24-muted);
    border-left: 2px solid var(--p24-muted);
    transform: rotate(45deg);
}

.page-shell {
    width: var(--p24-page);
    padding: 22px 0 72px;
}

.breadcrumbs {
    margin: 0 0 18px;
    color: var(--p24-muted);
    font-size: 13px;
}

.content-section,
.cart-list-card,
.cart-summary-card,
.checkout-section,
.checkout-panel,
.order-summary,
.empty-cart,
.product-detail-tabs {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: var(--p24-card);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.content-section {
    padding: 22px;
}

.content-section + .content-section,
.category-strip + .content-section,
.store-hero + .category-strip {
    margin-top: 18px;
}

.section-heading {
    min-height: 34px;
    margin-bottom: 18px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    color: var(--p24-ink);
    font-size: 26px;
    line-height: 1.2;
}

.section-heading a,
.section-heading span {
    color: var(--p24-muted);
    font-size: 14px;
    font-weight: 800;
}

.store-hero {
    min-height: 270px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 47%, rgba(244, 246, 251, 0.72) 100%),
        #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.hero-copy {
    padding: 38px;
}

.section-label {
    color: var(--p24-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 520px;
    color: var(--p24-ink);
    font-size: 34px;
    line-height: 1.15;
}

.hero-image {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    padding: 22px;
}

.primary-link,
.buy-button,
.card-cart-button,
.checkout-place-button {
    border-radius: var(--p24-radius);
    background: var(--p24-accent);
}

.category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.category-strip a,
.subcategory-item,
.category-item,
.category-tree a {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.category-strip a:hover,
.subcategory-item:hover,
.category-item:hover,
.category-tree a:hover {
    border-color: rgba(215, 25, 98, 0.3);
    color: var(--p24-accent);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

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

.category-item,
.subcategory-item {
    min-height: 58px;
    padding: 14px 16px;
}

.subcategory-list {
    gap: 12px;
    margin-bottom: 22px;
}

.category-tree {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.category-tree .category-tree {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 7px;
    padding-left: 10px;
    border-left: 2px solid #f0f2f6;
}

.category-tree-item {
    list-style: none;
}

.category-tree a {
    min-height: 46px;
    padding: 11px 12px;
}

.category-tree .category-tree a {
    min-height: 38px;
    padding: 8px 10px;
    color: #4d5666;
    font-size: 13px;
    background: #fafbfe;
}

.product-list {
    grid-template-columns: repeat(auto-fill, minmax(246px, 1fr));
    gap: 14px;
}

.product-card {
    grid-template-rows: 235px minmax(142px, 1fr) auto;
    min-height: 505px;
    padding: 12px;
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    box-shadow: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card:hover {
    border-color: rgba(215, 25, 98, 0.34);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px);
}

.product-image {
    height: 235px;
    border-radius: var(--p24-radius);
    background: #fff;
}

.product-image img {
    padding: 14px;
}

.favorite-button {
    top: 9px;
    right: 9px;
    width: 38px;
    height: 38px;
    color: #333b4c;
    font-size: 0;
    box-shadow: 0 7px 18px rgba(17, 24, 39, 0.09);
}

.product-info {
    gap: 8px;
}

.product-brand {
    color: #939baa;
    font-size: 12px;
    letter-spacing: 0;
}

.product-title {
    min-height: 58px;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.32;
}

.stock-status,
.delivery-status {
    color: var(--p24-muted);
    font-size: 13px;
}

.stock-status::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
}

.stock-status.is-available {
    color: var(--p24-success);
}

.stock-status.is-empty {
    color: #9b243f;
}

.product-purchase {
    gap: 10px;
}

.product-price {
    color: var(--p24-ink);
    font-size: 23px;
    font-weight: 900;
}

.quantity-row {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 8px;
}

.quantity-stepper {
    min-height: 42px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
}

.quantity-stepper button {
    color: #4b5563;
}

.card-cart-button {
    min-height: 42px;
    padding: 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.card-cart-button:disabled,
.buy-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.image-placeholder {
    color: #7b8494;
    background:
        linear-gradient(135deg, rgba(215, 25, 98, 0.07), rgba(17, 24, 39, 0.03)),
        #f6f8fc;
}

.image-placeholder-mark {
    border-color: rgba(215, 25, 98, 0.24);
    color: var(--p24-accent);
}

.product-page {
    grid-template-columns: minmax(0, 590px) minmax(360px, 1fr);
    gap: 46px;
}

.product-gallery-main {
    min-height: 540px;
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.product-gallery-main img {
    max-height: 540px;
    padding: 42px;
}

.gallery-zoom,
.gallery-nav,
.wishlist-button,
.cart-remove-button {
    border-color: var(--p24-line);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.07);
}

.gallery-thumb {
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
}

.gallery-thumb.is-active {
    border-color: var(--p24-accent);
    box-shadow: inset 0 0 0 1px var(--p24-accent);
}

.product-buy-box {
    gap: 18px;
}

.product-buy-box h1 {
    font-size: 32px;
    line-height: 1.2;
}

.product-detail-price {
    color: var(--p24-ink);
    font-size: 43px;
}

.price-note {
    color: var(--p24-muted);
}

.product-stock.is-available,
.cart-stock.is-available {
    color: var(--p24-success);
}

.product-buy-form {
    grid-template-columns: 126px minmax(0, 1fr) 54px;
}

.quantity-control {
    min-height: 54px;
    border-color: var(--p24-line);
    border-radius: 999px;
}

.product-buy-form .buy-button {
    min-height: 54px;
    font-size: 16px;
    font-weight: 900;
}

.wishlist-button {
    color: #333b4c;
    font-size: 0;
}

.delivery-block {
    border-top-color: var(--p24-line);
}

.delivery-block-head span {
    color: var(--p24-accent);
}

.delivery-row {
    border-top-color: var(--p24-line);
}

.delivery-row .delivery-icon,
.checkout-option-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--p24-accent);
    background: #fff2f7;
    font-weight: 900;
}

.product-detail-tabs {
    overflow: hidden;
    border-color: var(--p24-line);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.product-tab {
    border-bottom-color: var(--p24-accent);
    color: var(--p24-accent);
}

.cart-page,
.checkout-flow,
.checkout-page {
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
}

.checkout-steps {
    margin-bottom: 24px;
}

.checkout-step {
    color: var(--p24-muted);
    font-weight: 900;
}

.checkout-step span {
    background: #fff;
}

.checkout-step.is-active span,
.checkout-step.is-done span {
    background: var(--p24-accent);
}

.cart-heading,
.checkout-heading {
    margin-bottom: 18px;
}

.cart-heading h1,
.checkout-heading h1 {
    font-size: 30px;
}

.cart-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.cart-list-card,
.cart-summary-card,
.checkout-section,
.checkout-panel,
.order-summary,
.empty-cart {
    padding: 18px;
}

.cart-list-card .cart-item {
    grid-template-columns: 102px minmax(0, 1fr) auto 36px;
    gap: 16px;
    padding: 16px 0;
    border-bottom-color: var(--p24-line);
}

.cart-list-card .cart-item:first-child {
    padding-top: 0;
}

.cart-list-card .cart-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cart-item-image {
    width: 102px;
    height: 102px;
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.cart-item-title {
    color: var(--p24-ink);
    font-size: 15px;
    font-weight: 800;
}

.cart-item-price strong {
    font-size: 20px;
}

.cart-summary-card {
    max-width: 420px;
}

.cart-summary-card dl,
.checkout-total-list,
.order-summary dl {
    display: grid;
    gap: 10px;
}

.cart-summary-card dl div,
.checkout-total-list div,
.order-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.summary-total {
    padding-top: 12px;
    border-top: 1px solid var(--p24-line);
}

.summary-total dd,
.summary-total b {
    color: var(--p24-ink);
    font-size: 24px;
    font-weight: 900;
}

.continue-shopping-link,
.secondary-link,
.checkout-back-link {
    color: var(--p24-muted);
    font-weight: 800;
}

.checkout-form {
    display: grid;
    gap: 16px;
}

.checkout-section {
    display: grid;
    gap: 16px;
}

.checkout-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-section-head span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--p24-accent);
    font-weight: 900;
}

.checkout-section-head h2 {
    margin: 0;
    font-size: 22px;
}

.checkout-fields {
    gap: 12px;
}

.field span {
    color: #4b5563;
    font-size: 13px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(215, 25, 98, 0.42);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(215, 25, 98, 0.08);
}

.checkout-option-list {
    gap: 10px;
}

.checkout-option {
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.checkout-option:hover,
.checkout-option.is-active {
    border-color: rgba(215, 25, 98, 0.36);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.checkout-option-radio {
    border-color: #c7ceda;
}

.checkout-option.is-active .checkout-option-radio {
    border-color: var(--p24-accent);
    box-shadow: inset 0 0 0 5px #fff;
    background: var(--p24-accent);
}

.delivery-extra {
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fafbfe;
}

.parcel-locker-list {
    gap: 8px;
}

.checkout-place-button {
    width: 100%;
    min-height: 54px;
    font-weight: 900;
}

.site-footer {
    color: #d6dce7;
    background: var(--p24-dark);
}

.newsletter-strip {
    width: var(--p24-page);
    margin: 0 auto;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-strip h2,
.footer-column h2,
.footer-company strong {
    color: #fff;
}

.newsletter-strip p,
.footer-company p,
.footer-company address,
.footer-contact,
.footer-column {
    color: #aeb7c6;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input {
    color: #fff;
}

.newsletter-form button {
    color: #fff;
    background: var(--p24-accent);
}

.footer-main,
.footer-bottom {
    width: var(--p24-page);
}

.footer-column a:hover,
.footer-column button:hover,
.footer-contact a:hover {
    color: #fff;
}

@media (max-width: 980px) {
    :root {
        --p24-page: min(100% - 28px, 1240px);
    }

    .site-header {
        position: static;
    }

    .main-header {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .catalog-button,
    .search-form,
    .header-actions {
        grid-column: 1 / -1;
    }

    .header-category-strip {
        padding-right: 14px;
        padding-left: 14px;
    }

    .product-page {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-gallery-main {
        min-height: 420px;
    }

    .cart-summary-card {
        max-width: none;
    }
}

@media (max-width: 620px) {
    :root {
        --p24-page: min(100% - 20px, 1240px);
    }

    .utility-bar {
        min-height: 42px;
    }

    .utility-links {
        display: none;
    }

    .utility-meta {
        width: 100%;
        justify-content: space-between;
    }

    .main-header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-logo {
        font-size: 28px;
    }

    .header-actions {
        justify-content: space-between;
    }

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

    .hero-copy {
        padding: 24px;
    }

    .hero-copy h1 {
        font-size: 27px;
    }

    .hero-image {
        max-height: 190px;
        padding-top: 0;
    }

    .content-section {
        padding: 16px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-card {
        grid-template-rows: 150px minmax(148px, 1fr) auto;
        min-height: 410px;
        padding: 9px;
    }

    .product-image {
        height: 150px;
    }

    .product-title {
        min-height: 72px;
        font-size: 13px;
    }

    .product-price {
        font-size: 19px;
    }

    .quantity-row {
        grid-template-columns: 1fr;
    }

    .product-buy-box h1 {
        font-size: 25px;
    }

    .product-detail-price {
        font-size: 34px;
    }

    .product-buy-form {
        grid-template-columns: 1fr 54px;
    }

    .product-buy-form .quantity-control,
    .product-buy-form .buy-button {
        grid-column: 1 / -1;
    }

    .cart-list-card .cart-item {
        grid-template-columns: 82px minmax(0, 1fr) 34px;
        gap: 12px;
    }

    .cart-item-image {
        width: 82px;
        height: 82px;
    }

    .cart-item-price {
        grid-column: 2 / 3;
    }

    .cart-item-actions {
        grid-column: 3;
        grid-row: 1;
    }

    .checkout-fields,
    .checkout-option {
        grid-template-columns: 1fr;
    }

    .checkout-option {
        padding: 14px;
    }

    .checkout-option b {
        grid-column: auto;
        justify-self: start;
    }

    .footer-main,
    .footer-bottom,
    .newsletter-strip {
        width: var(--p24-page);
    }
}

/* Public page completeness pass. */
.catalog-page {
    display: grid;
    gap: 18px;
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
}

.catalog-heading h1 {
    margin: 4px 0 0;
    color: var(--p24-ink);
    font-size: 31px;
    line-height: 1.16;
}

.catalog-query-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(215, 25, 98, 0.2);
    border-radius: 999px;
    color: var(--p24-accent);
    background: #fff2f7;
    font-weight: 900;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.catalog-sidebar,
.catalog-results,
.static-page,
.static-nav,
.message.content-section {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.catalog-sidebar {
    position: sticky;
    top: 190px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: calc(100vh - 210px);
    gap: 0;
    overflow: hidden;
}

.catalog-sidebar h2 {
    margin: 0;
    padding: 18px 18px 14px;
    color: var(--p24-ink);
    font-size: 20px;
}

.catalog-filter-group {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-top: 1px solid var(--p24-line);
}

.catalog-filter-form {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.catalog-filter-group:nth-of-type(3) {
    min-height: 0;
    overflow-y: auto;
}

.catalog-filter-group h3 {
    margin: 0;
    color: var(--p24-ink);
    font-size: 14px;
}

.catalog-filter-group label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
}

.catalog-filter-group input {
    width: 17px;
    height: 17px;
    accent-color: var(--p24-accent);
}

.catalog-filter-group small {
    color: var(--p24-muted);
    font-size: 12px;
}

.catalog-price-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.catalog-price-inputs label {
    display: grid;
    gap: 5px;
}

.catalog-price-inputs label span {
    color: var(--p24-muted);
    font-size: 12px;
}

.catalog-price-inputs input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.catalog-filter-empty {
    margin: 0;
    color: var(--p24-muted);
    font-size: 13px;
}

.catalog-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 16px 18px;
    border-top: 1px solid var(--p24-line);
    background: #fff;
    box-shadow: 0 -8px 18px rgba(17, 24, 39, 0.06);
}

.catalog-filter-actions button,
.catalog-sort button {
    min-height: 38px;
    border: 0;
    border-radius: var(--p24-radius);
    color: #fff;
    background: var(--p24-accent);
    font-weight: 900;
    cursor: pointer;
}

.catalog-filter-actions a {
    display: inline-flex;
    align-items: center;
    color: var(--p24-muted);
    font-size: 13px;
    font-weight: 900;
}

.catalog-price-range {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--p24-muted);
    font-size: 13px;
    font-weight: 800;
}

.catalog-results {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 14px;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 0 2px 12px;
    border-bottom: 1px solid var(--p24-line);
}

.catalog-count {
    color: var(--p24-muted);
    font-size: 14px;
    font-weight: 900;
}

.catalog-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-view-toggle {
    display: flex;
    gap: 6px;
}

.catalog-view-toggle a {
    display: grid;
    grid-template-columns: repeat(2, 7px);
    grid-template-rows: repeat(2, 7px);
    gap: 3px;
    width: 38px;
    height: 38px;
    place-content: center;
    border: 1px solid var(--p24-line);
    border-radius: 50%;
    background: #fff;
}

.catalog-view-toggle a:last-child {
    grid-template-columns: 18px;
    grid-template-rows: repeat(3, 4px);
    gap: 4px;
}

.catalog-view-toggle a.is-active {
    border-color: rgba(215, 25, 98, 0.32);
    background: #fff2f7;
}

.catalog-view-toggle span {
    display: block;
    border-radius: 2px;
    background: var(--p24-accent);
}

.product-list.is-list-view {
    grid-template-columns: 1fr;
}

.product-list.is-list-view .product-card {
    grid-template-columns: 190px minmax(0, 1fr) 230px;
    grid-template-rows: auto;
    min-height: 230px;
}

.product-list.is-list-view .product-media,
.product-list.is-list-view .product-image {
    height: 204px;
}

.product-list.is-list-view .product-title {
    min-height: 0;
    font-size: 16px;
}

.product-list.is-list-view .product-purchase {
    align-content: end;
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-sort select {
    min-height: 38px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    color: #4b5563;
    background: #fff;
    font-weight: 800;
}

.catalog-sort button {
    padding: 0 14px;
}

.catalog-index-page .category-tree {
    padding: 16px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.static-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 780px);
    gap: 18px;
    align-items: start;
}

.static-nav {
    display: grid;
    overflow: hidden;
}

.static-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--p24-line);
    color: #374151;
    font-weight: 900;
}

.static-nav a:hover {
    color: var(--p24-accent);
    background: #fff8fb;
}

.static-nav a:last-child {
    border-bottom: 0;
}

.static-page {
    max-width: none;
    padding: 28px;
}

.static-page h1 {
    margin: 6px 0 18px;
    font-size: 32px;
}

.static-copy {
    max-width: 680px;
    color: #303746;
    font-size: 16px;
    line-height: 1.72;
}

.static-copy p {
    margin: 0 0 14px;
}

.message.content-section {
    display: grid;
    gap: 14px;
    max-width: 620px;
    margin: 34px auto 0;
    padding: 42px;
    text-align: center;
}

.message.content-section h1 {
    margin: 0;
    color: var(--p24-ink);
    font-size: 56px;
}

.message.content-section p {
    margin: 0;
    color: var(--p24-muted);
    font-size: 17px;
}

.message.content-section .primary-link {
    justify-self: center;
    min-width: 160px;
    margin-top: 8px;
}

.checkout-step b {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding-right: 8px;
    background: var(--p24-soft);
    line-height: 1.2;
}

.checkout-step.is-active b {
    color: var(--p24-ink);
}

.checkout-step.is-done b {
    color: var(--p24-ink);
}

.checkout-step:not(:last-child)::after {
    top: 18px;
}

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

    .catalog-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        max-height: none;
        overflow: visible;
    }

    .catalog-filter-form {
        display: contents;
        grid-template-rows: none;
        overflow: visible;
    }

    .catalog-filter-group:nth-of-type(3) {
        overflow: visible;
    }

    .catalog-filter-actions {
        position: static;
        box-shadow: none;
    }

    .catalog-sidebar h2 {
        grid-column: 1 / -1;
    }

    .catalog-filter-group:nth-of-type(odd) {
        border-right: 1px solid var(--p24-line);
    }
}

@media (max-width: 620px) {
    .catalog-heading {
        align-items: start;
        flex-direction: column;
        min-height: 0;
    }

    .catalog-heading h1 {
        font-size: 26px;
    }

    .catalog-sidebar {
        grid-template-columns: 1fr;
    }

    .catalog-filter-form {
        display: grid;
        grid-template-rows: none;
    }

    .catalog-filter-group:nth-of-type(odd) {
        border-right: 0;
    }

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

    .catalog-toolbar-actions {
        justify-content: space-between;
    }

    .catalog-sort {
        min-width: 0;
        flex: 1 1 auto;
    }

    .catalog-sort select {
        width: 100%;
    }

    .catalog-sort {
        align-items: stretch;
        flex-direction: column;
    }

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

    .product-list.is-list-view .product-card {
        grid-template-columns: none;
        grid-template-rows: 150px minmax(148px, 1fr) auto;
        min-height: 410px;
    }

    .product-list.is-list-view .product-media,
    .product-list.is-list-view .product-image {
        height: 150px;
    }

    .static-page,
    .message.content-section {
        padding: 22px;
    }

    .static-page h1 {
        font-size: 27px;
    }

    .checkout-step b {
        background: transparent;
    }
}

@media (max-width: 860px) {
    .admin-section-head,
    .admin-pricing-form {
        grid-template-columns: 1fr;
    }

    .admin-section-head {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Final 4shop.lv parity layer. */
:root {
    --p24-ink: #141927;
    --p24-muted: #778091;
    --p24-soft: #f4f6fa;
    --p24-line: #e8ebf1;
    --p24-dark: #091120;
    --p24-accent: #f21f55;
    --p24-accent-hover: #d91849;
    --p24-page: min(1344px, calc(100% - 32px));
}

body * {
    letter-spacing: 0;
}

.site-header {
    position: static;
    border-bottom: 0;
    box-shadow: none;
}

.utility-bar,
.main-header,
.header-category-strip {
    padding-right: max(16px, calc((100% - 1344px) / 2));
    padding-left: max(16px, calc((100% - 1344px) / 2));
}

.utility-bar {
    min-height: 34px;
    background: var(--p24-dark);
}

.main-header {
    min-height: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-logo {
    position: relative;
    min-width: 102px;
    text-align: left;
}

.site-logo-word {
    font-size: 27px;
    line-height: 0.9;
}

.site-logo-word::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 10px;
    height: 5px;
    border-bottom: 2px solid var(--p24-accent);
    border-left: 2px solid var(--p24-accent);
    transform: rotate(-45deg);
}

.site-logo small {
    padding-left: 3px;
    color: #7f8795;
    font-size: 8px;
}

.catalog-button {
    min-width: 132px;
    min-height: 48px;
    border-radius: 8px;
    background: var(--p24-accent);
    box-shadow: none;
}

.search-form {
    height: 48px;
    border: 0;
    background: #f0f2f7;
}

.search-form > .sr-only {
    position: absolute;
}

.search-form::before {
    display: none;
}

.search-form button {
    width: 40px;
    height: 40px;
    margin: 4px 5px 4px 0;
    background: var(--p24-accent);
}

.search-form button span {
    width: 13px;
    height: 13px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-1px, -1px);
}

.search-form button span::before {
    top: 9px;
    right: -5px;
    width: 7px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
    transform-origin: center;
}

.header-action,
.header-actions > span.header-action,
.cart-action {
    border: 0;
    box-shadow: none;
}

.cart-action {
    color: var(--p24-accent);
    background: #fff0f4;
}

.header-category-strip {
    min-height: 47px;
    gap: 4px;
    border-top: 1px solid var(--p24-line);
    border-bottom: 1px solid var(--p24-line);
}

.header-category-strip a {
    min-height: 46px;
    padding: 0 13px;
    font-size: 13px;
}

.header-category-strip a:not(.header-category-strip-back)::before {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-right: 7px;
    border: 1.5px solid var(--p24-accent);
    border-radius: 4px;
    box-shadow: inset 0 0 0 3px #fff;
    background: rgba(242, 31, 85, 0.16);
}

.page-shell {
    width: var(--p24-page);
    padding-top: 18px;
}

.store-hero {
    position: relative;
    display: block;
    height: 438px;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #d4e8f8;
    box-shadow: none;
}

.store-hero::after {
    display: none;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.hero-copy {
    position: absolute;
    z-index: 1;
    right: auto;
    bottom: 38px;
    left: 40px;
    max-width: 430px;
    padding: 0;
}

.hero-copy .section-label {
    display: none;
}

.hero-copy h1 {
    max-width: 430px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 34px;
    line-height: 1.12;
    text-shadow: 0 2px 14px rgba(10, 24, 43, 0.34);
}

.hero-copy .primary-link {
    min-height: 44px;
    padding: 0 21px;
    border-radius: 999px;
    color: #fff;
    background: var(--p24-accent);
}

.store-benefits {
    display: grid;
    grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    overflow: visible;
    border: 0;
    background: transparent;
}

.store-benefit {
    position: relative;
    display: block;
    min-height: 126px;
    overflow: hidden;
    padding: 24px 74px 22px 20px;
    border-radius: 8px;
    color: var(--p24-ink);
    background: #dfebfa;
}

.store-benefit:nth-child(1) {
    color: #fff;
    background: var(--p24-dark);
}

.store-benefit:nth-child(3) {
    background: #fde8ec;
}

.store-benefit:nth-child(4) {
    background: #e5f3e9;
}

.store-benefit > span:last-child {
    display: grid;
    gap: 7px;
}

.store-benefit strong {
    color: inherit;
    font-size: 16px;
    line-height: 1.25;
}

.store-benefit small {
    color: rgba(20, 25, 39, 0.64);
    font-size: 12px;
    line-height: 1.35;
}

.store-benefit:nth-child(1) small {
    color: rgba(255, 255, 255, 0.68);
}

.store-benefit:hover strong {
    color: inherit;
}

.store-benefit-icon {
    position: absolute;
    right: 16px;
    bottom: 15px;
    width: 48px;
    height: 48px;
    color: var(--p24-accent);
    background: transparent;
    opacity: 0.28;
}

.store-benefit:nth-child(1) .store-benefit-icon {
    color: #fff;
}

.home-categories {
    margin-top: 36px;
}

.home-categories .section-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: 8px;
    background: var(--p24-line);
}

.home-category-group {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.home-category-title {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-height: 76px;
    padding: 14px 17px;
    color: var(--p24-ink);
    background: #fff;
}

.home-category-icon {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    background: #fff0f4;
}

.home-category-title strong {
    font-size: 14px;
}

.home-category-title > span:last-child {
    color: var(--p24-accent);
}

.home-category-links {
    display: grid;
    padding: 0 17px 13px;
    border-top: 0;
}

.home-category-links a {
    min-height: 29px;
    padding: 6px 0;
    border-bottom: 0;
    color: #788191;
    font-size: 12px;
    font-weight: 500;
}

.home-category-links a::before {
    content: "·";
    margin-right: 6px;
    color: #b2b8c3;
}

.home-category-links a span {
    margin-left: auto;
}

.home-category-links a:hover {
    color: var(--p24-accent);
    background: transparent;
}

.home-products {
    margin-top: 44px;
}

.site-footer {
    color: #697181;
    background: #fff;
}

.newsletter-strip {
    width: 100%;
    max-width: none;
    min-height: 124px;
    margin: 0;
    padding: 28px max(16px, calc((100% - 1344px) / 2));
    border-bottom: 0;
    color: #fff;
    background: var(--p24-dark);
}

.newsletter-strip h2 {
    color: #fff;
}

.newsletter-strip p {
    color: #aeb7c6;
}

.newsletter-contact {
    color: #fff;
    background: var(--p24-accent);
}

.footer-main,
.footer-bottom {
    width: var(--p24-page);
}

.footer-main .footer-logo,
.footer-column h2,
.footer-company strong {
    color: var(--p24-ink);
}

.footer-company p,
.footer-company address,
.footer-contact,
.footer-column {
    color: #737b8a;
}

.footer-column a:hover,
.footer-contact a:hover {
    color: var(--p24-accent);
}

.footer-bottom {
    border-top: 1px solid var(--p24-line);
    color: #8b93a2;
}

@media (max-width: 980px) {
    :root {
        --p24-page: min(100% - 28px, 1344px);
    }

    .store-hero {
        height: 380px;
    }

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

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

@media (max-width: 620px) {
    :root {
        --p24-page: min(100% - 20px, 1344px);
    }

    .site-logo {
        min-width: 96px;
    }

    .site-logo-word {
        font-size: 25px;
    }

    .store-hero {
        height: 330px;
    }

    .hero-image {
        object-position: 61% center;
    }

    .hero-copy {
        right: 22px;
        bottom: 24px;
        left: 22px;
    }

    .hero-copy h1 {
        max-width: 290px;
        font-size: 27px;
    }

    .store-benefits,
    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .store-benefit {
        min-height: 104px;
    }

    .newsletter-strip {
        padding-right: 20px;
        padding-left: 20px;
    }
}

/* Crisp storefront icon system */
.ui-icon {
    display: block;
    width: 24px;
    height: 24px;
    min-width: 0;
    min-height: 0;
    flex: 0 0 auto;
    overflow: visible;
    box-sizing: border-box;
}

.site-logo-word {
    position: relative;
    display: inline-block;
    width: max-content;
}

.site-logo-word::after {
    top: -1px;
    right: -13px;
}

.ui-icon::before,
.ui-icon::after,
.catalog-icon::before,
.catalog-icon::after,
.cart-icon::before,
.header-action-favorite::before,
.favorite-button::before,
.wishlist-button::before,
.header-category-strip-back::before,
.header-category-strip a:not(.header-category-strip-back)::before,
.store-benefit-icon::before,
.product-benefit-icon::before,
.subcategory-icon::before,
.home-category-icon::before,
.delivery-icon::before,
.checkout-option-icon::before {
    display: none;
    content: none;
}

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

.search-form button .search-icon {
    position: static;
    width: 19px;
    height: 19px;
    border: 0;
    border-radius: 0;
    transform: none;
}

.header-action > .ui-icon {
    width: 21px;
    height: 21px;
}

svg.cart-icon,
.header-actions svg.cart-icon {
    width: 21px;
    height: 21px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.header-category-strip a {
    gap: 7px;
}

.header-category-strip {
    scrollbar-width: none;
}

.header-category-strip::-webkit-scrollbar {
    display: none;
}

.header-category-strip-back > .ui-icon {
    width: 21px;
    height: 21px;
}

.category-strip-icon {
    width: 18px;
    height: 18px;
    color: var(--p24-accent);
}

svg.store-benefit-icon {
    display: block;
    width: 48px;
    height: 48px;
    padding: 7px;
}

svg.home-category-icon {
    display: block;
    width: 40px;
    height: 40px;
    padding: 9px;
}

svg.subcategory-icon {
    display: block;
    width: 46px;
    height: 46px;
    padding: 11px;
}

svg.product-benefit-icon {
    display: block;
    width: 46px;
    height: 46px;
    padding: 10px;
}

svg.delivery-icon,
svg.checkout-option-icon {
    display: block;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
}

.favorite-button > .ui-icon,
.wishlist-button > .ui-icon {
    width: 20px;
    height: 20px;
}

.favorite-button.is-active > .ui-icon,
.wishlist-button.is-active > .ui-icon,
.header-action-favorite.is-active > .ui-icon {
    fill: currentColor;
}

.button-icon {
    width: 18px;
    height: 18px;
}

.card-cart-button,
.buy-button,
.checkout-back-link,
.product-tab {
    gap: 8px;
}

.checkout-back-link {
    display: inline-flex;
    align-items: center;
}

.checkout-back-link > .ui-icon,
.product-tab > .ui-icon {
    width: 18px;
    height: 18px;
}

.gallery-nav > .ui-icon,
.gallery-zoom > .ui-icon {
    width: 19px;
    height: 19px;
}
