/*
Theme Name: Woodmart Child
Theme URI: https://operfume.ir/
Description: Child theme for Woodmart used by O'Perfume.
Author: One Web
Author URI: https://one3erver.com/
Template: woodmart
Version: 1.0.0
Text Domain: woodmart-child
*/

/*
 * O'Perfume custom styles go below this line.
 */
/* =========================================================
   O'PERFUME — HEADER SYSTEM
   FINAL CLEAN VERSION
   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {
    --op-navy: #021C4F;
    --op-mauve: #7E4060;

    --op-pink: #FAB8D7;
    --op-pink-main: #C85D8F;
    --op-pink-strong: #E963A5;

    --op-topbar-text: #A83E70;
    --op-topbar-icon: #D85B95;

    --op-border: #E7CDD7;
    --op-border-light: #F0D8E3;

    --op-placeholder: #9B8892;
    --op-clear: #9B6A80;
}


/* =========================================================
   02. TOP BAR
   ========================================================= */

.whb-top-bar {
    position: relative;
    overflow: hidden;

    min-height: 40px;

    background:
        linear-gradient(
            180deg,
            #FFFAFD 0%,
            #FFF2F7 35%,
            #FFE4EE 72%,
            #FFEDF4 100%
        ) !important;

    border: 0 !important;

    border-bottom:
        1px solid rgba(216, 91, 149, 0.18) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(126, 64, 96, 0.06),
        0 4px 12px rgba(126, 64, 96, 0.05),
        0 10px 26px rgba(216, 91, 149, 0.10) !important;
}


/* نور شیشه‌ای */

.whb-top-bar::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 50% -40%,
            rgba(255,255,255,0.95) 0%,
            rgba(255,255,255,0.45) 30%,
            transparent 62%
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.45) 0%,
            rgba(255,255,255,0.05) 30%,
            rgba(255,255,255,0.22) 50%,
            rgba(255,255,255,0.05) 70%,
            rgba(255,255,255,0.45) 100%
        );
}


/* هاله صورتی */

.whb-top-bar::after {
    content: "";

    position: absolute;
    inset: -20px;

    z-index: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 4% 50%,
            rgba(250,184,215,0.42) 0%,
            rgba(250,184,215,0.12) 9%,
            transparent 20%
        ),
        radial-gradient(
            circle at 96% 50%,
            rgba(250,184,215,0.42) 0%,
            rgba(250,184,215,0.12) 9%,
            transparent 20%
        );

    filter: blur(3px);
}


/* محتوای Top Bar */

.whb-top-bar .container,
.whb-top-bar .whb-row,
.whb-top-bar .whb-column {
    position: relative;
    z-index: 3;
}


/* =========================================================
   TOP BAR — DECORATION
   ========================================================= */

.whb-top-bar .whb-row::before,
.whb-top-bar .whb-row::after {
    content: "";

    position: absolute;
    top: 50%;

    width: 74px;
    height: 74px;

    opacity: 0.75;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 30% 25%,
            rgba(255,255,255,0.90) 0%,
            rgba(255,255,255,0.25) 24%,
            transparent 25%
        ),
        radial-gradient(
            ellipse at 38% 55%,
            rgba(250,184,215,0.85) 0%,
            rgba(250,184,215,0.55) 34%,
            rgba(250,184,215,0.05) 64%,
            transparent 66%
        );

    border-radius:
        80% 20% 75% 25% /
        70% 30% 70% 30%;

    box-shadow:
        inset 6px 4px 12px rgba(255,255,255,0.60),
        0 4px 12px rgba(216,91,149,0.12);
}


.whb-top-bar .whb-row::before {
    left: -35px;

    transform:
        translateY(-50%)
        rotate(-15deg);
}


.whb-top-bar .whb-row::after {
    right: -35px;

    transform:
        translateY(-50%)
        rotate(165deg);
}


/* =========================================================
   TOP BAR — COLORS
   ========================================================= */

