/* ==========================================================================
   MEERCATO THEME OVERRIDES
   Primary Color: #ee3a54 (Meercato Red)
   ========================================================================== */

/* ==========================================================================
   RTL GLOBAL OVERRIDES
   ========================================================================== */

.page-title {
    text-align: right;
    width: 100%;
}

/* CSS Custom Properties Override */
:root {
    --meercato-red: #ee3a54;
    --meercato-red-light: #f25a75;
    --meercato-red-dark: #d32f4a;
    --color-primary: #ee3a54;
    --color-primary-lighter: #f25a75;
    --color-primary-darker: #d32f4a;
}

/* ==========================================================================
   BUTTON STYLES - Override Hyva default blue to Meercato red
   ========================================================================== */

/* Primary Button */
.btn-primary,
button.btn-primary,
a.btn-primary {
    --btn-bg: #ee3a54 !important;
    --btn-hover-bg: #f25a75 !important;
    --btn-active-bg: #d32f4a !important;
    background-color: #ee3a54 !important;
    border-color: #ee3a54 !important;
    color: #fff !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    background-color: #f25a75 !important;
    border-color: #f25a75 !important;
}

.btn-primary:active,
button.btn-primary:active,
a.btn-primary:active {
    background-color: #d32f4a !important;
    border-color: #d32f4a !important;
}

/* Secondary Button */
.btn-secondary,
button.btn-secondary,
a.btn-secondary {
    --btn-stroke: #f25a75 !important;
    --btn-color: #d32f4a !important;
    border-color: #f25a75 !important;
    color: #d32f4a !important;
}

.btn-secondary:hover,
button.btn-secondary:hover,
a.btn-secondary:hover {
    border-color: #f25a75 !important;
    color: #f25a75 !important;
}

.btn-secondary:active,
button.btn-secondary:active,
a.btn-secondary:active {
    background-color: #ee3a54 !important;
    border-color: #ee3a54 !important;
    color: #fff !important;
}

/* ==========================================================================
   SCROLLBAR STYLES
   ========================================================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #ee3a54;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d32f4a;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #ee3a54 #f1f1f1;
}

/* ==========================================================================
   FORM ELEMENTS - Focus states
   ========================================================================== */

input:focus,
textarea:focus,
select:focus {
    border-color: #ee3a54 !important;
    outline-color: #ee3a54 !important;
    box-shadow: 0 0 0 2px rgba(238, 58, 84, 0.2) !important;
}

/* Checkbox and Radio */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: #ee3a54 !important;
    border-color: #ee3a54 !important;
}

/* ==========================================================================
   LINKS AND TEXT COLORS
   ========================================================================== */

a.text-primary,
.text-primary {
    color: #ee3a54 !important;
}

a:hover {
    color: #ee3a54;
}

/* ==========================================================================
   LOADING SPINNER
   ========================================================================== */

.loading-mask .loader,
.loader {
    border-top-color: #ee3a54 !important;
}

/* ==========================================================================
   MINICART BUTTON COLORS
   ========================================================================== */

#cart-drawer .btn-primary {
    background-color: #ee3a54 !important;
    border-color: #ee3a54 !important;
}

#cart-drawer .btn-primary:hover {
    background-color: #f25a75 !important;
    border-color: #f25a75 !important;
}

#cart-drawer .btn-secondary {
    border-color: #f25a75 !important;
    color: #d32f4a !important;
}

#cart-drawer .btn-secondary:hover {
    color: #f25a75 !important;
}

/* ==========================================================================
   PRODUCT PAGE ELEMENTS
   ========================================================================== */

/* Add to Cart Button */
.product-info-main .btn-primary,
.product-info-main button[type="submit"],
#product-addtocart-button {
    background-color: #ee3a54 !important;
    border-color: #ee3a54 !important;
    color: #fff !important;
}

.product-info-main .btn-primary:hover,
.product-info-main button[type="submit"]:hover,
#product-addtocart-button:hover {
    background-color: #f25a75 !important;
    border-color: #f25a75 !important;
}

/* Price Color */
.price,
.special-price .price {
    color: #ee3a54;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pages .current,
.pages a:hover {
    background-color: #ee3a54 !important;
    border-color: #ee3a54 !important;
    color: #fff !important;
}

/* ==========================================================================
   ALSO CHECK PRODUCTS - Amasty Mostviewed (Figma node 2:2001)
   ========================================================================== */

.also-check-products-wrapper {
    background-color: #eee;
    border-radius: 15px;
    padding: 32px 16px;
    position: sticky;
    top: 20px;
}

.also-check-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.also-check-title {
    font-family: 'Almarai', 'Poppins', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: #000;
    letter-spacing: -0.5px;
    margin: 0;
}

.also-check-nav {
    display: flex;
    gap: 16px;
}

.also-check-nav .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1.28px solid #0e0d0d;
    border-radius: 50px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.also-check-nav .nav-btn:hover:not(.disabled) {
    background-color: #0e0d0d;
    color: #fff;
}

.also-check-nav .nav-btn.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.also-check-carousel {
    overflow: hidden;
    max-height: 424px;
}

.also-check-carousel .carousel-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s ease;
}

.also-check-item {
    display: flex;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    height: 200px;
}

.also-check-item .item-image-link {
    flex-shrink: 0;
    width: 250px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.also-check-item .item-image-link img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.also-check-item .item-details {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.also-check-item .item-name {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    color: #363842;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.also-check-item .item-name:hover {
    color: #ee3a54;
}

.also-check-item .item-rating {
    display: flex;
    align-items: center;
    gap: 7px;
}

.also-check-item .item-rating .rating-summary svg {
    width: 22px;
    height: 22px;
    fill: #FFB800;
    color: #FFB800;
}

.also-check-item .item-price-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.also-check-item .old-price {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #81859c;
    text-decoration: line-through;
}

.also-check-item .discount-badge {
    background-color: #ee3a54;
    color: #fff;
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 2px;
}

.also-check-item .item-final-price {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #363842;
}

.also-check-item .btn-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #cdcdcd;
    background: transparent;
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #6e6e6e;
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
}

.also-check-item .btn-add-to-cart:hover {
    background-color: #ee3a54;
    border-color: #ee3a54;
    color: #fff;
}

.also-check-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.also-check-pager .pager-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.also-check-pager .pager-dot.active {
    background-color: #0e0d0d;
}

.also-check-pager .pager-dot:hover {
    background-color: #999;
}

/* ==========================================================================
   LAYERED NAVIGATION - Mageplaza
   ========================================================================== */

/* Hide loader overlay by default - only show when loading */
.ln_overlay {
    display: none !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.ln_overlay.loading,
.block.filter.loading .ln_overlay {
    display: flex !important;
}

.ln_overlay .loader {
    text-align: center;
}

.ln_overlay .loader img {
    max-width: 50px;
    height: auto;
}

/* ==========================================================================
   ORIGINAL STYLES
   ========================================================================== */

.mgz-element-column > .mgz-element-inner {
    padding: 0;
    overflow: hidden;
}

.mgz-element-column {
    overflow: hidden;
}

/* ==========================================================================
   TABLET GLOBAL OVERFLOW FIX (768px - 1023px)
   Prevents horizontal scroll on tablet view
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .page-wrapper,
    .page-main,
    .columns,
    .column.main,
    .mgz-element,
    .mgz-element-inner,
    .mgz-container {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Magezon rows should not exceed viewport */
    .mgz-element-row,
    .mgz-element-row .mgz-element-inner,
    .mgz-element-row .inner-content {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Images should not exceed container */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Megamenu Styles - Figma Design */
.mm-mega {
    direction: rtl;
    font-family: "Almarai", "Noto Sans Arabic", sans-serif;
    background: transparent;
    color: #202020;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: none;
}

.mm-columns {
    display: flex;
    gap: 36px;
    justify-content: flex-start;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.mm-col h4 {
    font-size: 21.333px;
    font-weight: 700;
    margin: 0 0 10px;
}

.mm-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-col li {
    font-size: 18.667px;
    line-height: 1.4;
    margin: 6px 0;
}

.mm-col--empty {
    min-width: 120px;
}

.mm-most-viewed h4 {
    font-size: 21.333px;
    font-weight: 700;
    margin: 0 0 12px;
}

.mm-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.mm-logo {
    background: #e4e4e4;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.mm-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.mm-logo img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.mm-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #666;
}

/* Banner Promo Section */
.mm-banner {
    position: relative;
    width: 276px;
    height: 276px;
    flex-shrink: 0;
    overflow: hidden;
}

.mm-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.mm-banner-product {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    z-index: 2;
}

.mm-banner-content {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    z-index: 3;
    text-align: right;
}

.mm-banner-title {
    color: #ee3a54;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mm-banner-subtitle {
    color: #000;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mm-banner-price {
    color: #000;
    font-weight: 700;
}

.mm-banner-price .price-num {
    font-size: 22px;
}

.mm-banner-price .price-currency {
    font-size: 13px;
}

/* Layout wrapper */
.mm-mega-wrapper {
    display: flex;
    gap: 32px;
    align-items: stretch;
    direction: ltr;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.mm-mega-content {
    flex: 1;
    direction: rtl;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 36px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.mm-most-viewed {
    min-width: 200px;
    max-width: 580px;
    flex: 0 1 auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* Simple mega (no banner) layout */
.mm-mega--simple .mm-mega-wrapper {
    flex-direction: column;
    gap: 20px;
}

.mm-mega--simple .mm-mega-content {
    flex-direction: column;
    gap: 24px;
}

.mm-mega--simple .mm-most-viewed {
    min-width: 0;
    max-width: none;
}

.mm-mega--simple .mm-logos {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Banner + stacked content layout */
.mm-mega--stacked .mm-mega-content {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
}

.mm-mega--stacked .mm-most-viewed {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: visible;
}

.mm-mega--stacked .mm-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 21.333px;
    width: 100%;
    min-width: 0;
}

.mm-mega--stacked .mm-most-viewed h4 {
    text-align: start;
}

.mm-mega--stacked .mm-logo {
    width: 100%;
    height: 80px;
    min-width: 0;
    max-width: none;
}

@media (max-width: 768px) {
    .mm-columns {
        flex-direction: column;
        gap: 16px;
    }
    .mm-logos {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
    .mm-mega-wrapper {
        flex-direction: column-reverse;
    }
    .mm-mega-content {
        flex-direction: column;
    }
    .mm-banner {
        width: 100%;
        height: 200px;
    }
}

/* Magezon category strip (Figma node 1:8883) */
.mgz-category-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 18px 0;
    background: #ffffff;
    direction: rtl;
    flex-wrap: nowrap;
    overflow-x: hidden;
}

.mgz-category-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 117px;
    flex: 0 0 auto;
    text-align: center;
}

.mgz-category-strip__icon {
    width: 120px;
    height: 120px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

.mgz-category-strip__icon--shadow {
    box-shadow: 4px 4px 7px rgba(238, 58, 84, 0.4);
}

.mgz-category-strip__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mgz-category-strip__label {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 12.236px;
    line-height: 15.294px;
    color: #464646;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .mgz-category-strip--carousel {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .mgz-category-strip--carousel .mgz-category-strip__item {
        scroll-snap-align: start;
    }
}

/* ==========================================================================
   CART PAGE - New Design (Figma: Mohamed New Cart design)
   Mobile-first layout: Header > Items > Summary > Total > Reco > Footer
   ========================================================================== */

/* --- Page-level overrides --- */
.checkout-cart-index .page-title-wrapper {
    display: none;
}

.checkout-cart-index .page-title,
.checkout-cart-index .page-title.text-3xl,
.checkout-cart-index [data-ui-id="page-title-wrapper"] {
    display: none !important;
}

.checkout-cart-index .pager,
.checkout-cart-index .toolbar-amount {
    display: none !important;
}

body.checkout-cart-index {
    padding-bottom: 0 !important;
    background: #FFFFFF;
    overflow-x: hidden;
}

.checkout-cart-index .meercato-footer,
.checkout-cart-index .meercato-bottom-nav {
    display: none !important;
}

.checkout-cart-index .column.main {
    padding: 0;
    max-width: 100%;
}

.checkout-cart-index .page-main,
.checkout-cart-index main#maincontent,
.checkout-cart-index main.page-main,
.checkout-cart-index .columns,
.checkout-cart-index .column.main,
.checkout-cart-index .page-main > .columns,
.checkout-cart-index .columns > .column.main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
}

.checkout-cart-index .page-main,
.checkout-cart-index main#maincontent,
.checkout-cart-index main.page-main {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* ===================================================================
   CART PAGE - Hide default site header & menu
   Body class "checkout-cart-index" is added by Magento on cart page
   =================================================================== */

.checkout-cart-index #header,
.checkout-cart-index .nav-sections,
.checkout-cart-index .sections.nav-sections,
.checkout-cart-index .panel.wrapper {
    display: none !important;
}

.checkout-cart-index .page-header {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

.checkout-cart-index .page-header [x-ref="authPopup"],
.checkout-cart-index .page-header [role="dialog"] {
    visibility: visible !important;
    overflow: visible !important;
}

/* ===================================================================
   CART PAGE HEADER BAR - Figma node 1:3918
   Full-width bar: back+logo+title | trust message | help+phone
   =================================================================== */

.meercato-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 10px 32px;
    background: #FFFFFF;
    border-bottom: 1px solid #D8D8D8;
    box-sizing: border-box;
    direction: rtl;
    min-height: 87px;
}

/* Right section (RTL): Back arrow + Logo + Title + Step */
.meercato-cart-header__right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.meercato-cart-header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    text-decoration: none;
    flex-shrink: 0;
}

.meercato-cart-header__back svg {
    width: 30px;
    height: 30px;
}

.meercato-cart-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.meercato-cart-header__logo img {
    width: 65px;
    height: auto;
    object-fit: contain;
}

.meercato-cart-header__title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meercato-cart-header__title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3618;
    color: #202020;
    text-transform: capitalize;
    white-space: nowrap;
}

.meercato-cart-header__step {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3618;
    color: #0E0D0D;
    text-transform: capitalize;
    white-space: nowrap;
}

/* Center section: Trust message */
.meercato-cart-header__center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.meercato-cart-header__center span {
    font-family: 'Almarai', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.116;
    color: #000000;
    white-space: nowrap;
}

/* Left section (RTL): Help label + Phone */
.meercato-cart-header__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
}

.meercato-cart-header__help-label {
    font-family: 'Almarai', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.116;
    color: #000000;
    white-space: nowrap;
}

.meercato-cart-header__phone {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.1;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: isolate;
}

.meercato-cart-header__phone:hover {
    color: #EE3A54;
}

/* Responsive: stack header on mobile */
@media (max-width: 768px) {
    .meercato-cart-header {
        flex-wrap: wrap;
        padding: 10px 16px;
        min-height: auto;
        gap: 8px;
    }

    .meercato-cart-header__center {
        display: none;
    }

    .meercato-cart-header__left {
        display: none;
    }

    .meercato-cart-header__title {
        font-size: 16px;
    }

    .meercato-cart-header__step {
        font-size: 14px;
    }
}

/* ===================================================================
   CART PAGE - Figma Design (h5Rk8by9nJ4b0vV4FdRLCu node 1-3650)
   Two-column: Main card (right RTL) | Sidebar (left RTL)
   =================================================================== */

.meercato-cart {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 32px;
    box-sizing: border-box;
    direction: rtl;
}

/* --- Two-Column Layout --- */
.meercato-cart__layout {
    display: grid;
    grid-template-columns: 1fr 455px;
    gap: 24px;
    align-items: start;
    direction: rtl;
}

/* --- Main Card (right in RTL) --- */
.meercato-cart__main {
    min-width: 0;
}

.meercato-cart__card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* --- Cart Header --- */
.meercato-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 28px 16px;
    background: #fff;
}

.meercato-cart__title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meercato-cart__title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3618;
    color: #202020;
    margin: 0;
}

.meercato-cart__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #1D4ED8;
    border-radius: 42px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    line-height: 1;
}

