/* Shazdeh pre-Shopify quality pass — 2026-08-31 */
:root { color-scheme: light; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #d9ad49; outline-offset: 3px; }
.skip-link { z-index: 10000 !important; }
.site-header, .homepage-header { isolation: isolate; }
.brand img, .palace-wordmark img { width: auto; height: 64px; object-fit: contain; display: block; }
.drawer-brand img { height: 58px; }
.cart-link { display: inline-flex; align-items: center; gap: .38rem; white-space: nowrap; }
.cart-count { direction: ltr; font-variant-numeric: tabular-nums; }
.content-page { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.content-card { line-height: 2; }
.content-card h2, .content-card h3 { text-wrap: balance; }
.content-card p { max-width: 78ch; }
.content-card a:not(.btn) { text-underline-offset: .2em; }
.product-card img, .category-card img { background: #f2eadb; }
.product-card h3, .category-card span { text-wrap: balance; }
.status-note { padding: .9rem 1rem; border: 1px solid rgba(203,159,65,.45); background: #fff9eb; color: #3a2a12; border-radius: 4px; }
.socials[data-pending-social] { color: rgba(255,255,255,.74); font-size: .9rem; }
.footer-selects[hidden] { display: none !important; }
.legal-placeholder { border-inline-start: 3px solid #c99b3e; padding-inline-start: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.hero-actions .button.secondary { background: rgba(0,36,27,.58); color: #f5d98f; }
.newsletter-pending { max-width: 26rem; line-height: 1.8; color: inherit; opacity: .86; }
.anchor-target { display: block; position: relative; top: -120px; visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 900px) {
  .announcement { min-height: 32px; padding: 7px 12px; line-height: 1.55; text-align: center; }
  .site-header .header-shell { min-height: 92px; padding-block: 10px; }
  .brand img, .palace-wordmark img { height: 68px; }
  .header-actions { gap: .6rem; }
  .header-actions .account-link, .header-actions .wishlist-link, .header-actions .select-wrap { display: none !important; }
  .drawer-toggle, .drawer-close { min-width: 44px; min-height: 44px; }
  .mobile-drawer { width: min(90vw, 390px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-drawer a, .mobile-drawer summary { min-height: 44px; display: flex; align-items: center; }
  .content-page { width: min(100% - 24px, 760px); }
  .page-hero.compact { padding-inline: 16px; }
}
@media (min-width: 501px) and (max-width: 1100px) {
  body > .site-header { height: 112px; }
  body > .site-header .mobile-bar {
    height: 112px;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    padding-inline: clamp(18px, 5vw, 40px);
  }
  body > .site-header .mobile-logo img {
    width: 104px;
    height: 82px;
    object-fit: contain;
  }
  body > .site-header .mobile-cart { direction: rtl; gap: .3rem; white-space: nowrap; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .site-header .header-shell { min-height: 84px; }
  .brand img, .palace-wordmark img { height: 60px; }
  .cart-link { font-size: .95rem; }
  .page-hero.compact { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .page-hero.compact h1 { font-size: clamp(1.7rem, 8vw, 2.25rem); }
  .content-card { padding: 1.15rem !important; }
  .footer-grid { gap: 1.5rem; }
}

/* Homepage: retain the cinematic art while fixing the cramped mobile shell. */
@media (max-width: 500px) {
  body > .site-header,
  body > main > .hero,
  body > main > .trust-strip,
  body > main > .categories,
  body > main > .why,
  body > main > .magazine,
  body > .site-footer { width: 100%; max-width: none; }
  body > .site-header { height: 112px; }
  body > .site-header .mobile-bar { height: 112px; padding-inline: 18px; }
  body > .site-header .mobile-logo img { width: 96px; height: 76px; object-fit: contain; }
  body > .site-header .mobile-cart { direction: rtl; gap: .3rem; white-space: nowrap; }
  body > main > .hero { min-height: 500px; height: min(71vh, 610px); }
  body > main > .hero-copy { inset-inline: 6%; bottom: 5%; padding: .85rem 1rem 1rem; }
  body > main > .hero h1 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
  body > main > .hero p { font-size: .86rem; line-height: 1.8; }
  .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
  .hero-actions .button.secondary { background: rgba(0,36,27,.72); color: #f5d98f; }
  body > main > .trust-strip { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body > main > .trust-strip .trust-link { min-height: 104px; padding: 12px 8px; border: 1px solid rgba(217,180,91,.18); }
  body > main > .trust-strip .trust-link:last-child { grid-column: 1 / -1; min-height: 86px; }
  body > main > .trust-strip span { font-size: 1.25rem; }
  body > main > .trust-strip b { font-size: .78rem; }
  body > main > .trust-strip small { font-size: .65rem; }
}
