@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap");

/* --------------------------------------------------------------------------
   1. Design tokens (taken from the PDF)
   -------------------------------------------------------------------------- */
:root {
  --just-bg:            #0d0f0f;   /* page background            */
  --just-surface:       #1b2020;   /* cards, tiles, inputs       */
  --just-surface-2:     #141818;   /* slightly deeper surface    */
  --just-border:        #292b2b;   /* hairlines                  */
  --just-primary:       #005047;   /* deep teal                  */
  --just-primary-2:     #007164;   /* bright teal                */
  --just-accent:        #168477;   /* teal for titles on dark    */
  --just-text:          #f0f2f1;
  --just-muted:         #a0a2a2;
  --just-faint:         #5d5f5e;
  --just-gradient:      linear-gradient(to right, #005047, #007164);
  --just-radius-card:   16px;
  --just-radius-btn:    10px;
  --just-font:          "Cairo", "Tajawal", system-ui, sans-serif;

  /* ---- Override Salla Twilight variables so every component follows ---- */
  --color-primary:          #007164;
  --color-primary-dark:     #005047;
  --color-primary-light:    #168477;
  --color-primary-reverse:  #f0f2f1;
  --main-text-color:        #f0f2f1;
  --main-text-color-dark:   #ffffff;
  --main-text-color-light:  #a0a2a2;
  --color-text:             #f0f2f1;
  --color-grey:             #a0a2a2;
  --color-grey-dark:        #5d5f5e;
  --color-grey-light:       #292b2b;
  --color-grey-lighter:     #1b2020;
  --color-white:            #1b2020;
  --body-bg:                #0d0f0f;
  --bg-color:               #0d0f0f;

  color-scheme: dark;
}

/* Edits */
.site-header__topnav {
    display: none !important;
}
salla-slider.details-slider .swiper-slide,
.s-block--custom-testimonials {
    background-color: transparent !important;
}

.s-breadcrumb-arrow svg,
.scroll-carousel__nav button svg,
.header-action,
.s-products-carousel__title,
.s-block--main-links .slide--cat-entry h2,
.testimonial-card__text{
  color:#fff !important
}

.s-user-menu-login-btn svg {
    fill: #fff !important;
}

.site-header__bar.is-scrolled{
  background: #000 !important
}


/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html,
body,
body.salla-theme,
#app,
.app-inner,
main,
.main-content,
.store-content {
  background-color: var(--just-bg) !important;
  color: var(--just-text);
}

body,
button,
input,
select,
textarea {
  font-family: var(--just-font) !important;
}

h1, h2, h3, h4, h5, h6 { color: var(--just-text); }

a { color: var(--just-accent); transition: color .2s ease; }
a:hover { color: var(--just-text); }

hr, .divider { border-color: var(--just-border) !important; }

::selection { background: var(--just-primary-2); color: #fff; }

/* Scrollbar */
* { scrollbar-color: var(--just-primary) var(--just-bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--just-bg); }
::-webkit-scrollbar-thumb { background: var(--just-primary); border-radius: 8px; }

/* Generic white boxes → dark surface */
.bg-white,
.bg-gray-50,
.bg-gray-100,
.bg-gray-200,
.bg-store-bg,
.bg-store-bg-darker,
.bg-store-bg-lighter { background-color: var(--just-surface) !important; }

.text-gray-500, .text-gray-600, .text-gray-700,
.text-store-text-secondary { color: var(--just-muted) !important; }
.text-gray-800, .text-gray-900, .text-store-text-primary { color: var(--just-text) !important; }

.border, .border-t, .border-b, .border-l, .border-r,
.border-gray-100, .border-gray-200, .border-gray-300,
.border-store-border { border-color: var(--just-border) !important; }

/* --------------------------------------------------------------------------
   3. Announcement bar (top strip) + header
   -------------------------------------------------------------------------- */
.top-navbar,
.store-header .top-bar,
.announcement-bar,
.s-block--announcement-bar {
  background: var(--just-gradient) !important;
  color: var(--just-text) !important;
}
.top-navbar a,
.top-navbar span,
.top-navbar p,
.top-navbar .s-block__title { color: var(--just-text) !important; }

.store-header,
.main-nav-container,
.main-nav-container .inner,
header.store-header,
.navbar-brand,
.mobile-menu {
  background-color: var(--just-bg) !important;
  border-bottom: 1px solid var(--just-surface);
  box-shadow: none !important;
}

/* Menu links – teal like the PDF */
.main-menu > li > a,
.main-menu a,
.main-nav-container nav a,
.store-header nav a {
  color: var(--just-primary-2) !important;
  font-weight: 600;
  transition: color .2s ease;
}
.main-menu > li > a:hover,
.main-menu a:hover,
.main-nav-container nav a:hover,
.main-menu > li.active > a { color: var(--just-text) !important; }

/* Mega/sub menu dropdowns */
.sub-menu,
.mega-menu,
.root-level > li > ul,
.main-menu .sub-menu {
  background: var(--just-surface) !important;
  border: 1px solid var(--just-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55) !important;
}
.sub-menu a { color: var(--just-text) !important; }
.sub-menu a:hover { color: var(--just-accent) !important; background: transparent; }

/* Round icon buttons (search / wishlist / cart / account) */
.header-btn,
.header-btn__icon,
.store-header salla-search .s-search-icon,
.store-header .s-user-menu-trigger,
.store-header salla-cart-summary,
.store-header salla-user-menu,
.store-header .btn--circle-gray,
.btn--circle-gray {
  background-color: var(--just-surface) !important;
  color: var(--just-primary-2) !important;
  border: 0 !important;
  border-radius: 50% !important;
}
.header-btn i,
.header-btn svg,
.store-header i[class^="sicon-"],
.store-header i[class*=" sicon-"] { color: var(--just-primary-2) !important; fill: currentColor; }
.header-btn:hover { background-color: var(--just-primary) !important; }
.header-btn:hover i { color: var(--just-text) !important; }

/* Cart counter badge */
.s-cart-summary-count,
.s-cart-summary-wrapper .s-cart-summary-count {
  background: var(--just-primary-2) !important;
  color: #fff !important;
}

/* Search */
.s-search-input,
.s-search-container input,
salla-search input {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: var(--just-radius-btn) !important;
}
.s-search-results,
.s-search-results-wrapper {
  background: var(--just-surface) !important;
  border: 1px solid var(--just-border);
  color: var(--just-text);
}

/* Mobile drawer menu */
.mm-menu, .mm-panels, .mm-panel, .mburger-menu, #mobile-menu,
.mobile-menu .mm-navbar { background: var(--just-bg) !important; color: var(--just-text) !important; }
.mm-listitem a, .mm-listitem { color: var(--just-text) !important; border-color: var(--just-border) !important; }

/* --------------------------------------------------------------------------
   4. Home page sections
   -------------------------------------------------------------------------- */
.s-block { background: transparent; }

/* Section headings: teal title, light sub-title */
.s-block__title h2,
.s-block__title h3,
.section-title,
.s-slider-block__title h2,
.s-slider-block__title-nav h2,
.s-products-slider-title,
.home-block__title { color: var(--just-accent) !important; font-weight: 700; }

.s-block__title p,
.s-block__display-all,
.s-slider-block__title p,
.section-subtitle { color: var(--just-text) !important; }

.s-block__display-all,
.s-slider-block__display-all {
  color: var(--just-accent) !important;
  border: 1px solid var(--just-border) !important;
  background: transparent !important;
  border-radius: 8px;
}
.s-block__display-all:hover { background: var(--just-surface) !important; }

/* Banner / hero text */
.s-block--fixed-banner .banner-entry__content,
.s-block--full-image .banner-entry__content,
.s-block--banners .banner-entry__content { color: var(--just-text); }
.s-block--fixed-banner h1, .s-block--fixed-banner h2,
.s-block--full-image h1,   .s-block--full-image h2 { color: var(--just-text) !important; }
.s-block--fixed-banner p, .s-block--full-image p { color: var(--just-text) !important; }

/* Hero / banner call-to-action */
.s-block--fixed-banner a.btn,
.s-block--full-image a.btn,
.banner-entry a.btn,
.s-block--banners a.btn {
  background: var(--just-gradient) !important;
  color: var(--just-text) !important;
  border: 0 !important;
  border-radius: var(--just-radius-btn) !important;
  padding-inline: 28px;
  font-weight: 600;
}

/* Category / "Style for every taste" tiles */
.s-block--categories .category-entry,
.s-block--circle-categories .category-entry,
.s-block--square-categories .category-entry,
.s-block--categories a,
.category-entry,
.category-icon,
.s-block--categories .category-entry__icon {
  background: transparent;
}
.s-block--categories .category-entry__image,
.s-block--circle-categories .category-entry__image,
.category-entry img,
.category-icon {
  background: var(--just-surface) !important;
  border: 1px solid var(--just-border);
  border-radius: 20px !important;
  padding: 10px;
  transition: transform .25s ease, border-color .25s ease;
}
.s-block--categories .category-entry:hover .category-entry__image,
.category-entry:hover img { transform: translateY(-4px); border-color: var(--just-primary-2); }
.s-block--categories .category-entry h3,
.s-block--categories .category-entry span,
.category-entry__title,
.category-name { color: var(--just-accent) !important; font-weight: 600; }

/* Feature icons strip ("لأن تفاصيل هديتك تهمنا") */
.s-block--features__item,
.s-block--features .feature-item {
  background: transparent !important;
  color: var(--just-text);
}
.s-block--features__item i,
.s-block--features__item svg,
.s-block--features .feature-item i { color: var(--just-accent) !important; }
.s-block--features__item h2, .s-block--features__item h3,
.s-block--features .feature-item h3 { color: var(--just-accent) !important; }
.s-block--features__item p { color: var(--just-text) !important; }

/* Testimonials */
.s-block--testimonials .testimonial,
.s-block--testimonials .swiper-slide > div,
.testimonial-card,
.s-block--testimonials__item {
  background: var(--just-surface) !important;
  border: 0 !important;
  border-radius: var(--just-radius-card) !important;
  color: var(--just-text) !important;
  box-shadow: none !important;
}
.s-block--testimonials h3, .s-block--testimonials .testimonial__name { color: var(--just-accent) !important; }
.s-block--testimonials p { color: var(--just-text) !important; }
.s-block--testimonials .sicon-star2,
.s-block--testimonials .sicon-star { color: #ffdb4b !important; }

/* Slider arrows & pagination bullets */
.swiper-button-next, .swiper-button-prev,
.s-slider-nav-arrow,
.s-slider-block__title-nav button {
  background: var(--just-surface) !important;
  color: var(--just-accent) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: 50% !important;
}
.swiper-pagination-bullet { background: var(--just-faint) !important; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--just-primary-2) !important; }

/* --------------------------------------------------------------------------
   5. Product cards (home, listing, related products)
   -------------------------------------------------------------------------- */
.s-product-card-entry,
.s-product-card-vertical,
.s-product-card-horizontal,
.product-entry,
.s-product-card-content-wrap {
  background: var(--just-surface) !important;
  border: 0 !important;
  border-radius: var(--just-radius-card) !important;
  box-shadow: none !important;
  padding: 10px;
  overflow: hidden;
  color: var(--just-text);
  transition: transform .25s ease, box-shadow .25s ease;
}
.s-product-card-entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .55) !important;
}