/* --- Cart Items Container --- */
.meercato-cart__items {
    background: #fff;
}

.meercato-cart__items fieldset,
.meercato-cart__items legend {
    margin: 0;
    padding: 0;
    border: 0;
    min-inline-size: 0;
}

.meercato-cart__items .meercato-cart-form {
    padding: 0;
}

.meercato-cart-items-list {
    padding: 0;
}

.meercato-cart-item-wrap {
    display: block;
}

/* --- Individual Cart Item (Figma node 1:3667) --- */
.meercato-cart-item {
    padding: 11px 0;
    background: #fff;
}

/* Trust Badge - sits above the product image (right side in RTL) */
.meercato-cart-item__badge-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 28px;
    margin-bottom: 3px;
    direction: rtl;
}

.meercato-cart-item__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 202px;
    height: 21px;
    padding: 4px 22px;
    background: #1D4ED8;
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.116;
    color: #FFFFFF;
    text-transform: capitalize;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Item Content: [Image (right in RTL = 1st child)] [Info] */
.meercato-cart-item__content {
    display: flex;
    align-items: stretch;
    gap: 20px;
    height: 140px;
    padding: 0 28px;
    direction: rtl;
    position: relative;
}

/* Product Image (right side in RTL = first child in DOM) */
.meercato-cart-item__image {
    flex: 0 0 126px;
    width: 126px;
    height: 126px;
    border-radius: 1.16px;
    overflow: hidden;
    align-self: center;
}

.meercato-cart-item__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.meercato-cart-item__image .product-image-container,
.meercato-cart-item__image .product-image-wrapper {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.meercato-cart-item__image .product-image-wrapper {
    padding-bottom: 0 !important;
}

.meercato-cart-item__image img,
.meercato-cart-item__image .product-image-container img,
.meercato-cart-item__image .product-image-photo {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    position: static !important;
    margin: 0 !important;
}

/* Product Info (left of image in RTL, contains name + prices + stepper) */
.meercato-cart-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 308px;
    direction: rtl;
    text-align: right;
    padding-top: 6px;
}

/* Product Name */
.meercato-cart-item__name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 19.6px;
    line-height: 1.3572;
    color: #363636;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 58px;
}

.meercato-cart-item__name a {
    color: inherit;
    text-decoration: none;
}

.meercato-cart-item__name a:hover {
    color: #EE3A54;
}

/* Options */
.meercato-cart-item__options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    justify-content: flex-end;
}

.meercato-cart-item__option {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #888;
}

/* --- Price Section --- */
.meercato-cart-item__prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.meercato-cart-item__old-price {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #AAAAAA;
    text-decoration: line-through;
    white-space: nowrap;
    text-align: right;
    margin-bottom: 0;
}

.meercato-cart-item__price-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    gap: 6px;
    direction: rtl;
}

.meercato-cart-item__final-price {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16.8px;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #0E0D0D;
    white-space: nowrap;
}

.meercato-cart-item__discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5.6px;
    background: #FEEDED;
    border-radius: 1.4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 11.2px;
    line-height: 2;
    color: #F36D6D;
}

/* --- Qty Stepper (inside product info) --- */
.meercato-cart-item__stepper {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 39px;
    padding: 7px;
    border: 0.8px solid #D8D8D8;
    border-radius: 7px;
    background: #fff;
    width: fit-content;
    margin-top: 10px;
}

span.meercato-cart-item__final-price {
    margin-top: 10px
}

.meercato-cart-item__stepper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.meercato-cart-item__stepper-btn:hover {
    opacity: 0.7;
}

.meercato-cart-item__stepper-btn svg {
    width: 21px;
    height: 21px;
}

.meercato-cart-item__stepper-val {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3618;
    color: #0E0D0D;
    min-width: 15px;
    text-align: center;
}

/* Messages */
.meercato-cart-item__message {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 2px;
}

.meercato-cart-item__message--error {
    background: #FEF2F2;
    color: #B91C1C;
}

.meercato-cart-item__message--notice {
    background: #FFFBEB;
    color: #92400E;
}

/* Item Divider (Figma: dashed line, 446.6px wide, centered) */
.meercato-cart-item__divider {
    width: 50%;
    max-width: 447px;
    height: 0;
    border: none;
    border-top: 1.4px solid #D8D8D8;
    margin: 0 auto;
}

/* --- Cross-sell Section in Cart --- */
.meercato-cart__crosssell-wrap {
    padding: 0;
}

.meercato-cart__crosssell-wrap .meercato-cart-crosssell {
    padding: 18px 28px;
}

.meercato-cart__crosssell-wrap .meercato-cart-crosssell__title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3618;
    letter-spacing: 0.01em;
    color: #0E0D0D;
    margin: 0 0 18px;
}

.meercato-cart__crosssell-wrap .meercato-cart-crosssell__items {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.meercato-cart__crosssell-wrap .meercato-cart-crosssell__item {
    flex: 0 0 136px;
    max-width: 136px;
    scroll-snap-align: start;
}

.meercato-cart__crosssell-wrap .meercato-cart-crosssell__item .mc-product-card {
    border: 1.5px solid #F3F3F3;
    border-radius: 12px;
    overflow: hidden;
}

/* --- Sidebar (left in RTL, Figma node 1:4548) --- */
.meercato-cart__sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 29px;
    width: 100%;
}

@media (min-width: 1101px) {
    body.checkout-cart-index .meercato-cart {
        max-width: 1383px;
        padding-bottom: 40px;
    }

    body.checkout-cart-index .meercato-cart__layout {
        grid-template-columns: minmax(0, 1fr) 455px;
    }

    body.checkout-cart-index .meercato-cart__sidebar {
        width: 455px;
        max-width: 100%;
        justify-self: start;
    }

    body.checkout-cart-index .meercato-cart__summary,
    body.checkout-cart-index .meercato-cart__checkout-btn,
    body.checkout-cart-index .meercato-cart-item,
    body.checkout-cart-index .meercato-cart-item__content,
    body.checkout-cart-index .meercato-cart-item__name,
    body.checkout-cart-index .meercato-cart-item__old-price,
    body.checkout-cart-index .meercato-cart-item__final-price,
    body.checkout-cart-index .meercato-cart-item__discount-badge {
        box-sizing: border-box;
    }
}

/* --- Sidebar Summary (Figma node 1:3651) --- */
.checkout-cart-index .meercato-cart__summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 16px;
    padding: 24px;
    background: #FFFFFF;
    box-sizing: border-box;
    direction: rtl;
}

.checkout-cart-index .meercato-cart__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11.79px 23.58px;
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
}

.checkout-cart-index .meercato-cart__summary-label,
.checkout-cart-index .meercato-cart__summary-value {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15.72px !important;
    line-height: 1.3618 !important;
    letter-spacing: 0.01em !important;
    color: #0E0D0D !important;
    text-transform: capitalize !important;
    margin: 0;
    padding: 0;
}

.checkout-cart-index .meercato-cart__summary-value {
    white-space: nowrap;
}

.checkout-cart-index .meercato-cart__summary-tax-note {
    display: block;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #AAAAAA !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    margin-top: 2px;
}

.checkout-cart-index .meercato-cart__summary-divider {
    width: 412px;
    max-width: 100%;
    height: 0;
    border: none;
    border-top: 1px solid #D2D2D2;
}

/* Checkout CTA (Figma: green #23AC00, ~28px bold, rounded 12.44px) */
.checkout-cart-index .meercato-cart__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    padding: 15.55px 37.32px;
    background: #23AC00 !important;
    border: none !important;
    border-radius: 12.44px;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    line-height: 1.3618 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    text-transform: capitalize;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
}

.checkout-cart-index .meercato-cart__checkout-btn:hover {
    background: #1f9700 !important;
    color: #FFFFFF !important;
}

/* --- Cart Footer (legacy, hidden in new design) --- */
.meercato-cart__footer {
    display: none;
}

.meercato-cart__total {
    display: none;
}

.meercato-cart__separator {
    display: none;
}

