.cart-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.cart-badge {
    top: -12px;
    right: -12px;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-item {
    display: flex;
    gap: 0.875rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.cart-item-image {
    flex-shrink: 0;
    display: block;
    width: 104px;
    height: 104px;
    overflow: hidden;
    border-radius: 8px;
    background: #f4f4f4;
}

.cart-item-image img {
    display: block;
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cart-item-name {
    flex: 1 1 auto;
    min-width: 0;
    color: #212121;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-name:hover {
    opacity: 1;
    text-decoration: underline;
}

.cart-item-variant,
.cart-item-greeting,
.cart-item-unit {
    margin: 0.25rem 0 0;
    color: #999;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.cart-item-qty-control {
    display: inline-flex;
    align-items: center;
    height: 2rem;
    overflow: hidden;
    border-radius: 0.375rem;
    background: #212121;
    color: #fff;
    flex-shrink: 0;
}

.cart-item-qty-control button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.cart-item-qty-control button:disabled {
    opacity: 0.35;
    cursor: default;
}

.cart-item-qty-control span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 100%;
    font-size: 0.875rem;
    font-weight: 600;
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    color: #212121;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    text-align: right;
}

.cart-item-total-old {
    color: #999;
    font-size: 0.8125rem;
    font-weight: 400;
    text-decoration: line-through;
}

.cart-item-remove {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.cart-item-remove:hover {
    color: #212121;
}

.cart-item-info {
    flex: 1;
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
}

.cart-item-qty button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.1rem 0.4rem;
}

.cart-item-qty button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cart-item-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    margin-left: 0.5rem;
}

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #eee;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cart-savings {
    color: #38a169;
    font-size: 0.9em;
}

.cart-checkout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 1rem;
    background: #212121;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-sizing: border-box;
}

.cart-checkout.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #999;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cart-view {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: none;
    border: 1px solid #212121;
    border-radius: 8px;
    font-weight: 600;
    color: #212121;
    text-decoration: none;
    box-sizing: border-box;
}

/* ── Cart Page ─────────────────────────────────── */

.cart-page-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    text-align: center;
    color: #999;
}

.cart-page-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.cart-page-qty button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: #212121;
}

.cart-page-qty button:hover {
    background: #f5f5f5;
}

.cart-page-qty button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cart-page-qty span {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-page-continue {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-top: 0.75rem;
    padding: 0.75rem;
    text-align: center;
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    color: #212121;
    text-decoration: none;
    box-sizing: border-box;
}

.cart-page-continue:hover {
    border-color: #212121;
}

.lang-switcher-icon {
    padding-left: 8px;
    box-sizing: content-box;
}

.lang-switcher-link {
    color: #5e5e5e;
}

.lang-switcher-link:hover {
    color: #292929;
    background-color: #f5f5f5;
}

/* Header */
.header-search-and-menu { flex: 1; min-width: 0; }
.header-search-launcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    text-align: left;
    cursor: pointer;
}
.header-search-launcher:focus-visible { outline: 2px solid #e0292c; outline-offset: 2px; }
.header-search-launcher svg { flex-shrink: 0; }
#siteHeader .header-search-and-menu .headerMenu {
  margin: 0;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.5rem;
}
#siteHeader .header-search-and-menu .menuItem {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 100%;
  display: flex;
  align-items: center;
}
.header-nav-sub {
  top: 100%;
}
.header-logo {
    width: 110px;
    height: 36px;
}

.header-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

@media (min-width: 640px) {
    .header-logo {
        width: 140px;
        height: 44px;
    }
}

@media (min-width: 1024px) {
    .header-logo {
        width: 200px;
        height: 60px;
    }
}

.header-lang {
    position: relative;
    z-index: 60;
    max-width: 42vw;
}

.header-lang-btn {
    max-width: 100%;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
}

@media (max-width: 1023px) {
    .header-lang-btn {
        padding: 0.4rem 0.65rem 0.4rem 0.75rem;
        min-height: 36px;
    }
}

.header-lang-btn > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 28vw;
}

.header-lang-menu.is-open,
[data-lang-switcher].is-open .header-lang-menu {
    visibility: visible;
    opacity: 1;
}

[data-lang-switcher].is-open .lang-switcher-icon {
    transform: rotate(180deg);
}

.header-cart-wrap {
    margin-right: 0;
}

@media (max-width: 1023px) {
    #siteHeader .header-cart-wrap .header-cart {
        display: none !important;
    }

    #siteHeader .header-cart-wrap {
        width: 0;
        margin: 0;
        overflow: visible;
    }
}

@media (min-width: 1024px) {
    .header-cart-wrap {
        margin-right: 1.25rem;
    }
}

.bottom-nav-cart {
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.bottom-nav-cart .cart-badge {
    top: -8px;
    right: -10px;
}

/* Mobile menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow: hidden;
}

body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

body.mobile-menu-open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 20px;
    border-bottom: 1px solid #f1f1f1;
}

.mobile-menu-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #212121;
}

.mobile-menu-close {
    border: 0;
    background: none;
    font-size: 32px;
    line-height: 1;
    color: #212121;
    cursor: pointer;
    padding: 0 4px;
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 24px;
}

.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item > a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #212121;
    text-decoration: none;
}

.mobile-menu-sub a {
    display: block;
    padding: 10px 20px 10px 32px;
    font-size: 14px;
    font-weight: 400;
    color: #5a5a5a;
    text-decoration: none;
}

.mobile-menu-item > a:hover,
.mobile-menu-sub a:hover {
    background: #f5f5f5;
}

.mobile-menu-item--auth {
    margin-top: 8px;
    border-top: 1px solid #f1f1f1;
    padding-top: 8px;
}

.mobile-menu-item--auth {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}

.mobile-menu-item--auth > a {
    padding: 0;
    background: none;
}

@media (min-width: 1024px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .featured-products-block .product-media {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .featured-products-block .product-media .product-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .product-media {
      height: 250px !important;
      aspect-ratio: auto;
    }
  }

@media (min-width: 1024px) {
    .content-page--epodarok .prose-content img,
    .content-page--podarochnaya-karta .prose-content img {
        display: block;
        width: auto;
        height: auto;
        max-width: min(100%, 800px);
        max-height: 600px;
        object-fit: contain;
        margin-left: 0;
        margin-right: auto;
    }

    .content-page--podarochnaya-karta .prose-content img {
        max-width: min(100%, 600px);
        max-height: 400px;
    }
}

/* Interactive cursors & link hover */
a,
button,
[role="button"],
[type="button"],
[type="submit"],
[type="reset"],
summary,
label[for],
select,
.menuBtn,
[data-search-open],
[data-mobile-menu-open],
[data-mobile-menu-close],
[data-lang-toggle],
[data-quickview] {
    cursor: pointer;
}

a:hover {
    opacity: 0.8;
}

#siteHeader a:hover,
#siteHeader a:hover img,
.header-logo:hover,
.product-card a:hover,
.product-media:hover {
    opacity: 1;
}

.product-card:hover .product-image {
    opacity: 1;
}

/* Catalog product images (baskets through packaging) */
.catalog-main .product-media {
    overflow: hidden;
    border-radius: 12px !important;
}

.catalog-main .product-media .product-image {
    border-radius: inherit !important;
}

button:disabled,
a[aria-disabled="true"],
.cursor-default {
    cursor: default;
}

/* Header icon buttons */
#siteHeader .header-icon-btn,
#siteHeader [data-search-open],
#siteHeader a[aria-label="My account"],
#siteHeader .header-cart {
    color: #212121;
    opacity: 1;
    transition: color 0.2s ease;
}

