:root {
  --cream: #f6f1e8;
  --paper: #fffaf2;
  --ink: #1d241d;
  --muted: #6b6257;
  --green: #10160f;
  --green-2: #315841;
  --burgundy: #8f2634;
  --gold: #d4a642;
  --gold-2: #f2c95d;
  --orange: #c66a2e;
  --line: rgba(31, 59, 44, 0.16);
  --shadow: 0 24px 70px rgba(51, 32, 13, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(212, 166, 66, 0.14), transparent 24rem),
    linear-gradient(180deg, #fffaf2, var(--cream) 44%, #f4e7d2);
  color: var(--ink);
  font-family: "Aref Ruqaa", "Amiri", "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, serif;
  font-size: 16px;
  line-height: 1.6;
}

body[dir="ltr"] {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.topline {
  background: #050604;
  color: #efe1bf;
  padding: 0.48rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(212, 166, 66, 0.28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  align-items: center;
  padding: 0.85rem clamp(1rem, 3vw, 3rem);
  background: rgba(3, 4, 3, 0.96);
  border-bottom: 1px solid rgba(212, 166, 66, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Aref Ruqaa", "Amiri", "Noto Naskh Arabic", serif;
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  color: #f6d987;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
}

.brand small {
  color: #c7b78e;
  font-size: 0.76rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.65rem, 1.35vw, 1.35rem);
  align-items: center;
  color: #f4e8ca;
  font-weight: 900;
  white-space: nowrap;
}

.main-nav a {
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  font-size: clamp(0.86rem, 1vw, 1rem);
}

.main-nav a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-search {
  position: relative;
  width: clamp(13rem, 22vw, 22rem);
}

.header-actions select {
  width: 4.6rem;
  min-width: 4.6rem;
  padding-inline: 0.65rem;
  text-align: center;
}

.header-search input,
.header-actions select {
  border-color: rgba(212, 166, 66, 0.28);
  background: #080a07;
  color: #f5ead1;
}

.header-search input::placeholder {
  color: #9d9276;
}

select,
input,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fffdf8;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  outline: none;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 148, 66, 0.22);
}

.cart-button,
.icon-button,
.primary-link,
.secondary-link,
.checkout button,
.cart-auth-gate button,
.auth-actions button,
.account-form button,
.panel button,
.add {
  border: 0;
  border-radius: 0.7rem;
  padding: 0.78rem 1rem;
  font-weight: 800;
}

.cart-button,
.icon-button,
.primary-link,
.checkout button,
.cart-auth-gate button,
.auth-actions button,
.account-form button,
.panel button,
.add {
  background: var(--gold);
  color: #050604;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.cart-button strong {
  display: grid;
  min-width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 50%;
  background: #fff5df;
  color: #050604;
  line-height: 1;
}

.icon-button {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  padding: 0;
  background: rgba(212, 166, 66, 0.12);
  border: 1px solid rgba(212, 166, 66, 0.48);
  color: #f7d878;
}

.icon-button svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--gold);
  color: #050604;
}

.hero {
  position: relative;
  min-height: clamp(520px, 62vw, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #050604;
  border-bottom: 1px solid rgba(212, 166, 66, 0.32);
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.68)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 45%, rgba(0, 0, 0, 0.32));
}

body[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.66)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 45%, rgba(0, 0, 0, 0.32));
}

.hero-content {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  color: #fff8e8;
  overflow: visible;
  clip: auto;
  white-space: normal;
  text-align: center;
  display: grid;
  justify-items: center;
}

body[dir="rtl"] .hero-content {
  transform: none;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  display: none;
}

.hero-logo {
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: min(100%, 12ch);
  font-family: "Aref Ruqaa", "Amiri", "Noto Naskh Arabic", serif;
  line-height: 0.78;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.7));
}

.hero-logo-top:empty {
  display: none;
}

.hero-logo-top,
.hero-logo-bottom {
  -webkit-text-stroke: 1.25px rgba(255, 246, 202, 0.92);
  text-shadow:
    0 4px 0 rgba(32, 63, 43, 0.98),
    0 0 0.15rem rgba(255, 248, 222, 0.6);
}