/* --- Responsive: Stack on smaller screens --- */
@media (max-width: 1100px) {
    body.checkout-cart-index {
        padding-bottom: 120px !important;
    }

    .meercato-cart {
        padding: 16px;
    }

    .meercato-cart__layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Mobile sticky footer - Figma node 18:1268 */
    .meercato-cart__sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        z-index: 50;
        background: #FFFFFF;
        padding: 0;
        border-radius: 0;
        gap: 0;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-cart-index .meercato-cart__summary {
        padding: 0;
        background: transparent;
        gap: 0;
    }

    .checkout-cart-index .meercato-cart__summary-row {
        padding: 12px 24px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .checkout-cart-index .meercato-cart__summary-label {
        font-size: 18px !important;
        color: #4F4F4F !important;
    }

    .checkout-cart-index .meercato-cart__summary-tax-note {
        font-size: 11px !important;
    }

    .checkout-cart-index .meercato-cart__summary-value {
        font-size: 18px !important;
        color: #0E0D0D !important;
    }

    .checkout-cart-index .meercato-cart__summary-divider {
        display: none;
    }

    .checkout-cart-index .meercato-cart__checkout-btn {
        flex: none;
        width: auto;
        margin: 0 24px 24px;
        padding: 0 32px;
        height: 55px;
        font-size: 14px !important;
        font-family: 'Public Sans', 'Open Sans', sans-serif !important;
        letter-spacing: 0.012em;
        border-radius: 2px;
    }

    /* Add bottom padding to main content so sidebar doesn't cover it */
    .meercato-cart__main {
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .meercato-cart-item__content {
        gap: 12px;
        padding: 0 16px;
        height: auto;
        min-height: 120px;
    }

    .meercato-cart-item__image {
        flex: 0 0 100px;
        width: 100px;
        height: 100px;
    }

    .meercato-cart-item__info {
        max-width: none;
    }

    .meercato-cart-item__name {
        font-size: 14px;
        height: auto;
        min-height: 36px;
    }

    .meercato-cart-item__old-price {
        font-size: 12px;
    }

    .meercato-cart-item__final-price {
        font-size: 14px;
    }

    .meercato-cart__header {
        padding: 20px 16px 12px;
    }
}

/* --- Arabic minicart popup redesign --- */
#cart-drawer {
    padding: 0;
    background: #FFFFFF;
    direction: rtl;
    overflow-y: auto;
}

.meercato-minicart {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22.8px;
    min-height: 100%;
    padding: 34.2px 28.5px 22.8px;
    background: #FFFFFF;
    box-sizing: border-box;
}

.meercato-minicart__close {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #0E0D0D;
    cursor: pointer;
}

.meercato-minicart__close:hover {
    background: rgba(14, 13, 13, 0.04);
}

.meercato-minicart__hero-copy {
    text-align: right;
}

.meercato-minicart__title {
    margin: 0 0 10px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 28.5px;
    line-height: 1.65;
    color: #0E0D0D;
}

.meercato-minicart__description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 22.8px;
    line-height: 1.4;
    color: #464646;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.meercato-minicart__items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 320px;
    overflow-y: auto;
    padding-left: 4px;
}

.meercato-minicart__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F1F1F1;
}

.meercato-minicart__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.meercato-minicart__item-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    min-width: 88px;
    border: 2px solid #23AC00;
    border-radius: 999px;
    overflow: hidden;
    background: #FFFFFF;
}

.meercato-minicart__item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meercato-minicart__item-copy {
    flex: 1;
    min-width: 0;
}

.meercato-minicart__item-name {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #0E0D0D;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.meercato-minicart__item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.meercato-minicart__item-qty {
    color: #4F4F4F;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.meercato-minicart__item-price,
.meercato-minicart__item-price .price {
    color: #0E0D0D;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.meercato-minicart__recommendations {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.meercato-minicart .meercato-cart-crosssell {
    padding: 0;
}

.meercato-minicart .meercato-cart-crosssell__title {
    margin: 0 0 12px;
    font-size: 22.91px;
}

.meercato-minicart__total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17.18px 0 0;
    border-top: 1px solid #F1F1F1;
}

.meercato-minicart__total-label,
.meercato-minicart__total-value,
.meercato-minicart__total-value .price {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 25.65px;
    line-height: 1.3618;
    letter-spacing: 0.01em;
}

.meercato-minicart__total-label {
    color: #4F4F4F;
}

.meercato-minicart__total-tax-note {
    display: block;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    color: #AAAAAA;
    letter-spacing: normal;
    text-transform: none;
    margin-top: 2px;
}

.meercato-minicart__total-value,
.meercato-minicart__total-value .price {
    color: #0E0D0D;
    white-space: nowrap;
}

.meercato-minicart__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meercato-minicart__button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 4px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.meercato-minicart__button--primary {
    background: #23AC00;
    border: 1px solid #23AC00;
    color: #FFFFFF;
}

.meercato-minicart__button--primary:hover {
    background: #1f9700;
    border-color: #1f9700;
    color: #FFFFFF;
}

.meercato-minicart__button--secondary {
    background: #FFFFFF;
    border: 1.43px solid #23AC00;
    color: #0E0D0D;
}

.meercato-minicart__button--secondary:hover {
    background: #F7FFF4;
    color: #0E0D0D;
}

.meercato-minicart__message {
    margin: 0;
}

.meercato-minicart--empty {
    justify-content: center;
}

.meercato-minicart__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex: 1;
    text-align: center;
}

.meercato-minicart__empty-state .meercato-minicart__button {
    flex: none;
}

.meercato-minicart__empty-icon {
    color: rgba(14, 13, 13, 0.25);
}

.meercato-minicart__empty-title {
    margin: 0;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.4;
    color: #0E0D0D;
}

/* Mobile: side drawer (slides from left for RTL) */
@media (max-width: 767px) {
    #cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        margin: 0 auto 0 0 !important;
        border-radius: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        bottom: 0;
    }

    #cart-drawer[open] {
        display: flex !important;
    }

    .meercato-minicart {
        gap: 16px;
        padding: 24px 20px 16px;
        min-height: auto;
        overflow-y: auto;
    }

    .meercato-minicart__close {
        top: 12px;
        left: 12px;
        width: 38px;
        height: 38px;
    }

    .meercato-minicart__title {
        margin-bottom: 8px;
        font-size: 20px;
        line-height: 1.65;
    }

    .meercato-minicart__description {
        font-size: 16px;
        line-height: 1.4;
    }

    .meercato-minicart__items {
        max-height: none;
        flex: 1 1 auto;
        min-height: 0;
        gap: 12px;
    }

    .meercato-minicart__item {
        gap: 12px;
        padding-bottom: 12px;
    }

    .meercato-minicart__item-image-wrap {
        width: 95px;
        height: 95px;
        min-width: 95px;
    }

    .meercato-minicart__item-name {
        font-size: 14px;
    }

    .meercato-minicart__item-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .meercato-minicart__item-qty,
    .meercato-minicart__item-price,
    .meercato-minicart__item-price .price {
        font-size: 13px;
    }

    .meercato-minicart .meercato-cart-crosssell__title {
        font-size: 16px;
    }

    .meercato-minicart__total-label,
    .meercato-minicart__total-value,
    .meercato-minicart__total-value .price {
        font-size: 18px;
    }

    .meercato-minicart__total-label {
        color: #4F4F4F;
    }

    .meercato-minicart__actions {
        flex-direction: row;
        gap: 16px;
        padding: 8px 0;
    }

    .meercato-minicart__button {
        width: auto;
        flex: 1;
        min-height: 56px;
        font-size: 18px;
        border-radius: 2.8px;
        padding: 12px;
    }

    .meercato-minicart__empty-title {
        font-size: 22px;
    }
}

/* --- Recommendations Section ("You can buy also") --- */
.meercato-cart-crosssell {
    background: #fff;
    padding: 8px 24px 16px;
}

.meercato-cart-crosssell__title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.36;
    color: #0E0D0D;
    margin: 0 0 12px;
    padding: 0;
    text-align: right;
}

/* Compact horizontal recommendation rail */
.meercato-cart-crosssell__items {
    display: flex;
    gap: 7.86px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.meercato-cart-crosssell__items::-webkit-scrollbar {
    display: none;
}

.meercato-cart-crosssell__item {
    flex: 0 0 calc((100% - 15.72px) / 3);
    min-width: calc((100% - 15.72px) / 3);
    scroll-snap-align: start;
}

.meercato-cart-crosssell__item .mc-product-card {
    padding: 6px;
    border-radius: 8px;
    min-height: 170px;
}

.meercato-cart-crosssell__item .mc-card-inner {
    gap: 5px;
    align-items: stretch;
    height: 100%;
}

.meercato-cart-crosssell__item .mc-card-top {
    min-height: auto;
}

.meercato-cart-crosssell__item .mc-card-image {
    height: 68px;
    aspect-ratio: auto;
}

.meercato-cart-crosssell__item .mc-card-title {
    font-size: 8.5px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
}

.meercato-cart-crosssell__item .mc-product-card .price-wrapper .price,
.meercato-cart-crosssell__item .mc-product-card .special-price .price {
    font-size: 10px;
}

.meercato-cart-crosssell__item .mc-product-card .old-price .price {
    font-size: 7px;
}

.meercato-cart-crosssell__item .mc-add-to-cart-btn {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 7px;
}

.meercato-cart-crosssell__item .mc-add-to-cart-btn svg {
    width: 13px;
    height: 13px;
}

.meercato-cart-crosssell__item .mc-discount-badge {
    font-size: 6px;
    padding: 1px 4px;
}

.meercato-cart-crosssell__item .mc-wishlist-btn,
.meercato-cart-crosssell__item .mc-card-rating {
    display: none;
}

/* Compact feature badges for cross-sell cards */
.meercato-cart-crosssell__item .mc-feature-badges {
    min-height: 14px;
    gap: 3px;
}

.meercato-cart-crosssell__item .mc-feature-badges--animated {
    height: 14px;
}

.meercato-cart-crosssell__item .mc-feature-text {
    font-size: 7px;
}

.meercato-cart-crosssell__item .mc-feature-icon svg {
    width: 12px;
    height: 12px;
}

.meercato-cart-crosssell__item .mc-card-bottom {
    margin-top: auto;
}

.meercato-cart-crosssell__item .mc-card-prices {
    gap: 3px;
}

@media (min-width: 768px) {
    .meercato-cart-crosssell__items {
        gap: 10px;
    }

    .meercato-cart-crosssell__item {
        flex: 0 0 140px;
        min-width: 140px;
    }

    .meercato-cart-crosssell__item .mc-product-card {
        padding: 8px;
        border-radius: 10px;
        min-height: 220px;
    }

    .meercato-cart-crosssell__item .mc-card-inner {
        gap: 6px;
    }

    .meercato-cart-crosssell__item .mc-card-image {
        height: 96px;
    }

    .meercato-cart-crosssell__item .mc-card-title {
        font-size: 10px;
    }

    .meercato-cart-crosssell__item .mc-product-card .price-wrapper .price,
    .meercato-cart-crosssell__item .mc-product-card .special-price .price {
        font-size: 12px;
    }

    .meercato-cart-crosssell__item .mc-product-card .old-price .price {
        font-size: 9px;
    }

    .meercato-cart-crosssell__item .mc-add-to-cart-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 8px;
    }

    .meercato-cart-crosssell__item .mc-add-to-cart-btn svg {
        width: 16px;
        height: 16px;
    }

    .meercato-cart-crosssell__item .mc-discount-badge {
        font-size: 7px;
        padding: 1px 4px;
    }

    .meercato-cart-crosssell__item .mc-feature-badges {
        min-height: 16px;
        gap: 4px;
    }

    .meercato-cart-crosssell__item .mc-feature-badges--animated {
        height: 16px;
    }

    .meercato-cart-crosssell__item .mc-feature-text {
        font-size: 8px;
    }

    .meercato-cart-crosssell__item .mc-feature-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* --- Footer Actions (sticky on mobile) --- */
.meercato-cart__footer {
    display: flex;
    align-items: center;
    gap: 23.58px;
    padding: 23.58px;
    background: #fff;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    direction: rtl;
    border-top: 1px solid #f0f0f0;
    box-sizing: border-box;
}

.meercato-cart__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55.02px;
    border-radius: 1.96px;
    font-family: 'Public Sans', 'Almarai', sans-serif;
    font-weight: 700;
    font-size: 13.75px;
    line-height: 1.175;
    letter-spacing: 0.012em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.meercato-cart__btn--outline {
    background: #fff;
    border: 1px solid #EE3A54;
    color: #EE3A54;
}

.meercato-cart__btn--outline:hover {
    background: #FEF2F2;
    color: #EE3A54;
}

.meercato-cart__btn--primary {
    background: #EE3A54;
    border: 1px solid #EE3A54;
    color: #fff;
}

.meercato-cart__btn--primary:hover {
    background: #d32f4a;
    border-color: #d32f4a;
    color: #fff;
}

/* --- Hide legacy cart elements in new design --- */
.meercato-cart .cart.actions {
    display: none;
}

/* ==========================================================================
   PRODUCT PAGE SECTIONS - Figma Design node 1-914
   Product Overview, More Information (Specifications), Reviews
   ========================================================================== */

.product-sections-wrapper {
    display: flex;
    flex-direction: column;
    gap: 37px;
    width: 100%;
    max-width: 870px;
}

.product-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-section-title {
    font-family: 'Almarai', 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 30px;
    letter-spacing: -0.5px;
    color: #000;
    margin: 0;
}

.product-section-content {
    font-family: 'Almarai', 'Public Sans', sans-serif;
    font-weight: 400;
    font-size: 17.8px;
    line-height: 25.4px;
    color: #000;
}

.product-section-content .prose {
    max-width: none;
}

/* Specifications Table - More Information Section */
.specifications-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.specifications-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #363636;
    margin: 0;
}

