@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

/* بيت الحناء والعطارة — نسخة معاينة رائد 2026830423، إصدار 2 */
:root {
  --bhx-forest: #12372e;
  --bhx-leaf: #285847;
  --bhx-ink: #1b2922;
  --bhx-muted: #65756b;
  --bhx-line: #dde5dd;
  --bhx-soft: #eef3ee;
  --bhx-brass: #b68b4c;
  --bhx-body: 'IBM Plex Sans Arabic', sans-serif;
  --bhx-display: 'El Messiri', sans-serif;
}
body.theme-raed { font-family: var(--bhx-body); background: #fff; color: var(--bhx-ink); }
body.theme-raed .container { max-width: 1400px; }
body.theme-raed a:focus-visible, body.theme-raed button:focus-visible,
body.theme-raed summary:focus-visible { outline: 3px solid var(--bhx-brass); outline-offset: 5px; }
.store-header .top-navbar { background: var(--bhx-forest); color: #fff; padding-block: 9px; }
.store-header .top-navbar a, .store-header .top-navbar button { color: #fff; }
.store-header .top-navbar .s-search-input { background: #fff; color: var(--bhx-ink); border-radius: 5px !important; }
.store-header .top-navbar .s-search-icon { color: var(--bhx-forest); }
.store-header .main-nav-container { background: #fff; border-bottom: 1px solid var(--bhx-line); box-shadow: none; }
.store-header .navbar-brand img { width: 70px; max-height: 78px; object-fit: contain; }
.store-header .main-menu > li > a, .store-header .main-menu > li > span { font-weight: 600; font-size: 14px; }
.store-header .main-menu .offers-link { color: #935b31; }
.store-header .header-btn { border-color: var(--bhx-line); }

.bhx-home { direction: rtl; color: var(--bhx-ink); font-family: var(--bhx-body); background: #fff; }
.bhx-home *, .bhx-home *::before, .bhx-home *::after { box-sizing: border-box; }
.bhx-home a { text-decoration: none; }
.bhx-home h1, .bhx-home h2, .bhx-home h3, .bhx-home p { margin: 0; }
.bhx-wrap { width: min(100% - 64px, 1320px); margin-inline: auto; }
.bhx-home h1, .bhx-home h2, .bhx-home h3 { font-family: var(--bhx-display); }
.bhx-hero { position: relative; isolation: isolate; background: var(--bhx-forest); min-height: 590px; overflow: hidden; }
.bhx-hero-art { position: absolute; inset: 0 auto 0 0; width: auto; max-width: 62%; height: 100%; object-fit: contain; object-position: left center; z-index: -1; mask-image: linear-gradient(to right,#000 78%,transparent 100%); }
.bhx-hero .bhx-wrap { min-height: inherit; display: flex; align-items: center; }
.bhx-hero-copy { width: 46%; padding-block: 64px; }
.bhx-hero h1 { color: #fff; font-size: clamp(46px, 3.5vw, 65px); font-weight: 600; line-height: 1.5; letter-spacing: -1px; }
.bhx-hero h1 span { display: block; }
.bhx-hero-copy > p { color: #e1eade; max-width: 440px; line-height: 1.95; font-size: 18px; margin-block: 20px 30px; }
.bhx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.bhx-button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 51px; padding: 12px 25px; border: 1px solid var(--bhx-forest); border-radius: 5px; color: #fff; background: var(--bhx-forest); font-size: 15px; font-weight: 600; transition: background .18s ease, color .18s ease; }
.bhx-button:hover { background: var(--bhx-leaf); color: #fff; }
.bhx-button--light { background: #fff; color: var(--bhx-forest); border-color: #fff; }
.bhx-button--light:hover { background: #e8eee5; color: var(--bhx-forest); }
.bhx-button--outline { background: transparent; border-color: #9eb7a8; color: #fff; }
.bhx-button--outline:hover { background: #234c3e; }
.bhx-arrow { width: 18px; height: 18px; flex: 0 0 auto; }
.bhx-servicebar { background: var(--bhx-soft); border-bottom: 1px solid var(--bhx-line); }
.bhx-servicebar .bhx-wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.bhx-servicebar-item { display: flex; gap: 13px; justify-content: center; align-items: center; padding: 20px 12px; font-size: 14px; font-weight: 500; }
.bhx-servicebar-item + .bhx-servicebar-item { border-inline-start: 1px solid #d8e3d8; }
.bhx-servicebar svg { width: 27px; height: 27px; color: var(--bhx-leaf); flex: 0 0 auto; }
.bhx-categories { padding-block: 62px 58px; }
.bhx-home [id] { scroll-margin-top: 120px; }
.bhx-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-block-end: 28px; }
.bhx-section-head h2 { font-size: clamp(26px, 2.5vw, 36px); color: var(--bhx-forest); font-weight: 600; line-height: 1.5; }
.bhx-section-head p { color: var(--bhx-muted); font-size: 15px; line-height: 1.8; margin-block-start: 5px; }
.bhx-text-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; padding-block: 10px; font-weight: 600; font-size: 14px; color: var(--bhx-forest); border-bottom: 1px solid var(--bhx-brass); }
.bhx-category-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 14px; }
.bhx-category { display: flex; flex-direction: column; align-items: center; gap: 13px; padding: 20px 5px 12px; text-align: center; color: var(--bhx-forest); font-weight: 600; font-size: 15px; border-radius: 6px; }
.bhx-category-icon { display: grid; place-items: center; width: 83px; height: 83px; background: var(--bhx-soft); border-radius: 50%; transition: background .18s ease; }
.bhx-category-icon svg { width: 40px; height: 40px; stroke-width: 1.35; }
.bhx-category:hover .bhx-category-icon { background: #dce8db; }
.bhx-product-section { padding-block: 18px 66px; }
.bhx-product-section + .bhx-product-section { padding-block-start: 10px; }
.bhx-home salla-products-list { display: block; min-height: 300px; }
.bhx-home .s-products-list-wrapper { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 22px !important; }
.theme-raed .s-product-card-entry { border: 1px solid var(--bhx-line) !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; transform: none !important; overflow: hidden; transition: border-color .18s ease !important; }
.theme-raed .s-product-card-entry:hover { border-color: #a5bca9 !important; }
.theme-raed .s-product-card-image { background: #fff; border-bottom: 1px solid #edf0eb; }
.theme-raed .s-product-card-image img { object-fit: contain !important; }
.bhx-home .s-product-card-image { height: 260px !important; }
.theme-raed .s-product-card-content { padding: 18px !important; gap: 12px; }
.theme-raed .s-product-card-content-title { font-family: var(--bhx-body); font-size: 15px; line-height: 1.8; font-weight: 500; min-height: 49px; }
.theme-raed .s-product-card-content-title a { color: var(--bhx-ink) !important; font-weight: 500 !important; }
.theme-raed .s-product-card-price { font-family: var(--bhx-body); color: var(--bhx-forest) !important; font-size: 21px; font-weight: 700; }
.theme-raed .s-product-card-content-footer .s-button-element { border-radius: 4px; min-height: 43px; background: var(--bhx-forest); border-color: var(--bhx-forest); color: #fff; font-family: var(--bhx-body); }
.theme-raed .s-product-card-content-footer .s-button-element:hover { background: var(--bhx-leaf); }
.theme-raed .s-product-card-content-footer .s-button-element:disabled { background: #edf0ed; border-color: #dce4dc; color: #788379; }
.theme-raed .s-product-card-promotion-title { background: var(--bhx-forest) !important; color: #fff !important; border-radius: 3px !important; font-weight: 500; }
.theme-raed .s-product-card-wishlist-btn .s-button-element { background: #fff; border-color: var(--bhx-line); color: var(--bhx-forest); }
.bhx-departments { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-block: 0 68px; }
.bhx-department { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 330px; overflow: hidden; border-radius: 7px; background: #e9efe4; }
.bhx-department-copy { padding: 35px 30px; z-index: 1; }
.bhx-department-copy h2 { color: var(--bhx-forest); font-size: 33px; line-height: 1.5; }
.bhx-department-copy p { margin-block: 13px 20px; font-size: 15px; line-height: 1.85; color: #425443; }
.bhx-department img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.bhx-department--dark { background: #183c31; }
.bhx-department--dark h2, .bhx-department--dark .bhx-text-link { color: #fff; }
.bhx-department--dark p { color: #d9e4d8; }
.bhx-oil-feature { display: grid; grid-template-columns: 1.08fr .92fr; direction: ltr; background: var(--bhx-soft); border-radius: 7px; overflow: hidden; margin-block: 0 68px; }
.bhx-oil-photo img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.bhx-oil-copy { direction: rtl; padding: 48px; align-self: center; }
.bhx-oil-copy > div:first-child svg { width: 39px; height: 39px; color: var(--bhx-leaf); margin-block-end: 15px; }
.bhx-oil-copy h2 { font-size: 43px; line-height: 1.5; color: var(--bhx-forest); }
.bhx-oil-copy p { font-size: 16px; line-height: 1.95; color: #425443; margin-block: 16px 25px; max-width: 390px; }
.bhx-oil-links { display: flex; gap: 24px; margin-block-start: 22px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; color: var(--bhx-leaf); }
.bhx-more { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-block: 0 68px; }
.bhx-more > a { display: flex; align-items: center; gap: 18px; padding: 25px; border: 1px solid var(--bhx-line); border-radius: 6px; color: var(--bhx-forest); }
.bhx-more > a:hover { background: var(--bhx-soft); }
.bhx-more > a > svg:first-child { width: 40px; height: 40px; flex-shrink: 0; }
.bhx-more > a > span { flex: 1; }
.bhx-more strong { display: block; font-size: 16px; font-weight: 600; }
.bhx-more small { display: block; color: var(--bhx-muted); font-size: 13px; margin-block-start: 7px; }
.bhx-story { margin-block: 2px 65px; padding: 48px 55px; background: var(--bhx-soft); border-radius: 7px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; }
.bhx-story h2 { color: var(--bhx-forest); font-size: 43px; line-height: 1.5; }
.bhx-story h2 span { display: block; }
.bhx-story p { font-size: 17px; color: #425443; line-height: 2; margin-block-end: 16px; }
.bhx-faq { padding-block: 0 70px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.bhx-faq h2 { color: var(--bhx-forest); font-size: 33px; margin-block-end: 14px; }
.bhx-faq p { color: var(--bhx-muted); line-height: 1.9; }
.bhx-faq details { border-bottom: 1px solid var(--bhx-line); padding-block: 18px; }
.bhx-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.bhx-faq details p { margin-block-start: 12px; font-size: 15px; }
.theme-raed .store-footer { background: var(--bhx-forest); color: #fff; margin-block-start: 0; }
.theme-raed .store-footer .store-footer__inner { background: var(--bhx-forest); border-color: #345548; }
.theme-raed .store-footer a, .theme-raed .store-footer h3, .theme-raed .store-footer p { color: inherit; }
.theme-raed .store-footer h3 { font-family: var(--bhx-display); font-size: 21px; }
.theme-raed .store-footer .social-link { border-color: #688478; }
.theme-raed .breadcrumbs { color: var(--bhx-muted); }
.theme-raed [data-testid="store-product-title"] { font-family: var(--bhx-display); color: var(--bhx-forest); font-size: clamp(25px,2.2vw,35px); line-height: 1.65; }
.theme-raed [data-testid="store-product-price"] { color: var(--bhx-forest); margin-block: 8px 20px; }
.theme-raed [data-testid="store-product-price"] p { font-size: 28px; }
.theme-raed .details-slider { border: 1px solid var(--bhx-line); background: #fff; }
.theme-raed .details-slider .swiper-slide img { object-fit: contain; }
.theme-raed .product__description { line-height: 2; color: var(--bhx-ink); padding-inline: 0; }
.theme-raed .product-form { border: 1px solid var(--bhx-line); border-radius: 8px; padding: 22px; background: var(--bhx-soft); margin-block: 24px; }
.theme-raed .product-form .s-button-primary { background: var(--bhx-forest); border-color: var(--bhx-forest); }
.theme-raed .product-form .s-button-element { border-radius: 5px; font-family: var(--bhx-body); }
.theme-raed .product-form .s-quantity-input-container { background: #fff; }
.theme-raed .s-block--bundle-html-content { margin-block: 0 !important; padding: 0 !important; }
.theme-raed .s-block--bundle-html-content > .s-block-html-content { margin-block: 0 !important; }
.theme-raed.index:has(.bhx-home) .s-block--bundle-personalized-shoppers-who-bought { display: none; }
.theme-raed .s-block--bundle-html-content > .container { max-width: none; padding-inline: 0; }
.theme-raed .s-block--bundle-html-content > .container > .container { max-width: none; padding-inline: 0; }
@media (min-width: 1024px) {
  .store-header .main-nav-container .inner > .container { padding-block: 8px; }
  .store-header .navbar-brand { margin-inline-end: 18px; }
  .store-header .navbar-brand { display: flex; align-items: center; gap: 12px; }
  .store-header .navbar-brand::after { content: 'بيت الحناء والعطارة'; font: 600 18px/1.5 var(--bhx-display); color: var(--bhx-forest); white-space: nowrap; }
  .store-header .main-menu > li > a, .store-header .main-menu > li > span { font-size: 13px; padding-inline: 9px; }
}
@media (max-width: 1023px) {
  .bhx-wrap { width: min(100% - 40px, 1320px); }
  .bhx-hero { min-height: 500px; }
  .bhx-hero h1 { font-size: 52px; }
  .bhx-hero-copy { width: 48%; }
  .bhx-hero-copy > p { font-size: 16px; }
  .bhx-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .bhx-home .s-products-list-wrapper { gap: 16px !important; }
  .bhx-home .s-product-card-image { height: 210px !important; }
  .bhx-departments { gap: 18px; }
  .bhx-department { grid-template-columns: 1fr; }
  .bhx-department img { height: 220px; min-height: 0; grid-row: 1; }
  .bhx-department-copy { padding: 25px; }
  .bhx-story { padding: 35px; gap: 30px; }
  .bhx-oil-copy { padding: 28px; }
  .bhx-oil-copy h2 { font-size: 33px; }
  .bhx-more { gap: 12px; }
  .bhx-more > a { padding: 18px; gap: 12px; }
  .bhx-faq { gap: 35px; }
}
@media (max-width: 639px) {
  .theme-raed .product-form { padding: 16px; }
  .store-header .navbar-brand img { width: 57px; max-height: 61px; }
  .store-header .top-navbar { padding-block: 7px; }
  .bhx-wrap { width: calc(100% - 32px); }
  .bhx-hero { min-height: 0; display: flex; flex-direction: column; }
  .bhx-hero-art { position: static; width: 100%; max-width: none; height: 300px; object-fit: cover; object-position: 28% center; z-index: 0; mask-image: none; }
  .bhx-hero .bhx-wrap { width: calc(100% - 40px); }
  .bhx-hero-copy { width: 100%; padding-block: 25px 32px; }
  .bhx-hero h1 { font-size: 41px; line-height: 1.4; letter-spacing: 0; }
  .bhx-hero h1 span { display: inline; }
  .bhx-hero-copy > p { font-size: 14px; line-height: 1.9; margin-block: 12px 20px; max-width: 340px; }
  .bhx-actions { gap: 10px; }
  .bhx-button { min-height: 47px; padding: 10px 17px; font-size: 13px; gap: 10px; }
  .bhx-servicebar .bhx-wrap { width: 100%; }
  .bhx-servicebar-item { padding: 16px 5px; flex-direction: column; text-align: center; gap: 7px; font-size: 11px; line-height: 1.5; }
  .bhx-servicebar-item svg { width: 23px; height: 23px; }
  .bhx-categories { padding-block: 33px; }
  .bhx-section-head { gap: 12px; margin-block-end: 20px; }
  .bhx-section-head h2 { font-size: 27px; }
  .bhx-section-head p { font-size: 13px; }
  .bhx-text-link { font-size: 12px; gap: 6px; }
  .bhx-category-grid { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; padding-block-end: 12px; }
  .bhx-category { min-width: 89px; padding: 6px 2px; font-size: 12px; gap: 10px; scroll-snap-align: start; }
  .bhx-category-icon { width: 68px; height: 68px; }
  .bhx-category-icon svg { width: 32px; height: 32px; }
  .bhx-product-section { padding-block: 6px 37px; }
  .bhx-home .s-products-list-wrapper { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; }
  .bhx-home .s-product-card-image { height: 184px !important; }
  .theme-raed .s-product-card-content { padding: 12px !important; gap: 8px; }
  .theme-raed .s-product-card-content-title { font-size: 12px; line-height: 1.8; min-height: 44px; }
  .theme-raed .s-product-card-price { font-size: 18px; }
  .theme-raed .s-product-card-content-footer .s-button-element { min-height: 39px; font-size: 12px; padding-inline: 6px; }
  .bhx-departments { grid-template-columns: 1fr; margin-block-end: 37px; gap: 16px; }
  .bhx-department { grid-template-columns: 1fr 1fr; min-height: 230px; }
  .bhx-department-copy { padding: 23px 18px; }
  .bhx-department img { grid-row: auto; height: 100%; min-height: 230px; }
  .bhx-department-copy h2 { font-size: 27px; }
  .bhx-department-copy p { font-size: 12px; margin-block: 8px 10px; }
  .bhx-story { padding: 28px 24px; grid-template-columns: 1fr; gap: 15px; margin-block-end: 38px; }
  .bhx-oil-feature { grid-template-columns: 1fr; margin-block-end: 38px; }
  .bhx-oil-photo img { min-height: 0; height: auto; aspect-ratio: 1.5; }
  .bhx-oil-copy { padding: 26px 24px 30px; }
  .bhx-oil-copy h2 { font-size: 33px; }
  .bhx-oil-copy > div:first-child { display: none; }
  .bhx-oil-copy p { font-size: 14px; }
  .bhx-more { grid-template-columns: 1fr; gap: 10px; margin-block-end: 38px; }
  .bhx-story h2 { font-size: 33px; }
  .bhx-story h2 span { display: inline; }
  .bhx-story p { font-size: 14px; }
  .bhx-faq { grid-template-columns: 1fr; gap: 15px; padding-block-end: 40px; }
  .bhx-faq h2 { font-size: 28px; }
  .bhx-faq summary { font-size: 14px; }
  .bhx-faq details p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .bhx-home *, .theme-raed .s-product-card-entry { transition: none !important; animation: none !important; }
}