.hero-logo-top {
  color: #7ec18c;
  font-size: clamp(2.6rem, 6vw, 6rem);
  transform: translateY(0.35rem);
  z-index: 1;
}

.hero-logo-bottom {
  color: #f1c455;
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  letter-spacing: 0;
}

body[dir="rtl"] .hero-logo {
  transform: translateX(clamp(4rem, 8vw, 13rem));
}

body:not([dir="rtl"]) .hero-logo {
  max-width: min(100%, 22ch);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.94;
}

body:not([dir="rtl"]) .hero-logo-bottom {
  font-size: clamp(3.1rem, 6.6vw, 6.5rem);
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 246, 202, 0.92);
}

.hero-line {
  display: block;
  margin-top: 1rem;
  color: #fff8e8;
  font-family: "Aref Ruqaa", "Amiri", serif;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 800;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.6);
}

.hero-line::before,
.hero-line::after {
  content: "✦";
  color: var(--gold);
  margin: 0 0.55rem;
}

.hero p:not(.eyebrow) {
  max-width: 48rem;
  margin: 1.05rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  justify-content: center;
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #050604;
  color: #f6ead0;
  border-bottom: 1px solid rgba(212, 166, 66, 0.22);
}

.trust-strip div {
  display: grid;
  grid-template-columns: minmax(3.2rem, auto) minmax(0, 1fr);
  gap: 0.22rem 1.05rem;
  align-items: center;
  min-width: 0;
  min-height: 7.2rem;
  padding: 1.2rem clamp(1rem, 3vw, 2.7rem);
  border-inline-end: 1px solid rgba(212, 166, 66, 0.28);
  text-align: start;
}

.trust-strip .trust-icon {
  grid-row: span 2;
  color: var(--gold);
  line-height: 1;
}

.trust-strip strong,
.trust-strip small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: clamp(3.4rem, 5vw, 4.8rem);
  height: clamp(3.4rem, 5vw, 4.8rem);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.55;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip small {
  color: #bfb08d;
  line-height: 1.45;
}

body[dir="rtl"] .trust-strip div {
  grid-template-columns: minmax(0, 1fr) minmax(3.2rem, auto);
  text-align: right;
}

body[dir="rtl"] .trust-strip .trust-icon {
  grid-column: 2;
}

body[dir="rtl"] .trust-strip strong,
body[dir="rtl"] .trust-strip small {
  grid-column: 1;
}

.shipping-note {
  color: var(--burgundy);
  font-size: 0.92rem;
  font-weight: 800;
}

.secondary-link {
  border: 1px solid rgba(255, 248, 232, 0.55);
  background: rgba(255, 248, 232, 0.1);
  color: #fff8e8;
}

.suggestion-menu {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.45rem);
  z-index: 40;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(212, 166, 66, 0.28);
  border-radius: 0.75rem;
  background: #080a07;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.suggestion-menu.open {
  display: grid;
}

.suggestion-menu button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(212, 166, 66, 0.14);
  background: transparent;
  color: #f5ead1;
  padding: 0.78rem 0.9rem;
  text-align: start;
}

.suggestion-menu button:hover {
  background: rgba(212, 166, 66, 0.12);
}

.suggestion-menu span {
  color: #d8c392;
  font-size: 0.82rem;
}

.suggestion-copy {
  display: grid;
  gap: 0.05rem;
}

.suggestion-copy small {
  color: #d8c392;
  font-size: 0.82rem;
}

.suggestion-thumb {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.28), transparent 30%),
    var(--thumb);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.16);
}

.suggestion-price {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.category-band,
.shop-shell {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 1.35rem;
}

.section-heading h2,
.story-copy h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.18;
}

.compact h2 {
  font-size: 1.65rem;
}

.category-grid,
.product-grid {
  display: grid;
  gap: 1rem;
}

