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

:root {
  --zab-primary: #7A846B;
  --zab-accent: #C76E4D;
  --zab-sand: #DCC9B0;
  --zab-text: #333333;
  --zab-bg: #FAF6EF;
  --zab-card: #FFFFFF;
  --zab-border: rgba(51, 51, 51, 0.12);
  --zab-shadow: 0 14px 34px rgba(51, 51, 51, 0.08);
  --zab-radius: 18px;
}

html,
body {
  direction: rtl !important;
  text-align: right !important;
  background: var(--zab-bg) !important;
  color: var(--zab-text) !important;
}

body,
body * {
  font-family: "Cairo", "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif !important;
  letter-spacing: 0 !important;
}

img {
  max-width: 100%;
}

main,
.container_class,
.content_container {
  background: var(--zab-bg) !important;
}

h1,
h2,
h3,
.home_section_top_title,
.category_section_header_title,
.product_name {
  color: var(--zab-primary) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.default_header,
.sphinx_header,
.nue_header,
.luxify_header,
.fasty_header {
  background: rgba(250, 246, 239, 0.96) !important;
  color: var(--zab-primary) !important;
  border-bottom: 1px solid rgba(122, 132, 107, 0.16) !important;
  box-shadow: 0 10px 26px rgba(51, 51, 51, 0.06) !important;
  backdrop-filter: blur(14px);
}

.default_header_container,
.sphinx_header_container,
.nue_header_container,
.luxify_header_container,
.fasty_header_container,
.default_header .bg-white,
.sphinx_header .bg-white,
.nue_header .bg-white,
.luxify_header .bg-white,
.fasty_header .bg-white {
  background: transparent !important;
}

.default_header a,
.default_header button,
.sphinx_header a,
.sphinx_header button,
.nue_header a,
.nue_header button,
.luxify_header a,
.luxify_header button,
.fasty_header a,
.fasty_header button {
  color: var(--zab-primary) !important;
}

.default_header a:hover,
.default_header button:hover,
.sphinx_header a:hover,
.sphinx_header button:hover,
.nue_header a:hover,
.nue_header button:hover,
.luxify_header a:hover,
.luxify_header button:hover,
.fasty_header a:hover,
.fasty_header button:hover {
  color: var(--zab-accent) !important;
}

.default_header_logo img,
.sphinx_header_logo img,
.nue_header_logo img,
.luxify_header_logo img,
.fasty_header_logo img {
  max-height: 58px !important;
  width: auto !important;
  object-fit: contain !important;
}

.home_slider_container,
.home_slider_slide,
.home_slider_card {
  border-radius: 0 !important;
  background: var(--zab-bg) !important;
}

.home_slider_slide img,
.home_slider_card img,
.home_banner_img {
  border-radius: var(--zab-radius) !important;
  object-fit: cover !important;
}

.swiper-pagination-bullet {
  background: rgba(122, 132, 107, 0.35) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: var(--zab-accent) !important;
}

.home_section_top_container {
  padding-block: 24px 14px !important;
}

.home_section_top_title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 8px;
  background: var(--zab-accent);
  border-radius: 999px;
}

.default_category_card,
.sphinx_category_card,
.nue_category_card,
.luxify_category_card,
.fasty_category_card,
.default_product_featured_card,
.sphinx_product_featured_card,
.nue_product_featured_card,
.luxify_product_featured_card,
.fasty_product_featured_card,
.home_products_carousel_card,
.home_products_grid_card,
.products_grid_card,
.category_products_grid_card {
  background: var(--zab-card) !important;
  border: 1px solid rgba(122, 132, 107, 0.14) !important;
  border-radius: var(--zab-radius) !important;
  box-shadow: var(--zab-shadow) !important;
  overflow: hidden !important;
}

.default_category_card:hover,
.sphinx_category_card:hover,
.nue_category_card:hover,
.luxify_category_card:hover,
.fasty_category_card:hover,
.default_product_featured_card:hover,
.sphinx_product_featured_card:hover,
.nue_product_featured_card:hover,
.luxify_product_featured_card:hover,
.fasty_product_featured_card:hover,
.home_products_carousel_card:hover,
.home_products_grid_card:hover,
.products_grid_card:hover,
.category_products_grid_card:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 132, 107, 0.28) !important;
}

