/* ===============================
   COLOR SCHEME VARIABLES
================================ */
:root {
    --bg-cream: #f5f1e8;
    --text-olive: #1a5f5f;
    --text-olive-dark: #134848;
    --accent-olive: #2d7575;
    --white: #ffffff;
}

/* ===============================
   0) FULL HEADER FIXED TO TOP
================================ */

.store-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-cream);
}

/* Push page content down so it doesn't go under the fixed header */
body {
    padding-top: 120px;
    /* adjust if header is taller/shorter */
    background-color: var(--bg-cream) !important;
    color: var(--text-olive) !important;
}

/* Disable Salla's own fixed-header behavior */
.main-nav-container,
.main-nav-container.fixed-header,
.main-nav-container.fixed-pinned {
    position: static !important;
    top: auto !important;
}

/* ===============================
   1) MAIN NAV LAYOUT (your version)
================================ */

/* Make main-nav container a positioned parent for absolute children */
.main-nav-container .inner .container {
    position: relative;
}

/* Main row: keep flex, center vertically */
.main-nav-container .inner .container>.flex.items-stretch.justify-between.relative {
    align-items: center;
}

.main-nav-container .navbar-brand

/* LEFT: icons group (search, user, cart) */
#mainnav>div>div>div>div.flex.items-center.justify-end.my-2\.5 {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    gap: 12px;
}

/* RIGHT: burger/menu icon */
.main-nav-container .mburger {
    /* position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%); */
    margin: 0;
    display: block !important;
    /* show also on desktop */
}

