/**
 * WooCommerce shop — Design.html catalog, pcard, cart, checkout
 */

/* ===== Shop shell ===== */
.noureldeing-shop .noureldeing-woo-content {
  padding-block: 28px 56px;
}

.noureldeing-woocommerce .woocommerce-breadcrumb {
  padding: 0;
  margin: 0;
  font-size: 12.5px;
  color: var(--nd-muted);
  font-family: var(--nd-font-heading);
}

.noureldeing-woo-breadcrumb-wrap {
  background: var(--nd-white);
  border-bottom: 1px solid rgba(226, 218, 200, 0.65);
}

.noureldeing-woo-breadcrumb-wrap .noureldeing-container {
  padding-block: 18px;
}

.noureldeing-woo-breadcrumb .woocommerce-breadcrumb {
  padding: 0;
}

.noureldeing-woocommerce .woocommerce-breadcrumb a,
.noureldeing-woo-breadcrumb a {
  color: var(--nd-muted);
  text-decoration: none;
}

.noureldeing-woocommerce .woocommerce-breadcrumb a:hover,
.noureldeing-woo-breadcrumb a:hover {
  color: var(--nd-emerald);
}

.noureldeing-woo-breadcrumb .breadcrumb-current {
  color: var(--nd-dark-green);
  font-weight: 700;
}

.noureldeing-woo-breadcrumb .breadcrumb-delimiter {
  color: var(--nd-muted);
  opacity: 0.85;
}

.noureldeing-woo-single-product .noureldeing-woo-breadcrumb-wrap {
  border-bottom: none;
}

.noureldeing-woo-single-product .noureldeing-woo-breadcrumb-wrap .noureldeing-container {
  padding-block: 18px 0;
}

/* ===== Catalog layout ===== */
.noureldeing-catalog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  padding: 10px 0 20px;
  min-width: 0;
}

.noureldeing-catalog-main {
  min-width: 0;
  max-width: 100%;
}

.noureldeing-shop-sidebar {
  background: var(--nd-cream);
  border-radius: 8px;
  padding: 22px;
}

.noureldeing-shop-sidebar .widget {
  margin: 0 0 26px;
}

.noureldeing-shop-sidebar .widget:last-child {
  margin-bottom: 0;
}

.noureldeing-shop-sidebar .widget-title {
  font-family: var(--nd-font-heading);
  font-size: 13px;
  color: var(--nd-dark-green);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2dac8;
}

.noureldeing-shop-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.noureldeing-shop-sidebar li {
  margin-bottom: 10px;
  font-size: 13px;
  color: #4a544f;
}

.noureldeing-shop-sidebar a {
  color: inherit;
}

.noureldeing-shop-sidebar a:hover {
  color: var(--nd-emerald);
}

/* ===== Shop filter (Design.html filter-box) ===== */
.noureldeing-shop-filter {
  margin: 0;
}

.noureldeing-filter-group {
  margin-bottom: 26px;
}

.noureldeing-filter-group:last-of-type {
  margin-bottom: 0;
}

.noureldeing-filter-group__title {
  font-family: var(--nd-font-heading);
  font-size: 13px;
  color: var(--nd-dark-green);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2dac8;
}

.noureldeing-fopt,
.noureldeing-shop-filter .fopt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4a544f;
  margin-bottom: 10px;
  cursor: pointer;
}

.noureldeing-fopt:last-child,
.noureldeing-shop-filter .fopt:last-child {
  margin-bottom: 0;
}

.noureldeing-fopt input,
.noureldeing-shop-filter .fopt input {
  accent-color: var(--nd-emerald);
  flex-shrink: 0;
  margin: 0;
}

.noureldeing-filter-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.noureldeing-filter-price__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--nd-muted);
}

.noureldeing-filter-price__field input {
  width: 100%;
  border: 1px solid #e2dac8;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--nd-dark-green);
  background: var(--nd-white);
}

.noureldeing-filter-price__field input:focus {
  outline: 2px solid rgba(8, 64, 51, 0.15);
  border-color: var(--nd-emerald);
}

.noureldeing-filter-price__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--nd-muted);
}

.noureldeing-filter-actions {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #e2dac8;
}