#siteHeader .header-icon-btn:hover,
#siteHeader [data-search-open]:hover,
#siteHeader a[aria-label="My account"]:hover,
#siteHeader .header-cart:hover {
    color: #6b6b6b;
    opacity: 1;
}

#siteHeader .header-search-launcher {
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

#siteHeader [data-search-open] > svg,
#siteHeader a[aria-label="My account"] > svg,
#siteHeader button.header-cart > svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

#siteHeader [data-search-open] > svg {
    width: 22px;
    height: 22px;
}

#siteHeader a[aria-label="My account"] > svg,
#siteHeader button.header-cart > svg {
    width: 22px;
    height: 22px;
}

.cart-empty-illustration {
    display: block;
    width: 120px;
    max-width: 50%;
    height: auto;
    margin: 0 auto 1rem;
    opacity: 0.55;
}

.cart-page-empty .cart-empty-illustration {
    width: 160px;
    max-width: 60%;
    margin-bottom: 0;
}

/* Cart / checkout two-column layout — matches Chawkbazar (md:flex-row, 3/5 + 2/5) */
.cart-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.cart-layout__main,
.cart-layout__aside {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
}

.cart-layout__aside {
    margin-top: 3rem;
}

.cart-layout__aside-inner {
    width: 100%;
}

.checkout-heading {
    margin: 0 0 1.5rem;
    color: #212121;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.checkout-heading--center {
    text-align: center;
}

.checkout-heading-count {
    margin-left: 0.35rem;
    color: #999;
    font-weight: 400;
    font-size: 0.9em;
}

.checkout-form-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-fields-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-field {
    width: 100%;
}

.checkout-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-top: 0.25rem;
    border-radius: 0.375rem;
    background: #f4f4f4;
    color: #212121;
    font-size: 0.875rem;
    font-weight: 600;
}

.checkout-order-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e6e6e6;
}

.checkout-order-thumb {
    display: flex;
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 0.375rem;
    background: #fff;
}

.checkout-order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-order-name {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0 0.75rem;
    color: #212121;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
}

a.checkout-order-name:hover {
    text-decoration: underline;
    opacity: 1;
}

.checkout-order-qty {
    display: block;
    margin-top: 0.15rem;
    color: #999;
    font-size: 0.75rem;
}

.checkout-order-price {
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 0.5rem;
    color: #212121;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.cart-page-item .checkout-order-price {
    font-size: 1.0625rem;
}

.checkout-save {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #212121;
    font-size: 0.875rem;
    cursor: pointer;
}

.checkout-save input {
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid #e6e6e6;
    border-radius: 0.25rem;
    accent-color: #e0292c;
    cursor: pointer;
}

.checkout-section {
    padding-top: 0.25rem;
}

.checkout-section--aside {
    padding: 0.75rem 0 0.25rem;
}

.checkout-section-title {
    margin: 0 0 0.75rem;
    color: #212121;
    font-size: 0.875rem;
    font-weight: 700;
}

.checkout-options {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.checkout-notes-wrap {
    padding-top: 0.75rem;
}

.checkout-aside-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cart-coupon {
    margin-bottom: 1.25rem;
}

.cart-coupon-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.cart-coupon-input {
    flex: 1 1 auto;
    min-width: 0;
    text-transform: uppercase;
}

.cart-coupon-apply {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 0.375rem;
    background: #212121;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cart-coupon-apply:hover {
    background: #4b5563;
}

.cart-coupon-apply:disabled {
    opacity: 0.6;
    cursor: default;
}

.cart-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e6e6e6;
    border-radius: 0.375rem;
    background: #f9fafb;
}

.cart-coupon-applied-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.cart-coupon-code {
    color: #212121;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cart-coupon-hint {
    color: #16a34a;
    font-size: 0.75rem;
}

.cart-coupon-remove {
    flex-shrink: 0;
    border: 0;
    background: none;
    color: #999;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.cart-coupon-remove:hover {
    color: #212121;
}

.cart-coupon-message {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    line-height: 1.3;
}

.cart-coupon-message.is-error {
    color: #dc2626;
}

.cart-coupon-message.is-success {
    color: #16a34a;
}

.checkout-continue-link {
    display: block;
    text-align: center;
    color: #212121;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.checkout-continue-link:hover {
    text-decoration: underline;
    opacity: 1;
}

.cart-page-item {
    align-items: flex-start;
}

.cart-page-item-info {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 0.75rem;
}

.cart-page-item .checkout-order-name {
    padding: 0;
    display: block;
}

.cart-page-item-meta {
    margin: 0.25rem 0 0;
    color: #5a5a5a;
    font-size: 0.75rem;
}

.cart-page-greeting-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-top: 0.25rem;
}

.cart-page-greeting-row .cart-page-item-meta {
    margin: 0;
}

