[data-shipping-progress][hidden] { display: none !important; }
[data-shipping-progress][role="button"] { cursor: pointer; }
#locationModal .modal-card { display: grid; gap: 16px; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
#locationModal .modal-head { margin-bottom: 0; }
#locationModal .storefront-address-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#locationModal .secondary-button { min-width: 0; padding: 10px; font-size: 13px; }
#locationModal p { margin: 0; font-size: 12px; color: var(--gray-600, #62736a); }
/* Extensions for newly wired controls; the source stylesheets remain unchanged. */
[data-loyalty-feature][hidden], [data-auth-step][hidden], [data-checkout-registration][hidden], [data-cart-checkout][hidden] { display: none !important; }
[data-cart-count][hidden], [data-notification-count][hidden] { display: none !important; }
#notificationPreferencesForm .notification-preference-toggle {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfcfb; cursor: pointer;
}
#notificationPreferencesForm .notification-preference-toggle input[type="checkbox"] {
  flex: 0 0 18px; width: 18px; height: 18px; margin: 0; padding: 0;
  accent-color: var(--green-700); cursor: pointer;
}
#notificationPreferencesForm .notification-preference-toggle input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--green-700); outline-offset: 3px; box-shadow: none;
}
#notificationPreferencesForm .notification-preference-toggle span {
  color: var(--ink); font-size: 13px; font-weight: 500;
}
.order-status-guidance { margin: 16px 0; line-height: 1.8; color: var(--muted); }
#page-order-detail .page-subheader { grid-template-columns: 42px minmax(0, 1fr) minmax(120px, 320px); }
#page-order-detail .status-badge { white-space: normal; min-width: 0; line-height: 1.7; }
.order-card-head { min-width: 0; }
.order-card h3 { overflow-wrap: anywhere; }
.order-card aside { max-width: 240px; }
@media (max-width: 600px) {
  #page-order-detail .page-subheader { grid-template-columns: 42px minmax(0, 1fr); }
  #page-order-detail .status-badge { grid-column: 1 / -1; justify-self: start; max-width: 100%; }
  .order-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.section-static-ads[data-ad-layout="grid"] .section-static-ad-images { display: grid; grid-template-columns: repeat(var(--ad-desktop-columns), minmax(0, 1fr)); gap: 16px; }
.section-static-ad-images img, .site-ad-popup-image { display: block; width: 100%; height: auto; border-radius: 16px; }
.section-static-ads[data-ad-layout="swiper"] { padding-bottom: 56px; }
.storefront-field-error, [data-cart-issues] { color: #b42318; }
[data-cart-issues] { padding: 12px 0; }
.catalog-sort-trigger:disabled, .catalog-sort-option:disabled { opacity: .55; cursor: not-allowed; }
.storefront-address-actions { display: flex; gap: 8px; }
.storefront-address-actions button { background: transparent; border: 0; color: inherit; }
@media (max-width: 760px) { .section-static-ads[data-ad-layout="grid"] .section-static-ad-images { grid-template-columns: repeat(var(--ad-mobile-columns), minmax(0, 1fr)); } }
.product-card, #page-product, .product-card [dir], #page-product [dir] { direction: rtl; }
#liveCartDrawer[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.product-card-copy, .product-detail-english, .sku-measurements { text-align: right; }
.favorite-button.active svg, [data-favorite-selected].active svg { fill: currentColor; color: #e84b66; }
.commerce-loading {
  position: relative;
  color: transparent !important;
  cursor: wait;
  pointer-events: none;
}
.commerce-loading svg { visibility: hidden; }
html[data-storefront-theme] body .commerce-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--commerce-loading-color, #167649);
  border-right-color: transparent;
  border-radius: 50% !important;
  animation: commerce-button-spin .7s linear infinite;
}
@keyframes commerce-button-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html[data-storefront-theme] body .commerce-loading::after { animation: none; }
}
.storefront-region-pending { position: relative; }
.storefront-region-loader { position: absolute; inset-inline-end: 8px; top: 8px; display: inline-flex; align-items: center; justify-content: center; padding: 5px; background: #fffffff0; border-radius: 6px; color: #167649; z-index: 2; pointer-events: none; }
.storefront-region-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: commerce-button-spin .7s linear infinite; }
.storefront-content-pending { min-height: 96px; }
.storefront-content-pending > :not(.storefront-region-loader) { visibility: hidden; }
.storefront-content-pending > .storefront-region-loader { inset: 0; border-radius: inherit; pointer-events: auto; }
form[aria-busy="true"] input, form[aria-busy="true"] select, form[aria-busy="true"] textarea { opacity: .65; }
@media (prefers-reduced-motion: reduce) { .storefront-region-spinner { animation: none; } }
.storefront-savings { display: flex; flex-direction: column; margin-block: 18px; padding-block: 16px; border-block: 1px solid #e6eee9; }
.storefront-savings h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; }
.storefront-savings h3 svg { width: 18px; height: 18px; }
.storefront-savings>div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block: 4px; }
.storefront-savings .savings-offer { font-size: 12px; line-height: 1.6; }
.storefront-savings .savings-offer>span { min-width: 0; overflow-wrap: anywhere; }
.storefront-savings .savings-total { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e6eee9; font-size: 14px; font-weight: 700; }
.storefront-savings strong { color: #167649; white-space: nowrap; }
.storefront-savings p { color: #647569; font-size: 13px; }
.sku-measurements>div { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; }
.sku-measurements dd { margin: 0; }
.sku-options>div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sku-options button { display: flex; flex-direction: column; gap: 6px; text-align: right; white-space: normal; }
.sku-options .line-offer { color: #167649; }
#skuModal .modal-card { max-height: 90dvh; overflow: auto; }
.modal-card select { width: 100%; min-height: 44px; border: 1px solid #dce5df; border-radius: 10px; background: #fff; padding: 10px; font: inherit; }
/* Storefront forms keep values aligned with the RTL layout, including LTR identifiers. */
:is(.checkout-form-card, .profile-form, .contact-form-card, .modal-card) :is(input, textarea, select):not(.phone-input input, .otp-inputs input, [type="radio"], [type="checkbox"], [type="hidden"]) {
  min-width: 0; max-width: 100%; text-align: right;
}
:is(.checkout-form-card, .profile-form, .contact-form-card, .modal-card) :is(input, textarea)::placeholder {
  direction: rtl; text-align: right;
}
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid>* { min-width: 0; }
@media (max-width: 980px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.checkout-form-card input[type="date"] { position: relative; padding-left: 40px; }
.checkout-form-card input[type="date"]::-webkit-datetime-edit { direction: ltr; text-align: right; }
.checkout-form-card input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; left: 12px; margin: 0; }
@media (max-width: 600px) { .checkout-form-card .payment-options { grid-template-columns: minmax(0, 1fr); } }
/* Closed lists must not extend a modal's scrollable content. */
.catalog-sort-options { display: none; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.catalog-sort-menu.open .catalog-sort-options { display: block; }
.catalog-sort-menu.opens-up .catalog-sort-options { top: auto; bottom: calc(100% + 8px); }
html[data-storefront-theme] body .catalog-sort-trigger::after {
  border-radius: 0 !important; border: 0; border-right: 1.75px solid #275777;
  border-bottom: 1.75px solid #275777; flex-shrink: 0;
}
.catalog-sort-trigger:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; }
.catalog-sort-trigger>span { min-width: 0; text-align: start; }
:is(.modal-card, .auth-card, .checkout-form-card, .profile-form) :is(.catalog-sort-trigger, .catalog-sort-option)>span { text-align: right; }
:is(.modal-card, .auth-card, .checkout-form-card, .profile-form) .catalog-sort-field { display: grid; gap: 7px; width: 100%; min-width: 0; }
:is(.modal-card, .auth-card, .checkout-form-card, .profile-form) .catalog-sort-menu { width: 100%; min-width: 0; }
:is(.modal-card, .auth-card, .checkout-form-card, .profile-form) .catalog-sort-trigger {
  width: 100%; min-width: 0; height: auto; min-height: 48px; padding: 11px 14px;
  background: #fbfcfb; border-color: var(--line); color: var(--ink); font-size: 13px;
  line-height: 1.6; font-weight: 600; box-shadow: none; text-align: start;
}
:is(.modal-card, .auth-card, .checkout-form-card, .profile-form) .catalog-sort-trigger:hover { border-color: #a9c5b0; }
:is(.modal-card, .auth-card, .checkout-form-card, .profile-form) .catalog-sort-menu.open .catalog-sort-trigger {
  border-color: #8fc4a1; box-shadow: 0 0 0 3px rgba(39, 146, 78, .08);
}
:is(.modal-card, .auth-card, .checkout-form-card, .profile-form) .catalog-sort-options { width: 100%; }
:is(.modal-card, .auth-card, .checkout-form-card, .profile-form) .catalog-sort-option { min-height: 44px; font-size: 13px; line-height: 1.6; }
.catalog-sort-option>span { min-width: 0; overflow-wrap: anywhere; }
.catalog-sort-option svg { flex-shrink: 0; }
.catalog-sort-option[aria-selected="true"] { background: #edf7ef; color: #246b2b; }
[data-registration-fields]:not([hidden]) { display: grid; gap: 14px; }
#locationForm>p { margin-block: 4px 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }
@media (max-height: 740px) {
  .auth-modal .auth-card { padding-top: 56px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .auth-modal .auth-icon { width: 52px; height: 52px; }
  .auth-modal .auth-card h1 { margin-top: 12px; }
}
.product-badge.flash [data-flash-countdown] { font-variant-numeric: tabular-nums; font-size: 10px; }
.mobile-search-modal .modal-card {
  display: flex; flex-direction: column; width: 100%; height: 100vh; height: 100dvh;
  max-width: none; min-height: 0; border-radius: 0; overflow: hidden;
  padding: calc(20px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right))
    calc(20px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left));
}
.mobile-search-modal { padding: 0; }
.mobile-search-modal .modal-head { flex-shrink: 0; }
/* The header's fixed-height form and button order must not constrain modal results. */
.mobile-search-modal .site-search {
  display: grid; flex: 1; width: 100%; height: auto; min-height: 0;
  grid-template-columns: minmax(0, 1fr) 44px; grid-template-rows: 46px minmax(0, 1fr);
  gap: 12px 0; align-items: stretch; background: transparent; box-shadow: none;
}
.mobile-search-modal .site-search>input { grid-column: 1; grid-row: 1; background: #f3f7f4; font-size: 16px; }
.mobile-search-modal .site-search>button { grid-column: 2; grid-row: 1; order: 0; width: 44px; }
.mobile-search-modal .search-suggestions {
  position: static; grid-column: 1 / -1; grid-row: 2; align-content: start;
  width: 100%; min-height: 0; max-height: none; overflow-y: auto;
  overscroll-behavior: contain; box-shadow: none; margin-top: 0;
}
.mobile-location-search { display: flex; align-items: center; gap: 10px; padding-inline: 14px; }
.mobile-search-trigger { display: flex; align-items: center; gap: 7px; border: 0; border-radius: 8px; background: #f0f6f2; color: #476251; font: inherit; font-size: 12px; min-width: 0; padding: 8px; }
.mobile-search-trigger svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 760px) {
  .mobile-location-search .mobile-location { flex: 1; width: auto; padding-inline: 0; white-space: nowrap; font-size: 11px; }
  .mobile-search-trigger { flex: 1; justify-content: flex-start; }
  .mobile-search-trigger span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

/* Mobile navigation overrides retain the original desktop and storefront styles. */
@media (max-width: 980px) {
  .mobile-header {
    --mobile-header-control-size: clamp(40px, 11vw, 44px);
    --mobile-header-icon-size: clamp(19px, 5.5vw, 22px);
    padding: calc(8px + env(safe-area-inset-top)) 12px 12px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(13, 45, 30, .06);
  }
  .mobile-header-row { height: 56px; grid-template-columns: var(--mobile-header-control-size) minmax(0, 1fr) auto; gap: 4px; }
  .mobile-header .mobile-icon {
    width: var(--mobile-header-control-size);
    height: var(--mobile-header-control-size);
    flex: 0 0 var(--mobile-header-control-size);
    border-radius: 12px;
    background: var(--mint);
    color: var(--green-800);
  }
  .mobile-header .mobile-icon svg { width: var(--mobile-header-icon-size); height: var(--mobile-header-icon-size); }
  .mobile-header-actions { gap: 4px; }
  .mobile-header .mobile-brand { width: 100%; min-width: 0; justify-content: center; }
  .mobile-header .mobile-brand .mogamdat-header-logo { width: clamp(112px, 36vw, 160px); height: auto; max-width: 100%; max-height: 40px; object-fit: contain; }
  .mobile-location-search { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr); gap: 8px; padding-inline: 0; margin-top: 8px; }
  .mobile-location-search .mobile-location {
    width: 100%; min-width: 0; height: 44px; justify-content: flex-start; gap: 8px;
    border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--mint); color: #53685c; text-align: right;
  }
  .mobile-location-search .mobile-location>svg { width: 18px; height: 18px; flex-shrink: 0; }
  .mobile-location-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
  .mobile-location-copy small { font-size: 10px; line-height: 1.25; color: #68756e; }
  .mobile-location-copy strong { font-size: 12px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-location-search .mobile-location .mobile-location-chevron { width: 12px; height: 12px; color: #68756e; transform: rotate(-90deg); }
  .mobile-header .mobile-search-trigger { height: 44px; width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; gap: 8px; font-size: 13px; background: var(--mint); color: #53685c; }
  .mobile-search-trigger svg { width: 18px; height: 18px; }
  .mobile-search-trigger span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .drawer-quick-actions [data-mobile-cart-count] { top: -9px; right: -9px; border-color: #fff; }
  .mobile-header .icon-badge b { top: -7px; right: -7px; min-width: 16px; height: 16px; padding-inline: 3px; border-color: #fff; font-size: 8px; }
  .mobile-header .mobile-icon:focus-visible, .mobile-header .mobile-location:focus-visible, .mobile-header .mobile-search-trigger:focus-visible,
  .mobile-drawer a:focus-visible, .mobile-drawer button:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; }

  .mobile-drawer {
    display: flex; flex-direction: column; height: 100dvh; overflow: hidden;
    padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  }
  .mobile-drawer .drawer-head { gap: 12px; flex-shrink: 0; padding-bottom: 16px; }
  .mobile-drawer .drawer-head .brand { min-width: 0; flex: 1; }
  .mobile-drawer .drawer-head .mogamdat-header-logo { width: 176px; height: auto; max-height: 44px; object-fit: contain; }
  .mobile-drawer .drawer-head>button { width: 44px; height: 44px; flex-shrink: 0; }
  .mobile-drawer .drawer-search { flex-shrink: 0; height: 44px; margin-top: 16px; }
  .mobile-drawer .drawer-search>input { font-size: 13px; }
  .mobile-drawer .drawer-search>button { width: 44px; min-height: 44px; }
  .mobile-drawer .drawer-navigation { flex: 1; min-height: 0; overflow-y: auto; align-content: start; margin-top: 12px; padding-block: 4px 12px; }
  .mobile-drawer .drawer-navigation>a { flex-shrink: 0; }
  .drawer-quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex-shrink: 0; padding-top: 16px; border-top: 1px solid var(--line); }
  .drawer-quick-actions>a, .drawer-quick-actions>button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-width: 0; min-height: 76px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--mint); color: var(--green-800); font-size: 12px; font-weight: 700;
  }
  .drawer-quick-actions .active { border-color: var(--green-700); }
  .drawer-quick-actions svg { width: 22px; height: 22px; }
  .mobile-drawer[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
  .mobile-drawer.open { visibility: visible; }
}
@media (prefers-reduced-motion: reduce) { .mobile-drawer { transition: none; } }

/* PWA installation uses its own toast so commerce notifications remain independent. */
.mobile-drawer .drawer-navigation > [data-pwa-install] {
  display: flex; align-items: center; gap: 14px; flex-shrink: 0; width: 100%; height: 50px;
  padding: 0 15px; border-radius: 12px; font: inherit; font-weight: 800; color: #324239; text-align: right;
}
.mobile-drawer .drawer-navigation > [data-pwa-install] svg { color: var(--green-700); }
.mobile-drawer .drawer-navigation > [data-pwa-install]:hover { background: var(--mint); color: var(--green-800); }
.mobile-drawer [data-pwa-install][hidden], .pwa-install-toast[hidden], .pwa-install-toast [hidden], [data-pwa-guide][hidden] { display: none !important; }
.pwa-install-toast {
  position: fixed; z-index: 110; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 44px; align-items: center; gap: 12px;
  width: min(580px, calc(100% - 24px)); padding: 16px; border: 1px solid #dce8df; border-radius: 18px;
  background: #fff; color: var(--green-800); box-shadow: 0 12px 42px rgba(13, 45, 30, .18);
}
.pwa-install-toast img { width: 48px; height: 48px; border-radius: 10px; }
.pwa-install-toast-copy { display: grid; gap: 4px; min-width: 0; }
.pwa-install-toast-copy strong { font-size: 14px; }
.pwa-install-toast-copy span { font-size: 12px; line-height: 1.7; color: #607467; }
.pwa-install-action { min-height: 44px; padding: 10px 14px; border-radius: 10px; background: var(--green-700); color: #fff; font-size: 12px; font-weight: 800; }
.pwa-install-dismiss { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #607467; background: var(--mint); }
.pwa-install-toast button:focus-visible, .pwa-install-modal button:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; }
.pwa-install-modal { padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); }
.pwa-install-modal-card { max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto; }
.pwa-install-modal .modal-head { align-items: flex-start; gap: 12px; }
.pwa-install-modal .modal-head h2 { font-size: 19px; line-height: 1.6; }
.pwa-install-modal .modal-head button { width: 44px; min-width: 44px; height: 44px; }
.pwa-install-modal p { font-size: 13px; line-height: 1.9; color: #607467; }
.pwa-install-steps { display: grid; gap: 14px; padding: 0; margin: 20px 0; list-style: none; }
.pwa-install-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13px; line-height: 1.9; }
.pwa-install-steps li > svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--mint); color: var(--green-700); }
.pwa-install-modal .pwa-install-note { padding: 12px; border-radius: 12px; background: var(--mint); margin-bottom: 20px; }
@media (max-width: 980px) {
  .pwa-install-toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  body:has(.mobile-live-cart-bar.visible) .pwa-install-toast { bottom: calc(168px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .pwa-install-toast { grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 10px; padding: 12px; }
  .pwa-install-dismiss { grid-column: 3; grid-row: 1; align-self: start; }
  .pwa-install-action { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-height: 480px) and (max-width: 980px) {
  .pwa-install-toast { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
  .pwa-install-toast img { display: none; }
  .pwa-install-dismiss { grid-column: 2; grid-row: 1; }
  .pwa-install-toast-copy span { display: none; }
  .pwa-install-action { grid-column: 1 / -1; grid-row: 2; }
}

/* Header notifications use a dedicated right-side drawer. */
.desktop-header .notification-action .icon-badge { position: static; }

/* Match the cart drawer header to the notifications drawer header. */
.live-cart-drawer .live-cart-head {
  min-height: 112px;
  padding: 24px;
  gap: 20px;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: #fff;
}
.live-cart-head > div { display: grid; gap: 4px; }
.live-cart-head span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.live-cart-head h2 { margin: 0; font-size: 24px; line-height: 1.4; color: #fff; }
.live-cart-head > button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
}
.live-cart-head > button:hover { background: rgba(255, 255, 255, .22); }
.live-cart-head > button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.live-cart-head > button svg { width: 20px; height: 20px; }

.notifications-scrim {
  position: fixed;
  z-index: 154;
  inset: 0;
  background: rgba(8, 31, 20, .48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}
.notifications-scrim.open { opacity: 1; visibility: visible; pointer-events: auto; }
.notifications-drawer {
  position: fixed;
  z-index: 160;
  inset-block: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(420px, 100vw);
  background: #fff;
  color: #263b30;
  box-shadow: -24px 0 54px rgba(8, 31, 20, .2);
  direction: rtl;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s ease;
}
.notifications-drawer.open { transform: translateX(0); visibility: visible; }
.notifications-drawer .notifications-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 112px;
  padding: 24px;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: #fff;
  border-radius: 0 !important;
}
.notifications-drawer-title { display: grid; gap: 4px; }
.notifications-drawer-head span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.notifications-drawer-head h2 { margin: 0; font-size: 24px; line-height: 1.4; }
.notifications-drawer-head button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.notifications-drawer-head button:hover { background: rgba(255, 255, 255, .22); }
.notifications-drawer-head button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.notifications-drawer-head svg { width: 20px; height: 20px; }
.notifications-drawer-toolbar {
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  padding: 12px 18px;
  border-bottom: 1px solid #e0e9e3;
  background: #fff;
  direction: rtl;
}
.notifications-drawer-toolbar[hidden] { display: none; }
.notifications-clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding-inline: 13px;
  border: 1px solid #cddfd3;
  border-radius: 999px;
  background: #f3faf5;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.notifications-clear-button:hover { border-color: var(--green-600); background: var(--mint); }
.notifications-clear-button:focus-visible { outline: 3px solid rgba(36, 149, 79, .25); outline-offset: 2px; }
.notifications-clear-button:disabled { cursor: wait; opacity: .65; }
.notifications-clear-button svg { width: 17px; height: 17px; }
.notifications-drawer-content {
  grid-row: 3;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  background: #f6faf7;
  direction: ltr;
  scrollbar-width: thin;
  scrollbar-color: var(--green-600) #e7efe9;
}
.notifications-drawer-content::-webkit-scrollbar { width: 8px; }
.notifications-drawer-content::-webkit-scrollbar-track { background: #e7efe9; }
.notifications-drawer-content::-webkit-scrollbar-thumb {
  border: 2px solid #e7efe9;
  border-radius: 999px;
  background: var(--green-600);
}
.notifications-drawer-content::-webkit-scrollbar-thumb:hover { background: var(--green-700); }
.notifications-drawer-content p {
  direction: rtl;
  text-align: right;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid #e0e9e3;
  border-radius: 15px;
  background: #fff;
  color: #33483c;
  line-height: 1.8;
  box-shadow: 0 5px 18px rgba(13, 45, 30, .045);
}
.notifications-drawer-content p:last-child { margin-bottom: 0; }
.notification-card {
  position: relative;
  direction: rtl;
  margin-bottom: 10px;
  border: 1px solid #e0e9e3;
  border-radius: 13px;
  background: #fff;
  text-align: right;
  box-shadow: 0 5px 18px rgba(13, 45, 30, .045);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.notification-card:last-child { margin-bottom: 0; }
.notification-card--unread {
  border-color: #d6e5fb;
  background: #f4f8ff;
}
.notification-card:hover { border-color: #b8d0c0; background: #f9fcfa; }
.notification-card--unread:hover { border-color: #b9d2f5; background: #eef5ff; }
.notification-card:focus-within { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(36, 149, 79, .14); }
.notification-card-link {
  display: grid;
  gap: 5px;
  min-height: 100%;
  padding: 12px 14px;
  padding-inline-end: 50px;
  color: inherit;
  cursor: pointer;
}
.notification-card-link:hover { color: inherit; }
.notification-card-link:focus-visible { outline: 2px solid var(--green-700); outline-offset: -3px; }
.notification-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.notification-card--unread .notification-card-title { font-weight: 800; }
.notification-unread-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}
.notification-card-message {
  color: #4f6257;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}
.notification-card-time {
  color: #87968e;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
.notification-card-remove {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d8e4db;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  color: #64756b;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.notification-card-remove:hover { border-color: #efb8bc; background: #fdebec; color: #c62828; }
.notification-card-remove:focus-visible { outline: 2px solid #c62828; outline-offset: 2px; }
.notification-card-remove:disabled { cursor: wait; opacity: .55; }
.notification-card-remove svg { width: 15px; height: 15px; }

@media (max-width: 600px) {
  .live-cart-drawer .live-cart-head { min-height: 96px; padding: 18px 16px; }
  .notifications-drawer { width: 100vw; }
  .notifications-drawer-head { min-height: 96px; padding: 18px 16px; }
  .notifications-drawer-toolbar { padding: 10px 12px; }
  .notifications-drawer-content { padding: 12px; }
  .notification-card-link { padding: 11px 12px; padding-inline-end: 52px; }
  .notification-card-remove { width: 34px; height: 34px; inset-block-start: 8px; inset-inline-end: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .notifications-scrim,
  .notifications-drawer { transition: none; }
}

/* Address deletion confirmation shown before the existing DELETE request. */
.delete-address-confirmation {
  justify-items: center;
  gap: 18px !important;
  padding-top: 6px;
  text-align: center;
}
.delete-address-confirmation-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff1ef;
  color: var(--danger);
}
.delete-address-confirmation-icon svg { width: 28px; height: 28px; }
.delete-address-confirmation p {
  max-width: 360px;
  margin: 0;
  color: #526158;
  font-size: 14px;
  line-height: 1.9;
}
.delete-address-confirmation p strong { color: var(--ink); }
.delete-address-confirmation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.delete-address-confirm-button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
}
.delete-address-confirm-button:hover { filter: brightness(.94); }
.delete-address-confirm-button:focus-visible { outline: 3px solid rgba(229, 57, 53, .3); outline-offset: 2px; }
.delete-address-confirm-button:disabled { cursor: wait; opacity: .65; }

/* Keep the default-address checkbox compact instead of inheriting text-input sizing. */
#addressForm .address-default-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfb;
  cursor: pointer;
}
#addressForm .address-default-toggle input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border-radius: 5px;
  accent-color: var(--green-700);
  box-shadow: none;
  cursor: pointer;
}
#addressForm .address-default-toggle input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
  box-shadow: none;
}
#addressForm .address-default-toggle > span {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  #addressForm .address-default-toggle { min-height: 44px; padding: 9px 10px; }
  #addressForm .address-default-toggle input[type="checkbox"] { flex-basis: 18px; width: 18px; height: 18px; }
  #addressForm .address-default-toggle > span { font-size: 12px; }
}

/* Readable type hierarchy for the checkout order-summary card. */
.checkout-summary h2 {
  font-size: 18px;
  line-height: 1.5;
}
.checkout-summary-item strong {
  font-size: 15px;
  line-height: 1.55;
}
.checkout-summary-item small {
  font-size: 12px;
  line-height: 1.55;
}
.checkout-summary-item > span:last-child {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
}
.checkout-summary .storefront-savings h3 { font-size: 16px; }
.checkout-summary .storefront-savings .savings-offer { font-size: 13px; }
.checkout-summary .storefront-savings .savings-total { font-size: 14px; }
.checkout-summary .storefront-savings p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}
.checkout-summary-shipping {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 12px; border-bottom: 1px solid #e6eee9; font-size: 13px; line-height: 1.6;
}
.checkout-summary-shipping strong { color: var(--green-800); text-align: left; }
.checkout-summary-total span {
  font-size: 14px;
  line-height: 1.5;
}
.checkout-summary-total small {
  font-size: 10px;
  line-height: 1.5;
}
.checkout-summary-total strong {
  font-size: 22px;
  line-height: 1.35;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .checkout-summary h2 { font-size: 17px; }
  .checkout-summary-item strong { font-size: 14px; }
  .checkout-summary-item small { font-size: 11px; }
  .checkout-summary-item > span:last-child { font-size: 14px; }
  .checkout-summary .storefront-savings h3 { font-size: 15px; }
  .checkout-summary .storefront-savings .savings-offer,
  .checkout-summary .storefront-savings p { font-size: 12px; }
  .checkout-summary .storefront-savings .savings-total,
  .checkout-summary-total span { font-size: 13px; }
  .checkout-summary-total small { font-size: 10px; }
  .checkout-summary-total strong { font-size: 20px; }
}

/* Readable type hierarchy for the cart order-summary card. */
.order-summary-card h2 {
  font-size: 18px;
  line-height: 1.5;
}
.order-summary-card dl > div {
  font-size: 13px;
  line-height: 1.6;
}
.order-summary-card .storefront-savings h3 { font-size: 16px; }
.order-summary-card .storefront-savings .savings-offer { font-size: 13px; }
.order-summary-card .storefront-savings .savings-total { font-size: 14px; }
.order-summary-card .storefront-savings p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}
.order-summary-card .summary-total span {
  font-size: 14px;
  line-height: 1.5;
}
.order-summary-card .summary-total small {
  font-size: 10px;
  line-height: 1.5;
}
.order-summary-card .summary-total strong {
  font-size: 22px;
  line-height: 1.35;
}
.order-summary-card > .primary-button {
  font-size: 15px;
  line-height: 1.5;
}
.order-summary-card .summary-note {
  font-size: 10px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .order-summary-card h2 { font-size: 17px; }
  .order-summary-card dl > div { font-size: 12px; }
  .order-summary-card .storefront-savings h3 { font-size: 15px; }
  .order-summary-card .storefront-savings .savings-offer,
  .order-summary-card .storefront-savings p { font-size: 12px; }
  .order-summary-card .storefront-savings .savings-total,
  .order-summary-card .summary-total span { font-size: 13px; }
  .order-summary-card .summary-total small,
  .order-summary-card .summary-note { font-size: 10px; }
  .order-summary-card .summary-total strong { font-size: 20px; }
  .order-summary-card > .primary-button { font-size: 14px; }
}

/* Checkout sales-contact note typography. */
.sales-confirmation-note > span { min-width: 0; }
.sales-confirmation-note strong {
  font-size: 15px;
  line-height: 1.6;
}
.sales-confirmation-note small {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .sales-confirmation-note strong { font-size: 14px; }
  .sales-confirmation-note small { font-size: 11px; }
}

.delivery-coverage-message { padding: 12px 16px; border-radius: 12px; color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; }
.delivery-coverage-label { color: #9f1239; font-weight: 700; }
#addressModal .modal-card { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.address-location-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.address-location-row > * { min-width: 0; }
.address-location-row input { min-height: 48px; }
