header.store-header {
    --hd-brown: #412602;
    --hd-brown-light: #6B4210;
    --hd-brown-dark: #261600;
    --hd-cream: #FAE6D8;
    --hd-cream-light: #FBEDDD;
    --hd-gold: #D4B080;
    --hd-text: #1C1B1B;
}

header.store-header,
#mainnav,
.main-nav-container {
    background:
        radial-gradient(ellipse 45% 120% at 90% 0%, rgba(250, 230, 216, 0.13), transparent 70%),
        radial-gradient(ellipse 40% 120% at 5% 100%, rgba(107, 66, 16, 0.6), transparent 70%),
        repeating-linear-gradient(45deg, rgba(250, 230, 216, 0.025) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(-45deg, rgba(250, 230, 216, 0.025) 0 1px, transparent 1px 22px),
        linear-gradient(100deg, var(--hd-brown-dark) 0%, var(--hd-brown) 50%, var(--hd-brown-light) 100%) !important;
    box-shadow: inset 0 -1px 0 rgba(212, 176, 128, 0.55) !important;
}

.main-nav-container.fixed-pinned,
.main-nav-container.fixed-header {
    box-shadow: inset 0 -1px 0 rgba(212, 176, 128, 0.55), 0 10px 30px rgba(38, 22, 0, 0.35) !important;
}

header.store-header a,
header.store-header button,
header.store-header i,
header.store-header svg,
header.store-header span {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

#mainnav .main-menu > li > a,
header.store-header .main-menu > li > a {
    font-weight: 700 !important;
    background-image: linear-gradient(var(--hd-gold), var(--hd-gold));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: center bottom;
    transition: background-size .4s ease, color .3s ease !important;
}
#mainnav .main-menu > li > a:hover,
header.store-header .main-menu > li > a:hover {
    background-size: 70% 2px;
    color: var(--hd-gold) !important;
}

header.store-header .header-btn,
header.store-header .s-cart-summary-wrapper,
header.store-header .s-user-menu-trigger {
    background: rgba(251, 237, 221, 0.1) !important;
    border: 1px solid rgba(251, 237, 221, 0.35) !important;
    backdrop-filter: blur(6px);
    border-radius: 50% !important;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}
header.store-header .header-btn:hover,
header.store-header .s-cart-summary-wrapper:hover,
header.store-header .s-user-menu-trigger:hover {
    background: rgba(251, 237, 221, 0.2) !important;
    border-color: var(--hd-gold) !important;
    box-shadow: 0 0 0 4px rgba(212, 176, 128, 0.15), 0 8px 20px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px);
}

header.store-header .s-cart-summary-count {
    background: linear-gradient(145deg, #FFF6EE, var(--hd-cream)) !important;
    color: var(--hd-brown) !important;
    font-weight: 800 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
}

header.store-header .navbar-brand img,
header.store-header a.navbar-brand img {
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
    transition: transform .4s ease;
}
header.store-header .navbar-brand:hover img {
    transform: scale(1.04);
}

header.store-header .top-bar,
header.store-header .top-navbar,
header.store-header [class*="top-bar"],
header.store-header [class*="top-navbar"] {
    background: linear-gradient(90deg, var(--hd-cream) 0%, var(--hd-cream-light) 50%, var(--hd-cream) 100%) !important;
    color: var(--hd-text) !important;
    border-bottom: 1px solid rgba(65, 38, 2, 0.08) !important;
}

header.store-header .top-bar a,
header.store-header .top-bar span,
header.store-header .top-bar i,
header.store-header .top-bar svg,
header.store-header .top-bar button,
header.store-header .top-navbar a,
header.store-header .top-navbar span,
header.store-header .top-navbar i,
header.store-header .top-navbar svg,
header.store-header .top-navbar button,
header.store-header [class*="top-bar"] a,
header.store-header [class*="top-bar"] span,
header.store-header [class*="top-bar"] i,
header.store-header [class*="top-bar"] svg,
header.store-header [class*="top-navbar"] a,
header.store-header [class*="top-navbar"] span,
header.store-header [class*="top-navbar"] i,
header.store-header [class*="top-navbar"] svg {
    color: var(--hd-text) !important;
    fill: var(--hd-text) !important;
    stroke: var(--hd-text) !important;
}

header.store-header .top-navbar a:hover,
header.store-header [class*="top-bar"] a:hover {
    color: var(--hd-brown) !important;
}

/* خانة البحث */
header.store-header .top-navbar input,
header.store-header [class*="top-bar"] input,
header.store-header .s-search-input {
    background: #fff !important;
    color: var(--hd-text) !important;
    border: 1px solid rgba(65, 38, 2, 0.15) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 14px rgba(65, 38, 2, 0.06) !important;
    transition: border-color .3s ease, box-shadow .3s ease !important;
}
header.store-header .top-navbar input:focus,
header.store-header [class*="top-bar"] input:focus,
header.store-header .s-search-input:focus {
    border-color: var(--hd-brown) !important;
    box-shadow: 0 0 0 4px rgba(65, 38, 2, 0.1) !important;
    outline: none !important;
}

/* اللوجو في الهيدر المثبت يتلوّن بني */
.main-nav-container.fixed-pinned .navbar-brand img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(52%) saturate(2400%) hue-rotate(22deg) brightness(92%) contrast(102%) !important;
    -webkit-filter: brightness(0) saturate(100%) invert(13%) sepia(52%) saturate(2400%) hue-rotate(22deg) brightness(92%) contrast(102%) !important;
    transition: filter .4s ease !important;
}

.main-nav-container.fixed-pinned a,
.main-nav-container.fixed-pinned button,
.main-nav-container.fixed-pinned i,
.main-nav-container.fixed-pinned span {
    color: #412602 !important;
    transition: color .4s ease !important;
}
.main-nav-container.fixed-pinned svg {
    color: #412602 !important;
    stroke: #412602 !important;
}

/* دواير السلة والحساب: زجاج كريمي بحدود بني */
.main-nav-container.fixed-pinned .header-btn,
.main-nav-container.fixed-pinned .s-cart-summary-wrapper,
.main-nav-container.fixed-pinned .s-user-menu-login-btn,
.main-nav-container.fixed-pinned .s-user-menu-trigger {
    background: rgba(251, 237, 221, 0.6) !important;
    border: 1px solid rgba(65, 38, 2, 0.45) !important;
    backdrop-filter: blur(8px);
}

.main-nav-container.fixed-pinned .s-cart-summary-count {
    background: #412602 !important;
    color: #FBEDDD !important;
}

/* خلفية المتجر */
body,
.main-content,
.site-content,
#app {
    background-color: #FBEDDD !important;
}