.cart-page-greeting-edit-btn {
    padding: 0;
    border: 0;
    background: none;
    color: #212121;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.cart-page-greeting-edit-btn:hover {
    opacity: 0.7;
}

.cart-page-greeting-edit {
    margin-top: 0.5rem;
    max-width: 28rem;
}

.cart-page-greeting-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #212121;
    font-size: 0.75rem;
    font-weight: 600;
}

.cart-page-greeting-textarea {
    display: block;
    width: 100%;
    min-height: 4.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    color: #212121;
    font-size: 0.8125rem;
    line-height: 1.4;
    resize: vertical;
}

.cart-page-greeting-textarea:focus {
    outline: none;
    border-color: #212121;
}

.cart-page-greeting-hint {
    margin: 0.35rem 0 0;
    color: #9ca3af;
    font-size: 0.6875rem;
}

.cart-page-greeting-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-page-greeting-save,
.cart-page-greeting-cancel {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.cart-page-greeting-save {
    border: 0;
    background: #212121;
    color: #fff;
}

.cart-page-greeting-cancel {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.cart-page-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    height: 2rem;
    overflow: hidden;
    border-radius: 0.375rem;
    background: #212121;
    color: #fff;
}

.cart-qty button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.cart-qty button:disabled {
    opacity: 0.35;
    cursor: default;
}

.cart-qty span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 100%;
    font-size: 0.875rem;
    font-weight: 600;
}

.cart-page-remove {
    border: 0;
    background: none;
    color: #999;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

.cart-page-remove:hover {
    color: #212121;
}

@media (min-width: 768px) {
    .cart-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.75rem;
    }

    .cart-layout__main {
        flex: 3 1 0;
        width: auto;
        margin-top: -0.375rem;
    }

    .cart-layout__aside {
        flex: 2 1 0;
        width: auto;
        margin-top: -0.375rem;
    }

    .checkout-heading {
        margin-bottom: 2rem;
        font-size: 1.25rem;
    }

    .checkout-fields-row {
        flex-direction: row;
        gap: 0.75rem;
    }

    .checkout-field {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .checkout-form-stack {
        gap: 1.25rem;
    }

    .cart-qty {
        height: 2.25rem;
    }

    .cart-qty button,
    .cart-qty span {
        width: 2.25rem;
        min-width: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cart-layout {
        gap: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .cart-layout {
        gap: 3.5rem;
    }

    .checkout-heading {
        font-size: 1.5rem;
    }
}

@media (min-width: 1500px) {
    .cart-layout__aside-inner {
        padding-left: 1rem;
    }
}

/* Checkout — Chawkbazar-style form */
.checkout-label {
    display: block;
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.checkout-input,
.checkout-textarea {
    width: 100%;
    appearance: none;
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #1d1e1f;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    transition: border-color 0.2s ease;
}

.checkout-input {
    height: 2.75rem;
    min-height: 3rem;
    padding: 0.5rem 1rem;
}

.checkout-textarea {
    padding: 0.75rem 1rem;
    min-height: 6.5rem;
    resize: vertical;
}

.checkout-input:focus,
.checkout-textarea:focus {
    outline: none;
    border-color: #e0292c;
    box-shadow: 0 0 0 1px #e0292c;
}

@media (min-width: 768px) {
    .checkout-input {
        height: 3rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .checkout-input {
        font-size: 0.875rem;
    }
}

.checkout-radio {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.5rem;
    margin: 0 -0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    color: #212121;
    font-size: 0.875rem;
}

.checkout-radio:hover {
    background: #f9fafb;
}

.checkout-radio input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #e0292c;
    cursor: pointer;
    flex-shrink: 0;
}

.checkout-radio-price {
    margin-left: auto;
    color: #999;
    font-size: 0.875rem;
    white-space: nowrap;
}

.checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 10rem;
    padding: 1rem 1.5rem;
    border: 0;
    border-radius: 0.375rem;
    background: #212121;
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.checkout-submit--block {
    width: 100%;
    margin-top: 1.25rem;
}

.checkout-submit:hover {
    background: #4b5563;
    color: #fff !important;
    opacity: 1;
    text-decoration: none;
}

.checkout-submit.is-loading,
.checkout-submit:disabled {
    opacity: 0.75;
    cursor: wait;
    pointer-events: none;
}

.btn-with-loader {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    animation: form-btn-spin 0.7s linear infinite;
}

.btn-with-loader.is-loading .btn-spinner,
.checkout-submit.is-loading .btn-spinner {
    display: inline-block;
}

form.is-submitting {
    pointer-events: none;
}

form.is-submitting .btn-with-loader:not(.is-loading),
form.is-submitting button[type="submit"]:not(.is-loading),
form.is-submitting input[type="submit"]:not(.is-loading) {
    opacity: 0.6;
    cursor: wait;
}

@keyframes form-btn-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    .checkout-submit {
        font-size: 0.875rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .checkout-submit {
        padding: 1rem 2rem;
    }
}

.checkout-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #e6e6e6;
    font-size: 0.875rem;
    font-weight: 600;
    color: #212121;
    box-sizing: border-box;
}

.checkout-total-row.is-discount {
    color: #16a34a;
}

.checkout-total-row.is-final {
    border-bottom: 0;
    font-size: 1rem;
    padding-bottom: 0;
}

.checkout-total-row span {
    flex-shrink: 0;
    margin-left: 1rem;
}

#siteHeader .header-lang-btn:hover {
    color: #6b6b6b;
    opacity: 1;
}

/* Search overlay above sticky header (header is z-50) */
.overlay {
    z-index: 90;
}

.drawer-search {
    z-index: 100 !important;
    top: 1.25rem;
    max-height: calc(100dvh - 2.5rem);
    overflow-y: auto;
}

.drawer-search form[role="search"],
.drawer-search label[for="search"],
.drawer-search #search {
    background-color: #f3f3f3;
}

.search-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: start;
    align-items: start;
}

.search-discovery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    margin-top: 24px;
}

.search-recommendations {
    border-left: 1px solid #e5e5e5;
    padding-left: 28px;
    min-width: 0;
}