.default_category_card_img,
.sphinx_category_card_img,
.nue_category_card_img,
.luxify_category_card_img,
.fasty_category_card_img,
.default_product_featured_card_img,
.sphinx_product_featured_card_img,
.nue_product_featured_card_img,
.luxify_product_featured_card_img,
.fasty_product_featured_card_img,
.default_product_img,
.default_product_preview_img,
.sphinx_product_img,
.nue_product_img,
.luxify_product_active_img,
.luxify_product_images_grid_img {
  border-radius: calc(var(--zab-radius) - 4px) !important;
  object-fit: cover !important;
  background: rgba(220, 201, 176, 0.28) !important;
}

.default_category_card_name,
.sphinx_category_card_name,
.nue_category_card_name,
.luxify_category_card_name,
.fasty_category_card_name,
.product_price,
.product_price_container,
.total_price,
.total_shipping {
  color: var(--zab-primary) !important;
  font-weight: 900 !important;
}

.checkout_btn,
.add_to_cart_btn,
.form_checkout_btn,
button[type="submit"],
.bg-skin-primary,
.slider_button {
  background: var(--zab-primary) !important;
  border-color: var(--zab-primary) !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 22px rgba(122, 132, 107, 0.22) !important;
}

.checkout_btn:hover,
.add_to_cart_btn:hover,
.form_checkout_btn:hover,
button[type="submit"]:hover,
.slider_button:hover {
  background: var(--zab-accent) !important;
  border-color: var(--zab-accent) !important;
}

.global_input,
.global_textarea,
.gov_select,
input,
textarea,
select {
  border-color: rgba(122, 132, 107, 0.22) !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  color: var(--zab-text) !important;
}

.product_form_checkout,
.checkout_form,
.checkout_order_summary,
.checkout_cart_items_container,
.payment_card,
.thanks_container,
.thanks_content,
.order_invoice_container,
.fake_stock_container,
.fake_visitors_container,
.reviews_container,
.reviews_summary,
.user_review,
.user_review_content {
  background: #FFFFFF !important;
  border: 1px solid rgba(122, 132, 107, 0.14) !important;
  border-radius: var(--zab-radius) !important;
  box-shadow: var(--zab-shadow) !important;
}

.fake_stock_progress {
  background: linear-gradient(90deg, var(--zab-primary), var(--zab-accent)) !important;
  border-radius: 999px !important;
}

.fake_stock_count {
  color: var(--zab-accent) !important;
  font-weight: 900 !important;
}

.default_footer,
.sphinx_footer,
.nue_footer,
.luxify_footer,
.fasty_footer,
footer {
  background: var(--zab-text) !important;
  color: var(--zab-bg) !important;
  border-top: 0 !important;
}

.default_footer a,
.default_footer p,
.default_footer h3,
.sphinx_footer a,
.sphinx_footer p,
.sphinx_footer h3,
.nue_footer a,
.nue_footer p,
.nue_footer h3,
.luxify_footer a,
.luxify_footer p,
.luxify_footer h3,
.fasty_footer a,
.fasty_footer p,
.fasty_footer h3,
footer a,
footer p,
footer h3 {
  color: var(--zab-bg) !important;
}

.default_footer a:hover,
.sphinx_footer a:hover,
.nue_footer a:hover,
.luxify_footer a:hover,
.fasty_footer a:hover,
footer a:hover {
  color: var(--zab-sand) !important;
}

@media (max-width: 768px) {
  .home_section_top_container {
    padding-inline: 14px !important;
  }

  .home_products_grid_container,
  .products_grid_container,
  .category_products_grid_container {
    gap: 14px !important;
  }

  .default_header_logo img,
  .sphinx_header_logo img,
  .nue_header_logo img,
  .luxify_header_logo img,
  .fasty_header_logo img {
    max-height: 44px !important;
  }
}

/* Sphinx V3 specific native-builder polish. Keep this CSS-only: no homepage JS injection. */
.sphinx_header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}