/* ================= الفوتر ================= */
footer.store-footer {
    --ft-brown: #412602;
    --ft-brown-light: #6B4210;
    --ft-brown-dark: #261600;
    --ft-cream: #FAE6D8;
    --ft-gold: #D4B080;
}

footer.store-footer {
    position: relative !important;
    overflow: hidden !important;
    color: var(--ft-cream) !important;
    border-top-left-radius: 50px !important;
    border-top-right-radius: 50px !important;
    background:
        radial-gradient(ellipse 60% 50% at 85% 0%, rgba(250, 230, 216, 0.14), transparent 70%),
        radial-gradient(ellipse 50% 60% at 10% 100%, rgba(107, 66, 16, 0.55), transparent 70%),
        repeating-linear-gradient(45deg, rgba(250, 230, 216, 0.025) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(-45deg, rgba(250, 230, 216, 0.025) 0 1px, transparent 1px 22px),
        linear-gradient(165deg, var(--ft-brown-light) 0%, var(--ft-brown) 45%, var(--ft-brown-dark) 100%) !important;
    box-shadow: 0 -15px 40px rgba(38, 22, 0, 0.25) !important;
}

footer .store-footer__inner {
    background: transparent !important;
    color: var(--ft-cream) !important;
    position: relative;
    z-index: 1;
}

footer.store-footer::before {
    content: "" !important;
    position: absolute !important;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ft-gold), #FFF6EE, var(--ft-gold), transparent);
    opacity: .85;
    z-index: 2;
    pointer-events: none;
}

footer.store-footer::after {
    display: none !important;
}

footer.store-footer .store-footer__bottom,
footer.store-footer [class*="bottom"],
footer.store-footer hr,
footer.store-footer .border-t,
footer.store-footer .border-dashed {
    border-top: 12px solid var(--ft-cream) !important;
    border-style: solid !important;
}

footer.store-footer h3,
footer.store-footer p,
footer.store-footer a,
footer.store-footer span,
footer.store-footer li,
footer.store-footer div {
    color: var(--ft-cream) !important;
}

footer .store-footer__inner h3:not(a.flex.items-center.m-0 h3) {
    font-weight: 800 !important;
    position: relative;
    padding-bottom: 10px !important;
}
footer .store-footer__inner h3:not(a.flex.items-center.m-0 h3)::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--ft-gold);
}

footer.store-footer p {
    color: rgba(250, 230, 216, 0.82) !important;
    line-height: 1.9 !important;
}

