@font-face {
    font-family: 'AdelleSans';
    src: url('/fonts/adelle-sans-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Myriad';
    src: url('/fonts/MyriadVariableConcept-Roman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SourceCode';
    src: url('/fonts/SourceCodeVariable-Roman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --primary-font: 'AdelleSans', sans-serif;
}

body {
    font-family: 'AdelleSans', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Myriad', sans-serif !important;
}

code, pre {
    font-family: 'SourceCode', monospace !important;
}

/* Header */
.header .header__top {
    background-color: #ede6dd6b !important;
}

/* Slick images */
.slick-slide {
    overflow: hidden;
    position: relative;
}

.slick-slide img {
    width: 100%;
    transition: transform 0.2s ease;
}

/* Mega menu */
.mega-menu__column {
    left: 0 !important;
}

/* Shop blocks */
.ps-page--shop .ps-block--shop-features,
.ps-page--shop .ps-shop-banner,
.ps-page--shop .ps-shop-brand,
.ps-page--shop .ps-shop-categories {
    display: block;
}

/* home page banner width */
#homepage-1 .ps-home-banner .ps-container {
  width: 100% !important; 
  max-width:100% !important;
  padding:0px !important;
}
#homepage-1 .ps-home-banner {
 	padding-top:0px !important; 
}

/*********Banner**********/

.ps-home-banner .ps-banner {
    display: block !important;
    min-height: 80vh !important; 
    background-image: var(--desktop-bg) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.ps-home-banner .owl-stage-outer,
.ps-home-banner .owl-stage,
.ps-home-banner .owl-item {
    min-height: 50vh !important;
}

@media (max-width: 767px) {
    .ps-home-banner .ps-banner {
        min-height: 65vh !important;
        background-image: var(--mobile-bg) !important;
    }

    .ps-home-banner .owl-stage-outer,
    .ps-home-banner .owl-stage,
    .ps-home-banner .owl-item {
        min-height: 65vh !important;
    }
}

/*checkout page*/
.checkout-logo-wrapper {
    display: flex;
    justify-content: flex-start;
    padding: 10px;
}

.checkout-logo-wrapper img {
    max-height: 70px;
    max-width: 180px;
    width: auto;
}
 /* return to cart text */
a[href*="cart"] {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

/*checkout for mobile*/
@media (max-width: 767px) {
    .checkout-left-column {
        display: flex;
        flex-direction: column;
    }

    .checkout-left-column > div:first-child {
        order: -30;
    }

    .checkout-left-column > .bb-form-field-top_back_to_cart,
    .checkout-left-column a[href*="cart"] {
        order: -25;
    }

    .mobile-order-summary {
        order: -20;
    }

    .mobile-discount-wrapper {
        order: -19;
    }
}

/* cart page */
.ps-shopping-cart .cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: flex-start;
}

.ps-shopping-cart .cart-items {
    min-width: 0;
}

.ps-shopping-cart .cart-summary {
    position: sticky;
    top: 120px;
}

.ps-shopping-cart .table-responsive,
.ps-shopping-cart .ps-block--shopping-total,
.ps-shopping-cart .form-coupon-wrapper {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
}

.ps-shopping-cart .form-coupon-wrapper {
    margin-top: 20px;
}

.ps-shopping-cart .cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.ps-shopping-cart .cart-actions .ps-btn {
    width: 100%;
    text-align: center;
}

.checkout-btn {
    background-color: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

.checkout-btn:hover {
    background-color: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
}

body[dir="rtl"] .ps-table--shopping-cart thead tr th:first-child {
    text-align: right !important;
}

/* wishlist + remove buttons desktop */
.cart-actions-cell {
    width: 56px;
    min-width: 56px;
    vertical-align: middle;
}

.cart-actions-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cart-actions-wrapper .btn,
.cart-actions-wrapper .remove-cart-button {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* recommended products */
.cart-recommended-products h3 {
    text-align: left;
}

body[dir="rtl"] .cart-recommended-products h3 {
    text-align: right;
}

@media (max-width: 991px) {
    .ps-shopping-cart .cart-layout {
        display: block;
    }

    .ps-shopping-cart .cart-summary {
        position: static;
        margin-top: 24px;
    }
}

/* mobile cart */
@media (max-width: 767px) {
    .ps-table--shopping-cart thead {
        display: none;
    }

    .ps-table--shopping-cart,
    .ps-table--shopping-cart tbody,
    .ps-table--shopping-cart tr,
    .ps-table--shopping-cart td {
        display: block;
        width: 100%;
    }

    .ps-table--shopping-cart tr {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 16px;
        position: relative;
    }

    .ps-table--shopping-cart td {
        border: 0 !important;
        padding: 0 !important;
        text-align: right !important;
    }

    .ps-product--cart {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .ps-product--cart .ps-product__thumbnail {
        width: 88px;
        flex: 0 0 88px;
    }

    .ps-product--cart .ps-product__thumbnail img {
        width: 88px;
        height: 88px;
        object-fit: cover;
        border-radius: 8px;
    }

    .ps-product--cart .ps-product__content {
        flex: 1;
        min-width: 0;
    }

    .ps-product--cart .ps-product__content a {
        display: block;
        font-weight: 600;
        line-height: 1.5;
    }

    /* إخفاء سعر الوحدة */
    .ps-table--shopping-cart td.price {
        display: none !important;
    }

    /* الكمية + المجموع في نفس السطر */
    .ps-table--shopping-cart td:nth-child(3),
    .ps-table--shopping-cart td:nth-child(4) {
        display: inline-flex !important;
        align-items: center;
        margin-top: 16px;
        vertical-align: middle;
    }

    .ps-table--shopping-cart td:nth-child(3) {
        width: 45% !important;
        justify-content: flex-start;
    }

    .ps-table--shopping-cart td:nth-child(4) {
        width: 45% !important;
        justify-content: flex-end;
        text-align: left !important;
        font-weight: 700;
        min-height: 40px;
    }

    .ps-table--shopping-cart .product__qty {
        justify-content: flex-start;
    }

    /* القلب والحذف تحت */
    .cart-actions-cell {
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        margin-top: 16px;
    }

    .cart-actions-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .cart-actions-wrapper .move-to-wishlist-btn,
    .cart-actions-wrapper .remove-cart-button {
        position: static !important;
        width: 100% !important;
        height: 40px !important;
        border: 1px solid #eee !important;
        border-radius: 8px !important;
        background: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .ps-shopping-cart .cart-layout {
        display: block;
    }

    .ps-shopping-cart .cart-summary {
        position: static;
        margin-top: 24px;
    }
}

/*  Menu  fix*/
.mega-menu__column {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}