.category-band {
  background:
    linear-gradient(180deg, #fffaf2, #f6efe3),
    repeating-linear-gradient(45deg, rgba(212, 166, 66, 0.08) 0 1px, transparent 1px 22px);
}

.category-band .section-heading {
  margin-inline: auto;
  text-align: center;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.product-card,
.panel,
.heritage-note {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow);
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 11rem;
  padding: 1.3rem;
  color: #fff9ec;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.62)),
    url("assets/hero-damascus-premium.png");
  background-size: cover;
  background-position: center;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 12rem),
    linear-gradient(135deg, color-mix(in srgb, var(--cat-color), transparent 34%), rgba(0, 0, 0, 0.1) 68%);
  opacity: 0.86;
}

.category-card > * {
  position: relative;
}

.category-card h3 {
  margin: 0;
  font-size: 1.65rem;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.category-card p {
  max-width: 22rem;
  margin: 0.7rem 0 1.2rem;
}

.category-card button {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  width: 2.35rem;
  height: 2.35rem;
  background: rgba(212, 166, 66, 0.95);
  color: #fff9ec;
  padding: 0;
  font-weight: 800;
  font-size: 0;
}

.category-card button::after {
  content: "←";
  font-size: 1.1rem;
}

.shop-shell {
  display: grid;
  grid-template-columns: minmax(17rem, 21rem) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(31, 59, 44, 0.06), transparent),
    repeating-linear-gradient(45deg, rgba(143, 38, 52, 0.035) 0 1px, transparent 1px 24px);
}

.shop-sidebar {
  position: sticky;
  top: 6.5rem;
}

.filters {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.filter-btn,
.variant-select,
.stepper button {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fffaf0;
  color: var(--green);
  padding: 0.65rem 0.8rem;
  font-weight: 800;
}

.filter-btn.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff9ec;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-toolbar select {
  width: auto;
  min-width: 10rem;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  background: #fffaf0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 27rem;
}

.product-media {
  flex: 0 0 9.25rem;
  height: 9.25rem;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 34% 34%, var(--product-color), transparent 30%),
    linear-gradient(135deg, rgba(31, 59, 44, 0.9), rgba(143, 38, 52, 0.86));
  background-size: cover, cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.32));
}

.product-body {
  display: grid;
  grid-template-rows: auto auto minmax(2.8rem, auto) auto auto 1fr;
  gap: 0.7rem;
  padding: 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.product-body h3,
.product-body p {
  margin: 0;
}

.product-category {
  color: var(--burgundy);
  font-weight: 900;
  font-size: 0.9rem;
}

.product-desc {
  color: var(--muted);
}

.variant-select {
  padding: 0.62rem 0.75rem;
  font-weight: 900;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(212, 166, 66, 0.24);
  border-radius: 0.7rem;
  background: #fffaf0;
}

.product-price span {
  color: var(--muted);
  font-weight: 900;
}

.product-price strong {
  color: var(--green);
  font-size: 1.15rem;
}

.add:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.add.is-added {
  background: var(--green);
  color: #fff9ec;
}

.buy-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  align-self: end;
  margin-top: 0.1rem;
}

.stepper {
  display: inline-grid;
  grid-template-columns: 2.2rem 2.4rem 2.2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #fffaf0;
}

.stepper button {
  border: 0;
  border-radius: 0;
  padding: 0.5rem;
}

.qty {
  text-align: center;
  font-weight: 900;
}

.site-footer {
  background: #101913;
  color: #f5ead1;
  font-family: Inter, "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.12fr 1fr 0.95fr 1.22fr;
  grid-template-areas: "about shop service contact";
  gap: clamp(2rem, 4vw, 4.5rem);
  width: min(1240px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2.6rem, 4.5vw, 3.8rem) 0 clamp(2.2rem, 3.5vw, 3rem);
}

.footer-about-cta,
.footer-shop,
.footer-service,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.58rem;
}

.footer-about-cta {
  grid-area: about;
}

.footer-shop {
  grid-area: shop;
}

.footer-service {
  grid-area: service;
  gap: 0.78rem;
}

