/*
 Theme Name:   Elixirelle Child
 Theme URI:    https://elixirelle.com/
 Description:  Astra child theme for elixirelle.com — premium fragrance store (gold/black/cream palette)
 Author:       Omninode
 Author URI:   https://omninode.tech/
 Template:     astra
 Version:      1.1.4
 Text Domain:  elixirelle-child
*/

:root {
	--erx-primary: #c4a15a;
	--erx-dark: #14100c;
	--erx-light: #f9f6f0;
}

.ast-button,
button,
input[type="submit"],
.wp-block-button__link {
	background-color: var(--erx-primary);
	border-color: var(--erx-primary);
}

.ast-button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background-color: var(--erx-dark);
	border-color: var(--erx-dark);
}

.ast-above-header,
.main-header-bar {
	background-color: #ffffff;
}

.ast-above-header,
.main-header-bar,
.site-header {
	background-color: #0c0a08 !important;
	border-bottom: none !important;
}

.site-title a,
.main-header-bar a,
.ast-above-header a {
	color: #fff !important;
}

.main-header-bar .ast-main-header-bar-alignment {
	display: flex !important;
	align-items: center !important;
	gap: 24px;
}
.main-header-bar .site-header-primary-section-left {
	flex: 0 0 auto;
}
.main-header-bar .site-header-primary-section-center {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}
.main-header-bar .site-header-primary-section-right {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
}

.main-header-bar svg,
.ast-site-header-cart svg,
.astra-account-icon svg,
.ast-header-account-item svg,
.ast-header-account-item i {
	fill: #d8bd85 !important;
	stroke: #d8bd85 !important;
	color: #d8bd85 !important;
}

.ast-header-account-item img {
	filter: brightness(0) saturate(100%) invert(69%) sepia(21%) saturate(1099%) hue-rotate(358deg) brightness(94%) contrast(90%);
}

.ast-site-header-cart .ast-cart-menu-wrap a {
	background-color: transparent !important;
	border: 1px solid #d8bd85 !important;
	border-radius: 50% !important;
	padding: 8px !important;
}

/* ================= BEST SELLING SECTION ================= */

.best-selling-section .wp-block-heading,
h2.best-selling-title {
    font-size: 36px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #c4a15a, #8a6a35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
    margin-bottom: 8px;
}

.best-selling-section .wp-block-heading a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.best-selling-section .wp-block-heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #c4a15a, #8a6a35);
    margin: 14px 0 35px;
}

.best-selling-section {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    max-width: 1200px;
    margin: 24px auto 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.best-selling-section ul {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

@media (max-width: 992px) {
    .best-selling-section ul {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

.best-selling-section .wc-block-product {
    border: 1.5px solid #eee !important;
    border-radius: 14px !important;
    padding: 12px !important;
    background: #fff !important;
    box-shadow: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    list-style: none;
}
.best-selling-section .wc-block-product:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,0.10) !important;
    border-color: #c4a15a !important;
    transform: translateY(-4px);
}

.best-selling-section .wc-block-product img {
    border-radius: 10px !important;
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    margin-bottom: 12px;
}

.best-selling-section .wp-block-woocommerce-product-sale-badge,
.best-selling-section .wc-block-components-product-sale-badge {
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    background: #c4a15a !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
}

.best-selling-section .wp-block-post-title,
.best-selling-section h2.wp-block-post-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 8px 0 !important;
}

.best-selling-section .wc-block-components-product-price del,
.best-selling-section .price del {
    color: #999 !important;
    opacity: 0.6;
    font-size: 13px !important;
}
.best-selling-section .wc-block-components-product-price ins,
.best-selling-section .price ins {
    color: #c4a15a !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

.best-selling-section .wc-block-components-product-button__button,
.best-selling-section .wp-block-woocommerce-product-button a {
    display: block !important;
    width: 100% !important;
    background: #c4a15a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-align: center !important;
}
.best-selling-section .wc-block-components-product-button__button:hover,
.best-selling-section .wp-block-woocommerce-product-button a:hover {
    background: #a8823f !important;
}

/* ================= FOOTER CTA BANNER (HTML widget-e style tag shoho already ache) ================= */
.erx-cta-banner {
    background: #0c0a08;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.erx-cta-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}
.erx-cta-logo-img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.erx-cta-logo span {
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
}
.erx-cta-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 20px;
}
.erx-cta-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
}
.erx-cta-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.erx-cta-socials a:hover {
    transform: scale(1.15);
}
.erx-cta-socials img {
    width: 32px;
    height: 32px;
}

/* ================= FOOTER MENU HORIZONTAL ================= */
#astra-footer-menu.ast-nav-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 24px !important;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* ================= FOOTER MENU - VERTICAL + HEADING ================= */
.site-footer-primary-section-2 .footer-widget-area .widget-title,
.site-footer-primary-section-2 h2.widget-title,
.site-footer-primary-section-2 h3.widget-title {
    display: block !important;
    color: #c4a15a !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px !important;
}
.site-footer-primary-section-2 .widget-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #c4a15a;
    margin-top: 10px;
    border-radius: 2px;
}