.search-recommendations h2 {
    margin: 0 0 16px;
    color: #777;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

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

.search-product {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.search-product img {
    width: 100%;
    height: auto;
    aspect-ratio: 200 / 132;
    object-fit: contain;
    border-radius: 6px;
    background: #f3f3f3;
}

.search-product__name {
    color: #212121;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.search-product__price {
    color: #e0292c;
    font-size: 15px;
    margin-top: auto;
}

.search-product__price del {
    color: #888;
    font-size: 12px;
}

@media (max-width: 639px) {
    .search-discovery {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .search-recommendations {
        border-left: 0;
        border-top: 1px solid #e5e5e5;
        padding: 20px 0 0;
    }
}

.search-categories__link {
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.search-categories__link:hover,
.search-categories__link:focus-visible {
    border-color: #e0292c;
    color: #e0292c;
    opacity: 1;
}

/* Home categories — Chawkbazar-style banner grid */
.categories-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(150px, 46vw);
    gap: 8px;
}

.categories-block__item {
    min-width: 0;
    min-height: 0;
}

.categories-block__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    text-decoration: none;
}

.categories-block__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    background: #e5e5e5;
    transition: transform 0.45s ease;
}

.categories-block__link:hover .categories-block__img {
    transform: scale(1.05);
}

.categories-block__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.5) 100%);
    transition: opacity 0.3s ease;
}

.categories-block__link:hover .categories-block__overlay {
    opacity: 0.9;
}

