


/* ==========================================================
   1. GLOBAL & TYPOGRAPHY SETTINGS
   ========================================================== */

.wd-text-block.reset-last-child a:hover,
.wd-shop-desc a:hover,
div#tab-description a:hover,
.single-post .entry-content a:hover,
.single-post .wd-entry-content a:hover {
    text-decoration: none;
}

/* Header & Menu hover states */
ul.sub-sub-menu a:hover, 
.wd-dropdown-menu .seo-text a:hover, 
.navigation-level2 a:hover, 
.seo-text a:hover,
.wp-block-list li:hover {
    text-decoration: underline;
}

/* Blog post title links */
.entry-content a,
.wd-entry-content a,
.wp-block-post-content a,
.wd-post-title a {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

/* Page Title - size */
.title-size-small .title { font-size: 26px; }
h1.entry-title.title { text-transform: capitalize; }

/* Global Icons Prevent Resize */
.product-benefits svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
}
span.cc-1p2bq.cc-1e566 {
    background-size: cover !important;
    background-position: center !important;
}


/* ==========================================================
   2. HEADER & NAVIGATION (MOBILE & DESKTOP)
   ========================================================== */
.discount-amount { width: 100% !important; }
.wd-nav.wd-nav-main > li.current-menu-item > a {
    color: black;
    text-decoration: none !important;
}
.wcml-dropdown li { border: none; }