nav#astra-footer-menu.ast-nav-menu,
#astra-footer-menu.ast-nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#astra-footer-menu.ast-nav-menu > li.menu-item {
    display: block !important;
    width: 100%;
    margin: 0 !important;
}

#astra-footer-menu .menu-link {
    color: #d1d1d1 !important;
    font-size: 15px !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}
#astra-footer-menu .menu-link:hover {
    color: #c4a15a !important;
}

/* ================= HEADER: OFFERS / HOT DEALS ITEMS ================= */
.erx-header-icons {
	display: flex;
	align-items: center;
	gap: 32px;
}
.erx-header-item {
	display: flex !important;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}
.erx-icon {
	width: 22px;
	height: 22px;
	color: #d8bd85;
	flex-shrink: 0;
}
.erx-item-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}
.erx-item-text strong {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}
.erx-item-text small {
	font-size: 11px;
	font-weight: 500;
	color: #9CA3AF;
}

.ast-header-html-1,
.ast-header-html-2 {
	flex: 0 0 auto !important;
	min-width: max-content !important;
}

.ast-header-html-1 .ast-header-html,
.ast-header-html-2 .ast-header-html,
.ast-header-html-1 .ast-builder-html-element,
.ast-header-html-2 .ast-builder-html-element,
.ast-header-html-1 p,
.ast-header-html-2 p {
	margin: 0 !important;
	flex: 0 0 auto !important;
	min-width: max-content !important;
}

.erx-icon-link {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	flex: 0 0 auto !important;
	min-width: max-content !important;
}

.erx-icon-link::before {
	content: "";
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-size: contain;
}

.erx-icon-offers::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a15a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4'%3E%3C/rect%3E%3Cpath d='M12 8v13'%3E%3C/path%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'%3E%3C/path%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8z'%3E%3C/path%3E%3Cpath d='M16.5 8a2.5 2.5 0 0 0 0-5C13 3 12 8 12 8z'%3E%3C/path%3E%3C/svg%3E");
}

.erx-icon-deals::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c4a15a'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-12h-7l1-8z'%3E%3C/path%3E%3C/svg%3E");
}

.erx-icon-text {
	display: flex !important;
	flex-direction: column !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
}

.erx-icon-text strong {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}

.erx-icon-text small {
	font-size: 11px;
	font-weight: 500;
	color: #9CA3AF;
	white-space: nowrap;
}

.site-header-primary-section-right,
.site-header-primary-section-right-center {
	flex-shrink: 0 !important;
}

/* ================= HEADER: SEARCH BAR (final) ================= */
.site-header-primary-section-center {
	flex: 1 1 auto !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

.ast-builder-layout-element.ast-header-search {
	max-width: 700px !important;
	width: 100% !important;
}

.ast-search-menu-icon.slide-search {
	position: relative !important;
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
}

.ast-search-menu-icon.slide-search .ast-search-icon,
.ast-search-menu-icon.slide-search .ast-search-icon svg {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
}

.ast-search-menu-icon.slide-search .search-form {
	width: 100% !important;
	margin: 0 !important;
	position: static !important;
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	align-items: center !important;
}

.ast-search-menu-icon.slide-search .search-form {
	width: 100% !important;
	margin: 0 !important;
	position: static !important;
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	align-items: center !important;
}

.ast-search-menu-icon.slide-search input.search-field {
	position: static !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	height: 46px !important;
	line-height: 46px !important;
	box-sizing: border-box !important;
	padding: 0 20px 0 46px !important;
	border-radius: 24px !important;
	border: 1px solid #D1D5DB !important;
	background-color: #E5E7EB !important;
	color: #1a1a1a !important;
	font-size: 14px !important;
}

.ast-search-menu-icon.slide-search input.search-field::placeholder {
	color: #6B7280 !important;
}

.ast-search-menu-icon.slide-search input.search-field:focus {
	border-color: #d8bd85 !important;
	box-shadow: 0 0 0 2px rgba(196, 161, 90,0.2) !important;
}
/* Force desktop search style on ALL screen sizes */
.ast-mobile-header-search-icon,
.ast-mobile-header .ast-search-menu-icon .ast-icon {
    display: none !important;
}

.ast-header-search .ast-search-menu-icon.slide-search {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
}

/* Ensure input box always visible, full width, rounded */
.ast-search-menu-icon.slide-search .search-form,
.ast-search-menu-icon.slide-search input.search-field {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
}
.ast-search-menu-icon.slide-search .search-submit {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
}

.ast-search-menu-icon.slide-search .search-submit i,
.ast-search-menu-icon.slide-search .search-submit .ast-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 1 !important;
}