.s-product-card-image,
.s-product-card-image img,
.s-product-card-image a {
  border-radius: 12px !important;
  overflow: hidden;
  background: var(--just-surface-2) !important;
}
.s-product-card-image-cover img,
.s-product-card-image-contain img { border-radius: 12px; }

.s-product-card-content { background: transparent !important; padding: 12px 4px 4px !important; }

.s-product-card-content-title a,
.s-product-card-content-title,
.s-product-card-content-title h3 {
  color: var(--just-accent) !important;
  font-weight: 600;
}
.s-product-card-content-title a:hover { color: var(--just-text) !important; }

.s-product-card-price,
.s-product-card-sale-price h4,
.s-product-card-sale-price span,
.s-product-card-content-sub { color: var(--just-text) !important; font-weight: 600; }
.s-product-card-sale-price .before-price,
.s-product-card-starting-price { color: var(--just-muted) !important; }
.s-product-card-sale-price .total-price { color: var(--just-text) !important; }

/* Wishlist heart: dark round chip with teal icon */
.s-product-card-wishlist-btn,
.s-product-card-wishlist-btn.s-button-element {
  background: var(--just-surface) !important;
  color: var(--just-primary-2) !important;
  border: 0 !important;
  border-radius: 50% !important;
}
.s-product-card-wishlist-btn.is-added i,
.s-product-card-wishlist-btn.animated i { color: #e5484d !important; }

/* Badges */
.s-product-card-promotion-title,
.s-product-card-badge,
.s-product-card-out-badge {
  background: var(--just-primary-2) !important;
  color: #fff !important;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   6. Buttons (add to cart, primary actions)
   -------------------------------------------------------------------------- */
.s-button-primary,
.s-button-primary-outline,
.s-product-card-content-footer .s-button-element,
.s-button-btn.s-button-primary,
.btn--primary,
.btn-primary,
button.btn--primary {
  background: var(--just-gradient) !important;
  color: var(--just-text) !important;
  border: 0 !important;
  border-radius: var(--just-radius-btn) !important;
  font-weight: 600;
  box-shadow: none !important;
  transition: filter .2s ease, transform .2s ease;
}
.s-button-primary:hover,
.btn--primary:hover,
.s-button-primary-outline:hover { filter: brightness(1.15); }
.s-button-primary i, .s-button-primary svg { color: var(--just-text) !important; }

/* Full-width add-to-cart inside cards */
.s-product-card-content-footer salla-add-product-button,
.s-product-card-content-footer .s-button-element { width: 100%; }

/* Secondary / outline / light buttons */
.s-button-outline,
.s-button-light,
.s-button-gray,
.btn--outline,
.btn--light,
.btn--gray {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: var(--just-radius-btn) !important;
}
.s-button-outline:hover,
.s-button-light:hover { border-color: var(--just-primary-2) !important; color: var(--just-accent) !important; }

.s-button-disabled, button:disabled, .s-button-element[disabled] { opacity: .45; }

/* --------------------------------------------------------------------------
   7. Product LISTING page (category / all products)
   -------------------------------------------------------------------------- */
.breadcrumbs,
.s-breadcrumb,
.breadcrumb { background: transparent !important; color: var(--just-muted) !important; }
.breadcrumbs a, .breadcrumb a { color: var(--just-muted) !important; }
.breadcrumbs li:last-child, .breadcrumbs .active { color: var(--just-accent) !important; }

.page-header,
.s-products-list-header,
.category-header,
.products-header { background: transparent !important; color: var(--just-text); }
.page-header h1, .category-header h1, .s-products-list-title { color: var(--just-accent) !important; }

/* Sorting + filters */
.s-products-list-sorting select,
.s-products-list-filters-trigger,
.s-products-list-sorting,
salla-products-list select {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: var(--just-radius-btn) !important;
}

.s-filters-widget,
.s-filters-widget-content,
.s-filters-widget-header,
.s-filters-widget-body,
.s-filters-widget-filter,
.s-filters-widget-filter-content,
.filters-widget,
.s-products-list-filters {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border-color: var(--just-border) !important;
  border-radius: var(--just-radius-card);
}
.s-filters-widget-label,
.s-filters-widget-title,
.s-filters-widget-filter-title { color: var(--just-accent) !important; font-weight: 600; }

/* Price range slider */
.noUi-target,
.s-filters-widget-range .noUi-target { background: var(--just-border) !important; border: 0 !important; box-shadow: none !important; }
.noUi-connect { background: var(--just-primary-2) !important; }
.noUi-handle { background: var(--just-text) !important; border: 2px solid var(--just-primary-2) !important; box-shadow: none !important; }

/* Pagination / load more */
.s-pagination-wrapper .s-pagination-item,
.s-pagination-item,
.s-infinite-scroll-btn,
.s-pagination-link {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: 8px !important;
}
.s-pagination-item.s-pagination-active,
.s-pagination-active,
.s-pagination-item.is-active {
  background: var(--just-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* --------------------------------------------------------------------------
   8. Product PAGE
   -------------------------------------------------------------------------- */
.product-single,
.product-entry-page,
.product-form,
.product-form-wrapper,
.sticky-product-bar,
.s-product-form,
.main-content .product-single__main {
  background: transparent !important;
  color: var(--just-text);
}

.product-single h1,
.product-single .product-title,
.product-entry__title,
.main-content h1.text-store-text-primary { color: var(--just-text) !important; font-weight: 700; }

.product-single .product-price,
.product-price,
.total-price,
.s-product-price,
.product-single .total-price { color: var(--just-text) !important; font-weight: 700; }
.before-price,
.product-single .before-price,
.old-price { color: var(--just-muted) !important; text-decoration: line-through; }
.product-single .discount-badge,
.product-single .offer-badge { background: var(--just-primary-2) !important; color: #fff !important; border-radius: 8px; }

/* Gallery */
.details-slider,
.s-slider-thumbs,
.product-gallery,
.product-single__images,
.s-product-gallery,
.details-slider .swiper-slide {
  background: var(--just-surface) !important;
  border-radius: var(--just-radius-card) !important;
  overflow: hidden;
}
.s-slider-thumbs .swiper-slide,
.product-gallery__thumb { border-radius: 12px; border: 2px solid transparent; background: var(--just-surface) !important; opacity: .7; }
.s-slider-thumbs .swiper-slide-thumb-active,
.product-gallery__thumb.active { border-color: var(--just-primary-2); opacity: 1; }

/* Options (size / color / text / dropdowns) */
.s-product-options-wrapper,
.s-product-options-option,
.s-product-options-option-container,
.s-product-options-option-content,
.s-product-options-option-label,
.s-product-options-option-label b { color: var(--just-text) !important; background: transparent !important; }

.s-product-options-option-label b,
.s-product-options-option-label .s-product-options-option-label-title { color: var(--just-accent) !important; font-weight: 600; }

.s-product-options-thumbnail-wrapper,
.s-product-options-colors-wrapper label,
.s-product-options-option-container .s-product-options-thumbnail-label,
.s-product-options-image-wrapper label,
.s-product-options-radio-label,
.s-product-options-option-content label {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: 10px !important;
}
input:checked + .s-product-options-thumbnail-label,
input:checked + .s-product-options-radio-label,
.s-product-options-option-content input:checked + label,
.s-product-options-colors-wrapper input:checked + label {
  border-color: var(--just-primary-2) !important;
  box-shadow: 0 0 0 2px var(--just-primary) !important;
}

/* Quantity stepper */
.s-quantity-input,
.s-quantity-input-container,
.s-quantity-input input,
salla-quantity-input input {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: var(--just-radius-btn) !important;
}
.s-quantity-input-increase-button,
.s-quantity-input-decrease-button,
.s-quantity-input button {
  background: transparent !important;
  color: var(--just-accent) !important;
}

/* Tabs (description / reviews / shipping) */
.s-tabs,
.s-tabs-content,
.s-tabs-item-content,
.product-single__tabs,
.product-single .tabs,
.s-comments,
.s-comments-item,
.s-rating-stars-wrapper { background: transparent !important; color: var(--just-text) !important; }
.s-tabs-header,
.s-tabs-header-item { background: transparent !important; color: var(--just-muted) !important; border-color: var(--just-border) !important; }
.s-tabs-header-item.active,
.s-tabs-active,
.s-tabs-header-item:hover { color: var(--just-accent) !important; border-color: var(--just-primary-2) !important; }

.product__description,
.article--main,
.product-description,
.product-single__description,
.product-single .prose,
.s-tabs-item-content p,
.s-tabs-item-content li { color: var(--just-text) !important; }
.product-single table,
.article--main table { border-color: var(--just-border) !important; }
.product-single table td, .product-single table th,
.article--main td, .article--main th { border-color: var(--just-border) !important; background: transparent !important; color: var(--just-text) !important; }

/* Reviews */
.s-comments-item,
.s-comments-form,
.s-reviews-item { background: var(--just-surface) !important; border-radius: var(--just-radius-card); padding: 14px; border: 0 !important; }

/* Sticky mobile add-to-cart bar */
.sticky-product-bar,
.fixed-add-to-cart,
.s-sticky-bar {
  background: var(--just-surface) !important;
  border-top: 1px solid var(--just-border) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .5) !important;
  color: var(--just-text) !important;
}

/* Share / wishlist small buttons beside the product */
.product-single .btn--circle,
.product-single .s-button-wishlist,
.product-single salla-button.s-button-wishlist,
.product-single .btn--circle-gray {
  background: var(--just-surface) !important;
  color: var(--just-primary-2) !important;
  border: 1px solid var(--just-border) !important;
}

/* Alerts / info boxes */
.s-alert, .alert, .s-bottom-alert, .product-single .alert {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: var(--just-radius-btn);
}

/* --------------------------------------------------------------------------
   9. CART page
   -------------------------------------------------------------------------- */
.cart-page,
.cart-items,
.cart-item,
.s-cart-item,
.s-cart-product-wrapper,
.cart-wrapper {
  background: transparent !important;
  color: var(--just-text) !important;
}

.cart-item,
.s-cart-item,
.cart-items > div {
  background: var(--just-surface) !important;
  border: 0 !important;
  border-radius: var(--just-radius-card) !important;
  padding: 14px;
  margin-bottom: 14px;
}
.cart-item img,
.s-cart-item img { border-radius: 12px; background: var(--just-surface-2); }

.cart-item h2, .cart-item h3, .cart-item a.product-name,
.cart-item .s-cart-item-title,
.s-cart-product-title { color: var(--just-accent) !important; font-weight: 600; }
.cart-item .price, .cart-item .total-price,
.cart-item .s-cart-item-price { color: var(--just-text) !important; font-weight: 700; }
.cart-item .before-price { color: var(--just-muted) !important; }

/* Remove / delete icon */
.cart-item .btn--delete,
.cart-item .sicon-cancel,
.cart-item .sicon-trash,
.s-cart-item-delete { color: #e5484d !important; background: transparent !important; }

/* Summary card */
.cart-summary,
.s-cart-summary,
.s-cart-summary-wrapper,
.s-cart-summary-content,
.cart-total-card,
.s-cart-total-section,
.main-content .cart-sidebar > div {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 0 !important;
  border-radius: var(--just-radius-card) !important;
}
.s-cart-summary-total,
.s-cart-summary-total-value,
.cart-summary .total { color: var(--just-text) !important; font-weight: 700; }
.s-cart-summary-item,
.s-cart-summary-wrapper li,
.s-cart-summary-content > div { border-color: var(--just-border) !important; }
.s-cart-summary-label, .s-cart-summary-wrapper span { color: var(--just-muted); }

/* Coupon */
.s-coupon-form,
.s-cart-coupon,
.coupon-wrapper,
.s-coupon-wrapper {
  background: transparent !important;
  color: var(--just-text) !important;
}
.s-coupon-form input,
.s-cart-coupon input,
.coupon-wrapper input {
  background: var(--just-bg) !important;
  border: 1px dashed var(--just-primary-2) !important;
  color: var(--just-text) !important;
  border-radius: var(--just-radius-btn) !important;
}

/* Mini-cart drawer (opens from header) */
.s-cart-drawer,
.s-cart-drawer-content,
.s-cart-summary-drawer,
salla-mini-cart,
.s-modal-body,
.s-modal-wrapper .s-modal-body,
.s-modal-content,
.s-modal-header,
.s-modal-footer {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border-color: var(--just-border) !important;
}
.s-modal-title { color: var(--just-accent) !important; }
.s-modal-close { color: var(--just-muted) !important; background: transparent !important; }
.s-modal-overlay, .s-modal-backdrop { background: rgba(0, 0, 0, .7) !important; }

/* Empty cart */
.empty-cart,
.s-cart-empty,
.s-infinite-scroll-end-message { color: var(--just-muted) !important; background: transparent !important; }

/* --------------------------------------------------------------------------
   10. Forms (login, checkout, coupon, newsletter, search…)
   -------------------------------------------------------------------------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea,
.s-form-control,
.form-input,
.s-form-input,
.s-select,
.s-tel-input-wrapper,
.iti__selected-flag {
  background-color: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: var(--just-radius-btn) !important;
  box-shadow: none !important;
}
input::placeholder, textarea::placeholder { color: var(--just-faint) !important; }
input:focus, select:focus, textarea:focus, .s-form-control:focus {
  border-color: var(--just-primary-2) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 100, .25) !important;
}
label, .s-form-label { color: var(--just-muted); }

input[type="checkbox"], input[type="radio"] { accent-color: var(--just-primary-2); }

/* Dropdown lists (select2 / s-select / phone country list) */
.s-select-options,
.iti__country-list,
.select2-dropdown,
.s-dropdown-menu,
.dropdown-menu,
ul.s-dropdown-list {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: 12px;
}
.iti__country:hover, .s-select-option:hover { background: var(--just-primary) !important; }

/* --------------------------------------------------------------------------
   11. Footer (teal gradient like the PDF)
   -------------------------------------------------------------------------- */
.store-footer,
footer.store-footer,
.store-footer .footer-is-light,
.store-footer__inner,
footer {
  background: var(--just-gradient) !important;
  color: var(--just-text) !important;
  border: 0 !important;
}
.store-footer h3,
.store-footer h4,
.store-footer .footer-title,
.store-footer .s-block__title { color: var(--just-text) !important; font-weight: 700; }
.store-footer a,
.store-footer p,
.store-footer span,
.store-footer li { color: var(--just-text) !important; }
.store-footer a:hover { opacity: .75; }
.store-footer .contact-social a,
.store-footer .social-icons a,
.store-footer .s-social-link { color: var(--just-text) !important; background: transparent !important; }
.store-footer hr,
.store-footer .footer-border,
.store-footer .border-t { border-color: rgba(0, 0, 0, .35) !important; }
.store-footer .copyright-text,
.store-footer .footer-bottom { color: var(--just-text) !important; background: rgba(0, 0, 0, .12) !important; }

/* Payment badges stay light */
.store-footer .payments img,
.store-footer .footer-payments img,
.store-footer .s-payments img { border-radius: 6px; }

/* Newsletter / subscribe block */
.s-block--newsletter,
.store-footer .newsletter { background: var(--just-surface) !important; border-radius: var(--just-radius-card); }

/* --------------------------------------------------------------------------
   12. Floating widgets & misc
   -------------------------------------------------------------------------- */
.btn--scroll-top,
.scroll-top,
#scroll-to-top { background: var(--just-gradient) !important; color: #fff !important; border-radius: 50% !important; }

.s-toast, .toast, .swal2-popup {
  background: var(--just-surface) !important;
  color: var(--just-text) !important;
  border: 1px solid var(--just-border) !important;
  border-radius: 12px !important;
}
.swal2-title, .swal2-html-container { color: var(--just-text) !important; }

/* Loading skeletons */
.s-skeleton, .skeleton, [class*="skeleton"] { background-color: var(--just-surface) !important; }

/* Images that ship with white backgrounds (logos, payment icons) */
.store-header .logo img, .navbar-brand img { background: transparent !important; }

/* --------------------------------------------------------------------------
   13. Responsive polish
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .s-product-card-entry { padding: 8px; border-radius: 14px !important; }
  .s-block__title h2 { font-size: 1.25rem; }
  .cart-item, .s-cart-item { padding: 10px; }
}