.specifications-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.spec-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 30px;
    gap: 12px;
    font-size: 17.7px;
    line-height: 25px;
    text-transform: capitalize;
}

.spec-row-gray {
    background-color: #f2f2f2;
}

.spec-row-white {
    background-color: #ffffff;
}

.spec-label {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 400;
    color: #464646;
    width: 154px;
    flex-shrink: 0;
}

.spec-value {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    color: #363636;
    flex: 1;
}

/* Reviews Section */
.reviews-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.reviews-summary {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.reviews-rating-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.reviews-rating-number {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1;
    color: #1d2939;
}

.reviews-rating-label {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #667085;
}

.reviews-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-bar-stars {
    display: flex;
    gap: 2px;
    width: 80px;
}

.review-bar-track {
    flex: 1;
    height: 8px;
    background: #ededed;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: #ee3a54;
    border-radius: 4px;
}

.review-bar-percent {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #667085;
    width: 40px;
    text-align: left;
}

/* Review List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ededed;
}

.review-avatar {
    width: 51px;
    height: 51px;
    border-radius: 50%;
    background: #ee3a54;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-avatar-initials {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    text-transform: capitalize;
}

.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.review-author {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 26px;
    color: #1d2939;
    text-transform: capitalize;
}

.review-date {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #4f547b;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-title {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #1d2939;
    margin: 0;
}

.review-text {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 26px;
    color: #667085;
    margin: 0;
}

.review-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.review-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #667085;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.review-action-btn.reply {
    color: #d94a27;
}

.view-all-reviews {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #d94a27;
    text-decoration: underline;
    text-align: center;
    cursor: pointer;
}

/* Review Form */
.review-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-form-label {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1d2939;
}

.review-form-input {
    height: 55px;
    padding: 14px 22px;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-family: 'Almarai', 'Inter', sans-serif;
    font-size: 15px;
    color: #1d2939;
    background: #fff;
}

.review-form-input::placeholder {
    color: #667085;
}

.review-form-textarea {
    min-height: 250px;
    padding: 14px 22px;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-family: 'Almarai', 'Inter', sans-serif;
    font-size: 15px;
    line-height: 26px;
    color: #1d2939;
    background: #fff;
    resize: vertical;
}

.review-form-textarea::placeholder {
    color: #667085;
}

.review-star-rating {
    display: flex;
    gap: 4px;
}

.review-star-rating .star {
    width: 22px;
    height: 14px;
    cursor: pointer;
}

.review-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: #ee3a54;
    border: 1px solid #ee3a54;
    border-radius: 47px;
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    transition: background-color 0.2s ease;
    width: fit-content;
}

.review-submit-btn:hover {
    background: #d32f4a;
    border-color: #d32f4a;
}

@media (max-width: 768px) {
    .product-sections-wrapper {
        gap: 24px;
    }
    
    .product-section {
        gap: 20px;
    }
    
    .product-section-title {
        font-size: 24px;
        line-height: 28px;
    }
    
    .spec-row {
        padding: 10px 16px;
        flex-direction: column;
        gap: 4px;
    }
    
    .spec-label {
        width: 100%;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .reviews-rating-box {
        flex-direction: row;
        gap: 16px;
    }
}

/* ==========================================================================
   FIGMA DESIGN NODE 8-798 - Arabic RTL Product Page
   Two-column layout with sidebar
   ========================================================================== */

/* ==========================================================================
   FIGMA DESIGN NODE 8-282 - Product Info Card RTL
   Layout: Product info on LEFT, Gallery on RIGHT (in RTL)
   ========================================================================== */

/* Homepage: white background with gray dividers between sections */
body.cms-index-index {
    background: #FFFFFF;
}

/* Homepage: remove top margin so banner slider sits flush against the header */
body.cms-index-index .page-main {
    margin-block-start: 0;
}

body.cms-index-index .magezon-builder > .mgz-child:not(:last-child) > .mgz-element-inner {
    border-bottom: 8px solid #F2F2F2;
}

body.catalog-product-view {
    --color-bg: #fff;
}

body.catalog-product-view,
body.catalog-product-view .page-wrapper,
body.catalog-product-view .page-main,
body.catalog-product-view .columns,
body.catalog-product-view .column.main {
    background-color: #fff;
}

/* Product page main layout - RTL */
/* Gallery/Info two-column layout is handled by CSS Grid in product-detail-page.phtml */
.catalog-product-view .column.main {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.catalog-product-view .product-info-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    direction: rtl;
}

/* Fix gallery thumbnail navigation arrows for RTL - flip chevron icons */
.catalog-product-view #thumbs > button svg {
    transform: scaleX(-1);
}

/* Gallery main image navigation arrows */
.catalog-product-view #gallery-main .gallery-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: #363636;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.catalog-product-view #gallery-main .gallery-nav-arrow:hover {
    background: #fff;
    border-color: #ee3a54;
    color: #ee3a54;
    box-shadow: 0 4px 12px rgba(238, 58, 84, 0.15);
}

.catalog-product-view #gallery-main .gallery-nav-prev {
    right: 12px;
}

.catalog-product-view #gallery-main .gallery-nav-next {
    left: 12px;
}

.catalog-product-view #gallery-main .gallery-nav-arrow svg {
    width: 20px;
    height: 20px;
}

/* Product labels (Bonlineco_ProductLabels) — render the container over the image area */
.catalog-product-view .product-gallery-wrapper {
    position: relative;
}

.catalog-product-view .product-gallery-wrapper .product-media-favorite {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 20;
}

.catalog-product-view .product-gallery-wrapper .product-media-favorite #add-to-wishlist {
    margin: 0 !important;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #191c1f;
    box-shadow: 0 12px 24px rgba(25, 28, 31, 0.12);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-product-view .product-gallery-wrapper .product-media-favorite #add-to-wishlist:hover {
    border-color: #ee3a54;
    color: #ee3a54;
    box-shadow: 0 16px 28px rgba(238, 58, 84, 0.18);
}

.catalog-product-view .product-gallery-wrapper .product-media-favorite #add-to-wishlist svg {
    width: 24px;
    height: 24px;
}

.catalog-product-view .product-gallery-wrapper .bonlineco-product-labels-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.catalog-product-view .product-gallery-wrapper .bonlineco-product-label {
    pointer-events: auto;
}

/* Hide the page-level Amasty brand container (brand is moved to product-info-card via JS) */
.catalog-product-view .page-main > .container > .amshopby-option-link {
    display: none;
}

/* Product Info Card Styles */
.product-info-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
    direction: rtl;
}

/* Product Brand - displayed above the product title in info card */
.catalog-product-view .product-brand-slot {
    direction: rtl;
    text-align: right;
}

.catalog-product-view .product-brand-slot .amshopby-option-link {
    display: block;
}

.catalog-product-view .product-brand-slot .brand-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #999;
}

.catalog-product-view .product-brand-slot .brand-title a {
    color: inherit;
    text-decoration: none;
}

.catalog-product-view .product-brand-slot .brand-title a:hover {
    color: #ee3a54;
}

/* Hide brand logo/image - show name only */
.catalog-product-view .product-brand-slot .amshopby-option-link > a:not(.amshopby-brand-title-link) {
    display: none;
}

.product-info-card .product-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.4;
    color: #363636;
    margin: 0;
}

.product-info-card .product-rating-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
}

.product-info-card .rating-stars {
    display: flex;
    flex-direction: row;
}

.product-info-card .rating-value {
    font-family: 'Almarai', 'Public Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #191c1f;
}

.product-info-card .review-count {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #ee3e54;
    text-decoration: underline;
}

.product-info-card .product-short-description {
    font-family: 'Almarai', 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: #363636;
}

.product-info-card .product-sku,
.product-info-card .product-stock {
    font-family: 'Almarai', 'Public Sans', sans-serif;
    font-size: 18px;
}

.product-info-card .sku-label,
.product-info-card .stock-label {
    color: #5b5b5b;
}

.product-info-card .sku-value {
    font-weight: 600;
    color: #363636;
}

.product-info-card .stock-value.in-stock {
    font-weight: 600;
    color: #2db224;
}

.product-info-card .stock-value.out-of-stock {
    font-weight: 600;
    color: #da4242;
}

.product-info-card .low-stock-warning {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #da4242;
    padding-top: 10px;
}

.product-info-card .product-price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-info-card .discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ee3a54;
    color: #fff;
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 2px;
    width: fit-content;
}

.product-info-card .price-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.product-info-card .final-price .price {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #0e0d0d;
}

.product-info-card .old-price .price {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #666;
    text-decoration: line-through;
}

.product-info-card .add-to-cart-section {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.product-info-card .qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #c5c5c5;
    border-radius: 3px;
    height: 71px;
    padding: 5px;
}

.product-info-card .qty-selector input {
    width: 60px;
    text-align: center;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 30px;
    border: none;
    background: transparent;
}

.product-info-card .add-to-cart-btn {
    flex: 1;
}

.product-info-card .add-to-cart-btn button,
.product-info-card .add-to-cart-btn .btn-primary {
    width: 100%;
    height: 71px;
    background: #ee3a54;
    color: #fff;
    font-family: 'Almarai', 'Public Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-info-card .add-to-cart-btn button:hover,
.product-info-card .add-to-cart-btn .btn-primary:hover {
    background: #d63347;
}

.product-info-card .shortcut-buttons,
.product-info-card .additional-actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 16px;
}


.product-info-card .tier-price-container {
    padding: 16px 0;
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .catalog-product-view .product-info-main > .product-info-card {
        width: 100%;
    }
}

/* Main Wrapper - Two Column Layout */
.product-details-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    direction: rtl;
    box-sizing: border-box;
}

.product-main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.product-sidebar {
    width: 520px;
    flex-shrink: 0;
}

/* Section Title Styles */
.section-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    text-align: right;
}

/* Mobile Accordion Toggle - Desktop: looks like normal h2, arrow hidden */
button.mobile-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-align: right;
    margin: 0 0 24px 0;
}

button.mobile-accordion-toggle .accordion-arrow {
    display: none;
}

/* Product Details Section */
.product-details-section {
    display: flex;
    flex-direction: column;
}

.product-details-section .section-content {
    background: #fff;
}

.product-description-text {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #4a4a4a;
    text-align: right;
}

.product-description-text h3,
.product-description-text h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin: 24px 0 12px 0;
}

.product-description-text ul,
.product-description-text ol {
    padding-right: 20px;
    margin: 12px 0;
}

.product-description-text li {
    margin-bottom: 8px;
}

/* Product Specifications Section */
.product-specifications-section {
    display: flex;
    flex-direction: column;
}