.ast-search-menu-icon.slide-search .search-submit .ast-icon.icon-search svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    fill: #6B7280 !important;
}
.ast-builder-grid-row.ast-builder-grid-row-has-sides {
    position: relative !important;
}

.ast-builder-layout-element.ast-header-search {
    position: absolute !important;
    top: 75% !important;
    left: 38% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 !important;
    z-index: 5 !important;
}
.ast-builder-layout-element.ast-header-search {
    max-width: 550px !important;
}
/* ================= LIVE SEARCH RESULTS FIX ================= */
.ast-search-menu-icon.slide-search,
.ast-search-menu-icon.slide-search .search-form {
    overflow: visible !important;
}

.ast-live-search-results {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    z-index: 999 !important;
    max-height: 400px !important;
    overflow-y: auto !important;
}

.ast-live-search-results a.ast-search-item,
.ast-live-search-results a.ast-search-item span {
    color: #1a1a1a !important;
    background: transparent !important;
}

.ast-live-search-results a.ast-search-item:hover {
    background: #f5f5f5 !important;
    color: #c4a15a !important;
}

.ast-live-search-results a.ast-search-item:hover span {
    color: #c4a15a !important;
}
/* ================= FLOATING BUTTONS (Cart + WhatsApp) — SITE-WIDE ================= */
.erx-floating-buttons {
    position: fixed !important;
    bottom: 90px !important;
    right: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    z-index: 9998 !important;
}

.erx-float-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    transition: transform 0.2s ease !important;
}
.erx-float-btn:hover {
    transform: scale(1.1) !important;
}

.erx-float-whatsapp {
    background: #25D366 !important;
}
.erx-float-whatsapp img {
    width: 28px !important;
    height: 28px !important;
}

.erx-float-cart {
    background: #c4a15a !important;
}

@media (max-width: 768px) {
    .erx-floating-buttons {
        bottom: 150px !important;
        right: 10px !important;
    }
    .erx-float-btn {
        width: 40px !important;
        height: 40px !important;
    }
    .erx-float-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
}
/* ================= CUSTOM CART DRAWER ================= */
.erx-cart-drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}
.erx-cart-drawer-overlay.active { display: block; }

.erx-cart-drawer {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.erx-cart-drawer.active { right: 0; }

.erx-cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #0c0a08;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}
.erx-cart-drawer-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.erx-cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
.erx-cart-drawer-body .widget_shopping_cart_content ul.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
}
.erx-cart-drawer-body .woocommerce-mini-cart-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.erx-cart-drawer-body .total {
    font-weight: 700;
    font-size: 16px;
    margin-top: 12px;
}
.erx-cart-drawer-body .button {
    display: block;
    text-align: center;
    background: #c4a15a !important;
    color: #fff !important;
    padding: 12px !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
    text-decoration: none;
}
.erx-cart-drawer-body .button:hover {
    background: #a8823f !important;
}
/* ================= UNIVERSAL PRODUCT CARD — SITE-WIDE ================= */

/* Grid layout for classic WooCommerce loop (Shop, Category, Search, Related products) */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
@media (max-width: 992px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

/* Card style — classic loop */
ul.products li.product,
.wc-block-product {
    border: 1.5px solid #eee !important;
    border-radius: 14px !important;
    padding: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease !important;
    text-align: left !important;
    list-style: none !important;
}
ul.products li.product:hover,
.wc-block-product:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,0.10) !important;
    border-color: #c4a15a !important;
    transform: translateY(-4px) !important;
}

/* Image */
ul.products li.product img,
.wc-block-product img {
    border-radius: 10px !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 12px !important;
}

/* Sale badge (classic loop) */
ul.products li.product .onsale {
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    background: #c4a15a !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
}

/* Title */
ul.products li.product h2,
ul.products li.product .woocommerce-loop-product__title,
.wc-block-product .wp-block-post-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 8px 0 !important;
}