.sphinx_header svg,
.sphinx_header i,
.sphinx_header [class*="icon"] {
  color: var(--zab-primary, #7A846B) !important;
  stroke: currentColor !important;
}

.sphinx_header a:hover,
.sphinx_header button:hover,
.sphinx_header [role="button"]:hover {
  color: var(--zab-accent, #C76E4D) !important;
}

.home_slider_container {
  padding: clamp(16px, 3vw, 32px) clamp(12px, 3vw, 28px) !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(220, 201, 176, 0.42), transparent 34%),
    var(--zab-bg, #FAF6EF) !important;
}

.home_slider_slide,
.home_slider_card,
.home_banner_container {
  overflow: hidden !important;
  border-radius: clamp(14px, 2vw, 24px) !important;
  box-shadow: var(--zab-shadow, 0 14px 34px rgba(51, 51, 51, 0.08)) !important;
}

.home_slider_slide img,
.home_slider_card img,
.home_banner_img {
  min-height: 220px !important;
  object-position: center !important;
}

.home_section_top_title {
  font-size: clamp(24px, 3vw, 36px) !important;
}

.home_section_top_subtitle,
.section_subtitle,
.section_description {
  color: rgba(51, 51, 51, 0.74) !important;
  font-size: clamp(14px, 1.8vw, 17px) !important;
  line-height: 1.8 !important;
}

.sphinx_category_card,
.sphinx_product_featured_card,
.home_products_carousel_card,
.home_products_grid_card,
.products_grid_card,
.category_products_grid_card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease !important;
}

.sphinx_category_card:hover,
.sphinx_product_featured_card:hover,
.home_products_carousel_card:hover,
.home_products_grid_card:hover,
.products_grid_card:hover,
.category_products_grid_card:hover {
  box-shadow: 0 18px 40px rgba(51, 51, 51, 0.11) !important;
}

.sphinx_product_featured_card_img,
.home_products_carousel_card img,
.home_products_grid_card img,
.products_grid_card img,
.category_products_grid_card img {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  object-fit: cover !important;
}

.sphinx_product_featured_card h3,
.sphinx_product_featured_card p,
.home_products_carousel_card h3,
.home_products_carousel_card p,
.home_products_grid_card h3,
.home_products_grid_card p,
.products_grid_card h3,
.products_grid_card p,
.category_products_grid_card h3,
.category_products_grid_card p {
  color: var(--zab-text, #333333) !important;
}

.sphinx_product_featured_card [class*="price"],
.home_products_carousel_card [class*="price"],
.home_products_grid_card [class*="price"],
.products_grid_card [class*="price"],
.category_products_grid_card [class*="price"] {
  color: var(--zab-accent, #C76E4D) !important;
  font-weight: 900 !important;
}

.sphinx_footer,
footer {
  padding-block: clamp(28px, 5vw, 56px) !important;
  background: var(--zab-text, #333333) !important;
}

footer input,
.sphinx_footer input {
  background: rgba(255, 255, 255, 0.96) !important;
}

/* Hide forced platform credit when it is rendered as an EasyOrders link. */
footer p:has(a[href*="easy-orders"]),
footer p:has(a[href*="easyorders"]),
.default_footer p:has(a[href*="easy-orders"]),
.default_footer p:has(a[href*="easyorders"]),
.sphinx_footer p:has(a[href*="easy-orders"]),
.sphinx_footer p:has(a[href*="easyorders"]),
footer a[href*="easy-orders"],
footer a[href*="easyorders"],
.default_footer a[href*="easy-orders"],
.default_footer a[href*="easyorders"],
.sphinx_footer a[href*="easy-orders"],
.sphinx_footer a[href*="easyorders"] {
  display: none !important;
}

/* Chrome/Edge supports :has(); this extra rule covers the common plain text footer row. */
footer > p:last-child,
.sphinx_footer > p:last-child,
footer > div:last-child > p:only-child,
.sphinx_footer > div:last-child > p:only-child {
  display: none !important;
}

@media (max-width: 640px) {
  .home_slider_container {
    padding-inline: 10px !important;
  }

  .home_slider_slide img,
  .home_slider_card img,
  .home_banner_img {
    min-height: 180px !important;
  }

  .sphinx_category_card,
  .sphinx_product_featured_card,
  .home_products_carousel_card,
  .home_products_grid_card,
  .products_grid_card,
  .category_products_grid_card {
    border-radius: 14px !important;
  }

  .checkout_btn,
  .add_to_cart_btn,
  .form_checkout_btn,
  button[type="submit"],
  .slider_button {
    min-height: 44px !important;
  }
}