.specifications-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.specifications-table-wrapper {
    display: flex;
    flex-direction: column;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.spec-row-alt {
    background: #fafafa;
}

.spec-row-white {
    background: #fff;
}

.spec-label {
    color: #666;
    font-weight: 400;
    text-align: right;
}

.spec-value {
    color: #1a1a1a;
    font-weight: 500;
    text-align: left;
}

/* Reviews Section */
.product-reviews-section {
    display: flex;
    flex-direction: column;
}

.reviews-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.reviews-summary {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    padding: 24px;
    background: #fafafa;
    border-radius: 12px;
}

.rating-overall {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.rating-number {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1;
    color: #ee3a54;
}

.rating-stars-display {
    display: flex;
    gap: 4px;
    margin: 8px 0;
}

.rating-label {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 14px;
    color: #666;
}

.rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
}

.rating-stars {
    display: flex;
    gap: 2px;
    flex-direction: row-reverse;
}

.rating-bar-track {
    flex: 1;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #ee3a54;
    border-radius: 4px;
}

.rating-percent {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    min-width: 40px;
    text-align: left;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ee3a54;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initials {
    font-family: 'Almarai', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
}

.review-author {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

.review-date {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 13px;
    color: #999;
}

.review-rating {
    display: flex;
    gap: 2px;
    flex-direction: row-reverse;
}

.review-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    margin: 4px 0;
}

.review-text {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: #666;
    margin: 0;
}

.review-actions {
    display: flex;
    gap: 16px;
    flex-direction: row-reverse;
    margin-top: 8px;
}

.review-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 13px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: row-reverse;
}

.review-action-btn.reply {
    color: #ee3a54;
}

.view-all-reviews {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 15px;
    color: #ee3a54;
    text-decoration: underline;
    text-align: center;
    cursor: pointer;
    display: block;
    margin-top: 16px;
}

.no-reviews {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 15px;
    color: #999;
    text-align: center;
    padding: 40px 0;
}

/* Review Form */
.review-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.review-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-form-label {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #1a1a1a;
    text-align: right;
}

.review-star-rating {
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.rating-text {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 13px;
    color: #999;
    margin-right: 12px;
}

.review-form-input {
    height: 50px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    text-align: right;
}

.review-form-input:focus {
    outline: none;
    border-color: #ee3a54;
}

.review-form-textarea {
    min-height: 150px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #1a1a1a;
    background: #fff;
    resize: vertical;
    text-align: right;
}

.review-form-textarea:focus {
    outline: none;
    border-color: #ee3a54;
}

.review-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #ee3a54;
    border: none;
    border-radius: 8px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.review-submit-btn:hover {
    background: #d32f4a;
}

/* Sidebar - Also Check Products */
.sidebar-products-wrapper {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 120px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: row-reverse;
}

.sidebar-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #1a1a1a;
    margin: 0;
}

.sidebar-nav {
    display: flex;
    gap: 8px;
}

.sidebar-nav .nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-btn:hover:not(.disabled) {
    border-color: #ee3a54;
    color: #ee3a54;
}

.sidebar-nav .nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.sidebar-carousel {
    overflow: hidden;
    width: 100%;
}

.sidebar-carousel .carousel-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.3s ease;
    /* Don't constrain width - let slides determine it */
}

.sidebar-carousel .carousel-slide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 12px;
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
}

/* RTL flip for arrow icons */
.rtl-flip {
    transform: scaleX(-1);
}

.sidebar-products-wrapper {
    width: 100%;
}

.sidebar-product-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
    flex-direction: row-reverse;
}

.sidebar-product-item .product-image-link {
    flex-shrink: 0;
}

.sidebar-product-item .product-image-link img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.sidebar-product-item .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.sidebar-product-item .product-name {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-product-item .product-name:hover {
    color: #ee3a54;
}

.sidebar-product-item .product-rating {
    display: flex;
    gap: 2px;
    flex-direction: row-reverse;
}

.sidebar-product-item .product-price {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
}

.sidebar-product-item .btn-add-to-cart {
    padding: 8px 12px;
    background: #ee3a54;
    border: none;
    border-radius: 6px;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: auto;
}

.sidebar-product-item .btn-add-to-cart:hover {
    background: #d32f4a;
}

.sidebar-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.sidebar-pager .pager-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sidebar-pager .pager-dot.active {
    background: #ee3a54;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .product-details-wrapper {
        flex-direction: column;
        gap: 32px;
    }
    
    .product-sidebar {
        width: 100%;
    }
    
    .sidebar-products-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-details-wrapper {
        padding: 0 16px;
        margin: 24px auto;
    }
    
    .section-title {
        font-size: 20px;
        line-height: 30px;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 24px;
    }
    
    .rating-overall {
        flex-direction: row;
        gap: 16px;
    }
    
    .review-item {
        flex-direction: column;
    }
    
    .review-avatar {
        align-self: flex-end;
    }
}

/* ==========================================================================
   FIGMA DESIGN NODE 64-1032 - Arabic Mobile Product Page (RTL)
   Element Order: Product Info -> Gallery -> Price -> Description -> Details -> Specs -> Reviews -> Related
   ========================================================================== */

@media (max-width: 767px) {
    /* Main product layout - Stack vertically with info FIRST */
    /* The column.main contains: product.media (gallery) + product-info-main as siblings */
    .catalog-product-view .column.main {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 16px;
    }
    
    /* Gallery (product.media) - Shows FIRST on mobile */
    .catalog-product-view .column.main > .product.media {
        order: 1 !important;
        margin-top: 0;
        margin-bottom: 16px;
    }
    
    /* Product Info Main - Shows SECOND on mobile */
    .catalog-product-view .column.main > .product-info-main {
        order: 2 !important;
        margin-top: 0;
    }
    
    /* Product Details Wrapper - Shows THIRD on mobile */
    .catalog-product-view .column.main > .product-details-wrapper {
        order: 3 !important;
    }
    
    /* Product Detail Section inside product-info-main */
    .catalog-product-view .product-detail-section,
    .catalog-product-view section.product-detail-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 0;
    }
    
    /* Gallery Wrapper inside product-detail-section - Shows FIRST */
    .catalog-product-view .product-gallery-wrapper {
        order: 1 !important;
        width: 100%;
    }
    
    /* Product Info Wrapper inside product-detail-section - Shows SECOND */
    .catalog-product-view .product-info-wrapper {
        order: 2 !important;
        width: 100%;
    }
    
    /* Hide desktop-only elements on mobile */
    .catalog-product-view .desktop-only {
        display: none !important;
    }
    
    /* Mobile Product Info Card Styles - RTL */
    .product-info-card {
        gap: 8px;
        padding: 0;
        direction: rtl;
        text-align: right;
    }
    
    .catalog-product-view .product-brand-slot .brand-title {
        font-size: 16px;
        line-height: 1.4;
        color: #999;
        padding: 0;
    }
    
    /* Mobile gallery arrows */
    .catalog-product-view #gallery-main .gallery-nav-arrow {
        width: 32px;
        height: 32px;
    }
    
    .catalog-product-view #gallery-main .gallery-nav-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .catalog-product-view #gallery-main .gallery-nav-prev {
        right: 8px;
    }
    
    .catalog-product-view #gallery-main .gallery-nav-next {
        left: 8px;
    }
    
    .product-info-card .product-title {
        font-size: 18px;
        line-height: 27px;
        color: #191c1f;
        margin: 0;
    }
    
    .product-info-card .product-rating-row {
        gap: 6px;
        flex-wrap: wrap;
        flex-direction: row;
    }
    
    .product-info-card .rating-stars svg {
        width: 24px;
        height: 24px;
    }
    
    .product-info-card .rating-value {
        font-size: 14px;
        line-height: 20px;
    }
    
    .product-info-card .review-count {
        font-size: 14px;
        line-height: 20px;
    }
    
    /* Hide short description in info card on mobile - shows in Product Overview */
    .product-info-card .product-short-description {
        display: none;
    }
    
    .product-info-card .product-sku,
    .product-info-card .product-stock {
        font-size: 14px;
    }
    
    .product-info-card .low-stock-warning {
        font-size: 13px;
        padding-top: 8px;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
    
    /* Mobile Price Section */
    .product-info-card .product-price-section {
        margin-top: 16px;
    }
    
    .product-info-card .price-row {
        flex-wrap: wrap;
        gap: 8px;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
    
    .product-info-card .final-price .price {
        font-size: 24px;
    }
    
    .product-info-card .old-price .price {
        font-size: 14px;
    }
    
    .product-info-card .discount-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    /* Mobile Add to Cart Section - RTL - Figma 63-910 */
    .product-info-card .add-to-cart-section {
        display: flex;
        flex-direction: row-reverse;
        gap: 12px;
        margin-top: 16px;
        width: 100%;
    }
    
    .product-info-card .qty-selector {
        height: 48px;
        min-width: 100px;
        padding: 0;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-info-card .qty-selector input {
        width: 40px;
        font-size: 16px;
        text-align: center;
        border: none;
        background: transparent;
    }
    
    .product-info-card .qty-selector button {
        width: 32px;
        height: 100%;
        border: none;
        background: transparent;
        font-size: 18px;
        color: #666;
        cursor: pointer;
    }
    
    .product-info-card .add-to-cart-btn {
        flex: 1;
    }
    
    .product-info-card .add-to-cart-btn button,
    .product-info-card .add-to-cart-btn .btn-primary,
    .product-info-card .add-to-cart-btn .action.tocart {
        width: 100%;
        height: 48px;
        font-size: 14px;
        background: #ee3a54;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-family: 'Almarai', 'Open Sans', sans-serif;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .product-info-card .add-to-cart-btn button:hover,
    .product-info-card .add-to-cart-btn .btn-primary:hover {
        background: #d32f4a;
    }
    
    /* Mobile Product Gallery */
    .catalog-product-view .product.media {
        padding: 0;
    }
    
    .catalog-product-view .gallery-placeholder {
        height: 295px;
    }
    
    /* Gallery navigation buttons */
    .catalog-product-view .gallery-placeholder .fotorama__arr {
        width: 28px;
        height: 28px;
        border: 1px solid #0e0d0d;
        border-radius: 50%;
        opacity: 0.2;
    }
    
    /* Gallery thumbnails */
    .catalog-product-view .gallery-placeholder .fotorama__nav-wrap {
        padding: 0 16px;
    }
    
    .catalog-product-view .gallery-placeholder .fotorama__thumb {
        width: 60px !important;
        height: 60px !important;
    }
    
    .catalog-product-view .gallery-placeholder .fotorama__thumb-border {
        border-color: #ee3a54;
    }
    
    /* Mobile Product Details Wrapper */
    .product-details-wrapper {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
        margin: 24px auto;
    }
    
    .product-main-content {
        gap: 24px;
    }
    
    .product-sidebar {
        width: 100%;
        order: 10;
    }
    
    /* Mobile Section Titles - RTL */
    .section-title {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 16px;
        text-align: right;
    }
    
    /* ===== Mobile Accordion Sections ===== */
    button.mobile-accordion-toggle {
        cursor: pointer;
        padding: 16px 0;
        margin-bottom: 0;
        border-bottom: 1px solid #e5e5e5;
        font-size: 16px;
        line-height: 24px;
    }
    
    button.mobile-accordion-toggle .accordion-arrow {
        display: block;
        flex-shrink: 0;
        transition: transform 0.3s ease;
        color: #666;
    }
    
    button.mobile-accordion-toggle .accordion-arrow.rotated {
        transform: rotate(180deg);
    }
    
    .mobile-accordion-content {
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        max-height: 2000px;
        opacity: 1;
        padding-top: 16px;
    }
    
    .mobile-accordion-content.mobile-collapsed {
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        overflow: hidden;
    }
    /* ===== End Mobile Accordion ===== */
    
    /* Mobile Product Details Section */
    .product-details-section .section-content {
        font-size: 14px;
        line-height: 22px;
    }
    
    .product-description-text {
        font-size: 14px;
        line-height: 22px;
        text-align: right;
    }
    
    .product-description-text h3,
    .product-description-text h4 {
        font-size: 15px;
        margin: 16px 0 8px 0;
    }
    
    /* Mobile Specifications Section - RTL */
    .product-specifications-section .section-title {
        font-size: 16px;
    }
    
    .specifications-header {
        padding: 10px 16px;
        font-size: 12px;
        flex-direction: row-reverse;
    }
    
    .spec-row {
        padding: 12px 16px;
        font-size: 13px;
        flex-direction: column;
        gap: 4px;
    }
    
    .spec-label,
    .spec-value {
        text-align: right;
    }
    
    /* Mobile Reviews Section - RTL */
    .product-reviews-section .section-title {
        font-size: 16px;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 20px;
        padding: 16px;
    }
    
    .rating-overall {
        flex-direction: row-reverse;
        align-items: center;
        gap: 12px;
    }
    
    .rating-number {
        font-size: 36px;
    }
    
    .rating-stars-display svg {
        width: 16px;
        height: 16px;
    }
    
    .rating-label {
        font-size: 12px;
    }
    
    .rating-bars {
        gap: 6px;
    }
    
    .rating-bar-row {
        gap: 8px;
        flex-direction: row-reverse;
    }
    
    .rating-stars svg {
        width: 12px;
        height: 12px;
    }
    
    .rating-bar-track {
        height: 6px;
    }
    
    .rating-percent {
        font-size: 11px;
        min-width: 32px;
        text-align: left;
    }
    
    /* Mobile Review Items - RTL */
    .reviews-list {
        gap: 16px;
    }
    
    .review-item {
        flex-direction: column;
        gap: 12px;
        padding-bottom: 16px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        align-self: flex-end;
    }
    
    .avatar-initials {
        font-size: 16px;
    }
    
    .review-header {
        flex-wrap: wrap;
        gap: 8px;
        flex-direction: row-reverse;
    }
    
    .review-author {
        font-size: 14px;
    }
    
    .review-date {
        font-size: 11px;
    }
    
    .review-rating svg {
        width: 14px;
        height: 14px;
    }
    
    .review-title {
        font-size: 13px;
        text-align: right;
    }
    
    .review-text {
        font-size: 13px;
        line-height: 20px;
        text-align: right;
    }
    
    .review-actions {
        gap: 12px;
        flex-direction: row-reverse;
    }
    
    .review-action-btn {
        font-size: 12px;
        flex-direction: row-reverse;
    }
    
    /* Mobile Review Form - RTL */
    .review-form-wrapper {
        gap: 16px;
        padding-top: 16px;
    }
    
    .review-form-label {
        font-size: 14px;
        text-align: right;
    }
    
    .review-star-rating {
        flex-direction: row-reverse;
    }
    
    .review-star-rating svg {
        width: 24px;
        height: 24px;
    }
    
    .rating-text {
        margin-right: 12px;
        margin-left: 0;
    }
    
    .review-form-input {
        height: 44px;
        font-size: 14px;
        text-align: right;
    }
    
    .review-form-textarea {
        min-height: 120px;
        font-size: 14px;
        text-align: right;
    }
    
    .review-submit-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
        align-self: flex-end;
    }
    
    /* Mobile Sidebar - Also Check Products - RTL */
    .sidebar-products-wrapper {
        padding: 16px;
        border-radius: 10px;
    }
    
    .sidebar-header {
        margin-bottom: 16px;
        flex-direction: row-reverse;
    }
    
    .sidebar-title {
        font-size: 16px;
    }
    
    .sidebar-nav .nav-btn {
        width: 28px;
        height: 28px;
    }
    
    /* Mobile Sidebar Carousel */
    .sidebar-carousel .carousel-slide {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 8px;
    }
    
    .sidebar-product-item {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }
    
    .sidebar-product-item .product-image-link {
        width: 100%;
    }
    
    .sidebar-product-item .product-image-link img {
        width: 100%;
        height: 90px;
        object-fit: contain;
    }
    
    .sidebar-product-item .product-details {
        gap: 4px;
        text-align: right;
    }
    
    .sidebar-product-item .product-name {
        font-size: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .sidebar-product-item .product-rating {
        gap: 1px;
        justify-content: flex-end;
    }
    
    .sidebar-product-item .product-rating svg {
        width: 10px;
        height: 10px;
    }
    
    .sidebar-product-item .product-price {
        font-size: 12px;
    }
    
    .sidebar-product-item .old-price {
        font-size: 8px;
        color: #81859c;
        text-decoration: line-through;
    }
    
    .sidebar-product-item .discount-tag {
        font-size: 8px;
        background: #ee3a54;
        color: #fff;
        padding: 1px 3px;
        border-radius: 1px;
    }
    
    .sidebar-product-item .btn-add-to-cart {
        padding: 5px 8px;
        font-size: 12px;
        border: 1px solid #cdcdcd;
        background: transparent;
        color: #6e6e6e;
        text-transform: capitalize;
    }
    
    .sidebar-pager .pager-dot {
        width: 6px;
        height: 6px;
    }
    
    /* Hide elements that shouldn't show on mobile */
    .product-info-card .shortcut-buttons,
    .product-info-card .additional-actions {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
        flex-direction: row-reverse;
    }
    
    .product-info-card .tier-price-container {
        padding: 12px 0;
    }
}

/* ============================================================
   CATEGORY PAGE — White background
   ============================================================ */
body.catalog-category-view {
    background-color: #ffffff !important;
}

body.catalog-category-view .page-main,
body.catalog-category-view .columns {
    background-color: #ffffff !important;
}

/* ============================================================
   MEERCATO PRODUCT CARD — Category Listing Page (RTL)
   Based on Figma design (Category page row 1:17766)
   Card: 265.86×464, padding 12.54, border 1.254px #D8D8D8, radius 10px
   ============================================================ */

/* --- Card Container --- */
.mc-product-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1.25px solid #D8D8D8;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 12.5px;
    width: 100%;
    min-width: 0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    direction: rtl;
}

.mc-product-card:hover {
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Inner wrapper: column, center-aligned, gap 15px */
.mc-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    flex-grow: 1;
}

/* --- Top Row: Badges + Wishlist Heart (RTL: natural flow) --- */
.mc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 31px;
}

.mc-card-badges {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-grow: 1;
}

.mc-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DA4242;
    color: #FFFFFF;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    line-height: 1.6;
    padding: 3.75px 12.5px;
    border-radius: 1.25px;
    white-space: nowrap;
}

