/* =========================================================
   BEAUTY STARS — COMPLETE THEME
========================================================= */

:root {
    --bs-green: #304d2f;
    --bs-green-dark: #213921;
    --bs-gold: #c9a24a;
    --bs-beige: #faf6ef;
    --bs-beige-dark: #eee5d8;
    --bs-white: #ffffff;
    --bs-black: #0b0b0b;
    --bs-text: #292929;
    --bs-radius: 18px;
}


/* =========================================================
   BODY
========================================================= */

body {
    background: #fffdf9 !important;
    color: var(--bs-text) !important;
    font-family: Arial, sans-serif !important;
}


/* =========================================================
   HEADER
========================================================= */

header {
    background: #fffdf9 !important;
    border-bottom: 1px solid #eee6d9 !important;
    box-shadow: 0 2px 18px rgba(48, 77, 47, 0.06) !important;
}

header a {
    color: var(--bs-green) !important;
    transition: .25s ease !important;
}

header a:hover {
    color: var(--bs-gold) !important;
}

header .navbar-brand img {
    max-height: 58px !important;
    width: auto !important;
}

header .navbar-nav .nav-link {
    color: var(--bs-green) !important;
    font-weight: 600 !important;
}

header .navbar-nav .nav-link:hover {
    color: var(--bs-gold) !important;
}

header input,
header .search-input {
    background: #f8f3eb !important;
    border: 1px solid #eee3d2 !important;
    border-radius: 14px !important;
    color: var(--bs-green) !important;
}

header input:focus {
    border-color: var(--bs-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 162, 74, .12) !important;
}

header svg {
    color: var(--bs-green) !important;
}


/* =========================================================
   PROMOTIONAL BAR
========================================================= */

.s-promotional-bar {
    background: var(--bs-green) !important;
    color: #fff !important;
}

.s-promotional-bar * {
    color: #fff !important;
}


/* =========================================================
   SECTIONS
========================================================= */

.s-block {
    margin-bottom: 45px !important;
}


/* =========================================================
   SECTION TITLES
========================================================= */

.s-block__title {
    margin-bottom: 25px !important;
}

.s-block__title h2 {
    color: var(--bs-green) !important;
    font-weight: 800 !important;
    font-size: 28px !important;
}

.s-block__title h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    margin-top: 10px;
    background: var(--bs-gold) !important;
    border-radius: 10px;
}


/* =========================================================
   BANNERS
========================================================= */

.s-block--banners img {
    display: block !important;
    width: 100% !important;
    border-radius: 20px !important;
}


/* =========================================================
   PRODUCTS SECTION
========================================================= */

.s-block--products {
    background: var(--bs-beige) !important;
    padding: 30px 20px !important;
    border-radius: 24px !important;
    transition: .3s ease !important;
}


/* =========================================================
   PRODUCT CARDS
========================================================= */

.product-entry,
.s-product-card,
.product-card {
    background: #fff !important;
    border: 1px solid var(--bs-beige-dark) !important;
    border-radius: var(--bs-radius) !important;
    overflow: hidden !important;
    box-shadow: 0 5px 18px rgba(48, 77, 47, .06) !important;
    transition: transform .3s ease, box-shadow .3s ease !important;
    -webkit-tap-highlight-color: transparent;
}

.product-entry:hover,
.s-product-card:hover,
.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(48, 77, 47, .12) !important;
}


/* =========================================================
   PRODUCT IMAGES
========================================================= */

.product-entry img,
.s-product-card img,
.product-card img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    transition: transform .4s ease !important;
}

.product-entry:hover img,
.s-product-card:hover img,
.product-card:hover img {
    transform: scale(1.04) !important;
}


/* =========================================================
   PRODUCT TITLES
========================================================= */

.product-entry h3,
.product-entry .product-title,
.s-product-card h3,
.s-product-card .product-title,
.product-card h3 {
    color: var(--bs-green) !important;
    font-weight: 700 !important;
}


/* =========================================================
   PRICES
========================================================= */

.product-entry .price,
.s-product-card .price,
.product-card .price,
.s-product-card-price {
    color: var(--bs-green) !important;
    font-weight: 800 !important;
}


/* =========================================================
   BUTTONS
========================================================= */

button,
.s-button,
.btn,
button[type="submit"] {
    border-radius: 12px !important;
    transition: transform .2s ease, background .25s ease !important;
}

.s-button-primary,
button[type="submit"],
.add-to-cart {
    background: var(--bs-green) !important;
    color: #fff !important;
    border: none !important;
}

.s-button-primary:hover,
button[type="submit"]:hover,
.add-to-cart:hover {
    background: var(--bs-green-dark) !important;
    transform: translateY(-2px) !important;
}


/* =========================================================
   BADGES
========================================================= */

.badge,
.s-badge {
    background: var(--bs-green) !important;
    color: #fff !important;
    border-radius: 20px !important;
}


/* =========================================================
   INPUTS
========================================================= */

input,
textarea,
select {
    background: #fff !important;
    border: 1px solid rgba(48, 77, 47, .18) !important;
    border-radius: 12px !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--bs-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 162, 74, .12) !important;
}