/* Mobile Menu Active Item Background */
.wd-nav-mobile li.opener-page > a {
    background-color: #F7F7F7 !important; 
    color: #000000 !important;            
}
.wd-nav-mobile .wd-sub-menu li a { color: #575757; }

/* Sub Menu Padding */
ul.wd-sub-menu > li.menu-item > a.woodmart-nav-link { padding-left: 30px !important; }
ul.wd-sub-menu ul.sub-sub-menu > li.menu-item > a.woodmart-nav-link { padding-left: 45px !important; }

/* Sales & Gift Nav Buttons (Optimized - applied globally) */
li[class*="sales-menu"] { background-color: transparent; }
li[class*="sales-menu"] > a { color: #db2421 !important; }
li[class*="gift-menu"] { background-color: transparent; }
li[class*="gift-menu"] > a { color: #0D2840 !important; }

@media only screen and (max-width: 1024px) {
    .wd-tools-element > a, .site-logo { padding-inline: 7px; }
    .wd-header-html {
        padding-inline: 7px;
        padding-inline-start: 7px;
        padding-inline-end: 7px;
    }
}


/* ==========================================================
   3. WOOCOMMERCE & PRODUCT PAGES
   ========================================================== */
/* Hide unnecessary elements */
.product_meta > span.sku_wrapper,
.product_meta > span.posted_in,
tr.woocommerce-product-attributes-item--attribute_pa_size,
tr.woocommerce-product-attributes-item--attribute_pa_popular-fragrances,
.add_gift_card_form,
.wd-checkout-remove-btn:after,
a.woocommerce-button.button.pay,
.wd-popup.popup-quick-view .product_meta {
    display: none;
}

/* Product Meta Underline */
.product_meta a { text-decoration: underline; }

/* Woocommerce Messages & Colors */
.woocommerce-store-notice { z-index: 3510000000 !important; }       
span.woocommerce-Price-amount.amount { color: black; }
ul:is(.woocommerce-error,.woocommerce-message,.woocommerce-info) li > a { color: black !important; }

/* Notify button for out of stock items */
.cwginstock-subscribe-form .panel-primary > .panel-heading {
    color: #fff;
    background-color: #E6E3DA;
    border-color: #000000;
}
.cwginstock-panel-heading h4 { color: #000000; }
.cwgstock_button { background-color: black; }
input.cwgstock_button { color: white; }

/* Star Rating & Swatches */
.star-rating { margin-top: 0px !important; }
[class*="wd-swatches"].wd-text-style-4 .wd-swatch.wd-text .wd-swatch-text {
    font-size: calc(var(--wd-swatch-text-size) - 1px);
    font-weight: 400;
    padding: 5px;
}


/* ==========================================================
   4. PRODUCT GRID & CATEGORY LISTINGS
   ========================================================== */
/* Category Grid Arrangements */ 
.category-image-grid .products.wd-products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    text-align: center;
}
.category-image-grid .products.wd-products > * {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 1024px) { .category-image-grid .products.wd-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .category-image-grid .products.wd-products { grid-template-columns: repeat(2, 1fr); } }

/* Out of Stock Styling */
.wd-product.outofstock {
    opacity: 0.7;
    filter: grayscale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wd-product.outofstock:hover { opacity: 0.9; filter: grayscale(0.3); }
.wd-product.outofstock .price, 
.wd-product.outofstock .wd-add-btn { opacity: 0.5; }
.wd-product.outofstock .product-label.out-of-stock {
    background-color: #898989 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 600;
}

/* Category Read More */
button.custom-cat-read-more {
    background: transparent !important;
    border: none !important;
    color: #898989 !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    cursor: pointer;
    border-bottom: 1px solid #898989 !important;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: none !important;
    display: inline-block;
    margin-top: 10px;
}
button.custom-cat-read-more:hover {
    color: #000000 !important;
    border-bottom-color: #000000 !important;
}




/* ==========================================================
   6. PRODUCT LABELS
   ========================================================== */
span.attribute-label.product-label.label-attribute-pa_discount  { background-color: #EA4630 !important; }
span.attribute-label.product-label.label-term-summer-sale.label-attribute-pa_discount { background-color: #619394 !important; }
.product-labels .product-label.new { background-color: #708573; }
span.onsale.product-label { display: none; }
.wd-carousel-inner span.attribute-label.product-label.label-term-flash-sale.label-attribute-pa_label,
.wd-gallery-images .wd-carousel-inner span.attribute-label.product-label.label-term-summer.label-attribute-pa_seasonal-type {
  display: none;
}
span.attribute-label.product-label.label-term-new.label-attribute-pa_label { background-color: red; }

@media only screen and (min-width: 1025px) {
    .wd-carousel-inner span.attribute-label.product-label.label-term-summer.label-attribute-pa_seasonal-type { top: 20em; }
    span.attribute-label.product-label.label-term-summer.label-attribute-pa_seasonal-type {
        background: transparent; color: #959595; position: absolute; width: max-content; top: 21em;
    }
    span.attribute-label.product-label.label-term-flash-sale.label-attribute-pa_label {
        background: transparent; color: #959595; position: absolute; width: max-content; top: 21em; left: 17em;
    }
    span.attribute-label.product-label.label-term-just-arrive.label-attribute-pa_label { font-size: 0.75em; }
}
@media only screen and (max-width: 1024px) {
    .wd-carousel-inner span.attribute-label.product-label.label-term-summer.label-attribute-pa_seasonal-type { top: 24em; }
    span.attribute-label.product-label.label-term-summer.label-attribute-pa_seasonal-type {
        background: transparent; color: #959595; position: absolute; width: max-content; top: 14em;
    }
    span.attribute-label.product-label.label-term-flash-sale.label-attribute-pa_label {
        background: transparent; color: #959595; position: absolute; width: max-content; top: 14em; left: 11em;
    }
    span.attribute-label.product-label.label-term-just-arrive.label-attribute-pa_label { font-size: 0.7em; }
}


/* ==========================================================
   7. BLOG & GUTENBERG BUTTONS
   ========================================================== */
li.meta-author, .title-blog { display: none; }
.wd-post-cat.wd-style-with-bg a { color: white; }

/* Gutenberg Native Button Blocks in Single Post */


/* Load More Button (Woodmart + Gutenberg Blocks) */
.wd-loop-footer .wd-load-more,
.wc-block-load-more .wp-block-button__link {
    transition: all 0.3s ease !important; 
    border-radius: 5px !important; 
    padding: 10px 24px !important;
    font-family: "Poppins", Sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    cursor: pointer;
    box-shadow: none;
}
.wd-loop-footer .wd-load-more:hover,
.wc-block-load-more .wp-block-button__link:hover {
    background-color: #FFFFFF !important; 
    color: #000000 !important; 
    opacity: 1 !important; 
}


/* ==========================================================
   8. LIGHTBOX & MISCELLANEOUS
   ========================================================== */
/* Recaptcha */
.grecaptcha-badge { visibility: hidden; }

/* Anchor links */
.anchorbrand { scroll-margin-top: 10em; }

/* Search dropdown */
.autocomplete-suggestions { background-color: white; }
.autocomplete-suggestions:active, .autocomplete-suggestions:hover { background-color: white; }

/* Remove OWL Carousel White Shadow */
.wd-carousel-dis-mb .wd-carousel-wrap {
    mask-image: unset;
    -webkit-mask-image: unset;
}

/* Scrollable Container Settings */
.scrollable-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
}
.scrollable-container::-webkit-scrollbar { width: 6px; }
.scrollable-container::-webkit-scrollbar-track { background: #F6F6F6; border-radius: 10px; }
.scrollable-container::-webkit-scrollbar-thumb { background: #898989; border-radius: 10px; }
.scrollable-container::-webkit-scrollbar-thumb:hover { background: #000000; }

/* Sidebar */
@media (max-width: 1024px) {
    .wd-side-hidden { --wd-side-hidden-w: min(320px, 90vw); }
}

/* Woodmart Lightbox Bottom Bar (Photoswipe Native) */
.pswp__bg {
    background-color: #ffffff !important; 
    opacity: 0.9 !important;
}
.pswp__top-bar {
    top: auto !important;         
    bottom: 0 !important;         
    height: 60px !important;      
    background-color: #ffffff !important; 
    border-top: 1px solid #000000 !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    padding-bottom: env(safe-area-inset-bottom) !important; 
    opacity: 1 !important;
}
.pswp__counter {
    position: static !important; 
    height: auto !important;
    margin: 0 !important;
    font-family: "Glacial Indifference", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    opacity: 1 !important;
}
.pswp__button--close {
    position: static !important; 
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    opacity: 1 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.pswp__button--close:before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important; 
    right: 32px !important; 
    width: 20px !important;
    height: 2px !important;
    background-color: #000000 !important;
    transform: rotate(45deg) !important;
}
.pswp__button--close:after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    right: 32px !important;
    width: 20px !important;
    height: 2px !important;
    background-color: #000000 !important;
    transform: rotate(-45deg) !important;
}
.pswp__top-bar .pswp__button--close { position: relative !important; }
.pswp__button--close:before,
.pswp__button--close:after {
    right: auto !important;
    left: 50% !important;
    top: 50% !important;
    margin-left: -10px !important; 
    margin-top: -1px !important;  
}
.pswp__button--arrow--left, 
.pswp__button--arrow--right {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    top: 50% !important;
    margin-top: -25px !important;
    width: 50px !important;
    height: 50px !important;
}
.pswp__button--arrow--left:before, 
.pswp__button--arrow--right:before {
    content: '' !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    background: transparent !important;
    border-top: 2px solid #000000 !important;
    border-right: 2px solid #000000 !important;
}
.pswp__button--arrow--left:before { transform: rotate(-135deg) !important; margin-left: 12px !important; }
.pswp__button--arrow--right:before { transform: rotate(45deg) !important; margin-right: 12px !important; }
.pswp__button--share, .pswp__button--fs, .pswp__button--zoom, .pswp__preloader { display: none !important; }


/* Mobile menu area */
.widgetarea-mobile {
    background: #f7f7f7;
}




/* Image Rounding (Tailwind border-radius equivalent) */
.beautinow-rounded-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(26,28,28,0.06);
}

/* ==========================================================
   Brand Marquee Animation (Continuous scrolling text/logos)
   ========================================================== */

@keyframes beautinow_marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.beautinow-marquee-container {
    display: flex;
    overflow: hidden;
    background-color: #f7f7f7;
    padding: 2rem 0;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}

.beautinow-marquee-content {
    display: flex;
    gap: 6rem;
    animation: beautinow_marquee 30s linear infinite;
    white-space: nowrap;
    opacity: 0.5;
    font-size: 1.5rem;
    font-style: italic; /* For brand names/logos */
}

/* ==========================================================
   BEAUTINOW HOMEPAGE GUTENBERG MIGRATION STYLES
   ========================================================== */

/* Hero Banner Typography */
.beautinow-hero-subtitle {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-in-out;
}

.beautinow-hero-title {
    color: #ffffff;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 2rem;
}

.beautinow-hero-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 500px;
    margin-bottom: 3rem;
    font-weight: 300;
}




/* White Underline Link */
.beautinow-link-white a {
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 3px;
    transition: opacity 0.3s ease;
}

.beautinow-link-white a:hover {
    opacity: 0.7;
}

/* Simple Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 1. Ana Kapsayıcı (Container) Ayarları - Scroll olmasını sağlayan sihirli kısım */
.horizontal-scrollable-bar {
    display: flex !important;
    flex-wrap: nowrap !important; /* İçeriğin alt satıra geçmesini KESİN engeller */
    overflow-x: auto !important; /* Sağa doğru taşan kısmı scroll edilebilir yapar */
    -webkit-overflow-scrolling: touch; /* Mobil cihazlarda yağ gibi akıcı kaydırma (smooth scroll) sağlar */
    padding-bottom: 12px; /* Scrollbar'ın butonlara çok yapışmaması için alt boşluk */
    gap: 10px; /* Butonlar arasına esneme yapmayan sabit boşluk ekler */
}

/* 2. Butonların sıkışmasını, daralmasını ve metnin alt satıra geçmesini engelle (Senin kodun) */
.horizontal-scrollable-bar > * {
    flex: 0 0 auto !important; /* Container daralsa bile kendi genişliğini korur */
    width: auto !important;
    white-space: nowrap !important;
    min-inline-size: max-content;
}

/* 3. Beautinow Özel Yatay Scrollbar Tasarımı (Senin kodun) */
.horizontal-scrollable-bar::-webkit-scrollbar {
    height: 4px;
}
.horizontal-scrollable-bar::-webkit-scrollbar-track {
    background: #F6F6F6; 
    border-radius: 10px;
}
.horizontal-scrollable-bar::-webkit-scrollbar-thumb {
    background: #898989; 
    border-radius: 10px;
}
.horizontal-scrollable-bar::-webkit-scrollbar-thumb:hover {
    background: #000000; 
}

/* Tabs heading */
.wd-tabs .tabs-name {
    margin-bottom: 20px;
}

/* blog images re-size */ 
/* Optimized image sizing for single blog posts on desktop */
@media only screen and (min-width: 1025px) {
    .single-post figure.wp-block-image.size-full.is-resized {
        width: 400px !important;
        height: auto !important; /* Maintains original aspect ratio */
    }

    /* Ensures the image inside the figure covers the area if specific height is required */
    .single-post figure.wp-block-image.size-full.is-resized img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
		.wd-post-thumb img {
    width: 500px;
    height: 236px;
    object-fit: cover;
}
}

.wd-post .wp-block-buttons>.wp-block-button.wp-block-button__width-100 {
    flex-basis: 100%;
    width: 300px !important;
    padding-right: 10px;
    padding-left: 10px;
}

/* Limit post titles to exactly 3 lines and add ellipsis for overflowing text */
.wd-post .wd-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits the text to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Keep your existing properties if needed */
    font-size: 1em;
    margin-top: -10px;
}

/* END -  blog images re-size */ 