/* Category navigation and product presentation, October 2026. */
.shop-page .catalog-hero h1 {
  color: var(--cashmere, #b36d7e);
  font-family: Almarai, sans-serif;
  font-size: 62px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}
.shop-page .shop-category-heading h2 {
  max-width: 100%;
  color: var(--cashmere, #b36d7e);
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.shop-page .shop-category-meta { padding-inline-end: 0; }
.shop-page .shop-category-meta strong {
  color: var(--cashmere, #b36d7e);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .shop-page .shop-category-heading h2 { font-size: 21px; }
}
@media (max-width: 767px) {
  .shop-page .catalog-hero h1 { font-size: 26px; }
  .shop-page .shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    margin-inline: auto;
    padding-block-end: 0;
    scroll-snap-type: none;
  }
  .shop-page .shop-category-meta strong { font-size: 1.05rem; }
}
.catalog-hero h1.clock-category-title {
  max-width: 100%;
  font-family: Almarai, sans-serif;
  font-size: clamp(1rem, 4vw, 2.5rem);
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}
.catalog-layout.catalog-layout-unfiltered { grid-template-columns: minmax(0, 1fr); }
.clock-catalog-page .quick-add,
.cushion-catalog-page .quick-add,
.coffee-catalog-page .quick-add,
.runner-catalog-page .quick-add,
.storage-catalog-page .quick-add,
.sofa-catalog-page .quick-add,
.fridge-catalog-page .quick-add {
  min-height: 2.75rem;
  padding: .65rem 1.1rem;
  background: var(--cashmere, #b36d7e);
  border-color: var(--cashmere, #b36d7e);
  color: #fff;
  font-size: .8rem;
}
.clock-catalog-page .quick-add:hover,
.cushion-catalog-page .quick-add:hover,
.coffee-catalog-page .quick-add:hover,
.runner-catalog-page .quick-add:hover,
.storage-catalog-page .quick-add:hover,
.sofa-catalog-page .quick-add:hover,
.fridge-catalog-page .quick-add:hover { background: #9b5b6b; border-color: #9b5b6b; color: #fff; }
@media (min-width: 1024px) {
  [data-homepage] .category-mosaic > .category-card:nth-child(7) { grid-column: 1 / span 6; }
  [data-homepage] .category-mosaic > .category-card:nth-child(8) { grid-column: 7 / span 6; }
}
[data-arabic-text] { direction: rtl !important; text-align: right !important; }
.catalog-hero h1[data-arabic-text] { width: 100%; max-width: 100%; }
p[data-arabic-text], blockquote[data-arabic-text],
.product-lede[data-arabic-text], .catalog-description[data-arabic-text] { margin-left: auto; margin-right: 0; }
.footer-links a[data-arabic-text] { align-self: stretch; }
.product-detail-info h1 {
  max-width: 100%;
  margin: 0;
  font-family: Almarai, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: break-word;
}
.product-info h3[data-arabic-text] {
  font-family: Almarai, sans-serif;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0;
  min-height: 3.4em;
}
.product-lede { font-size: 1rem; line-height: 1.9; }
.product-prose[data-arabic-text] {
  font-family: Almarai, sans-serif;
  font-size: 1rem;
  line-height: 1.95;
  overflow-wrap: break-word;
}
.product-prose[data-arabic-text] :is(p,li,h2,h3,h4,blockquote) {
  text-align: right !important;
  unicode-bidi: plaintext;
}
.product-prose[data-arabic-text] > p { margin: 0 0 .8rem; }
.product-prose[data-arabic-text] > strong {
  display: block;
  margin-block: 1.25rem .4rem;
  font-weight: 700;
}
.catalog-hero-has-image .breadcrumbs,
.catalog-hero-has-image .breadcrumbs a,
.catalog-hero-has-image .breadcrumbs span { color: #fff; }
.catalog-hero h1.fabric-category-title {
  max-width: 100%;
  width: fit-content;
  font-family: Almarai, sans-serif;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}
.subcategory-strip.subcategory-square-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
  overflow: visible;
  direction: ltr;
  padding-block: 2rem;
  border: 0;
}
.subcategory-square-grid > a {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  padding: clamp(.75rem, 2.5vw, 2rem);
  border: 0;
  isolation: isolate;
  background: var(--primary, #49383e);
  color: #fff;
}
.subcategory-square-grid > a::after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  z-index: -1;
  background: linear-gradient(transparent, rgb(35 25 21 / .75));
}
.subcategory-square-grid > a > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.subcategory-square-grid > a > span { width: 100%; direction: rtl; }
.subcategory-square-grid strong {
  color: #fff;
  font-size: clamp(.9rem, 2vw, 1.5rem);
  font-family: Almarai, sans-serif;
  line-height: 1.6;
}
.subcategory-square-grid small { display: none; }
.subcategory-square-grid > a:focus-visible { outline: 3px solid var(--brand-accent, #b36d7e); outline-offset: 4px; }
.product-price, .product-price span, .product-price del,
.product-detail-price, .product-detail-price span, .product-detail-price del { color: var(--cashmere, #b36d7e); }
/* Keep catalogue products visible even if the reveal animation does not run. */
.catalog-product-grid > [data-product-card] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
@media (max-width: 480px) {
  .catalog-hero h1.fabric-category-title { font-size: clamp(1.2rem, 5.4vw, 1.6rem); }
}


/* Store Policies alignment fix */
.footer-links .footer-column a[lang="ar"],
.footer-links .footer-column a {
    text-align: left !important;
    align-self: flex-start !important;
    width: fit-content !important;
    direction: ltr !important;
}