/* =========================================================
   FOOTER — BLACK
========================================================= */

.store-footer,
.store-footer__inner,
.store-footer__top,
.store-footer__bottom {
    background: #0b0b0b !important;
    background-color: #0b0b0b !important;
    color: #fff !important;
}

.store-footer * {
    border-color: #292929 !important;
}

.store-footer p,
.store-footer span,
.store-footer li,
.store-footer a,
.store-footer h2,
.store-footer h3,
.store-footer h4 {
    color: #fff !important;
}

.store-footer a:hover {
    color: var(--bs-gold) !important;
}

.store-footer svg {
    color: #fff !important;
    stroke: #fff !important;
}

.store-footer__bottom {
    border-top: 1px solid #292929 !important;
}


/* =========================================================
   LOADING SCREEN
========================================================= */

.bs-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #fffdf9;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity .6s ease, visibility .6s ease;
}

.bs-loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.bs-loading-logo {
    width: 180px;
    max-width: 45vw;
    animation: bsLogoIn 1s ease forwards;
}

@keyframes bsLogoIn {

    0% {
        opacity: 0;
        transform: scale(.75);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.bs-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.22, 1, .36, 1);
}

.bs-reveal.bs-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   TOUCH EFFECT
========================================================= */

.bs-touch {
    -webkit-tap-highlight-color: transparent;
}

.bs-pressed {
    transform: scale(.96) !important;
    transition: transform .12s ease !important;
}


/* =========================================================
   RIPPLE
========================================================= */

.bs-ripple {
    position: relative !important;
    overflow: hidden !important;
}

.bs-ripple-effect {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(201, 162, 74, .35);
    transform: scale(0);
    animation: bsRipple .6s ease-out;
    pointer-events: none;
}

@keyframes bsRipple {

    to {
        transform: scale(15);
        opacity: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .s-block {
        margin-bottom: 30px !important;
    }

    .s-block__title h2 {
        font-size: 22px !important;
    }

    .s-block--products {
        padding: 20px 12px !important;
        border-radius: 18px !important;
    }

    .s-block--banners img {
        border-radius: 14px !important;
    }

    .product-entry,
    .s-product-card,
    .product-card {
        border-radius: 14px !important;
    }

    .product-entry:hover,
    .s-product-card:hover,
    .product-card:hover {
        transform: none !important;
    }

    header .navbar-brand img {
        max-height: 48px !important;
    }

    .bs-loading-logo {
        width: 150px;
    }

    .bs-reveal {
        transform: translateY(25px);
    }

}
/* =========================================
   BEAUTY STARS — PRODUCT SHINE ON HOVER
========================================= */

.product-entry,
.s-product-card,
.product-card {
    position: relative !important;
    overflow: hidden !important;
}

/* اللمعة */
.product-entry::after,
.s-product-card::after,
.product-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255,255,255,.08) 35%,
        rgba(255,255,255,.75) 50%,
        rgba(255,255,255,.08) 65%,
        transparent 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
}

/* عند الماوس */
.product-entry:hover::after,
.s-product-card:hover::after,
.product-card:hover::after {
    animation: bsProductShine .7s ease forwards;
}

/* عند اللمس */
.product-entry:active::after,
.s-product-card:active::after,
.product-card:active::after {
    animation: bsProductShine .7s ease forwards;
}

@keyframes bsProductShine {

    from {
        left: -130%;
    }

    to {
        left: 150%;
    }

}
/* ===== BEAUTY STARS — FONT SIZE ===== */

/* النص العام */
body {
    font-size: 17px !important;
}

/* اسم المنتج */
.s-product-card-entry .s-product-card-content-title,
.s-product-card-entry .s-product-card-content-title a,
.s-product-card-entry .s-product-card-content-title span,
.s-product-card .s-product-card-content-title,
.s-product-card .s-product-card-content-title a,
.s-product-card .s-product-card-content-title span {
    font-size: 22px !important;
    font-weight: 700 !important;
}

/* السعر بعد الخصم */
.s-product-card-entry .s-product-card-price,
.s-product-card-entry .s-product-card-price span,
.s-product-card .s-product-card-price,
.s-product-card .s-product-card-price span {
    font-size: 205px !important;
    font-weight: 700 !important;
}

/* السعر القديم */
.s-product-card-entry del,
.s-product-card-entry del span,
.s-product-card del,
.s-product-card del span {
    font-size: 20px !important;
}

/* عناوين الأقسام */
.s-block__title h2 {
    font-size: 30px !important;
}

/* أزرار المنتجات */
.s-product-card-entry button,
.s-product-card button {
    font-size: 16px !important;
}

/* الجوال */
@media (max-width: 768px) {

    body {
        font-size: 16px !important;
    }

    .s-product-card-entry .s-product-card-content-title,
    .s-product-card-entry .s-product-card-content-title a,
    .s-product-card .s-product-card-content-title {
        font-size: 16px !important;
    }

    .s-product-card-entry .s-product-card-price,
    .s-product-card .s-product-card-price {
        font-size: 18px !important;
    }

}