.footer-contact {
  grid-area: contact;
  display: grid;
  gap: 0.58rem;
  width: min(100%, 18rem);
  justify-self: center;
  font-style: normal;
}

.footer-contact h3 {
  margin-bottom: 0.1rem;
}

.footer-shell h3 {
  margin: 0 0 0.35rem;
  color: #fff8e8;
  font-size: clamp(0.98rem, 1.05vw, 1.1rem);
  line-height: 1.25;
  font-weight: 900;
}

.footer-text-link,
.footer-contact a,
.footer-shop a,
.footer-service span {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: #c8c0ae;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: start;
  text-decoration: none;
  box-shadow: none;
}

.footer-service span {
  cursor: default;
  display: grid;
  grid-template-columns: 0.75rem minmax(0, 1fr);
  gap: 0.66rem;
  width: min(100%, 14rem);
  color: #e5dcc8;
  line-height: 1.55;
}

.footer-service span::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.58em;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 0.22rem rgba(212, 166, 66, 0.12);
}

.footer-social {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(212, 166, 66, 0.18);
}

.footer-social h3 {
  margin-bottom: 0;
}

.footer-social div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(212, 166, 66, 0.28);
  border-radius: 999px;
  color: #f5ead1;
  text-decoration: none;
}

.footer-social svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.footer-social a:nth-child(2) svg,
.footer-social a:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-contact a {
  display: inline-flex;
  align-items: baseline;
  width: 100%;
  max-width: 18rem;
  padding: 0.04rem 0;
  line-height: 1.45;
}

.footer-address-block {
  display: grid;
  gap: 0.22rem;
  margin-top: 0.28rem;
  padding-top: 0.58rem;
  border-top: 1px solid rgba(212, 166, 66, 0.18);
}

.footer-address-block span {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
}

.footer-address-link {
  display: inline-flex !important;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding-top: 0 !important;
  border-top: 0 !important;
  color: #f5ead1;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.45;
}

.footer-text-link:hover,
.footer-text-link:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-shop a:hover,
.footer-shop a:focus-visible {
  color: var(--gold);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #152116;
}

.footer-brand-row strong {
  color: #f6d987;
  font-family: "Aref Ruqaa", "Amiri", "Noto Naskh Arabic", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.footer-brand-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #c8c0ae;
  font-weight: 900;
}

.footer-brand-row select {
  width: auto;
  min-width: 6.4rem;
  max-width: 7rem;
  min-height: 2.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.4rem;
  border-color: rgba(255, 255, 255, 0.28);
  background: #152116;
  color: #f5ead1;
  font-size: 0.9rem;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0 1.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9f947a;
  font-size: 0.86rem;
  font-weight: 800;
}

body[dir="rtl"] .footer-shell {
  grid-template-areas: "contact service shop about";
  direction: ltr;
  text-align: right;
}

body[dir="rtl"] .footer-about-cta,
body[dir="rtl"] .footer-shop,
body[dir="rtl"] .footer-service,
body[dir="rtl"] .footer-contact {
  direction: rtl;
  justify-items: end;
}

body[dir="rtl"] .footer-service span {
  grid-template-columns: minmax(0, 1fr) 0.75rem;
  text-align: right;
  justify-items: end;
}

body[dir="rtl"] .footer-service span::before {
  grid-column: 2;
  grid-row: 1;
}

body[dir="rtl"] .footer-contact {
  width: min(100%, 18rem);
  margin-inline: auto;
  justify-items: stretch;
}

body[dir="rtl"] .footer-contact a {
  justify-content: flex-end;
  text-align: right;
  margin-inline-start: 0;
}

body[dir="rtl"] .footer-address-link {
  text-align: right;
  margin-inline-start: 0;
}

.footer-contact h3,
.footer-contact a,
.footer-address-block {
  width: 100%;
}

body[dir="rtl"] .footer-contact h3,
body[dir="rtl"] .footer-contact a,
body[dir="rtl"] .footer-address-block,
body[dir="rtl"] .footer-address-link {
  text-align: right;
}

body[dir="rtl"] .footer-bottom {
  direction: rtl;
}