.categories-block__title {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 12px 14px;
    max-width: 92%;
    color: #fff;
    font-size: clamp(13px, 3vw, 18px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* Mobile: 2x2 */
.categories-block__item--1,
.categories-block__item--2,
.categories-block__item--3,
.categories-block__item--4,
.categories-block__item--5,
.categories-block__item--6 {
    grid-column: auto;
    grid-row: auto;
}

@media (min-width: 768px) {
    /* 4-column banner grid like the Chawkbazar template */
    .categories-block {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, minmax(220px, 28vw));
        grid-auto-rows: unset;
        gap: 12px;
    }

    /*
     * 4 categories (current): zigzag like the template
     * [==== wide ====][sm][sm]
     * [sm][sm][==== wide ====]  — for 6 items
     * [==== wide ====][sm]
     * [sm][==== wide ====]      — for 4 items
     */
    .categories-block__item--1 {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .categories-block__item--2 {
        grid-column: 3 / 4;
        grid-row: 1;
    }

    .categories-block__item--3 {
        grid-column: 4 / 5;
        grid-row: 1;
    }

    .categories-block__item--4 {
        grid-column: 3 / 5;
        grid-row: 2;
    }

    /* 4 items only: put #3 bottom-left, #2 stays top; shift #3 under left */
    .categories-block:not(:has(.categories-block__item--5)) .categories-block__item--2 {
        grid-column: 3 / 5;
        grid-row: 1;
    }

    .categories-block:not(:has(.categories-block__item--5)) .categories-block__item--3 {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .categories-block:not(:has(.categories-block__item--5)) .categories-block__item--4 {
        grid-column: 2 / 5;
        grid-row: 2;
    }

    /* 6 categories: full template 2+1+1 / 1+1+2 */
    .categories-block:has(.categories-block__item--6) .categories-block__item--2 {
        grid-column: 3 / 4;
        grid-row: 1;
    }

    .categories-block:has(.categories-block__item--6) .categories-block__item--3 {
        grid-column: 4 / 5;
        grid-row: 1;
    }

    .categories-block:has(.categories-block__item--6) .categories-block__item--4 {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .categories-block__item--5 {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .categories-block__item--6 {
        grid-column: 3 / 5;
        grid-row: 2;
    }

    .categories-block__title {
        font-size: clamp(16px, 1.5vw, 28px);
        padding: 18px 20px;
    }

    .categories-block__item--1 .categories-block__title,
    .categories-block__item--4 .categories-block__title,
    .categories-block__item--6 .categories-block__title {
        font-size: clamp(20px, 1.9vw, 34px);
    }
}

@media (min-width: 1280px) {
    .categories-block {
        grid-template-rows: repeat(2, minmax(260px, 320px));
        gap: 14px;
    }
}

/* Product / catalog breadcrumb — simple grey trail with / */
.site-breadcrumb {
    margin: 0 0 1.5rem;
}

.site-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #666666;
}

.site-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.site-breadcrumb li + li::before {
    content: "/";
    margin: 0 0.5rem;
    color: #666666;
    font-weight: 400;
}

.site-breadcrumb a,
.site-breadcrumb span {
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    text-decoration: none;
    text-transform: none;
}

.site-breadcrumb a:hover {
    color: #333333;
    opacity: 1;
    text-decoration: none;
}

@media (min-width: 768px) {
    .site-breadcrumb {
        margin-bottom: 2rem;
    }
}

.footer-payments {
    display: flex;
    justify-content: center;
    padding: 0 0 2rem;
    text-align: center;
}

.footer-payments img {
    display: block;
    width: 100%;
    max-width: 510px;
    height: auto;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    color: #212121;
    background: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
    color: #fa3336;
    border-color: #fa3336;
    background: #fff5f5;
}

.footer-social-link--facebook,
.footer-social-link--instagram {
    background: transparent;
}

[x-cloak] {
    display: none !important;
}

/* WP SVG icon */
i[class*="wp-svg-"] {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.15em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-style: normal;
    margin-right: 5px;
}

i.wp-svg-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

i.wp-svg-shirt {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3l-6 4 3 5 3-2v11h8V10l3 2 3-5-6-4a4 4 0 0 1-8 0z'/%3E%3C/svg%3E");
}

i.wp-svg-users {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

i.wp-svg-clock {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

i.wp-svg-cloudy-3,
i[class*="wp-svg-cloudy"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M4.93 4.93l1.41 1.41'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='M19.07 4.93l-1.41 1.41'/%3E%3Cpath d='M15.95 5.63A5 5 0 0 0 7 9h-.17A3.5 3.5 0 1 0 6 16h12a3 3 0 1 0-.84-5.88'/%3E%3C/svg%3E");
}

i.wp-svg-calendar-2,
i[class*="wp-svg-calendar"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

i.wp-svg-warning {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

i.wp-svg-clock-2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

i.wp-svg-user,
i.wp-svg-user-3,
i.wp-svg-user-4 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

i.wp-svg-cloudy {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9z'/%3E%3C/svg%3E");
}

i.wp-svg-sun,
i.wp-svg-sun-3 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E");
}

i.wp-svg-accessibility {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='4' r='2'/%3E%3Cpath d='M16 7H8a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2v5a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-5a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
}

i.wp-svg-alarm-2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0292c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2 2'/%3E%3Cpath d='M5 3L2 6'/%3E%3Cpath d='M22 6l-3-3'/%3E%3Cpath d='M6 18l-2 2'/%3E%3Cpath d='M18 18l2 2'/%3E%3C/svg%3E");
}

.related-swiper .swiper-slide {
    height: auto;
}

/* Multilevel catalog menu */
.catalog-menu {
    position: relative;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.catalog-menu-btn,
.catalog-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 4px;
    background: #fa3336;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.catalog-show-more-btn {
  margin: 16px 0 0 0;
  padding: 0 24px;
}

.catalog-menu-btn:hover,
.catalog-menu.is-open .catalog-menu-btn {
    background: #e0292c;
}

.catalog-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 80;
    display: flex;
    min-width: 280px;
    min-height: 360px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.catalog-menu.is-open .catalog-menu-panel,
.catalog-menu:hover .catalog-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.catalog-menu-level1 {
    position: relative;
    width: 280px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-right: 1px solid #ececec;
}

.catalog-menu-item {
    border-bottom: 1px solid #ececec;
}

.catalog-menu-item:last-child {
    border-bottom: 0;
}

.catalog-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 10px 16px;
    color: #212121;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.catalog-menu-link-text {
    flex: 1;
    text-transform: none;
}

.catalog-menu-icon {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background-color: #e0292c;
    -webkit-mask: var(--category-icon) center / contain no-repeat;
    mask: var(--category-icon) center / contain no-repeat;
}

.catalog-menu-arrow {
    color: #fa3336;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}

.catalog-menu-item.is-active > .catalog-menu-link,
.catalog-menu-item:hover > .catalog-menu-link {
    color: #fa3336;
    background: #fff5f5;
}

.catalog-menu-level2 {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 2;
    display: none;
    width: 320px;
    min-height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ececec;
    border-left: 0;
    box-shadow: 8px 0 20px rgba(0, 0, 0, 0.06);
}

.catalog-menu-item.is-active > .catalog-menu-level2,
.catalog-menu-item:hover > .catalog-menu-level2 {
    display: block;
}

.catalog-menu-level2 li {
    border-bottom: 1px solid #ececec;
}

.catalog-menu-level2 a {
    display: block;
    min-height: 46px;
    padding: 12px 18px;
    color: #333;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.catalog-menu-level2 a:hover {
    color: #fa3336;
    background: #fff5f5;
}

.mobile-menu-parent {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.mobile-menu-chevron {
    display: inline-flex;
    transition: transform 0.2s ease;
    color: #fa3336;
    font-size: 18px;
}

.mobile-menu-item.is-open > .mobile-menu-parent .mobile-menu-chevron {
    transform: rotate(90deg);
}

.mobile-menu-item.has-children > .mobile-menu-sub {
    display: none;
    padding-left: 12px;
    background: #fafafa;
}

.mobile-menu-item.is-open > .mobile-menu-sub {
    display: block;
}

.header-nav-arrow {
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.menuItem.has-submenu:hover .header-nav-arrow,
.menuItem.has-submenu:focus-within .header-nav-arrow {
    transform: rotate(180deg);
}

.header-nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 70;
    min-width: 240px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.menuItem:hover > .header-nav-sub,
.menuItem:focus-within > .header-nav-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header-nav-sub a {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
}

.header-nav-sub a:hover {
    color: #fa3336;
    background: #fff5f5;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 8px;
}

.cookie-banner-text {
    min-width: 0;
}

.cookie-banner-title {
    margin: 0 0 4px;
    color: #212121;
    font-size: 15px;
    font-weight: 700;
}

.cookie-banner-text p {
    margin: 0;
    color: #525252;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #212121;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: #fa3336;
}

.cookie-banner-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.cookie-banner-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-banner-btn--ghost {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #212121;
}

.cookie-banner-btn--ghost:hover {
    border-color: #212121;
}

.cookie-banner-btn--accept {
    border: 0;
    background: #fa3336;
    color: #fff;
}

.cookie-banner-btn--accept:hover {
    background: #e0292c;
}

@media (max-width: 1023px) {
    .cookie-banner {
        bottom: 56px;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-banner-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-banner-btn {
        width: 100%;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .cookie-banner {
        bottom: 64px;
    }
}

.catalog-layout {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.catalog-filters {
    display: none;
    width: 240px;
    flex-shrink: 0;
}

.catalog-filters-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.catalog-filters-head h2 {
    margin: 0;
    color: #212121;
    font-size: 18px;
    font-weight: 700;
}

.catalog-filters-clear {
    color: #9ca3af;
    font-size: 13px;
    text-decoration: none;
}

.catalog-filters-clear:hover {
    color: #fa3336;
}

.catalog-filter {
    margin-bottom: 1.75rem;
}

.catalog-filter-title {
    margin: 0 0 0.85rem;
    color: #212121;
    font-size: 15px;
    font-weight: 700;
}

.catalog-filter-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-filter-list li + li {
    margin-top: 0.55rem;
}

.catalog-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

.catalog-check input {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin: 0;
    accent-color: #212121;
}

.catalog-price-track {
    position: relative;
    height: 24px;
    margin: 8px 0 14px;
}

.catalog-price-track input[type="range"] {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    pointer-events: none;
    appearance: none;
    background: none;
}

.catalog-price-track input[type="range"]:last-of-type {
    z-index: 2;
}

.catalog-price-track input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #212121;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    margin-top: -6px;
}

.catalog-price-track input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border: 2px solid #212121;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.catalog-price-track input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.catalog-price-range {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 999px;
    background: #e5e7eb;
}

.catalog-price-label {
    color: #6b7280;
    font-size: 13px;
}

.catalog-filters-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0.5rem;
}

.catalog-price-apply,
.catalog-filters-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.catalog-price-apply {
    border: 0;
    background: #212121;
    color: #fff;
}

.catalog-price-apply:hover {
    background: #4b5563;
}

.catalog-filters-reset {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #212121;
}

.catalog-filters-reset:hover {
    border-color: #212121;
}

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

.catalog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.catalog-toolbar-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-count {
    color: #6b7280;
    font-size: 13px;
}

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

.catalog-sort-label {
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
}

.catalog-sort-select {
    min-width: 210px;
    height: 38px;
    padding: 0 32px 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23212121' stroke-width='1.5' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: #212121;
    font-size: 13px;
    appearance: none;
    cursor: pointer;
}

.catalog-sort-select:hover,
.catalog-sort-select:focus {
    border-color: #212121;
    outline: none;
}

.catalog-filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-bottom: 1rem;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    color: #212121;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .catalog-filters {
        display: block;
    }

    .catalog-filters-toggle {
        display: none;
    }
}

@media (max-width: 1023px) {
    .catalog-layout {
        display: block;
    }

    .catalog-filters.is-open {
        display: block;
        width: 100%;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }
}

.social-sharing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 0;
    margin-top: 1.5rem;
    padding: 12px 0;
    border-top: 1px solid #e8e8e8;
    color: #555;
    font-size: 13px;
}

.social-sharing .print,
.social-sharing .email {
    display: flex;
    align-items: center;
    padding-right: 14px;
    margin-right: 14px;
    border-right: 1px solid #e0e0e0;
}

.social-sharing a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
    text-decoration: none;
}

.social-sharing a:hover {
    color: #212121;
}

.social-sharing ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-sharing li a,
.social-sharing__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    background: #fff;
    color: #555;
    line-height: 0;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.social-sharing li a svg,
.social-sharing__copy svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-sharing__copy {
    padding: 0;
    cursor: pointer;
}

.social-sharing li.whatsapp a:hover {
    color: #25d366;
    border-color: #25d366;
}

.social-sharing li.telegram a:hover {
    color: #2aabee;
    border-color: #2aabee;
}

.social-sharing li.viber a:hover {
    color: #7360f2;
    border-color: #7360f2;
}

.social-sharing li.facebook a:hover {
    color: #1877f2;
    border-color: #1877f2;
}

.social-sharing__copy:hover,
.social-sharing__copy.is-copied {
    color: #fa3336;
    border-color: #fa3336;
}

.copy-link-toast {
    display: none;
}

@media (max-width: 767px) {
    .copy-link-toast {
        position: fixed;
        z-index: 20;
        right: 1rem;
        bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
        left: 1rem;
        display: block;
        max-width: 22rem;
        margin: 0 auto;
        padding: 0.875rem 1rem 1rem;
        overflow: hidden;
        border-radius: 0.5rem;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        color: #212121;
        font-size: 0.875rem;
        font-weight: 600;
        line-height: 1.25;
        opacity: 0;
        pointer-events: none;
        transform: translateY(0.75rem);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .copy-link-toast.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .copy-link-toast__progress {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 3px;
        background: #e0292c;
        transform: scaleX(0);
        transform-origin: left;
    }

    .copy-link-toast.is-visible .copy-link-toast__progress {
        animation: copy-link-toast-progress 2.5s linear forwards;
    }
}

@keyframes copy-link-toast-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Profile orders: unlayered .hidden from tailwind-static beats Vite @layer md:block */
.profile-orders-desktop {
    display: none;
}

.profile-orders-mobile {
    display: block;
}

@media (min-width: 768px) {
    .profile-orders-desktop {
        display: block;
    }

    .profile-orders-mobile {
        display: none;
    }
}

/* JivoChat: keep the launcher clear of the mobile bottom nav. */
@media (max-width: 1023px) {
    #jivo-iframe-container,
    jdiv.__jivoDesktopButton,
    jdiv.__jivoMobileButton,
    [class*="jivo"] > iframe {
        position: fixed !important;
        top: auto !important;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        right: 12px !important;
        left: auto !important;
        transform: none !important;
    }

    /* Do not let Jivo's auto-expanded greeting cover product cards. */
    #jvLabelWrap,
    .globalClass_ET {
        display: none !important;
    }

    #jivo-iframe-container {
        z-index: 40 !important;
    }
    .container__ofDyj .wrapper__EjVq0 {
      display: block;
      position: fixed;
      left: 4px;
      bottom: 48px;
    }
}

@media print {
    .social-sharing,
    header,
    footer,
    .header-cart-wrap,
    .cookie-banner {
        display: none !important;
    }
}
/* ===== Product page card ===== */
.product-page .site-breadcrumb {
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .product-page .site-breadcrumb {
        margin-bottom: 1.5rem;
    }
}

.product-card-layout {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 992px) {
    .product-card-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
        gap: 2.75rem;
    }
}

.product-card-summary {
    min-width: 0;
}

@media (min-width: 992px) {
    .product-card-summary {
        position: sticky;
        top: 6.5rem;
    }
}

/* Gallery */
.product-gallery {
    min-width: 0;
}

.product-gallery__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    min-height: 280px;
}

.product-gallery__image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: min(72vh, 780px);
    object-fit: contain;
    object-position: center;
    cursor: zoom-in;
    user-select: none;
}

.product-gallery__nav,
.product-gallery__zoom {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.product-gallery__nav:hover,
.product-gallery__zoom:hover {
    background: #fff;
    color: #fa3336;
}

.product-gallery__nav {
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
}

.product-gallery__nav--prev {
    left: 12px;
}

.product-gallery__nav--next {
    right: 12px;
}

.product-gallery__zoom {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
}

.product-gallery__counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.product-gallery__thumbs-wrap {
    position: relative;
    margin-top: 12px;
}

.product-gallery__thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.product-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.product-gallery__thumb {
    flex: 0 0 auto;
    width: 108px;
    height: 108px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f3f3;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color 0.15s ease;
}

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

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    border-color: #fa3336;
}

.product-gallery__thumbs-next {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #fff;
    color: #555;
    transform: translateY(-50%);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.product-gallery__thumbs-next:hover {
    color: #fa3336;
    border-color: #fa3336;
}

/* Lightbox */
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.88);
}


