/* ==========================================================================
   1. UNIVERSAL BUTTON STYLING (APPLE STYLE)
   ========================================================================== */
.s-button-primary,
.btn-add-to-cart,
.s-product-card__btn,
.s-product-card-button,
.add-to-cart-btn,
.checkout-btn,
.s-order-summary__btn,
.s-cart-btn,
.s-button-solid,
button,
.btn,
.button,
salla-button,
salla-button a,
salla-button button,
[class*="installment"] a,
[class*="payment"] a,
[class*="promo"] a,
[class*="banner"] a,
.s-block a[href*="category"],
.s-block a[href*="product"],
.s-block a[href*="products"] {
    &:not(nav a):not(header a):not(.main-menu a):not(.header-nav a):not(.s-menu-item a) {
        border-radius: 30px !important;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
        transform: scale(1) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
    }
}

.s-button-primary:hover,
.btn-add-to-cart:hover,
.s-product-card__btn,
.s-product-card-button:hover,
.add-to-cart-btn:hover,
.checkout-btn:hover,
.s-order-summary__btn:hover,
.s-cart-btn:hover,
.s-button-solid:hover,
button:hover,
.btn:hover,
.button:hover,
salla-button a:hover,
salla-button button:hover,
[class*="installment"] a:hover,
[class*="payment"] a:hover,
[class*="promo"] a:hover,
[class*="banner"] a:hover,
.s-block a[href*="category"]:hover,
.s-block a[href*="product"]:hover,
.s-block a[href*="products"]:hover {
    &:not(nav a):not(header a):not(.main-menu a):not(.header-nav a):not(.s-menu-item a) {
        transform: scale(1.03) !important;
        box-shadow: 0 12px 24px rgba(255, 90, 0, 0.3), 0 4px 12px rgba(255, 90, 0, 0.12) !important;
    }
}

.s-button-primary:active,
.btn-add-to-cart:active,
.s-product-card__btn:active,
.s-product-card-button:active,
.s-cart-btn:active {
    &:not(nav a):not(header a):not(.main-menu a) {
        transform: scale(0.98) !important;
    }
}

/* ==========================================================================
   1B. OUTLINE & SECONDARY BUTTON BACKGROUND COLOR OPTIMIZATION
   ========================================================================== */
.s-button-outline,
.btn-outline,
[class*="button-outline"],
[class*="btn-outline"],
a.s-button-outline,
button.s-button-outline,
.s-button-secondary,
.btn-secondary,
[class*="button-secondary"],
[class*="btn-secondary"] {
    background-color: rgba(255, 90, 0, 0.05) !important;
    border-color: rgba(255, 90, 0, 0.4) !important;
    color: #ff5a00 !important;
}

.s-button-outline:hover,
.btn-outline:hover,
.s-button-secondary:hover,
.btn-secondary:hover {
    background-color: rgba(255, 90, 0, 0.1) !important;
    border-color: #ff5a00 !important;
    color: #ff5a00 !important;
}

.s-quantity-selector,
.quantity-selector,
[class*="quantity-selector"],
[class*="quantity"] {
    background-color: rgba(255, 90, 0, 0.04) !important;
    border: 1px solid rgba(255, 90, 0, 0.15) !important;
}

.s-quantity-selector button,
.quantity-selector button,
[class*="quantity-selector"] button,
.s-quantity-selector input,
.quantity-selector input,
[class*="quantity-selector"] input {
    background-color: transparent !important;
    color: #ff5a00 !important;
    border: none !important;
}

/* ==========================================================================
   2. UNIVERSAL PRODUCT CARDS, SLIDERS & BANNERS
   ========================================================================== */
.s-product-card,
.product-card,
.s-product-card-entry,
.s-product-card-vertical,
.s-product-card-horizontal,
.s-offer-card,
.offer-card,
.s-block--product-card,
.s-block--special-banner,
.s-block--banners,
.s-block--banners a,
.s-block--special-banner a,
[class*="product-card"],
[class*="offer-card"],
[class*="special-banner"],
[class*="banner-entry"],
[class*="slider"] a,
[class*="carousel"] a {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    overflow: hidden !important;
}