/* Price */
ul.products li.product .price del,
.wc-block-product .price del {
    color: #999 !important;
    opacity: 0.6 !important;
    font-size: 13px !important;
}
ul.products li.product .price ins,
.wc-block-product .price ins {
    color: #c4a15a !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

/* Add to cart button */
ul.products li.product .button,
ul.products li.product a.add_to_cart_button,
.wc-block-product .wc-block-components-product-button__button {
    display: block !important;
    width: 100% !important;
    background: #c4a15a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 10px !important;
}
ul.products li.product .button:hover,
ul.products li.product a.add_to_cart_button:hover,
.wc-block-product .wc-block-components-product-button__button:hover {
    background: #a8823f !important;
}
/* ================= PRODUCT TITLE LINK STYLE — SITE-WIDE ================= */
ul.products li.product h2 a,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product a.woocommerce-LoopProduct-link,
.wc-block-product .wp-block-post-title a,
.best-selling-section .wp-block-post-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

ul.products li.product h2 a:hover,
ul.products li.product .woocommerce-loop-product__title:hover,
.wc-block-product .wp-block-post-title a:hover,
.best-selling-section .wp-block-post-title a:hover {
    color: #c4a15a !important;
    text-decoration: none !important;
}

.erx-marquee-wrap {
    background: #c4a15a;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    width: 100%;
}
.erx-marquee-track {
    display: inline-flex;
    align-items: center;
    animation: erx-marquee-scroll 22s linear infinite;
}
.erx-marquee-wrap:hover .erx-marquee-track,
.erx-marquee-wrap:active .erx-marquee-track {
    animation-play-state: paused;
}
.erx-marquee-item {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 8px;
}
.erx-marquee-sep {
    color: #ecdfc4;
    font-size: 14px;
}
@keyframes erx-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.erx-carousel-wrap {
    position: relative;
    padding: 0 44px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.erx-carousel-track::-webkit-scrollbar {
    display: none;
}

.erx-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #eee;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 16px;
    color: #1a1a1a;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.erx-carousel-btn:hover {
    background: #c4a15a;
    color: #fff;
    border-color: #c4a15a;
}
.erx-carousel-prev { left: 0; }
.erx-carousel-next { right: 0; }

@media (max-width: 600px) {
    .erx-carousel-wrap {
        padding: 0 26px 0 26px;
        padding-right: 68px; /* extra room so cards clear the floating WhatsApp/Cart buttons */
    }
    
    .erx-carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .erx-carousel-prev { left: -2px; }
    .erx-carousel-next { right: 40px; }
}


/* ================= UNIVERSAL PRODUCT TITLE — 2-LINE CLAMP ================= */
ul.products li.product h2,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product a.woocommerce-LoopProduct-link,
.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-post-title a,
.best-selling-section .wp-block-post-title,
.best-selling-section .wp-block-post-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    min-height: calc(1.35em * 2) !important;
}

/* =====================================================================
   Elixirelle brand blocks carried over from the site's existing theme
   (hero heading shine, fragrance-journey banner, gold testimonial carousel)
   ===================================================================== */
/* Start your custom CSS from here */
.hero-heading .uagb-ifb-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  color: #D9B77A !important;

  background: linear-gradient(
    100deg,
    #D9B77A 0%,
    #D9B77A 35%,
    #FFFFFF 50%,
    #D9B77A 65%,
    #D9B77A 100%
  ) !important;
  background-size: 300% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: background-position;

  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero-heading .uagb-ifb-button-wrapper a {
  background: transparent !important;
  border: 1px solid #D4AF7A !important;
  color: #D4AF7A !important;
  padding: 14px 34px !important;
  border-radius: 2px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
}
.hero-heading .uagb-ifb-button-wrapper a:hover {
  background: #D4AF7A !important;
  color: #1a1a1a !important;
  border-color: #D4AF7A !important;
}
.hero-heading .uagb-ifb-button-wrapper svg,
.hero-heading .uagb-ifb-button-wrapper i {
  color: #D4AF7A !important;
  fill: #D4AF7A !important;
}
.hero-heading .uagb-ifb-button-wrapper a:hover svg,
.hero-heading .uagb-ifb-button-wrapper a:hover i {
  color: #1a1a1a !important;
  fill: #1a1a1a !important;
}