.whb-top-bar,
.whb-top-bar a,
.whb-top-bar span,
.whb-top-bar p {
    color: var(--op-topbar-text) !important;
}


.whb-top-bar a:hover {
    color: var(--op-mauve) !important;
}


.whb-top-bar svg,
.whb-top-bar i {
    color: var(--op-topbar-icon) !important;
    fill: currentColor;
}


.whb-top-bar .wd-header-text {
    font-weight: 500;
}


/* Divider */

.whb-top-bar .whb-column {
    position: relative;
}




/* =========================================================
   03. MAIN HEADER SEARCH
   فقط سرچ بزرگ هدر اصلی
   ========================================================= */

.whb-main-header
.whb-col-left
.wd-search-form,

.whb-main-header
.whb-col-left
.searchform {
    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
}


.whb-main-header
.whb-col-left
.wd-search-form form,

.whb-main-header
.whb-col-left
form.searchform {
    position: relative !important;

    width: 100% !important;
    height: 48px !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    overflow: visible !important;

    direction: rtl !important;
}


/* =========================================================
   SEARCH — UNDERLINE
   ========================================================= */

.whb-main-header
.whb-col-left
.wd-search-form form::after,

.whb-main-header
.whb-col-left
form.searchform::after {
    content: "";

    position: absolute;

    right: 39px;
    left: 0;
    bottom: 6px;

    height: 1px;

    background:
        linear-gradient(
            to left,
            var(--op-pink-main) 0%,
            #E1A1BE 35%,
            var(--op-border) 100%
        );

    z-index: 1;
}


/* =========================================================
   SEARCH — INPUT
   ========================================================= */

.whb-main-header
.whb-col-left
.wd-search-form input[type="search"],

.whb-main-header
.whb-col-left
.wd-search-form input[type="text"],

.whb-main-header
.whb-col-left
.searchform input[type="search"],

.whb-main-header
.whb-col-left
.searchform input[type="text"] {
    position: relative;

    z-index: 2;

    width: 100% !important;
    height: 48px !important;

    padding:
        0
        60px
        8px
        38px !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    box-shadow: none !important;

    direction: rtl !important;
    text-align: right !important;

    color: var(--op-navy) !important;

    font-size: 14px !important;
    font-weight: 400 !important;
}


.whb-main-header
.whb-col-left
input::placeholder {
    color: var(--op-placeholder) !important;

    opacity: 1 !important;
}


/* Browser Clear */

.whb-main-header
.whb-col-left
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none !important;
    appearance: none !important;

    display: none !important;
}


/* Woodmart Clear */