.noureldeing-filter-clear {
  width: 100%;
  border: 1px solid #e2dac8;
  background: var(--nd-white);
  color: var(--nd-dark-green);
  font-family: var(--nd-font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.noureldeing-filter-clear:hover {
  background: var(--nd-emerald);
  border-color: var(--nd-emerald);
  color: var(--nd-white);
}

.noureldeing-shop-results {
  transition: opacity 0.2s ease;
}

.noureldeing-shop-results.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.noureldeing-shop-pagination {
  margin-top: 28px;
}

.noureldeing-shop-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.noureldeing-shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #e2dac8;
  color: var(--nd-dark-green);
  text-decoration: none;
  font-family: var(--nd-font-heading);
  font-size: 13px;
}

.noureldeing-shop-pagination .page-numbers.current {
  background: var(--nd-dark-green);
  border-color: var(--nd-dark-green);
  color: var(--nd-white);
}

.noureldeing-shop-pagination a.page-numbers:hover {
  border-color: var(--nd-emerald);
  color: var(--nd-emerald);
}

.noureldeing-catalog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.noureldeing-catalog-top .woocommerce-result-count {
  margin: 0;
  font-family: var(--nd-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--nd-dark-green);
}

.noureldeing-catalog-top .woocommerce-ordering {
  margin: 0;
}

.noureldeing-catalog-top .woocommerce-ordering select {
  border: 1px solid var(--nd-line);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-family: var(--nd-font-heading);
  color: #4a544f;
  background: var(--nd-white);
  min-height: auto;
}

.noureldeing-catalog-top__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Filter toggle (mobile drawer trigger) */
.noureldeing-filter-toggle {
  display: none;
  align-items: center;
  gap: 0;
  border: 1px solid var(--nd-line);
  border-radius: 20px;
  padding: 8px 16px;
  font-family: var(--nd-font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--nd-dark-green);
  background: var(--nd-white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.noureldeing-filter-toggle:hover,
.noureldeing-filter-toggle.has-active-filters {
  border-color: var(--nd-emerald);
  color: var(--nd-emerald);
}

.noureldeing-filter-toggle__count {
  font-weight: 700;
}

/* Filter drawer backdrop */
.noureldeing-filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(8, 64, 51, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.noureldeing-filter-backdrop:not([hidden]) {
  display: block;
}

body.noureldeing-filter-drawer-open .noureldeing-filter-backdrop {
  opacity: 1;
  visibility: visible;
}

/* Filter drawer panel */
.noureldeing-filter-drawer__header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e2dac8;
}

.noureldeing-filter-drawer__title {
  margin: 0;
  font-family: var(--nd-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--nd-dark-green);
}

.noureldeing-filter-drawer__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #e2dac8;
  border-radius: 50%;
  background: var(--nd-white);
  color: var(--nd-dark-green);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.noureldeing-filter-drawer__close:hover {
  background: var(--nd-emerald);
  border-color: var(--nd-emerald);
  color: var(--nd-white);
}

.noureldeing-filter-drawer__body {
  min-height: 0;
}

.noureldeing-filter-drawer__footer {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid #e2dac8;
}

.noureldeing-filter-apply {
  width: 100%;
  border: none;
  background: var(--nd-emerald);
  color: var(--nd-white);
  font-family: var(--nd-font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.noureldeing-filter-apply:hover {
  background: var(--nd-dark-green);
}

body.noureldeing-filter-drawer-open {
  overflow: hidden;
}

/* ===== Product grid ===== */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0 0 30px !important;
  padding: 0 !important;
  clear: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}

/* ===== Product card (.pcard) ===== */
.noureldeing-pcard__inner {
  background: var(--nd-white);
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.noureldeing-pcard:hover .noureldeing-pcard__inner {
  box-shadow: 0 10px 26px rgba(8, 64, 51, 0.1);
  transform: translateY(-3px);
}

.noureldeing-pcard__image {
  position: relative;
  background: color-mix(in srgb, var(--nd-cream) 40%, transparent);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  overflow: hidden;
  min-width: 0;
}

.noureldeing-pcard__thumb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.noureldeing-pcard__image img {
  max-width: 100% !important;
  max-height: 100%;
  width: auto !important;
  height: auto;
  margin: auto;
  object-fit: contain;
}

.noureldeing-pcard__badge,
.noureldeing-pcard .onsale,
.woocommerce ul.products li.product.noureldeing-pcard .onsale,
.woocommerce ul.products li.product.noureldeing-pcard .noureldeing-pcard__badge {
  position: absolute;
  top: 12px !important;
  bottom: auto !important;
  background: var(--nd-dark-green) !important;
  color: var(--nd-gold) !important;
  font-family: var(--nd-font-heading);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 11px !important;
  border-radius: 20px !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.35 !important;
  text-align: center;
  text-indent: 0 !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-sizing: border-box;
  pointer-events: none;
}

/* Arabic: left — English: right (opposite category meta) */
[dir="rtl"] .noureldeing-pcard__badge,
[dir="rtl"] .noureldeing-pcard .onsale,
[dir="rtl"] .woocommerce ul.products li.product.noureldeing-pcard .onsale,
[dir="rtl"] .woocommerce ul.products li.product.noureldeing-pcard .noureldeing-pcard__badge {
  left: 12px !important;
  right: auto !important;
}

[dir="ltr"] .noureldeing-pcard__badge,
[dir="ltr"] .noureldeing-pcard .onsale,
[dir="ltr"] .woocommerce ul.products li.product.noureldeing-pcard .onsale,
[dir="ltr"] .woocommerce ul.products li.product.noureldeing-pcard .noureldeing-pcard__badge {
  right: 12px !important;
  left: auto !important;
}

.noureldeing-pcard__image:has(.noureldeing-pcard__new-dot) .noureldeing-pcard__badge.onsale,
.noureldeing-pcard__image:has(.noureldeing-pcard__new-dot) .noureldeing-pcard .onsale {
  top: 30px !important;
}

.noureldeing-pcard__new-dot {
  position: absolute;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d62828;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(214, 40, 40, 0.35);
  z-index: 4;
  cursor: default;
}

[dir="rtl"] .noureldeing-pcard__new-dot {
  left: 12px;
  right: auto;
}

[dir="ltr"] .noureldeing-pcard__new-dot {
  right: 12px;
  left: auto;
}

.noureldeing-pcard__new-dot-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #d62828;
  color: #fff;
  font-family: var(--nd-font-heading);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 9px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 5;
}

.noureldeing-pcard__new-dot:hover .noureldeing-pcard__new-dot-label,
.noureldeing-pcard__new-dot:focus-visible .noureldeing-pcard__new-dot-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.noureldeing-pcard__badge--bestseller {
  top: auto !important;
  bottom: 12px !important;
  background: linear-gradient(135deg, #ff6b1a 0%, #e63900 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(230, 57, 0, 0.28);
}

[dir="rtl"] .noureldeing-pcard__badge--bestseller {
  left: 12px !important;
  right: auto !important;
}

[dir="ltr"] .noureldeing-pcard__badge--bestseller {
  right: 12px !important;
  left: auto !important;
}

.noureldeing-pcard__meta {
  position: absolute;
  top: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--nd-dark-green);
  font-family: var(--nd-font-heading);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--nd-line);
  z-index: 2;
}

/* Arabic: right — English: left */
[dir="rtl"] .noureldeing-pcard__meta {
  right: 12px;
  left: auto;
}

[dir="ltr"] .noureldeing-pcard__meta {
  left: 12px;
  right: auto;
}

.noureldeing-pcard__info {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.noureldeing-pcard__title {
  margin: 0 0 5px;
  font-family: var(--nd-font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.noureldeing-pcard__title a {
  color: var(--nd-ink);
  text-decoration: none;
}

.noureldeing-pcard__title a:hover {
  color: var(--nd-emerald);
}

.noureldeing-pcard__meaning {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-style: italic;
  color: #8a7536;
  line-height: 1.5;
}

.noureldeing-pcard__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  min-width: 0;
}

.noureldeing-pcard__price-wrap {
  min-width: 0;
}

.noureldeing-pcard__price-wrap .price {
  margin: 0;
  color: var(--nd-emerald);
  font-family: var(--nd-font-heading);
  font-size: 14px;
  font-weight: 700;
}

.noureldeing-pcard__price-wrap .price del {
  color: var(--nd-muted);
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.noureldeing-pcard__price-wrap .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product a.noureldeing-pcard__add,
.noureldeing-pcard a.noureldeing-pcard__add {
  flex-shrink: 0;
  background: var(--nd-mint) !important;
  color: var(--nd-emerald) !important;
  width: 32px;
  height: 32px;
  min-height: 32px;
  max-width: 32px;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-indent: 0;
  overflow: hidden;
}

.woocommerce ul.products li.product a.noureldeing-pcard__add span,
.noureldeing-pcard a.noureldeing-pcard__add span {
  display: block;
  line-height: 1;
}

.woocommerce ul.products li.product a.noureldeing-pcard__add:hover,
.noureldeing-pcard a.noureldeing-pcard__add:hover {
  background: var(--nd-emerald) !important;
  color: var(--nd-white) !important;
}

.woocommerce ul.products li.product a.noureldeing-pcard__add.loading,
.noureldeing-pcard a.noureldeing-pcard__add.loading {
  opacity: 0.65;
}

/* Hide any default loop add-to-cart outside our price row */
.noureldeing-pcard > .button,
.noureldeing-pcard > a.add_to_cart_button:not(.noureldeing-pcard__add) {
  display: none !important;
}

/* ===== Pagination ===== */
.woocommerce nav.woocommerce-pagination {
  margin-top: 10px;
}

.woocommerce nav.woocommerce-pagination ul {
  border: none;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--nd-line);
  border-radius: 4px;
  padding: 8px 14px;
  font-family: var(--nd-font-heading);
  color: var(--nd-dark-green);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--nd-dark-green);
  color: var(--nd-white);
  border-color: var(--nd-dark-green);
}

/* ===== Cart / Checkout / Account (shared base) ===== */
.noureldeing-woocommerce table.shop_table {
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.noureldeing-woocommerce table.shop_table th {
  background: var(--nd-cream);
  color: var(--nd-dark-green);
  font-family: var(--nd-font-heading);
  font-weight: 700;
  padding: 14px 16px;
}

.noureldeing-woocommerce table.shop_table td {
  padding: 14px 16px;
  border-top: 1px solid var(--nd-line);
}

.noureldeing-woocommerce .woocommerce-MyAccount-navigation,
.noureldeing-woocommerce .woocommerce-MyAccount-content {
  margin-top: 24px;
}

.noureldeing-woo-account .woocommerce {
  font-family: var(--nd-font-primary);
}

.noureldeing-woocommerce .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--nd-cream);
  border-radius: 8px;
  overflow: hidden;
}

.noureldeing-woocommerce .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid #e2dac8;
  color: var(--nd-ink);
  font-family: var(--nd-font-heading);
  font-size: 13px;
}

.noureldeing-woocommerce .woocommerce-MyAccount-navigation li.is-active a,
.noureldeing-woocommerce .woocommerce-MyAccount-navigation li a:hover {
  background: var(--nd-mint);
  color: var(--nd-emerald);
}

.noureldeing-woocommerce form .form-row input.input-text,
.noureldeing-woocommerce form .form-row textarea,
.noureldeing-woocommerce form .form-row select {
  border: 1px solid var(--nd-line);
  border-radius: 5px;
  padding: 12px 14px;
  font-family: var(--nd-font-primary);
}

.noureldeing-woocommerce .select2-container .select2-selection {
  border: 1px solid var(--nd-line);
  border-radius: 5px;
  padding: 0;
  font-family: var(--nd-font-primary);
}

.noureldeing-woocommerce .woocommerce-message,
.noureldeing-woocommerce .woocommerce-info,
.noureldeing-woocommerce .woocommerce-error {
  border-top-color: var(--nd-emerald);
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.noureldeing-woocommerce .woocommerce-notices-wrapper + * {
  margin-top: 0;
}

/* Single product styles: assets/css/woocommerce-single-product.css */

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .noureldeing-catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .noureldeing-filter-toggle {
    display: inline-flex;
  }

  .noureldeing-filter-backdrop {
    display: block;
  }

  .noureldeing-shop-sidebar.noureldeing-filter-drawer {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    bottom: 0;
    width: min(100%, 340px);
    max-width: 100%;
    z-index: 9999;
    margin: 0;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: var(--nd-cream);
    box-shadow: -8px 0 32px rgba(8, 64, 51, 0.18);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    order: unset;
  }

  [dir="rtl"] .noureldeing-shop-sidebar.noureldeing-filter-drawer {
    box-shadow: 8px 0 32px rgba(8, 64, 51, 0.18);
    transform: translateX(-100%);
  }

  body.noureldeing-filter-drawer-open .noureldeing-shop-sidebar.noureldeing-filter-drawer {
    transform: translateX(0);
  }

  .noureldeing-filter-drawer__header,
  .noureldeing-filter-drawer__footer {
    display: flex;
    flex-shrink: 0;
    padding-inline: 20px;
  }

  .noureldeing-filter-drawer__header {
    padding-top: 18px;
  }

  .noureldeing-filter-drawer__footer {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .noureldeing-filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 20px 20px;
  }

  .noureldeing-filter-actions--desktop {
    display: none;
  }
}

@media (max-width: 640px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
  }

  .noureldeing-pcard__image {
    padding: 16px;
  }

  .noureldeing-catalog-top {
    min-width: 0;
  }

  .noureldeing-catalog-top .woocommerce-result-count {
    font-size: 18px;
    min-width: 0;
  }

  .noureldeing-catalog-top .woocommerce-ordering select {
    max-width: 100%;
  }
}