.product-lightbox__close,
.product-lightbox__nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
}

.product-lightbox__close:hover,
.product-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.product-lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
}

.product-lightbox__nav {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
}

.product-lightbox__nav--prev {
    left: 1rem;
}

.product-lightbox__nav--next {
    right: 1rem;
}

/* Lightbox zoom */
.product-lightbox__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    inset: 0;
}

.product-lightbox__image {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.08s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.product-lightbox__zoom-controls {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.product-lightbox__zoom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.product-lightbox__zoom-btn:hover {
    background: rgba(255, 255, 255, 0.30);
}

/* Buy box */
.product-summary__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-summary__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    background: #ffe8ea;
    color: #fa3336;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-summary__sku {
    color: #999;
    font-size: 12px;
}

.product-summary__title {
    margin: 0;
    color: #000;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
}

.product-summary__brand {
    margin: 0.4rem 0 0;
    color: #888;
    font-size: 13px;
}

.product-summary__desc {
    margin-top: 1rem;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.product-summary__desc .product-summary__section-title,
.product-summary__desc :is(h2, h3, h4, h5, h6) {
    display: inline-block;
    width: 100%;
    margin: 14px 0 6px;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.product-summary__desc .product-summary__section-title:first-child {
    margin-top: 0;
}

.product-summary__desc ul,
.product-summary__desc ol {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.product-summary__desc li {
    position: relative;
    padding-left: 1.5rem;
    margin: 0.35rem 0;
}

.product-summary__desc li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: #fa3336 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}

.product-summary__field {
    margin-top: 1.25rem;
}

.product-summary__label {
    display: block;
    margin-bottom: 0.5rem;
    color: #212121;
    font-size: 13px;
    font-weight: 600;
}

.product-summary__select {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    padding: 0.7rem 0.85rem;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
    outline: none;
}

.product-summary__select:focus {
    border-color: #fa3336;
}

.product-summary__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.product-summary__color {
    width: 42px;
    height: 42px;
    padding: 3px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.product-summary__color span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.product-summary__color.is-active,
.product-summary__color:hover {
    border-color: #fa3336;
    box-shadow: 0 0 0 1px #fa3336;
}

.product-summary__extras {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.product-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.4rem;
    border: 1px solid #f0d0d3;
    border-radius: 10px;
    background: transparent;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-extra:hover {
    border-color: #fa3336;
    box-shadow: 0 2px 8px rgba(250, 51, 54, 0.12);
    opacity: 1;
}

.product-extra img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.product-extra__prefix {
    color: #777;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-extra__word {
    color: #fa3336;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Global toast (Livewire `notify` events + cart actions) */
.toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    max-width: calc(100vw - 3rem);
    padding: 0.875rem 1.125rem;
    border-radius: 0.5rem;
    background: #212121;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .toast {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

.product-summary__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.product-summary__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.6rem;
    color: #212121;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.1;
}

.product-summary__price del {
    color: #aaa;
    font-size: 1rem;
    font-weight: 500;
}

.product-summary__sale {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: #fa3336;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.product-summary__stock {
    font-size: 13px;
    font-weight: 600;
}

.product-summary__stock .is-in-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #16a34a;
}

.product-summary__stock .is-low {
    color: #d97706;
}

.product-summary__stock .is-out {
    color: #ef4444;
}

.product-summary__greeting {
    margin-top: 1rem;
}

.product-summary__greeting-toggle {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    padding: 0.8rem 1rem;
    color: #212121;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.product-summary__greeting-toggle:hover {
    border-color: #fa3336;
    background: #fa3336;
    color: #fff;
}

.product-summary__greeting-box {
    margin-top: 0.85rem;
}

.product-summary__greeting-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    color: #212121;
    font-size: 13px;
    font-weight: 600;
}

.product-summary__greeting-head span {
    color: #888;
    font-size: 12px;
    font-weight: 500;
}

.product-summary__textarea {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    padding: 0.7rem 0.85rem;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    resize: vertical;
}

.product-summary__textarea:focus {
    border-color: #fa3336;
}

.product-summary__hint {
    margin: 0.5rem 0 0;
    color: #888;
    font-size: 12px;
    font-style: italic;
    line-height: 1.45;
}

.product-summary__totals {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #eee;
}

.product-summary__total-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.35rem;
    color: #666;
    font-size: 13px;
}

.product-summary__total-row.is-grand {
    margin-top: 0.55rem;
    color: #212121;
    font-size: 15px;
    font-weight: 700;
}

.product-summary__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.product-summary__qty {
    display: flex;
    height: 48px;
    overflow: hidden;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    flex: 0 0 auto;
}

.product-summary__qty button {
    width: 42px;
    border: 0;
    background: #fff;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.product-summary__qty button:hover:not(:disabled) {
    background: #f7f7f7;
}

.product-summary__qty button:disabled {
    opacity: 0.4;
    cursor: default;
}

.product-summary__qty span {
    display: flex;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    font-weight: 650;
}

.product-summary__cart {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: #fa3336;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s ease;
}

.product-summary__cart:hover:not(:disabled) {
    background: #e0292c;
}

.product-summary__cart:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.product-summary__bundle {
    margin-top: 0.85rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 13px;
}

.product-summary .social-sharing {
    margin-top: 1.1rem;
}

/* Tabs */
.product-tabs {
    padding-top: 0.25rem;
}

.product-tabs__nav {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid #ebebeb;
}

.product-tabs__btn {
    position: relative;
    margin-bottom: -1px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    padding: 0.7rem 0;
    color: #777;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.product-tabs__btn.is-active {
    color: #212121;
    border-bottom-color: #fa3336;
}

.product-tabs__panel {
    padding-top: 1.25rem;
}

.product-tabs__content {
    color: #555;
    font-size: 15px;
    line-height: 1.75;
    max-width: 820px;
}

.product-specs {
    width: 100%;
    max-width: 720px;
    border-collapse: collapse;
}

.product-specs th,
.product-specs td {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
    vertical-align: top;
}

.product-specs th {
    width: 38%;
    color: #666;
    font-weight: 600;
    background: #fafafa;
}

.product-specs td {
    color: #212121;
}

@media (max-width: 640px) {
    .product-gallery__thumb {
        width: 84px;
        height: 84px;
    }

    .product-summary__extras {
        gap: 0.45rem;
    }

    .product-extra img {
        width: 36px;
        height: 36px;
    }

    .product-summary__actions {
        flex-direction: column;
    }

    .product-summary__qty {
        width: 100%;
        justify-content: space-between;
    }

    .product-summary__qty span {
        flex: 1;
    }
}

/* Primary actions use the brand red on every viewport, including mobile. */
body :is(
    button.bg-heading,
    a.bg-heading.text-white,
    button[type="submit"],
    input[type="submit"],
    .btn-fill,
    .btn-primary,
    .cart-checkout,
    .cart-page-continue,
    .checkout-submit,
    .cart-coupon-apply,
    .cart-page-greeting-save,
    .cart-page-greeting-cancel,
    .catalog-menu-btn,
    .catalog-show-more-btn,
    .catalog-price-apply,
    .catalog-filters-reset,
    .cookie-banner-btn,
    .product-summary__cart,
    .product-modal-add,
    .product-modal-details,
    .quickview-button,
    .add-button,
    .gift-section-add,
    .error-button:not(.error-button--secondary),
    .xcc-btn--primary
) {
    --button-hover-background: #c91e22;
    --button-hover-border: #c91e22;
    --button-hover-color: #fff;
    background-color: #e0292c !important;
    border-color: #e0292c !important;
    color: #fff !important;
}

/* Secondary mini-cart action. */
.cart-view {
    background-color: #fff !important;
    border-color: #e0292c !important;
    color: #e0292c !important;
}

.cart-view:hover {
    background-color: #e0292c !important;
    border-color: #e0292c !important;
    color: #fff !important;
}

.site-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 100%;
    padding: 0 0.5rem;
}

.pagination-page,
.pagination-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    color: #212121;
    font-size: 0.875rem;
    line-height: 1;
    text-decoration: none;
}

.pagination-page:hover,
.pagination-control:hover {
    border-color: #e0292c;
    color: #e0292c;
    opacity: 1;
}

.pagination-page.is-current {
    border-color: #e0292c;
    background: #e0292c;
    color: #fff;
}

.pagination-control.is-disabled {
    color: #d1d5db;
}

.pagination-ellipsis {
    flex: 0 0 auto;
    color: #6b7280;
    font-size: 0.875rem;
}

@media (max-width: 639px) {
    .site-pagination {
        gap: 0.35rem;
        padding: 0 0.25rem;
    }

    .pagination-page,
    .pagination-control {
        min-width: 2rem;
        height: 2rem;
        padding: 0 0.35rem;
    }
}
.gift-section-name {
    color: #212121;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.gift-section-name a {
    color: inherit;
}

.gift-section-price {
    color: #e0292c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

@media (min-width: 1024px) {
    .gift-section-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Search sits above navigation; account actions are centered in the header. */
.header-search-and-menu {
  display: none;
}

@media (min-width: 1024px) {
  #siteHeader .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 34px 42px;
    column-gap: 24px;
    row-gap: 4px;
    align-content: center;
  }

  #siteHeader .header-brand {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  #siteHeader .header-search-and-menu {
    display: contents !important;
  }

  #siteHeader .header-search-launcher {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    height: 34px;
  }

  #siteHeader .header-actions {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  #siteHeader .header-cart-wrap {
    margin-right: 12px;
  }

  #siteHeader nav.headerMenu {
    grid-column: 2 / 4;
    grid-row: 2;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    height: auto !important;
    width: 100%;
  }

  #siteHeader .header-nav-links {
    gap: 0;
  }

  #siteHeader nav.headerMenu .menuItem {
    padding: 0 !important;
    height: auto !important;
  }
}