.mc-wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.mc-wishlist-btn:hover {
    transform: scale(1.1);
}

.mc-wishlist-btn svg {
    width: 31px;
    height: 31px;
}

/* --- Product Image --- */
.mc-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 237 / 201;
    overflow: hidden;
}

.mc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Rating Section (RTL) — 5 gold stars + numeric value per Figma --- */
.mc-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding: 0 2.5px;
}

/* Stars row: 5 inline gold stars */
.mc-rating-stars {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Figma: 5 stars, each ~20px wide = ~100px total, height ~20px */
.mc-rating-stars svg {
    width: 100px;
    height: 20px;
    flex-shrink: 0;
}

.mc-rating-value {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.33;
    color: #808080;
}

/* --- Info Container --- */
.mc-card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 5px;
    width: 100%;
}

/* --- Product Title (RTL: Almarai font, right-aligned) --- */
.mc-card-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 17.5px;
    line-height: 1.43;
    color: #202020;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    text-align: right;
}

.mc-card-title:hover {
    color: #EE3E54;
}

/* --- Feature Badges (multiple badges in a row) --- */
.mc-feature-badges {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5.33px;
    min-height: 21.33px;
}

/* Animated badge container: fixed height, badges stacked.
   Height must match .mc-feature-icon svg height + line-height of .mc-feature-text */
.mc-feature-badges--animated {
    position: relative;
    overflow: hidden;
    height: 21.33px;
}

.mc-feature-badges--animated .mc-feature-badge {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
}

.mc-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 5.33px;
}

/* Separator dot between badges (only for non-animated) */
.mc-feature-badges:not(.mc-feature-badges--animated) > .mc-feature-badge + .mc-feature-badge::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #D8D8D8;
    border-radius: 50%;
    margin-inline-end: 3px;
    flex-shrink: 0;
}

.mc-feature-badge--warning .mc-feature-text {
    color: #DA4242;
}

