/* Add custom CSS styles below */

/* Brand colors */
:root {
  --bn-primary: #773B2E;
  --bn-secondary: #ffffff;
  --bn-secondary-soft: #ffffff;
  --bn-primary-dark: #5E2E24;
  --bn-primary-mid: #9A5440;
  --bn-muted: #A08478;
  --bn-border: rgba(119,59,46,.14);
  --bn-shadow: rgba(119,59,46,.10);

  --bn-metal: linear-gradient(100deg, #773B2E 0%, #773B2E 22%, #9A5440 38%, #C9978A 50%, #9A5440 62%, #773B2E 78%, #773B2E 100%);

  --bn-metal-btn: linear-gradient(135deg, #5E2E24 0%, #773B2E 30%, #9A5440 50%, #773B2E 70%, #5E2E24 100%);

  --bn-badge: linear-gradient(135deg, #9A5440, #773B2E);
}
/* Text shine animation */
@keyframes brightNishShine {
  0%   { background-position: 150% 50%; }
  100% { background-position: -50% 50%; }
}

/* Mobile: page scale */
@media (max-width: 767px) {
  html {
    zoom: 0.9;
  }
}

/* Header icons */
.store-header .header-btn__icon,
.store-header .mburger,
body:not(.index) .store-header .header-btn__icon,
body:not(.index) .store-header .mburger {
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.store-header .header-btn__icon::before,
.store-header .mburger i::before,
.store-header .s-cart-summary-icon::before,
.store-header .header-btn__icon i::before,
.store-header salla-user-menu i::before {
  background: linear-gradient(160deg, #9A5440 0%, #773B2E 60%, #5E2E24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}
.store-header .header-btn__icon i,
.store-header salla-user-menu i { color: var(--bn-primary) !important; }

/* Account icon */
.store-header .s-user-menu-login-btn { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.store-header .s-user-menu-login-btn,
.store-header .s-user-menu-login-btn * { color: var(--bn-primary) !important; }
.store-header .s-user-menu-login-btn svg,
.store-header .s-user-menu-login-btn svg * { fill: var(--bn-primary) !important; }

/* Logged-in customer: avatar takes the place of the account icon */
.store-header:has(.s-user-menu-trigger-slot) [slot="login-btn"],
.store-header:has(.s-user-menu-trigger-slot) .s-user-menu-login-btn,
.store-header:has(.s-user-menu-trigger-slot) .header-btn__icon:has(.sicon-user) { display: none !important; }
.store-header .s-user-menu-trigger-avatar-only .s-user-menu-avatar-wrap {
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
.store-header .s-user-menu-trigger-avatar-only .s-user-menu-trigger-avatar {
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

.store-header .inner { border-bottom: 0 !important; }

/* Header menu links */
.store-header .main-menu li.root-level > a {
  background: var(--bn-metal);
  background-size: 240% 100%;
  background-position: 50% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-weight: 700 !important;
  transition: background-position .6s ease;
}
.store-header .main-menu li.root-level > a:hover { background-position: 0% 50%; }

/* Hero banner */
section.interactive-banner-section .hero-side-media {
  aspect-ratio: auto !important;
  height: auto !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 0 !important;
}
section.interactive-banner-section .hero-side-media img { height: auto !important; }

section.interactive-banner-section h1 {
  background: var(--bn-metal);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: brightNishShine 4.5s linear infinite;
}

/* Hero buttons */
section.interactive-banner-section a.rounded-full {
  background: var(--bn-badge) !important;
  color: var(--bn-secondary) !important;
  -webkit-text-fill-color: var(--bn-secondary) !important;
  font-weight: 700 !important;
  border: 0 !important;
  text-shadow: none !important;
  box-shadow: 0 4px 10px rgba(119,59,46,.15) !important;
}
@media (min-width: 768px) {
  section.interactive-banner-section .container {
    padding-top: 200px !important;
    padding-bottom: 30px !important;
    gap: 40px !important;
    align-items: center !important;
  }
  section.interactive-banner-section .text-center { width: 46% !important; flex: 0 0 46% !important; }
  section.interactive-banner-section .hero-side-media { width: 54% !important; flex: 0 0 54% !important; }
  section.interactive-banner-section h1 { font-size: 54px !important; line-height: 1.35 !important; margin-bottom: 18px !important; }
  section.interactive-banner-section p { font-size: 20px !important; line-height: 1.8 !important; }
  section.interactive-banner-section a.rounded-full { font-size: 18px !important; padding: 14px 40px !important; }
}
@media (max-width: 767px) {
  section.interactive-banner-section .container {
    padding-top: 112px !important;
    padding-bottom: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 14px !important;
  }
  section.interactive-banner-section .text-center { width: 100% !important; max-width: 100% !important; }
  section.interactive-banner-section h1 { font-size: 28px !important; line-height: 1.4 !important; margin-bottom: 10px !important; }
  section.interactive-banner-section p { font-size: 14px !important; margin-bottom: 18px !important; white-space: normal !important; max-width: 100% !important; }
}

/* Categories slider: pause on hover, swipe on touch devices */
.categories-marquee:hover .categories-marquee-track {
  animation-play-state: paused !important;
}

@media (hover: none) {
  .categories-marquee {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
  }
  .categories-marquee::-webkit-scrollbar { display: none !important; }
  .categories-marquee .categories-marquee-track {
    animation: none !important;
    transform: none !important;
  }
  .categories-marquee .categories-marquee-group ~ .categories-marquee-group { display: none !important; }
  .categories-marquee .categories-marquee-item { scroll-snap-align: start; }
}

/* Inner pages */
body:not(.index),
body:not(.index) .app-inner { background-color: #ffffff !important; }
body:not(.index) #mainnav { box-shadow: none !important; border-bottom: 0 !important; }
body:not(.index) nav.breadcrumbs { margin-top: 14px !important; padding-bottom: 12px !important; }
@media (min-width: 768px) {
  body:not(.index) nav.breadcrumbs { margin-top: 22px !important; }
}

/* Cart page */
body.cart .main-content > div.grid-cols-5.font-bold { border-radius: 14px !important; overflow: hidden; background: var(--bn-metal-btn) !important; }
body.cart .main-content > div.grid-cols-5.font-bold,
body.cart .main-content > div.grid-cols-5.font-bold * { color: #ffffff !important; text-shadow: 0 1px 2px rgba(40,15,10,.35); }

section.cart-item {
  border: 1px solid var(--bn-border) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(119,59,46,.06);
}
section.cart-item img { background: var(--bn-secondary-soft) !important; border-radius: 12px !important; object-fit: contain !important; }
section.cart-item h1,
section.cart-item h1 a { color: #000000 !important; font-weight: 600; }

section.cart-item .item-price,
section.cart-item .item-price * { color: #ae0a0a !important; font-weight: 700; }
section.cart-item .item-original-price,
section.cart-item .item-regular-price,
section.cart-item .item-original-price * { color: #222222 !important; }

section.cart-item .s-quantity-input-container { border: 1.5px solid var(--bn-primary) !important; border-radius: 999px !important; }
section.cart-item .s-quantity-input-input { color: var(--bn-primary) !important; -webkit-text-fill-color: var(--bn-primary); font-weight: 700; }
section.cart-item .s-quantity-input-button svg { fill: var(--bn-primary) !important; }

section.cart-item .btn--delete i,
section.cart-item .btn--delete i::before { color: var(--bn-primary) !important; }

/* Order summary */
.s-cart-summary-card-sheet-title { color: var(--bn-primary) !important; font-weight: 700 !important; }

body.cart .main-content > div.flex-col > a.bg-primary { background: var(--bn-primary) !important; color: #ffffff !important; }

/* Footer links */
.store-footer__inner .anann-footer .pages-links .s-menu-footer-list {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
}
.store-footer__inner .anann-footer .pages-links .s-menu-footer-item { margin: 0 !important; }

/* About section icons */
.why-20 .bg-pink-200 { background: var(--bn-metal-btn) !important; }
.why-20 .bg-pink-200 i::before { color: var(--bn-secondary) !important; }

/* Features section */
.s-block--features .feature-icon i,
.s-block--features .feature-icon i::before,
.s-block--features__item h2,
.s-block--features__item p { color: var(--bn-primary) !important; }

/* Home section spacing */
.index section.an_break { margin-top: 0 !important; margin-bottom: 0 !important; }
.index section.an_break .break-containt { padding: 0 !important; }
.index section.an_break + section { padding-top: 14px !important; }
.index section.featured-products-slider,
.index section.brands-section { padding-bottom: 8px !important; margin-bottom: 36px !important; }

.index section.s-block--fixed-banner { margin-top: 0 !important; margin-bottom: 36px !important; }
.index section.s-block--fixed-banner img { border-radius: 16px; }

/* Section titles */
.break-containt {
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  text-align: center !important;
}

.break-containt > :empty,
.break-containt span:empty,
.break-containt div:empty { display: none !important; }

.break-containt h2 {
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  letter-spacing: -.3px;
  background: var(--bn-metal);
  background-size: 240% 100%;
  background-position: 150% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: brightNishShine 4.5s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .break-containt h2,
  section.interactive-banner-section h1 { animation: none; background-position: 50% 50%; }
}

.break-containt p {
  color: var(--bn-muted) !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
  margin: 6px 0 0 !important;
}

/* Title divider: line + diamond */
.break-containt::after {
  content: "";
  order: 99;
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, #773B2E 0, #C9978A 40%, transparent 40%, transparent 60%, #C9978A 60%, #773B2E 100%);
  transform-origin: center;
  animation: bnLineOpenClose 3.6s ease-in-out infinite;
}

@keyframes bnLineOpenClose {
  0%, 100% { transform: scaleX(.55); opacity: .45; }
  50%      { transform: scaleX(1);   opacity: 1; }
}
@keyframes bnDiamondPulse {
  0%, 100% { transform: rotate(45deg) scale(.7); }
  50%      { transform: rotate(225deg) scale(1); }
}

.break-containt::before {
  content: "";
  order: 100;
  display: block;
  width: 9px;
  height: 9px;
  margin-top: -5.5px;
  background: linear-gradient(135deg, #9A5440, #773B2E);
  transform: rotate(45deg);
  animation: bnDiamondPulse 3s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .break-containt::after,
  .break-containt::before { animation: none; }
}

/* Product cards */
.new-product-card-entry {
  border: 1px solid var(--bn-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(119,59,46,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.new-product-card-entry:hover {
  transform: translateY(-6px);
  border-color: rgba(119,59,46,.45) !important;
  box-shadow: 0 18px 40px rgba(119,59,46,.14);
}

.new-product-card-media {
  background: linear-gradient(180deg, var(--bn-secondary-soft) 0%, #ffffff 100%) !important;
  border-radius: 18px 18px 0 0 !important;
}
.new-product-card-entry:hover .new-product-card-image-primary {
  transform: scale(1.06);
}

/* Card badge */
.new-product-card-badge {
  background: var(--bn-badge) !important;
  color: var(--bn-secondary) !important;
  border-radius: 30px !important;
  padding: 4px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .3px;
  box-shadow: 0 4px 10px rgba(119,59,46,.12);
}

/* Card text */
.new-product-card-entry .new-product-card-body { align-items: center !important; text-align: center !important; gap: 6px !important; }
.new-product-card-entry .new-product-card-body * { text-align: center !important; justify-content: center !important; }
.new-product-card-entry .new-product-card-identity,
.new-product-card-entry .new-product-card-title,
.new-product-card-entry .new-product-card-title-text { width: 100%; text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
.new-product-card-category { color: var(--bn-primary) !important; font-size: 12px !important; }
.new-product-card-divider { background: var(--bn-border) !important; }
.new-product-card-title-text {
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  min-height: 3.2em;
}

/* Availability */
.new-product-card-status-dot { display: none !important; }
.new-product-card-availability {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  font-weight: 600 !important;
}
.new-product-card-availability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 8px;
  background: #00af6c;
}
.new-product-card-availability.is-available { color: #059669 !important; }
.new-product-card-availability.is-out-of-stock { color: #dc2626 !important; }
.new-product-card-availability.is-out-of-stock::before { background: #dc2626; }

/* Hide empty rating / options */
.new-product-card-rating.is-empty { display: none !important; }
.new-product-card-options.new-product-card-options-placeholder { display: none !important; }

/* Card price */
.new-product-card-price { justify-content: center !important; }
.new-product-card-price,
.new-product-card-price.is-below-options { margin-top: 2px !important; }
.new-product-card-current-price { color: #ae0a0a !important; font-weight: 700 !important; }
.new-product-card-original-price,
.new-product-card-original-price * { color: #222222 !important; }

/* Card action buttons */
.new-product-card-footer { border-top: 0 !important; padding-top: 10px !important; }
.new-product-card-actions-row,
.new-product-card-actions-row.is-expanded {
  justify-content: center !important;
  gap: 10px !important;
}
.new-product-card-action-btn {
  background: #ffffff !important;
  color: var(--bn-primary) !important;
  border: 1.5px solid var(--bn-primary) !important;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.new-product-card-action-btn i, .new-product-card-action-btn i::before { color: inherit !important; }
.new-product-card-action-btn:hover,
.new-product-card-action-btn.s-product-card-wishlist-added {
  background: var(--bn-badge) !important;
  color: var(--bn-secondary) !important;
  border-color: transparent !important;
  opacity: 1 !important;
  box-shadow: 0 4px 10px rgba(119,59,46,.15) !important;
}
.new-product-card-action-btn:hover { transform: translateY(-2px); }

/* Hide card quantity */
.new-product-card-quantity-wrap { display: none !important; }

/* Add to cart button */
salla-add-product-button.new-product-card-submit-btn .s-button-btn,
.single-anan form.product-form salla-add-product-button .s-button-btn {
  background: var(--bn-badge) !important;
  color: var(--bn-secondary) !important;
  -webkit-text-fill-color: var(--bn-secondary) !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  border: 0 !important;
  box-shadow: 0 4px 10px rgba(119,59,46,.15) !important;
}
salla-add-product-button.new-product-card-submit-btn .s-button-btn *,
.single-anan form.product-form salla-add-product-button .s-button-btn * {
  color: var(--bn-secondary) !important;
  -webkit-text-fill-color: var(--bn-secondary) !important;
}
salla-add-product-button.new-product-card-submit-btn .s-button-btn svg,
.single-anan form.product-form salla-add-product-button .s-button-btn svg { fill: var(--bn-secondary) !important; }

/* FAQ */
.popular-quss .faq-question,
.popular-quss .faq-question *,
.popular-quss .faq-question i::before,
.popular-quss .faq-answer,
.popular-quss .faq-answer *,
.popular-quss i,
.popular-quss i::before {
  color: var(--bn-secondary) !important;
  -webkit-text-fill-color: var(--bn-secondary) !important;
}
.popular-quss svg,
.popular-quss svg * { fill: var(--bn-secondary) !important; }

/* Product page layout */
.single-anan .main-content {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto;
  column-gap: 10px;
  align-items: center;
}
.single-anan .main-content > * { order: 20; grid-column: 1 / -1; }

.single-anan .main-content > div.border-primary { order: 1; margin-bottom: 8px !important; }

.single-anan .main-content > h1 { order: 2; margin: 0 0 6px !important; }

/* Price + share */
.single-anan .main-content > div.whitespace-nowrap { order: 3; grid-column: 1; margin-bottom: 6px !important; }
.single-anan .main-content > div.whitespace-nowrap h4,
.single-anan .main-content > div.whitespace-nowrap h2 { color: #ae0a0a !important; }
.single-anan .main-content > div.whitespace-nowrap .line-through,
.single-anan .main-content > div.whitespace-nowrap .line-through * { color: #222222 !important; }
.single-anan .main-content form.product-form > section:has(.price-wrapper) { display: none !important; }
.single-anan .main-content > div.space-x-2 { order: 3; grid-column: 2; justify-self: end; margin: 0 0 6px !important; }

/* Stock status + SKU */
.single-anan .main-content > div.mb-4.justify-between {
  order: 4;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 14px;
  margin: 4px 0 14px !important;
  font-size: 13px;
  color: var(--bn-muted);
}
.single-anan .main-content > div.mb-4.justify-between i { display: none !important; }
.single-anan .main-content > div.mb-4.justify-between::before {
  content: "● متوفر";
  color: #059669;
  font-weight: 700;
  padding-left: 14px;
  border-left: 1px solid var(--bn-border);
}

.single-anan .main-content:has(salla-add-product-button[product-status="out"]) > div.mb-4.justify-between::before { content: "● نفدت الكمية" !important; color: #dc2626 !important; }

/* Quantity, buttons, gifting */
.single-anan .main-content > salla-installment { order: 5; }
.single-anan .main-content > form.product-form { order: 6; }
.single-anan .main-content > salla-quick-order { order: 7; }
.single-anan .main-content form.product-form salla-gifting { margin-top: 6px !important; }

.single-anan .main-content > section.s-block--bundle-out-of-stock-alternative,
.single-anan .main-content > salla-quick-order { margin-top: 0 !important; }

/* Hide short description */
.single-anan .main-content > div.description { display: none !important; }

/* Promotion title */
.single-anan .promotion-title {
  background: var(--bn-badge) !important;
  color: var(--bn-secondary) !important;
  -webkit-text-fill-color: var(--bn-secondary) !important;
  font-weight: 700;
}

/* Product names */
.new-product-card-title-text,
.new-product-card-identity,
.new-product-card-title,
.single-anan .main-content > h1 {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Mobile */
@media (max-width: 767px) {
  /* Hide scrollbar */
  html, body { scrollbar-width: none !important; -ms-overflow-style: none !important; }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  ::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; background: transparent !important; }

  /* Section spacing */
  .index section.an_break + section { padding-top: 10px !important; }
  .index section.featured-products-slider,
  .index section.brands-section { margin-bottom: 22px !important; }
  .index section.s-block--fixed-banner { margin-bottom: 26px !important; }
  .index section.s-block--fixed-banner img { border-radius: 12px; }

  /* Section titles (no shine on mobile) */
  .break-containt h2 { font-size: 26px !important; }

  .break-containt h2,
  section.interactive-banner-section h1 { animation: none !important; background-position: 50% 50% !important; }
  .break-containt p { font-size: 14px !important; }

  /* Product cards */
  .new-product-card-entry:hover { transform: none; }
  .new-product-card-title-text { font-size: 13px !important; line-height: 1.5 !important; }
  .new-product-card-category { font-size: 11px !important; }
  .new-product-card-current-price { font-size: 17px !important; }
  .new-product-card-original-price { font-size: 12px !important; }
  .new-product-card-badge { font-size: 10px !important; padding: 3px 9px !important; }
  .new-product-card-footer { padding: 8px 10px 12px !important; }

  /* Product page */
  .single-anan .main-content { padding-top: 14px; }

  /* Sticky cart bar */
  .single-anan .main-content form.product-form .sticky-product-bar {
    background: #ffffff !important;
    bottom: 66px !important;
    left: 10px !important; right: 10px !important; width: auto !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(119,59,46,.16) !important;
    z-index: 39 !important;
  }
  .single-anan .main-content form.product-form .sticky-product-bar__quantity { margin-bottom: 8px !important; }
  .single-anan .main-content form.product-form .sticky-product-bar__btn { margin-top: 0 !important; }
  body.product-single { padding-bottom: 190px; }

  /* Cart: bottom nav was covering the checkout button */
  body.cart .anan-bottom-nav { display: none !important; }
  body.cart { padding-bottom: 120px !important; }

  /* WhatsApp button: keep it above the cart bar and the checkout bar */
  body.product-single .wa-s-n { bottom: 200px !important; }
  body.cart .wa-s-n { bottom: 130px !important; }
}

.brp-ov{position:fixed;inset:0;z-index:999999;background:rgba(40,18,13,.55);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;transition:opacity .35s ease;direction:rtl;font-family:'Almarai',sans-serif}
.brp-ov.brp-show{opacity:1}
.brp-wrap{position:relative;width:100%;max-width:740px;filter:drop-shadow(0 28px 44px rgba(40,18,13,.35));opacity:0}
.brp-show .brp-wrap{animation:brp-pop .75s cubic-bezier(.2,1.45,.4,1) forwards}
@keyframes brp-pop{0%{opacity:0;transform:translateY(70px) scale(.62) rotate(-5deg)}60%{opacity:1}100%{opacity:1;transform:none}}
.brp-main>*{opacity:0;transform:translateY(16px)}
.brp-show .brp-main>*{animation:brp-up .5s ease forwards;animation-delay:calc(.35s + var(--i,0) * .09s)}
@keyframes brp-up{to{opacity:1;transform:none}}
.brp-show .brp-side{animation:brp-side .65s cubic-bezier(.2,1.2,.4,1) .15s both}
@keyframes brp-side{from{transform:translateX(-40px);opacity:.2}to{transform:none;opacity:1}}
.brp-show .brp-num{animation:brp-zoom .5s cubic-bezier(.2,1.6,.4,1) .9s both}
@keyframes brp-zoom{0%{transform:scale(.8)}60%{transform:scale(1.12)}100%{transform:scale(1)}}
.brp-show .brp-code em{animation:brp-pulse 1.1s ease-in-out 1.5s 2}
@keyframes brp-pulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(119,59,46,.45)}50%{transform:scale(1.08);box-shadow:0 0 0 10px rgba(119,59,46,0)}}
.brp-conf{position:absolute;left:50%;top:50%;width:10px;height:14px;border-radius:2px;pointer-events:none;z-index:2;opacity:0;animation:brp-conf 1.4s cubic-bezier(.15,.7,.3,1) forwards;animation-delay:var(--d)}
@keyframes brp-conf{0%{opacity:1;transform:translate(-50%,-50%) rotate(0) scale(.6)}80%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(var(--r)) scale(1)}}
@media (prefers-reduced-motion:reduce){.brp-show .brp-wrap,.brp-show .brp-main>*,.brp-show .brp-side,.brp-show .brp-num,.brp-show .brp-code em{animation:none!important;opacity:1!important;transform:none!important}.brp-conf,.brp-code:after{display:none}}
.brp-card{position:relative;display:flex;width:100%;min-height:310px;background:#fff;border-radius:24px;-webkit-mask:radial-gradient(circle 17px at 35% 0,transparent 16.5px,#000 17.5px),radial-gradient(circle 17px at 35% 100%,transparent 16.5px,#000 17.5px);-webkit-mask-composite:source-in;mask:radial-gradient(circle 17px at 35% 0,transparent 16.5px,#000 17.5px),radial-gradient(circle 17px at 35% 100%,transparent 16.5px,#000 17.5px);mask-composite:intersect}
.brp-main{flex:1;padding:34px 34px 28px;display:flex;flex-direction:column;justify-content:center;text-align:right}
.brp-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:#773B2E;background:#f6ece9;border-radius:999px;padding:6px 14px;margin-bottom:14px}
.brp-tag i{width:7px;height:7px;border-radius:50%;background:#773B2E;display:block}
.brp-title{font-size:30px;font-weight:800;color:#5E2E24;line-height:1.3;margin:0 0 10px}
.brp-title span{color:#773B2E}
.brp-text{font-size:15.5px;color:#7a6560;line-height:1.75;margin:0 0 20px}
.brp-code{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:2px dashed #773B2E;border-radius:16px;padding:7px 7px 7px 18px;background:#fbf6f4;cursor:pointer;direction:ltr;font-family:inherit;overflow:hidden;transition:background .2s}
.brp-code:hover{background:#f6ece9}
.brp-code:after{content:"";position:absolute;top:0;bottom:0;width:60px;left:-80px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent);transform:skewX(-20deg);animation:brp-shine 3.2s ease-in-out 1.2s infinite}
@keyframes brp-shine{0%{left:-80px}45%,100%{left:110%}}
.brp-code b{font-size:28px;letter-spacing:6px;color:#5E2E24;font-weight:800}
.brp-code em{font-style:normal;background:#773B2E;color:#fff;font-weight:800;font-size:14px;border-radius:11px;padding:11px 16px;direction:rtl;white-space:nowrap}
.brp-code.brp-ok em{background:#5E2E24}
.brp-go{margin-top:12px;border:0;cursor:pointer;background:linear-gradient(135deg,#5E2E24 0%,#773B2E 50%,#5E2E24 100%);color:#fff;font-family:inherit;font-weight:800;font-size:16px;border-radius:14px;padding:15px;transition:filter .2s}
.brp-go:hover{filter:brightness(1.12)}
.brp-cut{flex:0 0 0;border-right:3px dashed rgba(119,59,46,.35);margin:24px 0}
.brp-side{position:relative;flex:0 0 35%;background:linear-gradient(150deg,#9A5440 0%,#773B2E 45%,#5E2E24 100%);color:#fff;border-radius:24px 0 0 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px 14px;text-align:center;overflow:hidden}
.brp-side:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgba(255,255,255,.06) 0 2px,transparent 2px 16px)}
.brp-side:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.18),transparent);top:-60px;left:-60px}
.brp-up{position:relative;z-index:1;font-size:15px;font-weight:700;opacity:.9}
.brp-num{position:relative;z-index:1;font-size:104px;font-weight:800;line-height:1;margin:4px 0;direction:ltr;letter-spacing:-3px}
.brp-num small{font-size:44px;letter-spacing:0;margin-left:2px}
.brp-down{position:relative;z-index:1;font-size:15px;font-weight:800;border-top:1.5px solid rgba(255,255,255,.35);padding-top:10px;margin-top:4px}
.brp-x{position:absolute;top:-14px;right:-14px;z-index:3;width:40px;height:40px;border-radius:50%;border:0;cursor:pointer;background:#fff;color:#5E2E24;font-size:23px;line-height:40px;padding:0;box-shadow:0 6px 18px rgba(0,0,0,.22);transition:transform .25s}
.brp-x:hover{transform:rotate(90deg)}
.brp-pill{position:fixed;left:0;top:50%;margin-top:-22px;border-radius:0 999px 999px 0 !important;z-index:99998;display:flex;align-items:center;gap:8px;background:#773B2E;color:#fff;border:0;cursor:pointer;font-family:'Almarai',sans-serif;font-weight:800;font-size:14px;padding:11px 16px 11px 12px;box-shadow:0 10px 24px rgba(119,59,46,.35);direction:rtl;transform:translateX(-140%);transition:transform .45s cubic-bezier(.2,.9,.3,1.2)}
.brp-pill.brp-in{transform:none}
.brp-pill span{font-size:17px;line-height:1}
.brp-pill-x{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.22);font-size:13px;margin-right:4px}
@media (max-width:600px){
.brp-card{min-height:0;border-radius:18px;-webkit-mask:radial-gradient(circle 12px at 34% 0,transparent 11.5px,#000 12.5px),radial-gradient(circle 12px at 34% 100%,transparent 11.5px,#000 12.5px);-webkit-mask-composite:source-in;mask:radial-gradient(circle 12px at 34% 0,transparent 11.5px,#000 12.5px),radial-gradient(circle 12px at 34% 100%,transparent 11.5px,#000 12.5px);mask-composite:intersect}
.brp-main{padding:20px 16px 16px}
.brp-tag{font-size:11px;padding:4px 10px;margin-bottom:8px}
.brp-title{font-size:18px;margin-bottom:6px}
.brp-text{font-size:12.5px;line-height:1.6;margin-bottom:12px}
.brp-code{padding:4px 4px 4px 10px;border-radius:12px}
.brp-code b{font-size:19px;letter-spacing:3px}
.brp-code em{font-size:11.5px;padding:8px 9px;border-radius:9px}
.brp-go{padding:11px;font-size:14px;margin-top:8px}
.brp-cut{margin:16px 0}
.brp-side{flex-basis:34%;border-radius:18px 0 0 18px;padding:16px 6px}
.brp-up,.brp-down{font-size:11.5px}
.brp-num{font-size:56px;letter-spacing:-2px}
.brp-num small{font-size:24px}
.brp-x{top:-12px;right:-8px;width:34px;height:34px;line-height:34px;font-size:20px}
.brp-pill{font-size:12.5px;padding:9px 12px 9px 9px}
}