body[dir="ltr"] .footer-shell {
  grid-template-areas: "about shop service contact";
  direction: ltr;
  text-align: left;
}

.panel {
  padding: 1.1rem;
}

.panel label {
  display: block;
  margin: 0.8rem 0 0.35rem;
  color: var(--green);
  font-weight: 800;
}

.panel button {
  margin-top: 0.85rem;
  width: 100%;
}

.order-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.order-row strong {
  color: var(--green);
}

.drawer,
.account-modal,
.about-modal,
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(17, 20, 14, 0.48);
}

.drawer.open,
.account-modal.open,
.about-modal.open,
.legal-modal.open {
  display: block;
}

.drawer-panel,
.account-panel,
.about-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(100%, 28rem);
  overflow-y: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.account-panel {
  width: min(100%, 32rem);
  background:
    linear-gradient(180deg, rgba(212, 166, 66, 0.08), transparent 22rem),
    #080a07;
  color: #f5ead1;
  border-inline-start: 1px solid rgba(212, 166, 66, 0.28);
}

.about-panel {
  position: relative;
  inset: auto;
  width: min(92vw, 62rem);
  max-height: min(88vh, 52rem);
  background:
    linear-gradient(180deg, rgba(212, 166, 66, 0.1), transparent 20rem),
    #080a07;
  color: #f5ead1;
  border: 1px solid rgba(212, 166, 66, 0.28);
  border-radius: 1rem;
}

.account-panel .drawer-head h2,
.about-panel .drawer-head h2,
.account-panel .account-form label,
.account-panel .payment-box strong,
.account-panel .order-row strong {
  color: #f7d878;
}

.account-panel input,
.account-panel textarea,
.account-panel select {
  border-color: rgba(212, 166, 66, 0.25);
  background: #11140f;
  color: #f5ead1;
}

.account-panel .auth-actions button,
.account-panel .account-form button,
.account-panel .auth-card button {
  background: #d4a642;
  color: #050604;
}

.account-panel .auth-actions .google-auth {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  background: #fffdf8;
  color: #16130d;
  text-align: start;
}

.account-intro {
  margin: 0.2rem 0 1rem;
  color: #d8c392;
}

.auth-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(212, 166, 66, 0.24);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.055);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.28rem;
  border: 1px solid rgba(212, 166, 66, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.auth-tabs button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 0.9rem;
  background: transparent;
  color: #d8c392;
  font-weight: 900;
  box-shadow: none;
}

.auth-tabs button.active {
  background: var(--gold);
  color: #050604;
}

.auth-card h3 {
  margin: 0;
  color: #f7d878;
  font-size: 1.05rem;
}

.auth-card input {
  min-height: 2.8rem;
  border: 1px solid rgba(212, 166, 66, 0.28);
  border-radius: 0.65rem;
  background: #11140f;
  color: #f5ead1;
  padding: 0.7rem 0.8rem;
}

.auth-card button {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  font-weight: 900;
}

.auth-card a {
  justify-self: center;
  color: #d8c392;
  font-weight: 900;
}

.accept-line {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: #d8c392;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: start;
}

.accept-line input[type="checkbox"] {
  flex: 0 0 1.05rem;
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-height: 1.05rem;
  margin: 0;
  accent-color: var(--gold);
}

.accept-line span {
  flex: 1;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.three-fields {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 0.55rem;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  color: #d8c392;
  font-weight: 900;
  font-size: 0.86rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(212, 166, 66, 0.24);
}

.account-dashboard {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(212, 166, 66, 0.24);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.055);
}

.dashboard-head {
  display: grid;
  gap: 0.25rem;
}

.dashboard-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dashboard-head p {
  margin: 0;
  color: #d8c392;
  font-weight: 800;
  line-height: 1.45;
}

.account-dashboard h3 {
  margin: 0;
  color: #f7d878;
}

.account-profile-form {
  display: grid;
  gap: 0.68rem;
}

.account-dashboard label,
.account-profile-form label {
  display: grid;
  gap: 0.32rem;
  color: #d8c392;
  font-weight: 900;
}