/* --- Badge slide-from-top animation --- */
.mc-badge-enter {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mc-badge-enter-start {
    opacity: 0;
    transform: translateY(-100%);
}
.mc-badge-enter-end {
    opacity: 1;
    transform: translateY(0);
}
.mc-badge-leave {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mc-badge-leave-start {
    opacity: 1;
    transform: translateY(0);
}
.mc-badge-leave-end {
    opacity: 0;
    transform: translateY(100%);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .mc-badge-enter,
    .mc-badge-leave {
        transition-duration: 0.01ms !important;
    }
}

/* --- Magezon Product Slider badge overrides --- */
.mgz-feature-badges {
    margin: 4px 0;
}
.mgz-feature-badges .mc-feature-text {
    font-size: 11px;
}
.mgz-feature-badges .mc-feature-icon svg {
    width: 16px;
    height: 16px;
}

.mc-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mc-feature-icon svg {
    width: 21.33px;
    height: 21.33px;
}

.mc-feature-text {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 13.33px;
    line-height: 1.116;
    color: #515151;
    white-space: nowrap;
}

/* --- Price + Add to Cart Bottom Row (RTL: natural flow) --- */
.mc-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

/* --- Price Styling --- */
/* Figma: column, justifyContent: center, gap: 5px, width: hug */
.mc-card-prices {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}

/* price-box stacks special + old price vertically */
.mc-product-card .price-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Each price wrapper: block-level, explicit order to guarantee
   special (current) price on TOP, old (original) price on BOTTOM */
.mc-product-card .special-price,
.mc-product-card .normal-price {
    display: block;
    order: 1;
}

.mc-product-card .old-price {
    display: block;
    order: 2;
}

/* price-container: inline, no extra flex layout */
.mc-product-card .price-container {
    display: inline;
}

/* Hide "Special Price" / "Regular Price" labels */
.mc-product-card .price-label {
    display: none;
}

/* price-wrapper: inline so the price text flows naturally */
.mc-product-card .price-wrapper {
    display: inline;
}

/* Figma Current Price: Open Sans 700, 20.18px, line-height 1.125, letter-spacing 1%, #0E0D0D */
.mc-product-card .price-wrapper .price,
.mc-product-card .special-price .price {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.125;
    letter-spacing: 0.01em;
    color: #0E0D0D;
}

/* Figma Original Price: Open Sans 700, 13.88px, line-height 1.31, #666666, strikethrough */
.mc-product-card .old-price .price {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.31;
    color: #666666;
    text-decoration: line-through;
}

/* Hide minimal-price-link in card view */
.mc-product-card .minimal-price-link {
    display: none;
}

/* --- Add to Cart Button --- */
.mc-add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #EE3A54;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.mc-add-to-cart-btn:hover {
    background: #D32F44;
    transform: scale(1.05);
}

.mc-add-to-cart-btn svg {
    width: 28px;
    height: 28px;
}

/* --- Out of Stock --- */
.mc-out-of-stock {
    margin-inline-start: auto;
}

.mc-out-of-stock .stock.unavailable {
    font-size: 12px;
    color: #D32F44;
}

/* Product Slider Out of Stock */
.mc-slider-out-of-stock {
    padding: 4px 0;
}

.mc-slider-out-of-stock .stock.unavailable {
    font-size: 13px;
    font-weight: 600;
    color: #D32F44;
}

/* --- Responsive Grid Adjustments for Product Cards --- */

.products-grid li.flex.flex-col {
    display: flex;
    min-width: 0;
}

/* On mobile (< 640px): 2 columns */
@media (max-width: 639px) {
    .products-grid ul[role="list"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }

    .mc-product-card {
        padding: 8px;
    }

    .mc-card-inner {
        gap: 10px;
    }

    .mc-discount-badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    .mc-wishlist-btn svg {
        width: 24px;
        height: 24px;
    }

    .mc-card-title {
        font-size: 14px;
        line-height: 1.35;
    }

    .mc-rating-stars svg {
        width: 70px;
        height: 14px;
    }

    .mc-rating-value {
        font-size: 12px;
    }

    .mc-feature-badges {
        gap: 4px;
        min-height: 18px;
    }

    .mc-feature-badges--animated {
        height: 18px;
    }

    .mc-feature-text {
        font-size: 10px;
    }

    .mc-feature-icon svg {
        width: 16px;
        height: 16px;
    }

    .mc-product-card .price-wrapper .price,
    .mc-product-card .special-price .price {
        font-size: 16px;
    }

    .mc-product-card .old-price .price {
        font-size: 11px;
    }

    .mc-add-to-cart-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
    }

    .mc-add-to-cart-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Small tablet (640px - 767px): keep 2 comfortable columns */
@media (min-width: 640px) and (max-width: 767px) {
    .products-grid ul[role="list"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    .mc-product-card {
        padding: 10px;
    }

    .mc-card-inner {
        gap: 12px;
    }
}

/* Tablet (768px - 1023px): 3 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .products-grid ul[role="list"] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px;
    }

    .mc-product-card {
        padding: 10px;
    }

    .mc-card-inner {
        gap: 12px;
    }
}

/* Desktop (1024px+): fixed 4-column grid */
@media (min-width: 1024px) {
    .products-grid ul[role="list"] {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 19px;
        width: 100%;
        max-width: 1452px;
    }
}

/* ============================================
   MEERCATO LAYERED NAVIGATION / FILTER SIDEBAR
   ============================================ */

/* Main sidebar container */
.meercato-layered-nav {
    background: #FFFFFF;
    padding: 0;
    border: none;
    margin: 0;
    width: 100%;
    max-width: 440px;
}

/* Sidebar header - "Classifications" / "تصنيفات" */
.meercato-filter-header {
    margin-bottom: 24px;
}

.meercato-filter-title {
    margin: 0;
    padding: 0;
}

.meercato-filter-title-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: right;
}

.meercato-filter-title-btn > span:first-child {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 22.4px;
    color: #5B5B5B;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Mobile toggle - hidden on desktop */
.meercato-filter-mobile-toggle {
    display: none;
    padding: 4px;
    background: #fff;
    border: 1px solid #D0D5DD;
    border-radius: 6px;
}

/* Chevron icons */
.meercato-chevron-icon {
    transition: transform 300ms ease-in-out;
    flex-shrink: 0;
}

.meercato-chevron-rotated {
    transform: rotate(180deg);
}

/* Filter content area */
.meercato-filter-content {
    padding: 0;
}

/* Filter groups container */
.meercato-filter-groups {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
    width: 100%;
}

/* Each filter section */
.meercato-filter-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Filter option title button */
.meercato-filter-option-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px 0;
    text-align: right;
}

.meercato-filter-name {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #202020;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1.4;
}

/* Separator line between filters */
.meercato-filter-separator {
    width: 100%;
    height: 1px;
    background-color: #CFCFCF;
}

/* Filter options content (expanded items) */
.meercato-filter-options-content {
    padding: 0 0 16px 0;
}

/* Filter items list */
.meercato-filter-items {
    list-style: none;
    margin: 0;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual filter item */
.meercato-filter-item {
    margin: 0;
    padding: 0;
}

/* Filter link (checkbox row) */
.meercato-filter-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.meercato-filter-link:hover {
    opacity: 0.8;
}

.meercato-filter-disabled {
    opacity: 0.5;
    cursor: default;
}

.meercato-filter-disabled:hover {
    opacity: 0.5;
}

/* Checkbox container */
.meercato-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.meercato-checkbox svg {
    width: 20px;
    height: 20px;
}

/* Filter label text */
.meercato-filter-label {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #4B4B4B;
    text-transform: uppercase;
    line-height: 1.4;
}

/* Filter count */
.meercato-filter-count {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #808080;
    margin-right: 4px;
}

/* Active filter styling */
.meercato-filter-active .meercato-filter-label {
    color: #EE3E54;
    font-weight: 700;
}

/* Active Filters Section */
.meercato-active-filters {
    margin-bottom: 8px;
    padding: 0 24px;
}

.meercato-active-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.meercato-active-filters-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #202020;
}

.meercato-clear-all {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #EE3E54;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.meercato-clear-all:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.meercato-active-filters-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
}

.meercato-active-filter-item {
    margin: 0;
}

.meercato-filter-attr-name {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #808080;
    margin-right: auto;
}

/* ============================================
   LAYERED NAV - RTL OVERRIDES (ARABIC)
   ============================================ */

/* RTL: Sidebar should appear on right side of page */
.meercato-filter-title-btn {
    text-align: right;
    direction: rtl;
}

.meercato-filter-option-title {
    text-align: right;
    direction: rtl;
}

/* RTL: Flip the flex direction for filter link so checkbox stays before text in RTL */
.meercato-filter-link {
    direction: rtl;
}

/* RTL: Count margin fix */
.meercato-filter-count {
    margin-left: 4px;
    margin-right: 0;
}

/* RTL: Active filter attr name alignment */
.meercato-filter-attr-name {
    margin-left: auto;
    margin-right: 0;
}

/* ============================================
   LAYERED NAV - RESPONSIVE
   ============================================ */

/* Mobile: sidebar becomes collapsible */
@media (max-width: 767px) {
    .meercato-layered-nav {
        max-width: 100%;
        background: #F9F9F9;
        border: 1px solid #E5E5E5;
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 20px;
    }

    .meercato-filter-header {
        margin-bottom: 0;
    }

    .meercato-filter-title-btn > span:first-child {
        font-size: 18px;
    }

    .meercato-filter-mobile-toggle {
        display: flex;
    }

    .meercato-filter-content {
        padding-top: 16px;
    }

    .meercato-filter-groups {
        padding: 0;
    }

    .meercato-filter-items {
        padding: 0 12px;
    }

    .meercato-active-filters {
        padding: 0;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .meercato-layered-nav {
        max-width: 280px;
    }

    .meercato-filter-title-btn > span:first-child {
        font-size: 20px;
    }

    .meercato-filter-name {
        font-size: 16px;
    }
}

/* Desktop: full sidebar */
@media (min-width: 1024px) {
    .meercato-layered-nav {
        max-width: 440px;
    }

    /* Keep product cards at 3 columns when the sidebar is present (narrower space) */
    .sidebar-main + .column.main .products-grid ul[role="list"],
    .columns .sidebar + .column.main .products-grid ul[role="list"] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 19px;
        width: 100%;
    }
}

/* Wide desktop with sidebar: restore 4 columns */
@media (min-width: 1440px) {
    .sidebar-main + .column.main .products-grid ul[role="list"],
    .columns .sidebar + .column.main .products-grid ul[role="list"] {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 19px;
        width: 100%;
        max-width: 1452px;
    }
}

/* RTL: Product grid should flow right-to-left */
.products-grid,
.products-grid ul[role="list"],
#layer-product-list .products-grid ul[role="list"] {
    direction: rtl;
}

/* ============================================
   MAGEPLAZA LAYERED NAV OVERRIDES
   (Mageplaza uses jQuery collapsible, not Alpine)
   ============================================ */

/* Reset Mageplaza default block styles */
#layered-filter-block.meercato-layered-nav {
    background: #FFFFFF;
    border: none;
    padding: 0;
}

/* Hide the native checkbox/radio - show custom SVG instead */
.meercato-native-checkbox {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Mageplaza collapsible: title styling */
#layered-filter-block .filter-options-title.meercato-filter-option-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px 0;
    border: none;
    background: none;
    direction: rtl;
}

/* Chevron rotation — controlled by Alpine.js :class binding */
.meercato-chevron-icon {
    transition: transform 300ms ease-in-out;
    flex-shrink: 0;
}

.meercato-chevron-icon.meercato-chevron-rotated {
    transform: rotate(180deg);
}

/* Mageplaza filter title text in header */
.meercato-filter-title-text {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 22.4px;
    color: #5B5B5B;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Override Mageplaza default filter-title strong tag */
#layered-filter-block .filter-title strong {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 22.4px;
    color: #5B5B5B;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

/* Remove default Mageplaza filter-subtitle */
#layered-filter-block .filter-subtitle {
    display: none;
}

/* Mageplaza filter-options container */
#layered-filter-block .filter-options.meercato-filter-groups {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
}

/* Override Mageplaza filter-options-content */
#layered-filter-block .filter-options-content.meercato-filter-options-content {
    padding: 0 0 16px 0;
}

/* Mageplaza loading overlay styling */
#layered-filter-block .ln_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
}

#layered-filter-block .ln_overlay .loader {
    text-align: center;
}

/* Clear All link styling */
.meercato-clear-actions {
    padding: 8px 24px 16px;
}

#layered-filter-block .meercato-clear-all {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #EE3E54;
    text-decoration: none;
}

#layered-filter-block .meercato-clear-all:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Mageplaza jQuery slider container (hidden — replaced by Alpine slider) */
.ln_slider_container {
    display: none;
}

/* ============================================================
   ALPINE.JS PRICE RANGE SLIDER
   Single track, two draggable thumb points, auto-apply
   ============================================================ */
.meercato-price-slider {
    padding: 12px 0 16px;
}

.meercato-slider-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #4B4B4B;
    margin-bottom: 20px;

}

.meercato-slider-val-box {
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    padding: 6px 10px;
    min-width: 70px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.meercato-slider-dash {
    color: #CFCFCF;
    font-size: 16px;
}

/* --- Single track container --- */
.meercato-slider-wrapper {
    position: relative;
    height: 40px;
    margin: 0 12px;
}

/* Grey base track — centered vertically */
.meercato-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

/* Red active range between thumbs */
.meercato-slider-range {
    position: absolute;
    height: 100%;
    background: #EE3E54;
    border-radius: 2px;
    z-index: 1;
}

/* --- Native range inputs: invisible track, only thumbs visible --- */
.meercato-slider-input {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 24px;
    transform: translateY(-50%);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none !important;
    pointer-events: none;
    margin: 0;
    padding: 0;
    outline: none;
    z-index: 3;
}

/* WebKit: hide native track */
.meercato-slider-input::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: transparent !important;
    border: none;
    cursor: pointer;
}

/* WebKit: thumb — vertically centered on track */
.meercato-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #EE3E54;
    border-radius: 50%;
    cursor: grab;
    pointer-events: all;
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    margin-top: -10px; /* (24px thumb - 4px track) / 2 = 10px up */
}

.meercato-slider-input:active::-webkit-slider-thumb {
    cursor: grabbing;
    box-shadow: 0 0 0 4px rgba(238, 62, 84, 0.15), 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* Firefox: hide native track */
.meercato-slider-input::-moz-range-track {
    -moz-appearance: none;
    appearance: none;
    height: 4px;
    background: transparent !important;
    border: none;
}

/* Firefox: thumb — auto-centered by Firefox */
.meercato-slider-input::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #EE3E54;
    border-radius: 50%;
    cursor: grab;
    pointer-events: all;
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.meercato-slider-input:active::-moz-range-thumb {
    cursor: grabbing;
    box-shadow: 0 0 0 4px rgba(238, 62, 84, 0.15), 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* "from" thumb higher z-index so it stays grabbable at min edge */
.meercato-slider-from {
    z-index: 4;
}

/* Mageplaza filter-options-item override */
#layered-filter-block .filter-options-item.meercato-filter-section {
    margin: 0;
    padding: 0;
    border: none;
}

/* ============================================
   RTL: FORCE SIDEBAR TO RIGHT SIDE (ARABIC)
   Hyva uses CSS Grid for .columns layout.
   2columns-left grid: [sidebar] [main]
   For RTL we mirror to: [main] [sidebar]
   (same as Hyva's 2columns-right logic)
   ============================================ */

@media (min-width: 768px) {
    /* Force physical LTR grid flow so column placement is predictable in RTL store */
    .page-layout-2columns-left .columns {
        direction: ltr;
        align-items: start;
        grid-template-columns: minmax(0px, 1fr) 240px !important;
    }

    /* Keep content itself RTL */
    .page-layout-2columns-left .columns > .column.main {
        direction: rtl;
        grid-column: 1 !important;
        grid-row-start: 1 !important;
        grid-row: span 2;
        order: 1 !important;
    }

    /* Sidebar explicitly pinned to physical right column */
    .page-layout-2columns-left .columns > .sidebar-main,
    .page-layout-2columns-left .columns > aside.sidebar-main {
        direction: rtl;
        grid-column: 2 !important;
        grid-row-start: 1;
        align-self: start;
        order: 2 !important;
    }
}

@media (min-width: 1024px) {
    .page-layout-2columns-left .columns {
        grid-template-columns: minmax(0px, 1fr) 320px !important;
    }
}

/* ============================================
   RTL: SIDEBAR WIDGET ALIGNMENT FIXES
   Use gap on flex containers instead of fighting
   Tailwind margin utilities. gap is direction-
   agnostic and works correctly in RTL.
   ============================================ */

/* All sidebar list items: add gap, kill all physical margins */
.sidebar-main li.flex,
.sidebar-additional li.flex {
    gap: 0.75rem !important;
}

.sidebar-main li.flex > *,
.sidebar-additional li.flex > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
}