.whb-main-header .whb-col-left .wd-clear-search,
.whb-main-header .whb-col-left .wd-search-clear,
.whb-main-header .whb-col-left .search-clear,
.whb-main-header .whb-col-left .clear-results {
    display: none !important;

    visibility: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* =========================================================
   SEARCH — SUBMIT BUTTON
   ========================================================= */

.whb-main-header
.whb-col-left
.wd-search-form button[type="submit"],

.whb-main-header
.whb-col-left
.wd-search-form .searchsubmit,

.whb-main-header
.whb-col-left
.searchform button[type="submit"],

.whb-main-header
.whb-col-left
.searchform .searchsubmit {
    position: absolute !important;

    right: 0 !important;
    left: auto !important;

    top: 50% !important;

    transform:
        translateY(-50%) !important;

    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background:
        var(--op-navy) !important;

    color: #FFFFFF !important;

    border: 0 !important;

    border-radius: 50% !important;

    box-shadow:
        0 0 0 2px rgba(250,184,215,0.75),
        0 0 12px rgba(200,93,143,0.30),
        0 0 24px rgba(250,184,215,0.20) !important;

    z-index: 5;

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}


.whb-main-header
.whb-col-left
.wd-search-form button[type="submit"] svg,

.whb-main-header
.whb-col-left
.wd-search-form .searchsubmit svg {
    width: 19px !important;
    height: 19px !important;

    color: #FFFFFF !important;

    stroke: currentColor !important;
}


.whb-main-header
.whb-col-left
.wd-search-form button[type="submit"]:hover,

.whb-main-header
.whb-col-left
.wd-search-form .searchsubmit:hover {
    background:
        var(--op-mauve) !important;

    box-shadow:
        0 0 0 2px rgba(250,184,215,0.95),
        0 0 16px rgba(200,93,143,0.42),
        0 0 28px rgba(250,184,215,0.28) !important;
}


/* =========================================================
   SEARCH — CUSTOM CLEAR
   ========================================================= */

.whb-main-header
.whb-col-left
.op-search-clear {
    position: absolute !important;

    left: 0 !important;
    right: auto !important;

    top: 50% !important;

    transform:
        translateY(-50%) !important;

    width: 30px !important;
    height: 30px !important;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    color: var(--op-clear) !important;

    font-family: Arial, sans-serif !important;

    font-size: 22px !important;
    font-weight: 300 !important;

    cursor: pointer;

    z-index: 10 !important;
}


.whb-main-header
.whb-col-left
.op-search-clear.is-visible {
    display: flex !important;
}


.whb-main-header
.whb-col-left
.op-search-clear:hover {
    color:
        var(--op-pink-main) !important;
}


/* =========================================================
   SEARCH — AJAX RESULTS
   ========================================================= */

.whb-main-header
.whb-col-left
.wd-dropdown-results,

.whb-main-header
.whb-col-left
.autocomplete-suggestions {
    min-width: 400px !important;
    max-width: 460px !important;

    right: 0 !important;
    left: auto !important;

    direction: rtl !important;
}


/* =========================================================
   04. ACCOUNT / WISHLIST / CART
   ========================================================= */

.whb-main-header
.wd-header-my-account
.wd-tools-icon,

.whb-main-header
.wd-header-wishlist
.wd-tools-icon,

.whb-main-header
.wd-header-cart
.wd-tools-icon,

.whb-main-header
.wd-header-my-account
.wd-tools-icon::before,

.whb-main-header
.wd-header-wishlist
.wd-tools-icon::before,

.whb-main-header
.wd-header-cart
.wd-tools-icon::before {
    color: var(--op-navy) !important;
}


.whb-main-header .wd-header-my-account svg,
.whb-main-header .wd-header-wishlist svg,
.whb-main-header .wd-header-cart svg {
    color: var(--op-navy) !important;

    stroke: currentColor !important;
}


/* Hover */

.whb-main-header
.wd-header-my-account:hover
.wd-tools-icon,

.whb-main-header
.wd-header-wishlist:hover
.wd-tools-icon,

.whb-main-header
.wd-header-cart:hover
.wd-tools-icon {
    color: var(--op-mauve) !important;
}


/* Badges */

.whb-main-header .wd-tools-count,
.whb-main-header .wd-cart-number {
    min-width: 17px !important;
    height: 17px !important;

    background:
        var(--op-pink-main) !important;

    color: #FFFFFF !important;

    border: 0 !important;

    font-size: 10px !important;
    line-height: 17px !important;

    box-shadow:
        0 2px 7px
        rgba(200,93,143,0.25);
}


/* Cart Amount */

.whb-main-header
.wd-header-cart
.wd-tools-text,

.whb-main-header
.wd-header-cart
.wd-cart-subtotal,

.whb-main-header
.wd-header-cart
.amount {
    color: var(--op-navy) !important;

    font-weight: 600 !important;
}

/* فقط Mega Menu های منوی اصلی */
.wd-nav-main > li > .wd-dropdown-menu,
.wd-nav-main > li > .wd-dropdown-menu.wd-design-sized {
    background: transparent !important;
    box-shadow: none !important;
}

/* =========================================================
   05. HEADER BOTTOM — LUXURY NAV
   ========================================================= */

.whb-header-bottom {
    position: relative;

    z-index: 50;

    display: flex !important;

    justify-content: center !important;

    padding:
        0
        28px
        14px !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    overflow: visible !important;
}


/* Capsule */

.whb-header-bottom > .container {
    position: relative;

    z-index: 51;

    width: fit-content !important;

    max-width:
        calc(100% - 56px) !important;

    min-height: 52px;

    margin-inline: auto !important;

    padding-inline: 26px !important;

    background:
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #FFFBFD 100%
        ) !important;

    border:
        1px solid
        var(--op-border-light) !important;

    border-radius: 26px !important;

    box-shadow:
        0 8px 20px rgba(126,64,96,0.07),
        0 14px 30px rgba(200,93,143,0.12) !important;

    overflow: visible !important;
}