.account-dashboard input,
.account-dashboard select {
  min-height: 2.8rem;
  border: 1px solid rgba(212, 166, 66, 0.28);
  border-radius: 0.65rem;
  background: #11140f;
  color: #f5ead1;
  padding: 0.7rem 0.8rem;
}

.checkout select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 1.05rem) 50% / 0.42rem 0.42rem no-repeat,
    #fffaf0;
  color: var(--ink);
  padding: 0.75rem 2rem 0.75rem 0.8rem;
  font-weight: 800;
}

.account-dashboard select {
  appearance: none;
  -webkit-appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #d8c392 50%) calc(100% - 1.05rem) 50% / 0.42rem 0.42rem no-repeat,
    #11140f;
  padding-inline-end: 2rem;
  font-weight: 800;
}

.account-dashboard input:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.account-dashboard button,
.account-profile-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  background: var(--gold);
  color: #050604;
  font-weight: 900;
}

.account-dashboard .ghost-account-button {
  border: 1px solid rgba(212, 166, 66, 0.35);
  background: transparent;
  color: #f5ead1;
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
}

.account-save-notice {
  min-height: 1.2rem;
  margin: -0.2rem 0 0;
  color: #f7d878;
  font-weight: 900;
}

.account-save-notice.error {
  color: #ffb7a8;
}

.google-mark {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(22, 19, 13, 0.14);
}

.account-summary {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(212, 166, 66, 0.25);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
}

.account-summary strong {
  color: #f7d878;
}

.account-summary button {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: #050604;
  font-weight: 900;
}

.account-panel .auth-actions a,
.account-panel .account-form small {
  color: #d8c392;
}

.account-panel .order-history {
  border-top-color: rgba(212, 166, 66, 0.25);
}

.account-panel .order-row {
  border-bottom-color: rgba(212, 166, 66, 0.2);
}

.account-panel .account-order-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(212, 166, 66, 0.2);
  background: transparent;
  color: #f5ead1;
  cursor: pointer;
  font: inherit;
  text-align: start;
}

.account-panel .account-order-toggle:hover,
.account-panel .account-order-toggle:focus-visible {
  background: rgba(212, 166, 66, 0.08);
  outline: none;
}

.account-panel .account-order-toggle[aria-expanded="true"] {
  border-bottom-color: rgba(212, 166, 66, 0.38);
}

.order-detail {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(212, 166, 66, 0.18);
  border-top: 0;
  border-radius: 0 0 0.75rem 0.75rem;
  background: rgba(255, 248, 232, 0.035);
}

.order-detail-lines {
  display: grid;
  gap: 0.48rem;
}

.order-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  color: #f5ead1;
  font-size: 0.92rem;
}

.order-line span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.order-line small {
  color: #d8c392;
  font-weight: 800;
}

.order-line strong,
.order-detail-total strong {
  color: #f7d878;
}

.order-detail-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.58rem;
  border-top: 1px solid rgba(212, 166, 66, 0.18);
  color: #f5ead1;
  font-weight: 900;
}