/* CENTER: logo / store name from Salla */
.main-nav-container .navbar-brand {
    /* position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); */
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* DO NOT hide .main-menu – we want it in the mobile menu */

/* Icons look */
.header-btn__icon,
.s-cart-summary-icon,
.icon {
    font-size: 20px;
    color: var(--text-olive);
}

/* Hide cart price text; keep icon + badge */
.s-cart-summary-content {
    display: none !important;
}

/* Cart badge */
.s-cart-summary-count {
    background: var(--text-olive) !important;
    color: var(--white) !important;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 999px;
    text-align: center;
}

/* ===============================
   2) TOP NAVBAR (SEARCH BAR) WITH ANIMATION
================================ */

/* Base top-navbar style, but animated hidden state */
.store-header .top-navbar {
    display: flex;
    /* keep original flex layout */
    overflow: hidden;
    max-height: 0;
    min-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    transform: translateY(-10px);

    background-color: var(--bg-cream);
    transition:
        max-height 0.3s ease,
        padding 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* When search is open: expand with animation */
.store-header.search-open .top-navbar {
    max-height: 200px;
    /* enough to show search input */
    min-height: 0;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    opacity: 1;
    transform: translateY(0);
}

/* Make sure inner layout is nice */
.store-header .top-navbar .container {
    display: flex;
    align-items: center;
}

/* Hide the top menu links and header-buttons, keep only search */
.store-header .top-navbar salla-menu,
.store-header .top-navbar .header-buttons {
    display: none !important;
}

/* Let search take full width */
.store-header .top-navbar .header-search {
    flex: 1 1 auto;
}

/* ===============================
   3) MOBILE MENU CLOSE BUTTON & ICON FONT
================================ */

/* Salla icon font (already in theme usually, but safe to keep) */
[class^="sicon-"],
[class*=" sicon-"] {
    font-family: "sallaicons" !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Close button positioning (RTL) */
.btn--close:where([dir=rtl], [dir=rtl] *) {
    left: 0;
}

/* On >= 480px: show the close button */
@media (min-width: 480px) {
    .btn--close {
        display: block;
    }
}

/* Base close button style */
.btn--close {
    display: none;
    font-size: 1.5rem;
    height: 3rem;
    line-height: 2rem;
    position: absolute;
    top: 0;
    width: 3.5rem;
    z-index: 50;
    --tw-text-opacity: 1;
    color: var(--text-olive);
}

/* X icon glyph */
.sicon-cancel:before {
    content: "\ea47";
}


#mainnav>div>div>div>div.flex.items-center.justify-end.my-2\.5>salla-cart-summary *,
#mainnav>div>div>div>div.flex.items-center.justify-end.my-2\.5>salla-cart-summary {
    margin: 0 !important;
}





/* امسح البوردر الـ dashed + العرض */
@media (min-width: 480px) {
    .categories-section-custom .banner-entry h3.text-with-border {
        border-width: 0 !important;
    }
}

.categories-section-custom .banner-entry h3.text-with-border {
    border: none !important;
    border-radius: 0 !important;
}

/* امسح ارتفاع 100% + البادينج الجانبي */
.categories-section-custom .banner-entry.square-photos h3 {
    height: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* امسح الترانسليت والـ opacity في الشاشات الكبيرة */
@media (min-width: 1024px) {

    .categories-section-custom .banner-entry h3,
    .categories-section-custom .banner-entry p {
        opacity: 1 !important;
        transform: none !important;
        --tw-translate-y: 0 !important;
        --tw-translate-x: 0 !important;
    }
}

/* أوقف الترانزيشنز على h3 / p داخل البانر في هذا السكشن */
.categories-section-custom .banner-entry h3,
.categories-section-custom .banner-entry p {
    transition: none !important;
    position: static !important;
    /* العنوان تحت الصورة عادي */
    z-index: auto !important;
}

/* ألغِ البادينج الصغير على h3 في الشاشات المتوسطة */
@media (min-width: 480px) {
    .categories-section-custom .banner-entry h3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ألغِ الـ flex عشان العنوان يكون نص عادي */
.categories-section-custom .banner-entry h3 {
    display: block !important;
    flex-direction: initial !important;
    justify-content: initial !important;
}


/* ===============================
   RESET ORIGINAL SALLA EFFECTS
=============================== */

/* Remove hover overlay */
.categories-section-custom .banner-entry.has-overlay::after {
    display: none !important;
    content: none !important;
}

/* Remove hover transforms */
.categories-section-custom .banner-entry:hover h3,
.categories-section-custom .banner-entry:hover p {
    opacity: 1 !important;
    transform: none !important;
}

/* Disable all animations / transitions */
.categories-section-custom .banner-entry,
.categories-section-custom .banner-entry * {
    transition: none !important;
    animation: none !important;
}

/* ===============================
   CLEAN IMAGE GRID STYLE (LIKE YOUR IMAGE)
=============================== */

/* Center the section header title */
.categories-section-custom .s-block__title {
    justify-content: center !important;
    text-align: center !important;
}

.categories-section-custom .s-block__title .right-side {
    padding-left: 0 !important;
}

.categories-section-custom .s-block__title h2 {
    text-align: center !important;
    width: 100%;
}

/* Card layout */
.categories-section-custom .banner-entry {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    height: auto !important;
    overflow: visible !important;
    box-shadow: none !important;
    text-align: center;
}

/* Make background act like normal image */
.categories-section-custom .banner-entry .lazy__bg {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    padding-top: 0 !important;
    aspect-ratio: 1 / 1;
    /* مربعات */
    background-size: cover !important;
    background-position: center !important;
    border-radius: 0 !important;
}

/* Move title under the image */
.categories-section-custom .banner-entry h3.text-with-border {
    position: static !important;
    border: 0 !important;
    background: transparent !important;
    display: block !important;
    margin-top: 12px !important;
    padding: 0 !important;
}

/* Clean title text */
.categories-section-custom .banner-entry h3.text-with-border span {
    background: none !important;
    color: var(--text-olive) !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}



.btn--close {
    display: block !important;
    color: var(--text-olive) !important;
}

li.\!hidden.lg\:\!block.root-level.lg\:\!inline-block {
    display: none !important;
}


.main-menu li>a {
    justify-content: initial !important;
}









/* =========================================
   GLOBAL GRID (ALL PRODUCT LISTS)
========================================= */

.s-products-list-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
}

/* Tablet */
@media (max-width: 1023.98px) {
    .s-products-list-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
    }
}

/* Mobile */
@media (max-width: 639.98px) {
    .s-products-list-wrapper {
        grid-template-columns: 1fr;
        gap: 1px;
    }
}

/* =========================================
   PRODUCT CARD BASE
========================================= */

.s-product-card-entry {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border-radius: 0 !important;
    overflow: hidden;
    position: relative;
    background: var(--white);
    border-width: 1px;

}

/* =========================================
   IMAGE - FIXED HEIGHT (NO 0px BUG)
========================================= */

.s-product-card-image {
    width: 100% !important;
    height: 380px !important;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    display: block;
}

/* Anchor fills container */
.s-product-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Image fills container (NO absolute!) */
.s-product-card-image img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

/* Scale up image on card hover */
.s-product-card-entry:hover .s-product-card-image img {
    transform: scale(1.08);
}

/* =========================================
   CONTENT (TITLE + PRICE)
========================================= */

.s-product-card-content {
    position: relative;
    padding: 0.75rem 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.s-product-card-content-title {
    margin-bottom: 0.25rem;
    max-width: 100%;
}

.s-product-card-content-title a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-olive);
}

.s-product-card-content-sub {
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.s-product-card-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-olive-dark);
}