@media (max-width: 767px) {
  .hero-heading .uagb-ifb-title {
    font-size: 42px !important;
    line-height: 1.15 !important;
    word-wrap: break-word;
  }
}
/* Rounded boxed container */
.frag-journey-block {
  background: linear-gradient(135deg, #2a1f10 0%, #0d0d0d 100%) !important;
  border-radius: 24px !important;
  padding: 70px 40px !important;
  margin: 60px auto !important;
  max-width: 1100px !important;
  position: relative;
  overflow: hidden;
}

.frag-journey-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.frag-journey-block .uagb-ifb-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* Title */
.frag-journey-block .uagb-ifb-title-wrap,
.frag-journey-block .uagb-ifb-title {
  color: #f5f0e8 !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  font-size: 40px !important;
  letter-spacing: 0.5px;
  margin-bottom: 18px !important;
}

/* Description */
.frag-journey-block .uagb-ifb-desc,
.frag-journey-block .uagb-ifb-desc p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Button — outline gold, matching SHOP NOW / EXPLORE style site-wide */
.frag-journey-block .uagb-ifb-button-wrapper .wp-block-button__link {
  background: transparent !important;
  color: #d4af37 !important;
  border: 1px solid #d4af37 !important;
  border-radius: 4px !important;
  padding: 14px 34px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  margin-top: 25px !important;
  box-shadow: none !important;
}

.frag-journey-block .uagb-ifb-button-wrapper .wp-block-button__link:hover {
  background: #d4af37 !important;
  color: #0d0d0d !important;
}
:root {
  --erx-bg: #0c0a08;
  --erx-bg-2: #14100c;
  --erx-gold: #c4a15a;
  --erx-gold-soft: #d8bd85;
  --erx-cream: #f9f6f0;
  --erx-cream-dim: rgba(249, 246, 240, 0.7);
  --erx-border: rgba(196, 161, 90, 0.25);
}

.erx-reviews {
  position: relative;
  background: radial-gradient(ellipse at top, var(--erx-bg-2) 0%, var(--erx-bg) 70%);
  overflow: hidden;
  isolation: isolate;
}

.erx-particle-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.erx-particle {
  position: absolute;
  border: 1px solid var(--erx-gold);
  background: var(--erx-gold);
  will-change: transform;
  animation-name: erxFloat, erxSpin;
  animation-timing-function: ease-in-out, linear;
  animation-iteration-count: infinite, infinite;
}
@keyframes erxFloat {
  0%   { transform: translate3d(0, 110vh, 0) scale(var(--s)); }
  100% { transform: translate3d(var(--dx), -10vh, 0) scale(var(--s)); }
}
@keyframes erxSpin {
  0%   { transform: rotateX(0) rotateY(0) rotateZ(0); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg); }
}

.erx-header { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto 60px; }
.erx-eyebrow { display: block; letter-spacing: 0.35em; text-transform: uppercase; font-size: 12px; color: var(--erx-gold); margin-bottom: 14px; }
.erx-title { font-size: clamp(28px, 4vw, 42px); font-weight: 400; margin: 0; color: var(--erx-cream); }
.erx-title em { font-style: italic; color: var(--erx-gold-soft); }

.erx-carousel { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.erx-track-wrap { overflow: hidden; }
.erx-track { display: flex; transition: transform 0.7s cubic-bezier(.65,0,.35,1); }
.erx-slide { flex: 0 0 100%; padding: 6px; }
.erx-card {
  background: linear-gradient(180deg, rgba(196,161,90,0.06) 0%, rgba(0,0,0,0) 100%), var(--erx-bg-2);
  border: 1px solid var(--erx-border);
  border-radius: 2px;
  padding: 52px 48px;
  text-align: center;
}
.erx-stars { color: var(--erx-gold); font-size: 15px; letter-spacing: 4px; margin-bottom: 26px; }
.erx-quote { font-size: clamp(18px, 2.4vw, 23px); line-height: 1.65; font-style: italic; font-weight: 400; color: var(--erx-cream); margin: 0 0 30px; }
.erx-divider { width: 36px; height: 1px; background: var(--erx-gold); margin: 0 auto 22px; opacity: 0.6; }
.erx-name { font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--erx-gold-soft); margin: 0; }
.erx-role { font-size: 13px; color: var(--erx-cream-dim); margin: 4px 0 0; font-style: normal; }

.erx-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 36px; }
.erx-arrow {
  background: none; border: 1px solid var(--erx-border); color: var(--erx-gold);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.erx-arrow:hover { border-color: var(--erx-gold); color: var(--erx-cream); transform: scale(1.06); }
.erx-dots { display: flex; gap: 10px; }
.erx-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(196,161,90,0.35); border: none; cursor: pointer; padding: 0; transition: background 0.3s, transform 0.3s; }
.erx-dot.is-active { background: var(--erx-gold); transform: scale(1.4); }

@media (max-width: 600px) {
  .erx-card { padding: 38px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .erx-particle { animation: none; opacity: 0.1; }
  .erx-track { transition: none; }
}