footer.store-footer li > a:not(:has(svg)):not(:has(i)) {
    display: inline-block;
    color: rgba(250, 230, 216, 0.85) !important;
    background-image: linear-gradient(var(--ft-gold), var(--ft-gold));
    background-size: 0% 1.5px;
    background-repeat: no-repeat;
    background-position: right bottom;
    padding-bottom: 2px;
    transition: background-size .4s ease, color .3s ease, transform .3s ease !important;
}
footer.store-footer li > a:not(:has(svg)):not(:has(i)):hover {
    color: #fff !important;
    background-size: 100% 1.5px;
    transform: translateX(-4px);
}

footer.store-footer .social-links a,
footer.store-footer .store-footer__inner ul.social a,
footer.store-footer .contact-list a,
footer.store-footer [class*="social"] a {
    background: linear-gradient(145deg, #FFF6EE, var(--ft-cream)) !important;
    color: var(--ft-brown) !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,.6) !important;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease !important;
}
footer.store-footer .social-links a:hover,
footer.store-footer .store-footer__inner ul.social a:hover,
footer.store-footer .contact-list a:hover,
footer.store-footer [class*="social"] a:hover {
    transform: translateY(-4px) scale(1.06);
    background: linear-gradient(145deg, #fff, var(--ft-gold)) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35) !important;
}

footer.store-footer .social-links a i,
footer.store-footer .social-links a svg,
footer.store-footer .contact-list a i,
footer.store-footer .contact-list a svg,
footer.store-footer [class*="social"] a i,
footer.store-footer [class*="social"] a svg {
    color: var(--ft-brown) !important;
    fill: var(--ft-brown) !important;
    stroke: var(--ft-brown) !important;
}

footer .store-footer__inner h3 {
    font-size: inherit !important;
    background-image: none !important;
}

footer .store-footer__inner a.flex.items-center.m-0 h3 {
    font-size: 0 !important;
    display: inline-block !important;
    width: 120px !important;
    height: 50px !important;
    padding: 0 !important;
    background-image: url('https://cdn.files.salla.network/other/1468834795/df0f9337-a396-4f3c-87a9-11920305388a-original.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    margin: 0 !important;
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0,0,0,.25)) !important;
    -webkit-filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0,0,0,.25)) !important;
}

@media (max-width: 768px) {
    footer.store-footer {
        border-top-left-radius: 34px !important;
        border-top-right-radius: 34px !important;
    }
}
/* ===== ألوان المتجر ===== */
:root {
    --ud-dark: #261600;
    --ud-brown: #412602;
    --ud-gold: #D4B080;
    --ud-gold-light: #EAD3AE;
    --ud-cream: #FAE6D8;
    --ud-bg: #FBEDDD;
}

/* مساحة للكروت جوه السلايدر عشان الرفعة والظل ميتقصوش */
.s-products-slider-card,
.swiper-wrapper .s-product-card-entry {
    padding-top: 10px;
}
.s-slider-container {
    padding-bottom: 20px !important;
}

/* ===== الكارت ===== */
.s-product-card-entry {
    position: relative;
    background: linear-gradient(180deg, #FFFAF5 0%, var(--ud-cream) 100%) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid rgba(212, 176, 128, 0.3) !important;
    box-shadow: 0 8px 24px rgba(38, 22, 0, 0.07) !important;
    transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease, border-color .5s ease !important;
}

/* إطار دهبي داخلي رفيع */
.s-product-card-entry::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 176, 128, 0.25);
    border-radius: 19px;
    pointer-events: none;
    z-index: 3;
    transition: border-color .5s ease, inset .5s ease;
}

.s-product-card-entry:hover {
    transform: translateY(-8px);
    border-color: var(--ud-gold) !important;
    box-shadow: 0 24px 50px rgba(65, 38, 2, 0.22), 0 0 0 1px rgba(212, 176, 128, 0.2) !important;
}
.s-product-card-entry:hover::before {
    border-color: rgba(212, 176, 128, 0.6);
    inset: 4px;
}

/* ===== الصورة ===== */
.s-product-card-image {
    position: relative;
    overflow: hidden !important;
    border-radius: 18px !important;
    margin: 10px 10px 0 !important;
    background: radial-gradient(circle at 50% 70%, var(--ud-bg), #F2DCC4) !important;
}

.s-product-card-image img {
    transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .6s ease !important;
}
.s-product-card-entry:hover .s-product-card-image img {
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.03);
}

/* دخان البخور بيطلع من تحت */
.s-product-card-image::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30%;
    width: 140%;
    height: 120%;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse 18% 30% at 35% 70%, rgba(255, 255, 255, 0.55), transparent 70%),
        radial-gradient(ellipse 14% 26% at 55% 60%, rgba(255, 250, 240, 0.5), transparent 70%),
        radial-gradient(ellipse 20% 34% at 70% 75%, rgba(255, 255, 255, 0.45), transparent 70%),
        radial-gradient(ellipse 12% 22% at 45% 45%, rgba(255, 248, 235, 0.4), transparent 70%);
    filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}