/* Close/remove button: push to the end (direction-aware) */
.sidebar-main li.flex > button:last-child,
.sidebar-additional li.flex > button:last-child {
    margin-inline-start: auto !important;
}

/* Sidebar: white background + inner padding + RTL text alignment */
.sidebar.sidebar-main,
.sidebar.sidebar-additional,
aside.sidebar-main,
aside.sidebar-additional {
    background-color: #FFFFFF !important;
    padding: 1rem !important;
    text-align: right;
    direction: rtl;
}

/* ============================================
   MOBILE FLOATING FILTER/SORT BAR + PANELS (RTL)
   Figma: 172-3492 (floating bar), 172-3603 (filter panel)
   ============================================ */

.mc-mobile-filter-sort {
    display: none;
}

@media (max-width: 767px) {
    .mc-mobile-filter-sort {
        display: block;
    }

    .sidebar.sidebar-main,
    aside.sidebar-main {
        display: none !important;
    }

    .toolbar-sorter.sorter {
        display: none !important;
    }
}

/* --- Floating Bar --- */
.mc-floating-bar {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    width: 191px;
    height: 40px;
    background: rgba(91, 91, 91, 0.95);
    border-radius: 40px;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mc-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #FFFFFF;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.12;
    text-transform: capitalize;
}

.mc-float-btn svg {
    flex-shrink: 0;
}

.mc-float-divider {
    width: 1px;
    height: 35px;
    background: #F2F2F2;
    flex-shrink: 0;
}

/* --- Panel Overlay --- */
.mc-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* --- Slide Panel (RTL: slides from LEFT) --- */
.mc-slide-panel {
    position: fixed;
    top: 0;
    left: -100%;
    right: auto;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #FFFFFF;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    border-radius: 0 12px 12px 0;
    direction: rtl;
}

.mc-slide-panel.mc-panel-open {
    left: 0;
}

/* --- Panel Header --- */
.mc-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    min-height: 64px;
    flex-shrink: 0;
}

.mc-panel-title {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.36;
    letter-spacing: -0.04em;
    color: #5B5B5B;
    text-transform: capitalize;
    margin: 0;
}

.mc-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

/* --- Panel Body --- */
.mc-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
    -webkit-overflow-scrolling: touch;
}

.mc-panel-body .sidebar-main,
.mc-panel-body .sidebar.sidebar-main,
.mc-panel-body aside.sidebar-main {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
}

.mc-panel-body .meercato-layered-nav {
    max-width: 100% !important;
}

/* --- Panel Footer --- */
.mc-panel-footer {
    flex-shrink: 0;
    padding: 0 16px;
    background: #FFFFFF;
    border-top: 1px solid #F2F2F2;
}

.mc-panel-actions {
    display: flex;
    gap: 16px;
    padding: 10px 0;
}

.mc-btn-reset,
.mc-btn-apply {
    flex: 1;
    height: 40px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.12;
    letter-spacing: -0.04em;
    text-transform: capitalize;
    color: #FFFFFF;
    background: #EE3A54;
}

.mc-btn-reset {
    opacity: 0.34;
}

/* --- Sort Panel Options --- */
.mc-sort-options {
    display: flex;
    flex-direction: column;
}

.mc-sort-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid #CFCFCF;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: right;
}

.mc-sort-option:last-child {
    border-bottom: none;
}

.mc-sort-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #D0D5DD;
    flex-shrink: 0;
}

.mc-sort-option.mc-sort-active .mc-sort-radio {
    border-color: #EE3A54;
}

.mc-sort-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EE3A54;
}

.mc-sort-label {
    font-family: 'Almarai', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.14;
    color: #4B4B4B;
    text-transform: capitalize;
}

/* ==========================================================================
   TABLET GLOBAL OVERFLOW FIX (768px - 1023px)
   Prevents horizontal scroll on tablet view
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .page-wrapper,
    .page-main,
    .columns,
    .column.main,
    .mgz-element,
    .mgz-element-inner,
    .mgz-container {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Magezon rows should not exceed viewport */
    .mgz-element-row,
    .mgz-element-row .mgz-element-inner,
    .mgz-element-row .inner-content {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Images should not exceed container */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Megamenu Styles - Figma Design */
.mm-mega {
    direction: rtl;
    font-family: "Almarai", "Noto Sans Arabic", sans-serif;
    background: #fff;
    color: #202020;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.mm-columns {
    display: flex;
    gap: 36px;
    justify-content: flex-start;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.mm-col h4 {
    font-size: 21.333px;
    font-weight: 700;
    margin: 0 0 10px;
}

.mm-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-col li {
    font-size: 18.667px;
    line-height: 1.4;
    margin: 6px 0;
}

.mm-col--empty {
    min-width: 120px;
}

.mm-most-viewed h4 {
    font-size: 21.333px;
    font-weight: 700;
    margin: 0 0 12px;
}

.mm-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 16px;
}

.mm-logo {
    background: #e4e4e4;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mm-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mm-logo img {
    max-height: 60px;
    max-width: 85%;
    object-fit: contain;
    display: block;
}

.mm-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #666;
}

/* Banner Promo Section */
.mm-banner {
    position: relative;
    width: 276px;
    height: 276px;
    flex-shrink: 0;
    overflow: hidden;
}

.mm-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.mm-banner-product {
    position: absolute;
    bottom: 10px;
    right: 12px;
    max-width: 200px;
    max-height: 170px;
    object-fit: contain;
    z-index: 2;
}

.mm-banner-content {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    z-index: 3;
    text-align: right;
}

.mm-banner-title {
    color: #ee3a54;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mm-banner-subtitle {
    color: #000;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mm-banner-price {
    color: #000;
    font-weight: 700;
}

.mm-banner-price .price-num {
    font-size: 22px;
}

.mm-banner-price .price-currency {
    font-size: 13px;
}

/* Layout wrapper */
.mm-mega-wrapper {
    display: flex;
    gap: 32px;
    align-items: stretch;
    direction: ltr;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.mm-mega-content {
    flex: 1;
    direction: rtl;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 36px;
    min-width: 0;
    box-sizing: border-box;
}

.mm-most-viewed {
    min-width: 240px;
    max-width: 280px;
    box-sizing: border-box;
}

/* Simple mega (no banner) layout */
.mm-mega--simple .mm-mega-wrapper {
    flex-direction: column;
    gap: 20px;
}

.mm-mega--simple .mm-mega-content {
    flex-direction: column;
    gap: 24px;
}

.mm-mega--simple .mm-most-viewed {
    min-width: 0;
    max-width: none;
}

.mm-mega--simple .mm-logos {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Banner + stacked content layout */
.mm-mega--stacked .mm-mega-content {
    flex-direction: column;
    gap: 24px;
}

.mm-mega--stacked .mm-most-viewed {
    min-width: 0;
    max-width: none;
}

.mm-mega--stacked .mm-logos {
    display: flex;
    flex-wrap: nowrap;
    gap: 21px;
    justify-content: flex-start;
    align-items: center;
}

.mm-mega--stacked .mm-most-viewed h4 {
    text-align: start;
}

.mm-mega--stacked .mm-logo {
    width: 166px;
    height: 80px;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .mm-columns {
        flex-direction: column;
        gap: 16px;
    }
    .mm-logos {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
    .mm-mega-wrapper {
        flex-direction: column-reverse;
    }
    .mm-mega-content {
        flex-direction: column;
    }
    .mm-banner {
        width: 100%;
        height: 200px;
    }
}

/* Magezon category strip (Figma node 1:8883) */
.mgz-category-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 18px 0;
    background: #ffffff;
    direction: rtl;
    flex-wrap: nowrap;
    overflow-x: hidden;
}

.mgz-category-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 117px;
    flex: 0 0 auto;
    text-align: center;
}

.mgz-category-strip__icon {
    width: 120px;
    height: 120px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

.mgz-category-strip__icon--shadow {
    box-shadow: 4px 4px 7px rgba(238, 58, 84, 0.4);
}

.mgz-category-strip__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mgz-category-strip__label {
    font-family: "Open Sans", "Noto Sans Arabic", sans-serif;
    font-weight: 600;
    font-size: 12.236px;
    line-height: 15.294px;
    color: #464646;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .mgz-category-strip--carousel {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .mgz-category-strip--carousel .mgz-category-strip__item {
        scroll-snap-align: start;
    }
}

/* =============================================
   TOAST NOTIFICATIONS
   Uses popover="manual" to render in the browser top-layer,
   ensuring toasts appear above <dialog> elements.
   ============================================= */
.mc-toast-container,
.mc-toast-container:popover-open {
    position: fixed !important;
    top: 16px !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 9999;
    pointer-events: none;
    width: 100%;
    max-width: 420px;
    padding: 0 16px;
    box-sizing: border-box;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    overflow: visible;
}

.mc-toast-container::backdrop {
    display: none;
    background: transparent;
}

.mc-toast-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.mc-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    width: 100%;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.4;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mc-toast--success {
    background: rgba(22, 101, 52, 0.95);
}

.mc-toast--error {
    background: rgba(153, 27, 27, 0.95);
}

.mc-toast--warning,
.mc-toast--notice {
    background: rgba(120, 53, 15, 0.95);
}

.mc-toast__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.mc-toast__icon svg {
    width: 20px;
    height: 20px;
}

.mc-toast__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mc-toast__text a {
    color: #93c5fd;
    text-decoration: underline;
}

.mc-toast__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px;
    margin: -4px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s;
}

.mc-toast__close:hover {
    color: #fff;
}

/* Toast animations */
.mc-toast-enter {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc-toast-enter-start {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
}

.mc-toast-enter-end {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mc-toast-leave {
    transition: all 0.2s ease-in;
}

@media (min-width: 768px) {
    .mc-toast-container,
    .mc-toast-container:popover-open {
        top: 24px !important;
        max-width: 480px;
    }
}

/* ==========================================================================
   Product Info Card - Delivery Info Section (Arabic RTL)
   Figma node 1:2394 - Delivery / Warranty / Return / Payment / Shipments
   2 rows x 3 columns on desktop (icon on top of text so it fits the 450px card)
   ========================================================================== */
.product-info-card .product-delivery-info {
    padding: 20px 16px;
    background-color: #F2F2F2;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
}

.product-info-card .delivery-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: row;
    column-gap: 12px;
    row-gap: 18px;
    align-items: start;
    direction: rtl;
}

.product-info-card .delivery-info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    text-align: right;
}

.product-info-card .delivery-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #464646;
}

.product-info-card .delivery-info-icon svg {
    width: 100%;
    height: 100%;
}

.product-info-card .delivery-info-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.product-info-card .delivery-info-label {
    font-family: 'Public Sans', 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.45;
    color: #808080;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.product-info-card .delivery-info-value {
    font-family: 'Public Sans', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.45;
    color: #464646;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.product-info-card .delivery-info-value--small {
    font-size: 11px;
    line-height: 1.5;
}

.product-info-card .delivery-info-link {
    display: inline-block;
    margin-top: 2px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.4;
    color: #EE3A54;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-info-card .delivery-info-link:hover,
.product-info-card .delivery-info-link:focus-visible {
    color: #c8253b;
    text-decoration: underline;
}

.product-info-card .delivery-info-link:focus-visible {
    outline: 2px solid #EE3A54;
    outline-offset: 2px;
    border-radius: 2px;
}

@media (min-width: 1280px) {
    .product-info-card .product-delivery-info {
        padding: 24px 20px;
    }

    .product-info-card .delivery-info-grid {
        column-gap: 14px;
        row-gap: 20px;
    }

    .product-info-card .delivery-info-label {
        font-size: 12px;
    }

    .product-info-card .delivery-info-value {
        font-size: 13px;
    }
}

@media (max-width: 540px) {
    .product-info-card .delivery-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        column-gap: 12px;
        row-gap: 16px;
    }
}

@media (max-width: 360px) {
    .product-info-card .delivery-info-grid {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }
}