.empty-history {
  margin: 0;
  color: #d8c392;
  font-weight: 800;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.drawer-head h2 {
  margin: 0;
  color: var(--green);
}

.drawer-head button {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff8eb;
  font-size: 1.4rem;
}

.account-panel .drawer-head button,
.about-panel .drawer-head button {
  border-color: rgba(212, 166, 66, 0.28);
  background: #11140f;
  color: #f5ead1;
}

.about-story {
  display: grid;
  gap: 1.15rem;
  padding: clamp(0.8rem, 2vw, 1.5rem) 0.35rem 0.25rem;
}

.about-story h3 {
  margin: 0;
  color: #f7d878;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.18;
}

.about-story p {
  margin: 0;
  color: #e3d6ba;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.8;
}

.about-story strong {
  color: var(--gold);
  font-size: 1.15rem;
}

.about-modal.open,
.legal-modal.open {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cart-items {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.empty-cart {
  display: grid;
  gap: 1rem;
  place-items: start;
  padding: 1rem;
  border: 1px solid rgba(212, 166, 66, 0.24);
  border-radius: 0.8rem;
  background: #fffaf0;
}

.empty-cart p {
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.empty-cart-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: #050604;
  font-weight: 900;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fffdf8;
}

.cart-item h3,
.cart-item p {
  margin: 0;
}

.cart-item p {
  color: var(--muted);
  font-size: 0.94rem;
}

.cart-item button {
  border: 0;
  background: transparent;
  color: var(--burgundy);
  font-weight: 900;
}

.cart-summary {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
}

.cart-summary .total {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.checkout {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.cart-auth-gate {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fffaf0;
}

.cart-auth-gate p {
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.cart-auth-gate div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.cart-auth-gate .ghost-action {
  border: 1px solid rgba(212, 166, 66, 0.35);
  background: #fffdf8;
  color: var(--green);
}

.checkout-mode {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fffdf8;
}

.checkout-mode button {
  background: var(--green);
  color: #fff9ec;
}

.checkout-mode .ghost-action {
  border: 1px solid rgba(212, 166, 66, 0.3);
  background: #fffaf0;
  color: var(--green);
}

.payment-box {
  padding: 0.9rem;
  border: 1px solid rgba(31, 59, 44, 0.18);
  border-radius: 0.7rem;
  background: rgba(31, 59, 44, 0.07);
}

.payment-box strong {
  color: var(--green);
}

.payment-box p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.about-story p,
.legal-panel #legalBody {
  white-space: pre-line;
}

.auth-actions {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

.auth-actions a {
  color: var(--burgundy);
  font-weight: 900;
  text-align: center;
}

.account-form {
  display: grid;
  gap: 0.55rem;
}

.account-form label {
  color: var(--green);
  font-weight: 900;
}

.account-form small {
  color: var(--muted);
}

.order-history {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.confirmation {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.7rem;
  background: rgba(49, 88, 65, 0.12);
  color: var(--green);
  font-weight: 800;
}

.hidden {
  display: none !important;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .header-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-search {
    width: 100%;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-shell {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    z-index: 5;
    position: sticky;
    top: 0;
    padding: 0.85rem;
    border: 1px solid rgba(212, 166, 66, 0.22);
    border-radius: 0.85rem;
    background: rgba(247, 240, 226, 0.96);
    backdrop-filter: blur(10px);
  }

  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-shell,
  body[dir="rtl"] .footer-shell {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (max-width: 720px) {
  .topline {
    font-size: 0.84rem;
  }

  .site-header {
    gap: 0.65rem;
    padding: 0.75rem 1rem;
  }

  .brand {
    justify-content: center;
  }

  .brand strong {
    font-size: 1.65rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .main-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: start;
    width: 100%;
    gap: 0.45rem;
    padding-bottom: 0.35rem;
  }

  .main-nav a {
    padding: 0.48rem 0.68rem;
    border: 1px solid rgba(212, 166, 66, 0.22);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.05);
    font-size: 0.86rem;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
    width: 100%;
    gap: 0.5rem;
  }

  .header-search {
    grid-column: 1 / -1;
  }

  .header-actions select {
    width: 4.35rem;
    min-width: 4.35rem;
    padding-inline: 0.45rem;
  }

  .icon-button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .cart-button {
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 18vw, 5.4rem);
  }

  .hero-content {
    margin-top: 1.5rem;
  }

  body[dir="rtl"] .hero-content {
    transform: none;
  }

  .hero-line {
    font-size: 1.25rem;
  }

  .category-band .section-heading {
    text-align: start;
  }

  .category-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0.75rem;
    margin-inline: -0.85rem;
    padding: 0 0.85rem 0.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .category-band,
  .shop-shell {
    padding: 1.35rem 0.85rem;
  }

  .category-card {
    flex: 0 0 min(78vw, 21rem);
    min-height: 8.8rem;
    padding: 1rem;
    scroll-snap-align: start;
  }

  .category-card h3 {
    font-size: 1.28rem;
  }

  .category-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0.45rem 0 0.8rem;
    font-size: 0.86rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-sidebar {
    top: 0;
    margin-inline: -0.35rem;
    padding: 0.75rem;
    border-radius: 0.7rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .product-card {
    min-height: auto;
    border-radius: 0.65rem;
  }

  .product-media {
    flex-basis: 7rem;
    height: 7rem;
  }

  .product-body {
    grid-template-rows: auto auto minmax(2.5rem, auto) auto auto;
    gap: 0.48rem;
    padding: 0.72rem;
  }

  .product-category {
    font-size: 0.78rem;
  }

  .product-body h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .product-desc {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.84rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .variant-select {
    padding: 0.52rem 0.55rem;
    font-size: 0.85rem;
  }

  .product-price {
    padding: 0.55rem 0.6rem;
    font-size: 0.84rem;
  }

  .product-price strong {
    font-size: 1rem;
  }

  .add {
    padding: 0.65rem 0.7rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(212, 166, 66, 0.2);
  }

  .footer-shell,
  body[dir="rtl"] .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem 1.2rem;
  }

  .footer-shell {
    grid-template-areas:
      "about contact"
      "shop service";
  }

  body[dir="rtl"] .footer-shell {
    grid-template-areas:
      "contact about"
      "service shop";
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-brand-row {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .filters {
    display: flex;
    gap: 0.5rem;
    margin-inline: -0.2rem;
    padding: 0.1rem 0.2rem 0.45rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-btn {
    flex: 0 0 auto;
    padding: 0.55rem 0.75rem;
    white-space: nowrap;
  }

  .shop-sidebar .section-heading {
    margin-bottom: 0.75rem;
  }

  .shop-sidebar .search-box {
    margin-bottom: 0.55rem;
  }

  .product-toolbar {
    align-items: center;
    flex-direction: row;
  }

  .product-toolbar select {
    min-width: 8.5rem;
    max-width: 48%;
  }

  .buy-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

  .three-fields {
    grid-template-columns: 1fr;
  }

  .stepper {
    width: 100%;
    height: 2.45rem;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-contact,
  body[dir="rtl"] .footer-contact {
    width: 100%;
    margin-inline-start: 0;
  }

  body[dir="rtl"] .footer-contact {
    justify-items: stretch;
  }

  .footer-address-link {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .category-grid {
    gap: 0.62rem;
  }

  .category-card {
    flex-basis: min(83vw, 18rem);
  }

  .shop-shell {
    padding-inline: 0.7rem;
  }

  .shop-sidebar {
    margin-inline: 0;
    padding: 0.62rem;
  }

  .filters {
    gap: 0.38rem;
  }

  .filter-btn {
    padding: 0.5rem 0.62rem;
    font-size: 0.82rem;
  }

  .product-media {
    flex-basis: 8rem;
    height: 8rem;
  }

  .footer-shell,
  body[dir="rtl"] .footer-shell {
    grid-template-columns: 1fr;
    gap: 1.55rem;
  }

  .footer-shell,
  body[dir="rtl"] .footer-shell {
    grid-template-areas:
      "contact"
      "about"
      "shop"
      "service";
  }

  .footer-contact,
  .footer-about-cta,
  .footer-shop,
  .footer-service,
  body[dir="rtl"] .footer-contact,
  body[dir="rtl"] .footer-about-cta,
  body[dir="rtl"] .footer-shop,
  body[dir="rtl"] .footer-service {
    justify-items: center;
    text-align: center;
  }

  body[dir="rtl"] .footer-contact a,
  body[dir="rtl"] .footer-address-link,
  .footer-contact a,
  .footer-address-link {
    justify-content: center;
    text-align: center;
  }

  .footer-social div {
    justify-content: center;
  }

  .footer-contact,
  body[dir="rtl"] .footer-contact {
    width: 100%;
  }

  .footer-contact h3,
  .footer-address-link,
  body[dir="rtl"] .footer-address-link {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-card,
  .product-body,
  .variant-select,
  .product-price,
  .buy-row {
    min-width: 0;
  }
}