@media (min-width: 1024px) and (max-width: 1535px) {
  #siteHeader nav.headerMenu {
    gap: 8px;
  }

  #siteHeader .header-nav-links .menuItem > a,
  #siteHeader .header-nav-links .menuItem > span {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 13px;
  }

  #siteHeader .catalog-menu {
    margin-right: 0;
  }

  #siteHeader .catalog-menu-btn {
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (min-width: 1024px) and (max-width: 1239px) {
  #siteHeader .header-logo {
    width: 160px;
  }

  #siteHeader .header-inner {
    column-gap: 16px;
  }

  #siteHeader .header-actions {
    grid-row: 1;
  }
}

.copyright-block{
    background-color: #ff494e !important;
}

.copyright-block div, .copyright-block p, .copyright-block a{
    color: #fff !important;
}

.checkout-pickup-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #f2d4d5;
    border-radius: 8px;
    background: #fff7f7;
    color: #212121;
}

.checkout-pickup-point > svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #e0292c;
}

.checkout-pickup-point h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.checkout-pickup-point p {
    margin: 4px 0 0;
    color: #5a5a5a;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Shared button feedback, including links presented as action buttons. */
body :is(
    button, input[type="submit"], input[type="button"], input[type="reset"],
    [role="button"], .btn, .btn-fill, .btn-primary, .cart-checkout, .cart-view,
    .cart-page-continue, .checkout-continue-link, .catalog-show-more-btn,
    .catalog-filters-reset, .catalog-filters-clear, .catalog-price-apply,
    .product-modal-details, .quickview-button, .add-button, .error-button,
    .pagination-page, .pagination-control
) {
    transition: background-color .15s ease, border-color .15s ease,
                color .15s ease, opacity .15s ease;
}

@media (hover: hover) and (pointer: fine) {
    body :is(
        button, input[type="submit"], input[type="button"], input[type="reset"],
        [role="button"], .btn, .btn-fill, .btn-primary, .cart-checkout, .cart-view,
        .cart-page-continue, .checkout-continue-link, .catalog-show-more-btn,
        .catalog-filters-reset, .catalog-filters-clear, .catalog-price-apply,
        .product-modal-details, .quickview-button, .add-button, .error-button,
        .pagination-page, .pagination-control
    ):hover:not(:disabled):not([aria-disabled="true"]):not(.is-loading) {
        background-color: var(--button-hover-background, #fff0f0) !important;
        border-color: var(--button-hover-border, #e0292c) !important;
        color: var(--button-hover-color, #c91e22) !important;
        opacity: 1 !important;
    }
}