/* Inner */

.whb-header-bottom .whb-flex-row,
.whb-header-bottom .whb-column {
    width: auto !important;

    min-width: 0 !important;

    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


/* Nav */

.whb-header-bottom
.wd-nav-main {
    width: auto !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    flex-wrap: nowrap !important;

    gap: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


.whb-header-bottom
.wd-nav-main > li {
    position: relative;

    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


.whb-header-bottom
.wd-nav-main > li > a {
    position: relative;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 52px;

    padding-inline: 24px !important;

    margin: 0 !important;

    color: var(--op-navy) !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    line-height: 1.4 !important;

    white-space: nowrap;

    transition:
        color 0.2s ease;
}


/* Divider */

.whb-header-bottom
.wd-nav-main > li:not(:last-child)::after {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 1px;
    height: 20px;

    transform:
        translateY(-50%);

    background:
        var(--op-border);

    pointer-events: none;
}


/* Hover */

.whb-header-bottom
.wd-nav-main > li > a:hover {
    color:
        var(--op-pink-main) !important;
}


/* Active */

.whb-header-bottom
.wd-nav-main > li.current-menu-item > a,

.whb-header-bottom
.wd-nav-main > li.current-menu-ancestor > a {
    color:
        var(--op-pink-main) !important;
}


/* Active underline */

.whb-header-bottom
.wd-nav-main > li.current-menu-item > a::before,

.whb-header-bottom
.wd-nav-main > li.current-menu-ancestor > a::before {
    content: "";

    position: absolute;

    right: 22px;
    left: 22px;

    bottom: 9px;

    height: 1.5px;

    border-radius: 20px;

    background:
        var(--op-pink-strong);
}


/* Dropdown */

.whb-header-bottom,
.whb-header-bottom > .container,
.whb-header-bottom .whb-flex-row,
.whb-header-bottom .whb-column,
.whb-header-bottom .wd-nav-main,
.whb-header-bottom .wd-nav-main > li {
    overflow: visible !important;
}


.whb-header-bottom .wd-dropdown,
.whb-header-bottom .wd-dropdown-menu,
.whb-header-bottom .sub-menu {
    z-index: 9999 !important;
}


.whb-header-bottom
.wd-nav-main > li > .sub-menu,

.whb-header-bottom
.wd-nav-main > li > .wd-dropdown {
    top: 100%;
}


.whb-header-bottom
.wd-nav-main
> li.menu-item-has-children
> a::after {
    color:
        var(--op-placeholder) !important;
}
/* =========================================================
   O'PERFUME — STICKY + MOBILE CAPSULE
   FINAL CLEAN VERSION
   ========================================================= */


/* =========================================================
   01. DESKTOP STICKY — BASE RESET
   فقط Sticky — بدون اثر روی Header اصلی
   ========================================================= */

.whb-sticked {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


.whb-sticked .whb-general-header {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    overflow: visible !important;
}


/* =========================================================
   02. DESKTOP STICKY — FLOATING CAPSULE
   فقط هنگام Scroll Up
   ========================================================= */

html.op-scroll-up .whb-sticked {
    padding-top: 12px !important;
}


html.op-scroll-up
.whb-sticked
.whb-general-header > .container {
    width: calc(100% - 80px) !important;
    max-width: 1480px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 28px !important;
    padding-right: 28px !important;

    background: rgba(255, 255, 255, 0.98) !important;

    border: 1px solid rgba(231, 205, 215, 0.95) !important;
    border-radius: 999px !important;

    box-shadow:
        0 12px 30px rgba(200, 93, 143, 0.15),
        0 4px 12px rgba(126, 64, 96, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;

    overflow: visible !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* =========================================================
   03. DESKTOP STICKY — HEIGHT / ALIGNMENT
   ========================================================= */

html.op-scroll-up
.whb-sticked
.whb-general-header
.whb-flex-row {
    height: 62px !important;
    min-height: 62px !important;

    align-items: center !important;
}


html.op-scroll-up
.whb-sticked
.whb-general-header
.whb-column {
    min-height: 62px !important;

    align-items: center !important;
}


/* =========================================================
   04. DESKTOP STICKY — LOGO
   مقدار فعلی خودت حفظ شده
   ========================================================= */

html.op-scroll-up
.whb-sticked
.site-logo img {
    max-height: 60px !important;
    width: auto !important;
}


/* =========================================================
   05. DESKTOP STICKY — MENU
   فاصله‌گذاری خودکار و مقاوم به اضافه شدن آیتم جدید
   ========================================================= */

html.op-scroll-up
.whb-sticked
.wd-nav-main {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex-wrap: nowrap !important;
    gap: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


html.op-scroll-up
.whb-sticked
.wd-nav-main > li {
    position: relative;

    flex: 0 1 auto !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


html.op-scroll-up
.whb-sticked
.wd-nav-main > li > a {
    min-height: 62px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 7px !important;

    padding-inline:
        clamp(8px, 0.85vw, 20px) !important;

    margin: 0 !important;

    color: var(--op-navy) !important;

    /* برابر با منوی اصلی */
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    white-space: nowrap !important;
}


/* فاصله آیکن از متن در Sticky فقط با gap کنترل شود */
html.op-scroll-up
.whb-sticked
.wd-nav-main > li > a .wd-nav-img,

html.op-scroll-up
.whb-sticked
.wd-nav-main > li > a > img {
    margin: 0 !important;

    flex: 0 0 auto !important;
}


/* =========================================================
   O'PERFUME — MENU DIVIDERS
   NORMAL + STICKY
   SINGLE THIN LINE
   ========================================================= */

/* هر نوع Border پیش‌فرض را حذف کن */
.whb-header-bottom .wd-nav-main > li,
.whb-header-bottom .wd-nav-main > li > a,

html.op-scroll-up
.whb-sticked
.wd-nav-main > li,

html.op-scroll-up
.whb-sticked
.wd-nav-main > li > a {
    border-left: 0 !important;
    border-right: 0 !important;
}


/* Divider قبلی روی li::after کاملاً حذف شود */
.whb-header-bottom
.wd-nav-main > li::after,

html.op-scroll-up
.whb-sticked
.wd-nav-main > li::after {
    content: none !important;
    display: none !important;
}


/* جداکننده جدید:
   فقط بین دو آیتم متوالی ساخته می‌شود */
.whb-header-bottom
.wd-nav-main > li + li::before,

html.op-scroll-up
.whb-sticked
.wd-nav-main > li + li::before {
    content: "" !important;

    position: absolute !important;

    right: 0 !important;
    left: auto !important;

    top: 50% !important;

    width: 1px !important;
    height: 20px !important;

    transform:
        translateY(-50%)
        scaleX(0.6) !important;

    transform-origin: center !important;

    background: rgba(126, 64, 96, 0.28) !important;

    border: 0 !important;
    box-shadow: none !important;

    pointer-events: none !important;
}

/* =========================================================
   DESKTOP STICKY — MENU HOVER
   ========================================================= */

html.op-scroll-up
.whb-sticked
.wd-nav-main > li:hover > a {
    color: var(--op-pink-main) !important;
}


/* =========================================================
   DESKTOP STICKY — MENU ACTIVE
   ========================================================= */

html.op-scroll-up
.whb-sticked
.wd-nav-main > li.current-menu-item > a,

html.op-scroll-up
.whb-sticked
.wd-nav-main > li.current-menu-ancestor > a {
    color: var(--op-pink-main) !important;
}


/* =========================================================
   DESKTOP STICKY — ACTIVE UNDERLINE
   تنظیمات خودت بدون تغییر
   ========================================================= */

html.op-scroll-up
.whb-sticked
.wd-nav-main > li.current-menu-item > a::before,

html.op-scroll-up
.whb-sticked
.wd-nav-main > li.current-menu-ancestor > a::before {
    content: "";

    position: absolute;

    right: clamp(8px, 0.85vw, 20px);
    left: clamp(8px, 0.85vw, 20px);

    bottom: 17px;

    height: 1.5px;

    border-radius: 20px;

    background: var(--op-pink-strong);
}


/* =========================================================
   06. DESKTOP STICKY — ICONS
   دقیقاً Native هدر اصلی
   هیچ سایز اختصاصی اعمال نمی‌شود
   ========================================================= */

html.op-scroll-up
.whb-sticked
.wd-header-my-account .wd-tools-icon,

html.op-scroll-up
.whb-sticked
.wd-header-wishlist .wd-tools-icon,

html.op-scroll-up
.whb-sticked
.wd-header-cart .wd-tools-icon {
    color: var(--op-navy) !important;
}


/* Hover */

html.op-scroll-up
.whb-sticked
.wd-header-my-account:hover .wd-tools-icon,

html.op-scroll-up
.whb-sticked
.wd-header-wishlist:hover .wd-tools-icon,

html.op-scroll-up
.whb-sticked
.wd-header-cart:hover .wd-tools-icon {
    color: var(--op-mauve) !important;
}


/* =========================================================
   07. DESKTOP STICKY — BADGES
   ========================================================= */

html.op-scroll-up
.whb-sticked
.wd-tools-count,

html.op-scroll-up
.whb-sticked
.wd-cart-number {
    background: var(--op-pink-main) !important;
    color: #FFFFFF !important;
}


/* =========================================================
   08. DESKTOP STICKY — CART PRICE
   ========================================================= */

html.op-scroll-up
.whb-sticked
.wd-header-cart .wd-tools-text,

html.op-scroll-up
.whb-sticked
.wd-header-cart .wd-cart-subtotal,

html.op-scroll-up
.whb-sticked
.wd-header-cart .amount {
    color: var(--op-navy) !important;
    font-weight: 600 !important;
}


/* =========================================================
   09. DESKTOP STICKY — DROPDOWN
   ========================================================= */

html.op-scroll-up
.whb-sticked
.wd-dropdown,

html.op-scroll-up
.whb-sticked
.sub-menu {
    margin-top: 10px !important;

    border: 1px solid var(--op-border-light) !important;
    border-radius: 20px !important;

    box-shadow:
        0 12px 28px rgba(126, 64, 96, 0.10),
        0 6px 18px rgba(200, 93, 143, 0.10) !important;
}


/* =========================================================
   10. TABLET
   ========================================================= */

@media (max-width: 1200px) {

    html.op-scroll-up
    .whb-sticked
    .whb-general-header > .container {
        width: calc(100% - 32px) !important;

        padding-left: 20px !important;
        padding-right: 20px !important;
    }

}


/* =========================================================
   MOBILE HEADER — FINAL CAPSULE
   NORMAL + STICKY
   ========================================================= */

@media (max-width: 767px) {

    /* Top Bar و منوی دسکتاپ */
    .whb-top-bar,
    .whb-header-bottom {
        display: none !important;
    }


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

    .whb-general-header,
    .whb-main-header,
    .whb-sticked,
    .whb-sticked .whb-general-header,
    .whb-sticked .whb-main-header {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }


    /* فاصله بالای هدر معمولی موبایل */
    .whb-general-header {
        padding-top: 8px !important;
        padding-bottom: 0 !important;

        overflow: visible !important;
    }


    /* =====================================================
       NORMAL MOBILE CAPSULE
       عرض بیشتر: فقط 8px فاصله از هر طرف
       ===================================================== */

    .whb-general-header > .container {
        width: calc(100% - 16px) !important;
        max-width: none !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        background: rgba(255, 255, 255, 0.98) !important;

        border: 1px solid rgba(231, 205, 215, 0.95) !important;
        border-radius: 999px !important;

        box-shadow:
            0 10px 24px rgba(200, 93, 143, 0.13),
            0 3px 9px rgba(126, 64, 96, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;

        overflow: visible !important;

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }


    /* =====================================================
       HEIGHT
       هدر معمولی و Sticky دقیقاً یک ارتفاع
       ===================================================== */

    .whb-general-header .whb-flex-row {
        height: 58px !important;
        min-height: 58px !important;

        align-items: center !important;
    }


    .whb-general-header .whb-column {
        min-height: 58px !important;
        align-items: center !important;
    }


/* =====================================================
   MOBILE LOGO — NORMAL + STICKY EXACT SAME SIZE
   ===================================================== */

.whb-general-header .site-logo img,

html.op-scroll-up
.whb-sticked
.whb-general-header
.site-logo img {
    width: auto !important;
    height: auto !important;

    max-height: 50px !important;
}

    /* =====================================================
       STICKY MOBILE — DEFAULT HIDDEN STATE
       وقتی Scroll Down است هیچ سایه‌ای باقی نماند
       ===================================================== */

    .whb-sticked {
        padding-top: 0 !important;
        box-shadow: none !important;
    }


    .whb-sticked
    .whb-general-header {
        padding-top: 0 !important;
        box-shadow: none !important;
    }


    .whb-sticked
    .whb-general-header > .container {
        width: calc(100% - 16px) !important;
        max-width: none !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        border-radius: 999px !important;

        /*
         * مهم:
         * وقتی Sticky مخفی است سایه صفر
         */
        box-shadow: none !important;
    }


    /* =====================================================
       STICKY MOBILE — فقط هنگام Scroll Up
       ===================================================== */

    html.op-scroll-up
    .whb-sticked {
        padding-top: 8px !important;
    }


    html.op-scroll-up
    .whb-sticked
    .whb-general-header > .container {
        width: calc(100% - 16px) !important;

        background: rgba(255, 255, 255, 0.98) !important;

        border: 1px solid rgba(231, 205, 215, 0.95) !important;

        box-shadow:
            0 10px 24px rgba(200, 93, 143, 0.13),
            0 3px 9px rgba(126, 64, 96, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    }


    /* Sticky همان ارتفاع Normal */
    html.op-scroll-up
    .whb-sticked
    .whb-general-header
    .whb-flex-row {
        height: 58px !important;
        min-height: 58px !important;
    }


    html.op-scroll-up
    .whb-sticked
    .whb-general-header
    .whb-column {
        min-height: 58px !important;
    }


    /* =====================================================
       MOBILE AJAX RESULTS
       ===================================================== */

    .whb-main-header
    .whb-col-left
    .wd-dropdown-results,

    .whb-main-header
    .whb-col-left
    .autocomplete-suggestions {
        min-width: min(94vw, 400px) !important;
        max-width: 94vw !important;
    }

}

/* =====================================================
O'PERFUME MOBILE BOTTOM TOOLBAR
===================================================== */

@media (max-width: 767px) {

    /* کپسول اصلی */
    .wd-toolbar,
    .wd-toolbar-label-show {
        left: 8px !important;
        right: 8px !important;
        bottom: 10px !important;

        width: auto !important;

        background: #FFFFFF !important;

        border: 1px solid #F3D7E3 !important;
        border-radius: 999px !important;

        box-shadow: 0 8px 25px rgba(7, 27, 75, .14) !important;

        padding: 5px 6px !important;

        z-index: 350 !important;
    }


    /* =========================================
       آیتم‌ها — به Layout وودمارت دست نمی‌زنیم
    ========================================= */

    .wd-toolbar > .wd-tools-element {
        position: relative !important;
        background: transparent !important;
    }


    .wd-toolbar > .wd-tools-element > a {
        position: relative !important;
        z-index: 2 !important;
    }


    /* حالت عادی آیکن */
    .wd-toolbar > .wd-tools-element .wd-tools-icon {
        color: #071B4B !important;
    }


    /* حالت عادی متن */
    .wd-toolbar > .wd-tools-element .wd-toolbar-label {
        color: #071B4B !important;

        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;

        margin-top: 3px !important;

        white-space: nowrap !important;
    }


    /* =========================================
       ACTIVE CIRCLE
    ========================================= */

    .wd-toolbar > .wd-tools-element.op-active::before {
        content: "" !important;

        position: absolute !important;

        width: 64px !important;
        height: 64px !important;

        left: 50% !important;
        top: 50% !important;

        transform: translate(-50%, -50%) !important;

        background: #FCEAF2 !important;

        border-radius: 50% !important;

        z-index: 0 !important;

        pointer-events: none !important;
    }


    /* آیکن Active */
    .wd-toolbar > .wd-tools-element.op-active .wd-tools-icon {
        color: #D05A8C !important;
    }


    /* متن Active */
    .wd-toolbar > .wd-tools-element.op-active .wd-toolbar-label {
        color: #D05A8C !important;
    }

}
/* =====================================================
O'PERFUME - MOBILE FOOTER BOTTOM BACKGROUND FIX
===================================================== */

@media (max-width: 767px) {

    .footer-container {
        position: relative !important;
        
        /* بدون کش دادن اضافی فوتر */
        padding-bottom: 0 !important;

        overflow: visible !important;
    }


    /* فقط به اندازه فضای پشت و زیر Bottom Navigation */
    .footer-container::after {
        content: "" !important;

        position: absolute !important;

        left: 0 !important;
        right: 0 !important;

        bottom: -72px !important;

        width: 100% !important;
        height: 72px !important;

        background: #021C4F !important;

        z-index: 0 !important;

        pointer-events: none !important;
    }


    .wd-toolbar {
        z-index: 350 !important;
    }

}

/* =====================================================
   O'PERFUME - MOBILE HERO FULL WIDTH
===================================================== */
@media (max-width: 767.98px) {

    /* Elementor slider wrapper */
    .elementor-1832 .elementor-element-d992750 {
        width: 100vw !important;
        max-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        overflow: hidden !important;
    }

    /* Mobile Woodmart slider widget */
    .elementor-1832 .elementor-element-04b431d {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* Slider itself */
    .elementor-1832 #slider-335 {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* IMPORTANT:
       remove Woodmart content-fixed container limitation */
    .elementor-1832 #slider-335 .wd-slide-container.content-fixed {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .elementor-1832 #slider-335 .wd-slide-inner,
    .elementor-1832 #slider-335 .wd-carousel-inner,
    .elementor-1832 #slider-335 .wd-carousel,
    .elementor-1832 #slider-335 .wd-carousel-wrap,
    .elementor-1832 #slider-335 .wd-slide {
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* =====================================================
   O'PERFUME - HOME MOBILE HERO UNDER HEADER
   Stable with Woodmart sticky header
===================================================== */
@media (max-width: 767px) {

    /* جلوگیری از فضای 60px که Woodmart بعد از لود اضافه می‌کند */
    body.home .whb-header.whb-sticky-prepared {
        padding-top: 0 !important;
    }

    /* ردیف سراسری هدر شفاف باشد؛ خود کپسول سفید می‌ماند */
    body.home .whb-header:not(.whb-sticked) .whb-general-header {
        background: transparent !important;
    }

    /* Hero به طور ثابت زیر کپسول برود */
    body.home .wd-page-content.main-page-wrapper {
        margin-top: -78px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* هدر همیشه بالای Hero */
    body.home .whb-main-header {
        z-index: 390 !important;
    }

    /* وقتی Sticky فعال شد، Woodmart دوباره فاصله ایجاد نکند */
    body.home .whb-header.whb-sticked {
        padding-top: 0 !important;
    }
}