.s-product-card:hover,
.product-card:hover,
.s-product-card-entry:hover,
.s-product-card-vertical:hover,
.s-product-card-horizontal:hover,
.s-offer-card:hover,
.offer-card:hover,
.s-block--product-card:hover,
.s-block--special-banner:hover,
.s-block--banners:hover,
.s-block--banners a:hover,
.s-block--special-banner a:hover,
[class*="product-card"]:hover,
[class*="offer-card"]:hover,
[class*="special-banner"]:hover,
[class*="banner-entry"]:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.03) !important;
}

.s-product-card__image,
.product-card img,
.s-product-card-entry img,
[class*="product-card"] img,
[class*="banner-entry"] img {
    border-radius: 16px !important;
    transition: transform 0.4s ease !important;
}

/* ==========================================================================
   3. VISUAL REFINEMENT & CLEAN UI
   ========================================================================== */
footer a[href*="salla.sa"],
.store-footer a[href*="salla.sa"],
.footer__copyright a[href*="salla.sa"],
.store-footer__copy a[href*="salla.sa"],
[class*="copyright"] a[href*="salla.sa"] {
    display: none !important;
}
nav a, header a, .main-menu a, .header-nav a, .s-menu-item a {
    transform: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   4. ORANGE TOP BAR CUSTOMIZATION
   ========================================================================== */
.top-nav,
.header-top,
.top-header,
.site-header__top,
.header__top,
.s-header__top,
.top-header-wrapper,
.s-header-top,
.header-top-wrapper,
[class*="header-top"],
[class*="top-header"],
[class*="top-nav"] {
    background-color: #ff5a00 !important;
    background: #ff5a00 !important;
}

.top-nav a, .top-nav span, .top-nav div,
.header-top a, .header-top span, .header-top div,
.top-header a, .top-header span,
.s-header-top a, .s-header-top span,
[class*="header-top"] a, [class*="header-top"] span,
[class*="top-header"] a, [class*="top-header"] span,
[class*="top-nav"] a, [class*="top-nav"] span, [class*="top-nav"] button {
    color: #ffffff !important;
}

.top-nav svg, .header-top svg, [class*="top-nav"] svg, [class*="header-top"] svg {
    stroke: #ffffff !important;
    fill: #ffffff !important;
}

.top-nav svg path, .header-top svg path, [class*="top-nav"] svg path {
    stroke: currentColor !important;
}

.top-nav input, .header-top input, [class*="top-nav"] input {
    color: #333333 !important;
}

/* ==========================================================================
   5. ORANGE FOOTER (BOTTOM BAR) CUSTOMIZATION
   ========================================================================== */
footer,
.store-footer,
.site-footer,
.s-footer,
[class*="store-footer"],
[class*="site-footer"] {
    background-color: #ff5a00 !important;
    background: #ff5a00 !important;
}

footer p, footer span, footer div, footer li, footer a, footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
.store-footer p, .store-footer span, .store-footer div, .store-footer li, .store-footer a, .store-footer h3,
.site-footer p, .site-footer span, .site-footer div, .site-footer li, .site-footer a,
[class*="store-footer"] a, [class*="store-footer"] p, [class*="store-footer"] span, [class*="store-footer"] h3, [class*="store-footer"] div {
    color: #ffffff !important;
}

footer .social-link,
footer .social-icon,
footer [class*="social"] a,
footer [class*="social"] svg,
.store-footer [class*="social"] a,
.store-footer [class*="social"] svg {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

footer [class*="social"] svg path,
.store-footer [class*="social"] svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

footer .tax-number,
footer .cr-number,
.store-footer .tax-number,
.store-footer .cr-number,
[class*="tax"] span,
[class*="record"] span {
    color: #ffffff !important;
}