.s-product-card-entry:hover .s-product-card-image::after {
    animation: ud-smoke 3.2s ease-out infinite;
}
@keyframes ud-smoke {
    0%   { opacity: 0;   transform: translateX(-50%) translateY(0) scale(.9) rotate(0deg); }
    25%  { opacity: .9; }
    100% { opacity: 0;   transform: translateX(-46%) translateY(-55%) scale(1.25) rotate(6deg); }
}

/* توهج دافي خفيف تحت الصورة */
.s-product-card-image::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(65, 38, 2, 0.25), transparent);
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
    z-index: 1;
}
.s-product-card-entry:hover .s-product-card-image::before {
    opacity: 1;
}

/* ===== المحتوى ===== */
.s-product-card-content {
    padding: 16px 18px 20px !important;
    position: relative;
    z-index: 4;
}

.s-product-card-content-title a {
    color: var(--ud-dark) !important;
    font-weight: 800 !important;
    font-size: 1.02rem !important;
    transition: color .3s ease !important;
}
.s-product-card-entry:hover .s-product-card-content-title a {
    color: var(--ud-brown) !important;
}

/* فاصل دهبي صغير */
.s-product-card-content-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    margin: 10px 0 4px;
    background: linear-gradient(90deg, var(--ud-gold), transparent);
    transition: width .5s ease;
}
.s-product-card-entry:hover .s-product-card-content-title::after {
    width: 80px;
}

/* السعر */
.s-product-card-sale-price h4,
.s-product-card-price {
    color: var(--ud-brown) !important;
    font-weight: 800 !important;
}
.s-product-card-sale-price span,
.s-product-card-content del,
.s-product-card-sale-price .line-through {
    color: rgba(65, 38, 2, 0.45) !important;
}

/* ===== زرار أضف إلى السلة ===== */
.s-product-card-entry .s-button-btn,
.s-product-card-content-footer button {
    position: relative;
    overflow: hidden !important;
    border-radius: 50px !important;
    border: 1.5px solid var(--ud-gold) !important;
    background: linear-gradient(135deg, var(--ud-gold-light), var(--ud-gold)) !important;
    color: var(--ud-dark) !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(212, 176, 128, 0.35) !important;
    z-index: 1;
    transition: color .4s ease, transform .2s ease, box-shadow .4s ease !important;
}
.s-product-card-entry .s-button-btn *,
.s-product-card-content-footer button * {
    color: var(--ud-dark) !important;
    transition: color .4s ease !important;
}

.s-product-card-entry .s-button-btn::before,
.s-product-card-content-footer button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ud-brown), var(--ud-dark));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
    z-index: -1;
}
.s-product-card-entry .s-button-btn:hover,
.s-product-card-content-footer button:hover {
    color: var(--ud-cream) !important;
    box-shadow: 0 10px 24px rgba(38, 22, 0, 0.3) !important;
}
.s-product-card-entry .s-button-btn:hover *,
.s-product-card-content-footer button:hover * {
    color: var(--ud-cream) !important;
}
.s-product-card-entry .s-button-btn:hover::before,
.s-product-card-content-footer button:hover::before {
    transform: scaleX(1);
}
.s-product-card-entry .s-button-btn:active,
.s-product-card-content-footer button:active {
    transform: scale(.96);
}

/* ===== زرار المفضلة ===== */
.s-product-card-wishlist-btn {
    background: rgba(251, 237, 221, 0.85) !important;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 176, 128, 0.4) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(38, 22, 0, 0.12) !important;
    z-index: 5 !important;
    transition: transform .3s ease, background .3s ease !important;
}
.s-product-card-wishlist-btn,
.s-product-card-wishlist-btn * {
    color: var(--ud-brown) !important;
}
.s-product-card-wishlist-btn:hover {
    background: var(--ud-gold) !important;
    transform: scale(1.12);
}

/* ===== موبايل ===== */
@media (max-width: 768px) {
    .s-product-card-entry { border-radius: 20px !important; }
    .s-product-card-entry::before { border-radius: 15px; }
    .s-product-card-image { border-radius: 14px !important; margin: 8px 8px 0 !important; }
    .s-product-card-content { padding: 12px 12px 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .s-product-card-entry,
    .s-product-card-entry *,
    .s-product-card-entry *::before,
    .s-product-card-entry *::after {
        animation: none !important;
        transition: none !important;
    }
}