/* =========================================
   HOVER: ADD TO CART BAR
========================================= */

.s-product-card-content-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    padding: 0.75rem 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.s-product-card-entry:hover .s-product-card-content-footer {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   ADD TO CART BUTTON STYLE
========================================= */

salla-add-product-button button.s-button-element {
    background: var(--text-olive);
    color: var(--white) !important;
    border-radius: 0 !important;
    font-size: 0.875rem;
    padding: 9.6px;
    border: 0 !important;
}

salla-add-product-button button.s-button-element:hover {
    background: var(--text-olive-dark) !important;
}

salla-add-product-button .s-button-text span {
    white-space: nowrap;
}

/* =========================================
   GLOBAL BUTTON OVERRIDES
========================================= */

.s-button-light-outline {
    background: var(--text-olive);
    color: var(--white) !important;
    border-radius: 0 !important;
    border-color: transparent !important;
    border: 0 !important;
}

.s-button-light-outline:hover {
    background: var(--text-olive-dark) !important;
}

.s-product-card-out-of-stock img.loaded {
    filter: initial !important;
}

.s-product-card-image:hover,
.s-button-btn:hover {
    opacity: 1 !important;
}

.s-button-light-outline,
.s-button-light-outline:hover {
    border: 0 !important;
    border-color: transparent !important;
}

/* =========================================
   WISHLIST INSIDE FOOTER (NEW STYLE)
   This affects ONLY when wishlist is moved
   into .s-product-card-content-footer.gap-2
========================================= */

/* Wrapper inside footer: no absolute positioning */
.s-product-card-content-footer .s-product-card-wishlist-btn.s-button-wrap {
    position: static !important;
    opacity: 1 !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin: 0;
}

/* Button next to Add to Cart */
.s-product-card-content-footer .s-product-card-wishlist-btn.s-button-element {
    width: auto;
    height: 40px;
    border-radius: 0 !important;
    padding: 0 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Use same olive/white theme as Add to Cart */
.s-product-card-content-footer .s-product-card-wishlist-btn.s-button-element.s-button-light-outline {
    background: var(--text-olive) !important;
    color: var(--white) !important;
    border: 0 !important;
}

.s-product-card-content-footer .s-product-card-wishlist-btn.s-button-element.s-button-light-outline:hover {
    background: var(--text-olive-dark) !important;
}

/* Icon + (optional) text spacing */
.s-product-card-content-footer .s-product-card-wishlist-btn .s-button-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.s-product-card-content-footer .s-product-card-wishlist-btn i {
    font-size: 14px;
}

/* Remove margins Salla adds to icon buttons */
.s-product-card-content-footer .s-product-card-wishlist-btn.s-button-element {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


@media (min-width: 768px) {
    .s-product-card-vertical .s-product-card-wishlist-btn:where([dir=rtl], [dir=rtl] *) {
        left: initial !important;
        right: initial !important;
    }
}

.s-product-card-vertical .s-product-card-wishlist-btn:where([dir=rtl], [dir=rtl] *) {
    left: initial !important;
    right: initial !important;
}

@media (min-width: 768px) {
    .s-product-card-vertical .s-product-card-wishlist-btn {
        right: initial !important;
    }
}

.s-product-card-vertical .s-product-card-wishlist-btn {
    opacity: initial !important;
    position: initial !important;
    right: initial !important;
    top: initial !important;
}



.s-product-card-vertical .s-product-card-image {
    border: 0 !important;
    border-radius: 0 !important;
}



.s-products-slider-card {
    padding: 0 !important;
}

.swiper-wrapper {
    gap: 2px !important;
}

body .s-fast-checkout-button {
    border-radius: 0 !important;
}

salla-mini-checkout-widget {
    display: none !important;
}

.product-form .s-add-product-button-main .s-add-product-button-main {
    width: 100% !important;
}

.s-add-product-button-main:not(.w-full)>salla-button {
    width: 100% !important;
}

.s-product-card-wishlist-btn .s-button-text,
.btn--wishlist .s-button-text {
    padding: 10px !important;
}

/* ===============================
   GLOBAL COLOR OVERRIDES
================================ */

/* All headings use olive color */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-olive) !important;
}

/* All text elements */
p,
span,
div,
a {
    color: inherit;
}

/* Links */
a:not(.s-button-element):not(.btn) {
    color: var(--text-olive);
}

a:not(.s-button-element):not(.btn):hover {
    color: var(--text-olive-dark);
}

/* Section backgrounds */
.s-block,
section {
    background-color: transparent !important;
}

/* Category titles and section headers */
.s-block__title h2,
.s-block__title h3,
.section-title {
    color: var(--text-olive) !important;
}

/* Menu items */
.main-menu a {
    color: var(--text-olive) !important;
}

.main-menu a:hover {
    color: var(--text-olive-dark) !important;
}

/* Footer styling if exists */
footer,
.footer {
    background-color: var(--bg-cream) !important;
    color: var(--text-olive) !important;
}

/* Input fields and forms */
input,
textarea,
select {
    border-color: var(--text-olive) !important;
    color: var(--text-olive) !important;
}

input::placeholder,
textarea::placeholder {
    color: var(--accent-olive) !important;
    opacity: 0.6;
}

/* Primary buttons (general) */
.btn-primary,
.s-button-primary {
    background: var(--text-olive) !important;
    color: var(--white) !important;
    border-color: var(--text-olive) !important;
}

.btn-primary:hover,
.s-button-primary:hover {
    background: var(--text-olive-dark) !important;
    border-color: var(--text-olive-dark) !important;
}

/* Ensure product titles in all contexts use olive */
.product-title,
.s-product-title,
.product-name {
    color: var(--text-olive) !important;
}

/* Breadcrumbs */
.breadcrumb,
.breadcrumb-item,
.breadcrumb a {
    color: var(--text-olive) !important;
}

/* Pagination */
.pagination a,
.pagination button {
    color: var(--text-olive) !important;
    border-color: var(--text-olive) !important;
}

.pagination a:hover,
.pagination button:hover,
.pagination .active {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Search input styling */
.header-search input {
    border-color: var(--text-olive) !important;
    color: var(--text-olive) !important;
}

/* Mobile menu background */
.mobile-menu,
.mobile-nav {
    background: var(--bg-cream) !important;
}

/* ===============================
   ADDITIONAL SALLA ELEMENTS
================================ */

/* Badges and labels */
.badge,
.label,
.s-badge,
.product-badge {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Tabs */
.tabs .tab,
.s-tabs-item {
    color: var(--text-olive) !important;
    border-color: var(--text-olive) !important;
}

.tabs .tab.active,
.tabs .tab:hover,
.s-tabs-item.active,
.s-tabs-item:hover {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Filters and sorting */
.filter-item,
.sort-item,
.s-filter-option {
    color: var(--text-olive) !important;
    border-color: var(--text-olive) !important;
}

.filter-item.active,
.filter-item:hover,
.s-filter-option.active,
.s-filter-option:hover {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Modal and dialog */
.modal,
.dialog,
.s-modal {
    background: var(--bg-cream) !important;
    color: var(--text-olive) !important;
}

.modal-header,
.modal-title {
    color: var(--text-olive) !important;
    border-color: var(--text-olive) !important;
}

/* Alerts and notifications */
.alert,
.notification,
.s-alert {
    border-color: var(--text-olive) !important;
}

.alert-info,
.notification-info {
    background: var(--bg-cream) !important;
    color: var(--text-olive) !important;
}

/* Accordion */
.accordion-header,
.accordion-title {
    color: var(--text-olive) !important;
    background: var(--bg-cream) !important;
}

.accordion-content {
    background: var(--white) !important;
    color: var(--text-olive) !important;
}

/* Dropdown menus */
.dropdown,
.dropdown-menu,
.s-dropdown {
    background: var(--bg-cream) !important;
    border-color: var(--text-olive) !important;
}

.dropdown-item,
.dropdown-menu a {
    color: var(--text-olive) !important;
}

.dropdown-item:hover,
.dropdown-menu a:hover {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Loading states */
.loading,
.spinner,
.s-spinner {
    border-color: var(--text-olive) !important;
}

/* Disabled states */
button:disabled,
.btn:disabled,
.disabled {
    opacity: 0.5;
    background: var(--accent-olive) !important;
    color: var(--white) !important;
}

/* Product ratings */
.rating,
.product-rating,
.s-rating {
    color: var(--text-olive) !important;
}

/* Price styling - all contexts */
.price,
.s-price,
.product-price,
.s-product-price {
    color: var(--text-olive-dark) !important;
}

.price-old,
.s-price-old,
.old-price {
    color: var(--accent-olive) !important;
    text-decoration: line-through;
}

/* Quantity selector */
.quantity-selector,
.s-quantity-selector,
.qty-input {
    border-color: var(--text-olive) !important;
    color: var(--text-olive) !important;
}

.quantity-selector button,
.s-quantity-selector button {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Checkout elements */
.checkout-step,
.s-checkout-step {
    border-color: var(--text-olive) !important;
}

.checkout-step.active {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Cart items */
.cart-item,
.s-cart-item {
    border-color: var(--text-olive) !important;
}

/* Tags */
.tag,
.s-tag,
.product-tag {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Status indicators */
.status,
.s-status {
    color: var(--text-olive) !important;
}

/* Borders - ensure all borders use olive */
.border,
[class*="border-"] {
    border-color: var(--text-olive) !important;
}

/* Focus states for accessibility */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline-color: var(--text-olive) !important;
    border-color: var(--text-olive-dark) !important;
}

/* Social media icons */
.social-icon,
.s-social-icon {
    color: var(--text-olive) !important;
}

.social-icon:hover,
.s-social-icon:hover {
    color: var(--text-olive-dark) !important;
}

/* Newsletter subscription */
.newsletter,
.subscribe-form {
    background: var(--bg-cream) !important;
}

.newsletter input,
.subscribe-form input {
    border-color: var(--text-olive) !important;
    color: var(--text-olive) !important;
}

.newsletter button,
.subscribe-form button {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Product details page */
.product-details,
.s-product-details {
    color: var(--text-olive) !important;
}

.product-description,
.s-product-description {
    color: var(--text-olive) !important;
}

/* Reviews section */
.review,
.s-review {
    border-color: var(--text-olive) !important;
}

.review-author,
.review-title {
    color: var(--text-olive) !important;
}

/* Shipping and delivery info */
.shipping-info,
.delivery-info {
    color: var(--text-olive) !important;
    border-color: var(--text-olive) !important;
}

/* Back to top button */
.back-to-top,
.scroll-to-top {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Salla-specific button variants */
.s-button-btn,
salla-button button {
    background: var(--text-olive) !important;
    color: var(--white) !important;
    border-color: var(--text-olive) !important;
}

.s-button-btn:hover,
salla-button button:hover {
    background: var(--text-olive-dark) !important;
}

/* Main container backgrounds */
.container,
.s-container,
main {
    background-color: transparent !important;
}

/* Ensure all white backgrounds on sections show cream instead */
*[style*="background-color: white"],
*[style*="background-color: #fff"],
*[style*="background-color: #ffffff"],
*[style*="background: white"],
*[style*="background: #fff"],
*[style*="background: #ffffff"] {
    background-color: var(--bg-cream) !important;
}

/* Override any inline black text */
*[style*="color: black"],
*[style*="color: #000"],
*[style*="color: #000000"] {
    color: var(--text-olive) !important;
}

/* ===============================
   FINAL COMPREHENSIVE OVERRIDES
================================ */

/* SVG icons and paths */
svg {
    fill: currentColor;
}

svg path,
svg circle,
svg rect {
    fill: inherit;
}

/* Text selection */
::selection {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

::-moz-selection {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Scrollbar styling (webkit browsers) */
::-webkit-scrollbar {
    width: 10px;
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--text-olive);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-olive-dark);
}

/* Placeholder for all input types */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: var(--accent-olive) !important;
    opacity: 0.6;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: var(--accent-olive) !important;
    opacity: 0.6;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: var(--accent-olive) !important;
    opacity: 0.6;
}

/* Checkbox and radio buttons */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--text-olive);
}

/* Range slider */
input[type="range"] {
    accent-color: var(--text-olive);
}

/* Progress bar */
progress {
    accent-color: var(--text-olive);
}

progress::-webkit-progress-bar {
    background: var(--bg-cream);
}

progress::-webkit-progress-value {
    background: var(--text-olive);
}

progress::-moz-progress-bar {
    background: var(--text-olive);
}

/* Select dropdown arrow */
select {
    background-color: var(--white);
}

/* Links in specific states */
a:active {
    color: var(--text-olive-dark) !important;
}

a:visited:not(.s-button-element):not(.btn) {
    color: var(--text-olive);
}

/* Table elements if any */
table {
    border-color: var(--text-olive) !important;
}

th {
    background: var(--text-olive) !important;
    color: var(--white) !important;
    border-color: var(--text-olive-dark) !important;
}

td {
    border-color: var(--text-olive) !important;
}

/* Code blocks if any */
code,
pre {
    background: var(--bg-cream) !important;
    color: var(--text-olive) !important;
    border-color: var(--text-olive) !important;
}

/* Blockquote */
blockquote {
    border-left-color: var(--text-olive) !important;
    color: var(--text-olive) !important;
}

/* HR separator */
hr {
    border-color: var(--text-olive) !important;
}

/* List markers */
ul li::marker,
ol li::marker {
    color: var(--text-olive) !important;
}

/* Form validation states */
input:valid {
    border-color: var(--text-olive) !important;
}

input:invalid:not(:placeholder-shown) {
    border-color: var(--accent-olive) !important;
}

/* Loading skeleton if exists */
.skeleton,
.s-skeleton {
    background: var(--bg-cream) !important;
}

/* Tooltip */
.tooltip,
.s-tooltip {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Overlay and backdrop */
.overlay,
.backdrop,
.s-overlay {
    background-color: rgba(26, 95, 95, 0.5) !important;
}

/* Star ratings */
.star,
.star-rating i,
.s-rating-star {
    color: var(--text-olive) !important;
}

/* Price comparison */
.price-compare,
.price-discount {
    color: var(--accent-olive) !important;
}

/* Out of stock indicators */
.out-of-stock,
.s-out-of-stock {
    color: var(--accent-olive) !important;
}

/* Success messages */
.success,
.alert-success {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

/* Warning and error messages */
.warning,
.alert-warning,
.error,
.alert-error {
    border-color: var(--text-olive) !important;
    color: var(--text-olive-dark) !important;
}

/* Slider dots/pagination */
.swiper-pagination-bullet {
    background: var(--text-olive) !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--text-olive) !important;
    opacity: 1;
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text-olive) !important;
}

/* Card hover effects */
.card:hover,
.s-card:hover {
    border-color: var(--text-olive-dark) !important;
}

/* Dividers */
.divider,
.separator {
    background: var(--text-olive) !important;
    border-color: var(--text-olive) !important;
}

/* Chip/Tag close buttons */
.chip .close,
.tag .close {
    color: var(--white) !important;
}

/* Stepper */
.stepper-item.completed {
    background: var(--text-olive) !important;
    color: var(--white) !important;
}

.stepper-item.active {
    border-color: var(--text-olive) !important;
    color: var(--text-olive) !important;
}

/* Toggle switch */
.toggle,
.switch {
    background: var(--accent-olive) !important;
}

.toggle.active,
.switch.active,
input[type="checkbox"]:checked+.toggle,
input[type="checkbox"]:checked+.switch {
    background: var(--text-olive) !important;
}

/* Ensure all salla web components inherit colors */
salla-button,
salla-cart-summary,
salla-search,
salla-product-card,
salla-breadcrumb,
salla-offer {
    color: inherit !important;
}

/* Final catch-all for any missed elements */
* {
    scrollbar-color: var(--text-olive) var(--bg-cream);
}

.s-product-options-wrapper,
.s-quantity-input-input {
    background-color: var(--bg-cream) !important;
}


.store-footer__inner,
.store-header,
#mainnav,
.s-comments.s-comments-product {
    background-color: rgb(253 244 239) !important;
}

.main-nav-container {
    box-shadow: none !important;
}


.swal2-container>div {
    color: var(--bg-cream) !important;
    background-color: var(--text-olive) !important;
}

.swal2-container>div * {
    color: var(--bg-cream) !important;

}

#mainnav>div>div>div>div:nth-child(1) {
    width: 100%;
    justify-content: space-between;
}

#mainnav>div>div>div>div.flex.items-center.justify-end.my-2\.5 {
    gap: 6px !important;
}