/* Perfect Dining / Editorial Design System
 * Layered over the legacy storefront while routes and product data are migrated.
 * All physical layout directions use logical properties for native RTL/LTR.
 */
@font-face {
  font-family: PDKufi;
  src: url('/assets/NotoKufiArabic-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: PDNaskh;
  src: url('/assets/NotoNaskhArabic-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --pine: #203c31;
  --deep: #162f26;
  --gold: #a77f4e;
  --paper: #fdfcf9;
  --sand: #f3efe6;
  --line: #dfdfd6;
  --grey: #566a5d;
  --content-width: 1376px;
}

body { font-size: 16px; line-height: 1.75; }
html[lang="en"] body { font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 1.55; }
main:focus { outline: none; }
.container { width: min(var(--content-width), calc(100% - 88px)); }
.eyebrow { font-size: 11px; letter-spacing: .19em; color: #9b7547; }
.button { font-size: 14px; min-height: 52px; padding: 12px 23px; gap: 22px; }
.text-link { font-size: 14px; }
.section-pad { padding-block: clamp(76px, 8vw, 124px); }
.section-heading { margin-bottom: 41px; }
.section-heading h2,
.page-head h1,
.category-hero h1,
.product-summary h1,
.about-copy h2,
.contact-copy h2,
.account-form h2 { letter-spacing: 0; }
html[lang="en"] .section-heading h2,
html[lang="en"] h1,
html[lang="en"] .story-band h2 { letter-spacing: -.028em; }
.section-heading h2 { font-size: clamp(44px, 4.5vw, 67px); line-height: 1.2; }
.section-heading p { font-size: 15px; max-width: 650px; line-height: 1.9; }

/* Navigation: deliberate spacing, genuine active state, generous controls. */
.announcement { min-height: 36px; height: auto; padding-block: 4px; font-size: 12px; gap: 22px; }
.announcement a { font-size: 12px; }
.announcement a { display: inline-flex; gap: 7px; align-items: center; }
.announcement a .icon { width: 13px; height: 13px; }
.site-header { height: 94px; }
.brand img { width: clamp(180px, 18vw, 246px); }
.desktop-nav { gap: clamp(15px, 1.8vw, 31px); }
.desktop-nav a { font-size: 14px; }
.icon-btn { min-width: 44px; height: 44px; }
.lang-switch { font-size: 13px; display: inline-flex; min-height: 44px; align-items: center; }
html[lang="en"] .lang-switch { letter-spacing: 0; }
.mobile-menu a, .mobile-menu .sub-link { font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.skip-link { font-size: 14px; z-index: 200; }

/* A single strong editorial hero, with no false carousel affordance. */
.hero { height: clamp(640px, 68vw, 780px); min-height: 0; }
.hero picture img { object-position: 49% 51%; }
.hero-shade { background: linear-gradient(270deg, rgba(11,36,27,.77) 0%, rgba(11,36,27,.48) 38%, rgba(11,36,27,.08) 77%); }
html[dir="ltr"] .hero-shade { background: linear-gradient(90deg, rgba(11,36,27,.77), rgba(11,36,27,.42) 40%, rgba(11,36,27,.08) 78%); }
.hero-copy { width: min(630px, 50%); }
.hero-copy .eyebrow { margin-bottom: 22px; color: #f0d2aa; }
.hero h1 { font-size: clamp(63px, 5.9vw, 95px); line-height: 1.22; letter-spacing: 0; margin-bottom: 20px; text-wrap: balance; }
html[lang="en"] .hero h1 { font-size: clamp(58px, 5.6vw, 85px); line-height: 1.03; letter-spacing: -.025em; }
.hero-copy p { font-size: 17px; line-height: 1.95; max-width: 490px; color: #fffaf0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.hero-secondary { display: inline-flex; gap: 10px; align-items: center; color: #fff; border-bottom: 1px solid rgba(255,255,255,.75); padding-block: 10px; font-size: 14px; }
.hero-secondary:hover { color: #ead0a5; }
.hero-secondary .icon { width: 16px; height: 16px; }
.hero-corner-note { position: absolute; inset-inline-end: 44px; bottom: 24px; color: #f4e7d1; font: 10px Arial,sans-serif; letter-spacing: .17em; }

/* Editorial occasion links, not three cloned benefit badges. */
.occasion-strip { background: #f3efe7; border-bottom: 1px solid var(--line); }
.occasion-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.occasion-row > a { min-height: 128px; display: flex; align-items: center; gap: 16px; padding: 26px 24px; border-inline-end: 1px solid #ded8cc; transition: background .2s; }
.occasion-row > a:last-child { border-inline-end: 0; }
.occasion-row > a:hover { background: #eae4d9; }
.occasion-number { font: 17px Georgia,serif; color: var(--gold); align-self: flex-start; padding-top: 5px; }
.occasion-row a > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; gap: 5px; }
.occasion-row strong { font-size: 16px; font-weight: 700; color: var(--deep); }
.occasion-row small { font-size: 13px; color: var(--grey); line-height: 1.65; }
.occasion-row .icon { width: 18px; color: var(--gold); }

/* Four category destinations with considered, asymmetric proportions. */
.category-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 19px; }
.category-card { grid-column: span 6; aspect-ratio: 1.55; }
.category-card:nth-child(4n+1) { grid-column: span 7; }
.category-card:nth-child(4n+2) { grid-column: span 5; aspect-ratio: 1.12; }
.category-card:nth-child(4n+3) { grid-column: span 5; aspect-ratio: 1.12; }
.category-card:nth-child(4n+4) { grid-column: span 7; }
.category-card .category-index { font-size: 11px; }
.category-copy { gap: 5px; }
.category-copy small { font-size: 14px; color: #f3e9db; }
.category-copy strong { font-size: clamp(38px, 3.5vw, 57px); }
.category-arrow .icon { width: 20px; height: 20px; }
html[lang="en"] .category-copy strong { font-family: Georgia,serif; font-size: clamp(29px, 3vw, 46px); }
.collection-directory-note { padding: 46px 24px 0; max-width: 790px; margin-inline: auto; text-align: center; }
.collection-directory-note p { font-size: 17px; line-height: 2; color: var(--grey); }

/* Product cards: descriptions, more reliable interactions, restrained detailing. */
.product-grid { gap: 33px 22px; }
.product-photo { aspect-ratio: .89; }
.product-index { position: absolute; top: 18px; inset-inline-start: 18px; color: #345143; background: #fdfbf1ed; font: 12px Georgia,serif; letter-spacing: .12em; min-width: 35px; height: 35px; display: grid; place-items: center; }
.wish-btn { width: 44px; height: 44px; }
.product-quick-add { font-size: 13px; min-height: 46px; }
.product-details { gap: 7px; padding-top: 17px; }
.product-details > span { font-size: 13px; color: #866a48; }
.product-details h3 { font-size: 18px; line-height: 1.45; font-weight: 600; margin: 0; }
.product-details h3 a:hover { color: #916e46; }
.product-caption { margin: 0; font-size: 14px; color: #67766c; line-height: 1.75; min-height: 3.5em; }
.product-details strong { font: 600 16px Arial,sans-serif; margin-top: 3px; }

/* Story: textured image and copy with enough space to breathe. */
.story-band { min-height: 620px; }
.story-band-image img { object-position: center; }
.story-band-copy { padding: clamp(48px, 7vw, 115px); }
.story-band-copy h2 { font-size: clamp(48px, 4.7vw, 75px); letter-spacing: 0; line-height: 1.25; }
.story-band-copy p { color: #d4dfd5; font-size: 16px; line-height: 2; }
.journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.journal-grid a { display: block; min-width: 0; }
.journal-grid img { width: 100%; aspect-ratio: 1.05; object-fit: cover; margin-bottom: 22px; }
.journal-grid a:nth-child(2) img { aspect-ratio: .85; }
.journal-grid span { font: 12px Arial,sans-serif; letter-spacing: .12em; color: var(--gold); }
.journal-grid h3 { font-size: 22px; line-height: 1.45; color: var(--pine); margin: 11px 0 8px; }
.journal-grid p { font-size: 15px; line-height: 1.8; color: var(--grey); margin: 0; }
.journal-grid a:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }

/* Inner pages: reduce ornamental filler and restore content legibility. */
.page-head { padding-block: 61px 69px; }
.page-head::after { content: none; }
.page-head h1 { font-size: clamp(47px, 5vw, 74px); }
.page-head p { font-size: 16px; line-height: 1.85; }
.breadcrumbs { font-size: 13px; }
.shop-tabs a { font-size: 14px; min-height: 44px; padding: 10px 17px; }
.shop-sort { font-size: 14px; }
.shop-sort select { min-height: 44px; }
.catalog-meta { font-size: 13px; }
.shop-bottom-notice { font-size: 13px; align-items: flex-start; }
.category-hero p { font-size: 17px; }

/* Product imagery: real gallery controls, not repeated thumbnail placeholders. */
.product-layout { gap: clamp(35px, 5vw, 90px); }
.product-main-img img { aspect-ratio: 1 / 1.04; }
.product-thumbs { gap: 13px; margin-top: 15px; }
.gallery-thumb { width: 115px; border: 1px solid transparent; padding: 5px; background: transparent; color: var(--grey); }
.gallery-thumb.active { border-color: var(--pine); }
.gallery-thumb img { width: 100%; height: 91px; object-fit: cover; border: 0; }
.gallery-thumb span { display: block; font-size: 12px; line-height: 1.5; margin-top: 6px; }
.gallery-caption { font-size: 13px; line-height: 1.8; color: var(--grey); margin: 16px 0 0; }
.product-summary h1 { font-size: clamp(46px, 4.2vw, 67px); }
.product-desc { font-size: 16px; line-height: 1.95; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 13px; font-size: 24px; }
.product-price span { font: 13px PDKufi,Arial,sans-serif; color: var(--grey); }
html[lang="en"] .product-price span { font-family: Arial,sans-serif; }
.product-label-small { font-size: 14px; }
.quantity button { width: 44px; }
.product-demonstration { font-size: 13px; line-height: 1.7; }
.detail-accordion summary { font-size: 16px; padding-block: 5px; }
.detail-accordion p { font-size: 14px; line-height: 1.9; }

/* Fully honest previews for account/contact/checkout. */
.contact-copy p,.about-copy p { font-size: 16px; line-height: 2; }
.contact-info { font-size: 14px; }
.contact-preview { background: #f0ece3; padding: clamp(30px, 4vw, 65px); align-self: start; }
.contact-preview h2 { font-size: clamp(28px, 3vw, 43px); line-height: 1.4; margin: 18px 0; }
.contact-preview p { font-size: 16px; line-height: 2; color: var(--grey); margin-bottom: 28px; }
.contact-preview-note { border-top: 1px solid #d9d1c2; display: flex; gap: 8px; align-items: center; margin-top: 30px; padding-top: 16px; font-size: 13px; color: #6e765d; }
.contact-preview-note .icon { width: 18px; }
.checkout-preview { padding: 42px; background: #faf8f3; }
.checkout-preview h2 { font-size: clamp(30px, 3vw, 43px); margin: 14px 0 24px; }
.checkout-steps { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid var(--line); }
.checkout-steps li { display: flex; align-items: flex-start; gap: 22px; border-bottom: 1px solid var(--line); padding-block: 22px; }
.checkout-steps li > span { font: 18px Georgia,serif; color: var(--gold); }
.checkout-steps li > div { flex: 1; }
.checkout-steps strong { font-size: 18px; }
.checkout-steps p { font-size: 14px; margin: 6px 0 0; color: var(--grey); line-height: 1.75; }
.checkout-steps .icon { color: #39664f; }
.demo-alert p { font-size: 14px; }
.account-form { gap: 20px; }
.account-form p { font-size: 16px; line-height: 1.95; }
.account-form > small { font-size: 13px; color: var(--grey); }
.account-shortcuts { display: flex; flex-direction: column; border-top: 1px solid #d9d8ce; margin-block: 12px; }
.account-shortcuts a { display: flex; align-items: center; gap: 13px; padding-block: 18px; border-bottom: 1px solid #d9d8ce; font-size: 16px; }
.account-shortcuts a span { flex: 1; }
.account-shortcuts .icon { width: 22px; color: var(--gold); }
.account-shortcuts a:hover { color: var(--gold); }
.faq-list summary { font-size: 16px; min-height: 50px; }
.faq-list p,.faq-aside p,.policy-grid p,.values-grid p,.legal-wrap > p { font-size: 15px; line-height: 1.95; }
.policy-note { font-size: 13px; }
.cart-line h3 { font-size: 17px; }
.cart-line small,.cart-line strong,.summary-row { font-size: 14px; }
.cart-qty button:not(.remove-link) { min-width: 44px; height: 44px; }
.remove-link { min-height: 44px; font-size: 14px; }
.order-summary h3 { font-size: 34px; }
.summary-note { font-size: 13px; }
.empty-state p { font-size: 15px; }

/* Footer has useful links only; decorative input removed. */
.footer-links h3,.footer-newsletter h3 { font-size: 17px; }
.footer-links a,.footer-newsletter p,.footer-about p { font-size: 14px; line-height: 1.9; }
.footer-country,.footer-bottom { font-size: 12px; }
.search-overlay h2 { font-size: 40px; }
.search-box input { font-size: 16px; }
.search-results p { font-size: 14px; }
.toast { font-size: 14px; }

@media (max-width: 1120px) {
  .desktop-nav { gap: 13px; }
  .desktop-nav a { font-size: 12px; }
  .header-tools { gap: 1px; }
  .footer-grid { gap: 26px; }
}
@media (max-width: 990px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: grid; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-quick-add { opacity: 1; transform: none; }
  .hero-copy { width: 62%; }
  .occasion-row > a { padding: 21px 15px; }
  .occasion-number { display: none; }
  .occasion-row strong { font-size: 14px; }
  .occasion-row small { font-size: 12px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 38px); }
  .announcement { font-size: 10px; gap: 12px; line-height: 1.5; }
  .announcement a { font-size: 10px; }
  .site-header { height: 73px; }
  .brand img { width: clamp(145px, 42vw, 179px); }
  .header-tools .icon-btn { min-width: 42px; height: 44px; padding: 6px; }
  .lang-switch { font-size: 12px; min-height: 44px; }
  .hero { height: min(710px, 93svh); min-height: 610px; }
  .hero picture img { object-position: center; }
  .hero-shade, html[dir="ltr"] .hero-shade { background: linear-gradient(180deg, rgba(10,33,26,.86) 0%, rgba(10,33,26,.64) 48%, rgba(10,33,26,.05) 89%); }
  .hero-inner, html[dir="ltr"] .hero-inner { align-items: flex-start; justify-content: flex-start; padding-top: 77px; }
  .hero-copy { width: 100%; max-width: 510px; }
  .hero h1 { font-size: clamp(51px, 11.6vw, 69px); line-height: 1.23; margin-bottom: 15px; }
  html[lang="en"] .hero h1 { font-size: clamp(47px, 10.5vw, 65px); line-height: 1.08; }
  .hero-copy p { font-size: 15px; line-height: 1.8; max-width: 390px; margin-bottom: 23px; }
  .hero-actions { gap: 10px 19px; }
  .hero .button { min-height: 48px; font-size: 13px; }
  .hero-secondary { font-size: 13px; }
  .hero-corner-note { display: none; }
  .occasion-row { grid-template-columns: 1fr; }
  .occasion-row > a { min-height: 83px; padding: 15px 5px; border-inline-end: 0; border-bottom: 1px solid #ded8cc; }
  .occasion-number { display: block; }
  .occasion-row strong { font-size: 15px; }
  .occasion-row small { font-size: 13px; }
  .section-pad { padding-block: 69px 76px; }
  .section-heading h2 { font-size: clamp(41px, 9vw, 55px); }
  .section-heading p { font-size: 15px; }
  .category-grid { grid-template-columns: 1fr; gap: 15px; }
  .category-card, .category-card:nth-child(n) { grid-column: auto; aspect-ratio: 1.23; }
  .category-card .category-copy { inset-inline: 19px; bottom: 20px; }
  .category-copy strong { font-size: 41px; }
  html[lang="en"] .category-copy strong { font-size: 34px; }
  .category-copy small { font-size: 13px; }
  .category-arrow { bottom: 19px; inset-inline-end: 18px; }
  .product-grid { gap: 29px 13px; }
  .product-index { inset-inline-start: 8px; top: 8px; min-width: 28px; height: 28px; font-size: 10px; }
  .wish-btn { width: 42px; height: 42px; top: 6px; inset-inline-end: 6px; }
  .product-quick-add { min-height: 44px; font-size: 12px; inset-inline: 6px; bottom: 6px; padding-inline: 8px; }
  .product-details > span { font-size: 12px; }
  .product-details h3 { font-size: 16px; }
  .product-caption { font-size: 13px; min-height: 0; }
  .product-details strong { font-size: 15px; }
  .story-band { grid-template-columns: 1fr; }
  .story-band-image { height: 320px; }
  .story-band-copy { padding: 55px 28px 64px; }
  .story-band-copy h2 { font-size: 49px; }
  .story-band-copy p { font-size: 15px; }
  .journal-grid { grid-template-columns: 1fr; gap: 39px; }
  .journal-grid img, .journal-grid a:nth-child(2) img { aspect-ratio: 1.4; margin-bottom: 13px; }
  .journal-grid h3 { font-size: 23px; }
  .journal-grid p { font-size: 15px; }
  .page-head { padding-block: 37px 51px; }
  .page-head h1 { font-size: 47px; }
  .page-head p { font-size: 15px; }
  .breadcrumbs { font-size: 12px; }
  .shop-tabs a { font-size: 13px; min-height: 44px; }
  .catalog-meta { font-size: 12px; }
  .shop-sort { font-size: 13px; }
  .product-summary h1 { font-size: 48px; }
  .product-desc { font-size: 15px; }
  .product-price { font-size: 23px; }
  .product-thumbs .gallery-thumb { width: 102px; }
  .product-thumbs .gallery-thumb img { height: 77px; }
  .purchase-controls .quantity button { width: 44px; }
  .add-product { font-size: 12px; }
  .contact-layout,.checkout-layout,.account-wrap { grid-template-columns: 1fr; }
  .contact-preview,.checkout-preview { padding: 26px; }
  .contact-preview p,.contact-copy p,.about-copy p { font-size: 15px; }
  .account-form { padding: 35px 25px; }
  .account-form p { font-size: 15px; }
  .account-form h2 { font-size: 43px; }
  .faq-list summary { font-size: 15px; }
  .footer-links a,.footer-newsletter p,.footer-about p { font-size: 13px; }
  .footer-bottom { font-size: 11px; }
  .search-box input { font-size: 15px; }
  .toast { font-size: 14px; }
}
@media (max-width: 390px) {
  .brand img { width: 139px; }
  .header-tools .icon-btn { min-width: 40px; }
  .hero h1 { font-size: 47px; }
  .product-grid { gap: 25px 10px; }
  .product-quick-add { font-size: 11px; }
  .product-details h3 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
