:root {
  --ink: #2f2631;
  --muted: #756d77;
  --purple-950: #402348;
  --purple-800: #5a3166;
  --purple-700: #6e3e7b;
  --purple-100: #eee5f1;
  --lavender: #d9c7e1;
  --pink: #f3dbe1;
  --cream: #fbf7f1;
  --beige: #eadfce;
  --gold: #b89152;
  --white: #fff;
  --line: #e9e0e8;
  --shadow: 0 20px 55px rgba(70, 42, 74, 0.11);
  --shadow-soft: 0 10px 30px rgba(70, 42, 74, 0.08);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: "Noto Kufi Arabic", Arial, sans-serif;
  line-height: 1.8;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.announcement {
  color: #f8f0f8;
  background: var(--purple-950);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.announcement-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.announcement svg {
  width: 14px;
  height: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(106, 66, 112, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 46% 54% / 44% 54% 46% 56%;
  color: var(--white);
  background: linear-gradient(145deg, var(--purple-700), #a36b9f);
  font: 700 1.35rem "Playfair Display", serif;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 7px 18px rgba(91, 47, 101, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: "Playfair Display", "Noto Kufi Arabic", serif;
  font-size: 1.04rem;
}

html[dir="rtl"] .brand-copy strong {
  font-family: "Noto Kufi Arabic", sans-serif;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-inline-start: auto;
  font-size: 0.89rem;
  font-weight: 600;
}

.desktop-nav > a,
.nav-dropdown-trigger {
  position: relative;
  padding: 28px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.desktop-nav > a::after,
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 20px;
  height: 2px;
  background: var(--purple-700);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav > a:hover::after,
.desktop-nav > a.active::after,
.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-trigger svg {
  width: 15px;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% - 8px);
  inset-inline-start: 50%;
  width: 590px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 180ms ease;
}

html[dir="rtl"] .nav-dropdown-panel {
  transform: translate(50%, 8px);
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

html[dir="rtl"] .nav-dropdown:hover .nav-dropdown-panel,
html[dir="rtl"] .nav-dropdown:focus-within .nav-dropdown-panel {
  transform: translate(50%, 0);
}

.nav-dropdown-panel a {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--muted);
  transition: 160ms ease;
}

.nav-dropdown-panel a:hover {
  color: var(--purple-800);
  background: var(--cream);
}

.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 12px;
}

.cart-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--purple-800);
  background: var(--white);
  cursor: pointer;
}

.cart-button svg {
  width: 19px;
}

.cart-count {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: var(--purple-700);
  font-size: 0.65rem;
  font-weight: 700;
}

.language-switcher {
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-size: 0.77rem;
}

.language-switcher button {
  padding: 2px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.language-switcher button.active {
  color: var(--purple-800);
  font-weight: 700;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.icon-button svg {
  width: 19px;
}

.mobile-menu-button,
.mobile-panel {
  display: none;
}

.hero {
  min-height: 665px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 245, 0.98) 0%, rgba(255, 250, 245, 0.9) 35%, rgba(255, 250, 245, 0.06) 62%),
    url("./assets/hero-studio.png") center / cover no-repeat;
}

html[dir="rtl"] .hero {
  background:
    linear-gradient(90deg, rgba(255, 250, 245, 0.98) 0%, rgba(255, 250, 245, 0.9) 35%, rgba(255, 250, 245, 0.06) 62%),
    url("./assets/hero-studio.png") center / cover no-repeat;
}

.hero-inner {
  width: var(--container);
}

.hero-copy {
  width: min(575px, 52%);
  padding: 90px 0;
}

html[dir="rtl"] .hero-copy {
  margin-right: auto;
  margin-left: 0;
  text-align: right;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--purple-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

html[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.process-copy h2,
.about-copy h2,
.cta-banner h2 {
  margin: 0;
  color: var(--purple-950);
  font-family: "Playfair Display", "Noto Kufi Arabic", serif;
  line-height: 1.08;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .page-hero h1,
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .process-copy h2,
html[dir="rtl"] .about-copy h2,
html[dir="rtl"] .cta-banner h2 {
  font-family: "Noto Kufi Arabic", sans-serif;
  line-height: 1.45;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(2.9rem, 5vw, 5.05rem);
  letter-spacing: -0.045em;
}

html[dir="rtl"] .hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin: 24px 0 0;
  color: #665b67;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.91rem;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

html[dir="rtl"] .button svg[data-lucide="arrow-right"] {
  transform: rotate(180deg);
}

.button-primary {
  color: var(--white);
  background: var(--purple-700);
  box-shadow: 0 10px 24px rgba(103, 57, 116, 0.2);
}

.button-primary:hover {
  background: var(--purple-800);
  box-shadow: 0 14px 30px rgba(103, 57, 116, 0.25);
}

.button-secondary {
  color: var(--purple-800);
  border-color: #cdb9d3;
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  background: var(--white);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.77rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust svg {
  width: 17px;
  color: var(--gold);
}

.section {
  padding: 100px 0;
}

.section-tint {
  background: var(--cream);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2,
.process-copy h2,
.about-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  letter-spacing: -0.035em;
}

html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .process-copy h2,
html[dir="rtl"] .about-copy h2 {
  letter-spacing: 0;
}

.section-heading p,
.process-copy p {
  max-width: 620px;
  margin: 17px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.centered {
  text-align: center;
}

.centered p {
  margin-inline: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-700);
  font-weight: 700;
  font-size: 0.9rem;
}

.text-link svg {
  width: 17px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 22px;
  background: #e9dee7;
  box-shadow: var(--shadow-soft);
}

.category-card:first-child {
  grid-row: span 2;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 25px;
  color: var(--white);
  background: linear-gradient(180deg, transparent 36%, rgba(46, 28, 49, 0.78));
}

.category-overlay small {
  opacity: 0.82;
  font-size: 0.75rem;
}

.category-overlay h3 {
  margin: 4px 0 0;
  font-family: "Playfair Display", "Noto Kufi Arabic", serif;
  font-size: 1.55rem;
}

html[dir="rtl"] .category-overlay h3 {
  font-family: "Noto Kufi Arabic", sans-serif;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  padding: 30px 25px;
  border: 1px solid rgba(114, 71, 119, 0.11);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(68, 42, 70, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--purple-700);
  background: var(--purple-100);
}

.feature-icon svg {
  width: 22px;
}

.benefit-card h3 {
  margin: 21px 0 10px;
  font-size: 1.04rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  background: var(--cream);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 13px;
  inset-inline-start: 13px;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--purple-800);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 15px rgba(51, 29, 53, 0.1);
  font-size: 0.68rem;
  font-weight: 700;
}

.product-body {
  padding: 20px;
}

.product-category {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 8px 0 8px;
  color: var(--purple-950);
  font-family: "Playfair Display", "Noto Kufi Arabic", serif;
  font-size: 1.25rem;
}

html[dir="rtl"] .product-card h3 {
  font-family: "Noto Kufi Arabic", sans-serif;
  line-height: 1.55;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.product-options {
  margin-top: 13px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.product-options b {
  flex: 0 0 auto;
  color: var(--purple-700);
}

.product-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  color: var(--purple-800);
  font-size: 0.83rem;
  font-weight: 700;
}

.product-inquiry {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--purple-700);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.process {
  overflow: hidden;
  background: var(--purple-950);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 75px;
}

.process-copy .eyebrow {
  color: #d9b7dd;
}

.process-copy h2,
.process-copy p {
  color: var(--white);
}

.process-copy p {
  color: #cdbfce;
}

.process-copy .button {
  margin-top: 26px;
  color: var(--purple-950);
  background: var(--white);
  box-shadow: none;
}

.process-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  list-style: none;
}

.process-step {
  position: relative;
  min-height: 150px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.process-step:last-child {
  grid-column: span 2;
}

.process-number {
  display: block;
  margin-bottom: 14px;
  color: #d6afd8;
  font: 700 1.4rem "Playfair Display", serif;
}

.process-step p {
  margin: 0;
  color: #e1d8e2;
  font-size: 0.88rem;
  line-height: 1.65;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  padding: 30px;
  border: 1px solid rgba(114, 71, 119, 0.11);
  border-radius: 20px;
  background: var(--white);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.13em;
}

.review-card blockquote {
  margin: 18px 0 22px;
  color: #564e57;
  line-height: 1.78;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--purple-800);
  background: var(--pink);
  font-weight: 700;
}

.review-author small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.cta-banner {
  padding: 65px 0;
  color: var(--white);
  background: linear-gradient(120deg, #5c3268, #845481);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-banner .eyebrow {
  color: #ead8eb;
}

.cta-banner h2 {
  max-width: 690px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.button-light {
  flex: 0 0 auto;
  color: var(--purple-800);
  background: var(--white);
}

.page-hero {
  padding: 92px 0 82px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 30%, rgba(238, 207, 219, 0.75), transparent 26%),
    radial-gradient(circle at 82% 30%, rgba(216, 199, 225, 0.85), transparent 28%), var(--cream);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.page-hero p {
  max-width: 740px;
  margin: 20px auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.catalog-toolbar {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.76rem;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  color: var(--white);
  border-color: var(--purple-700);
  background: var(--purple-700);
}

.empty-state {
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-state svg {
  width: 44px;
  height: 44px;
  color: var(--lavender);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.about-image {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.about-points {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.about-points span {
  display: flex;
  align-items: center;
  gap: 11px;
}

.about-points svg {
  width: 19px;
  color: var(--purple-700);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  align-items: start;
  gap: 45px;
}

.contact-sidebar {
  display: grid;
  gap: 16px;
}

.tracking-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.tracking-card h3 {
  margin: 0 0 8px;
  color: var(--purple-950);
}

.tracking-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.tracking-card form {
  display: grid;
  gap: 9px;
}

.tracking-result {
  margin-top: 15px;
  padding: 15px;
  border-radius: 12px;
  background: var(--cream);
}

.tracking-result strong,
.tracking-result span {
  display: block;
}

.contact-card {
  padding: 32px;
  border-radius: 22px;
  color: var(--white);
  background: var(--purple-950);
}

.contact-card .feature-icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.contact-card h2 {
  margin: 23px 0 10px;
  font: 700 1.8rem "Playfair Display", "Noto Kufi Arabic", serif;
}

html[dir="rtl"] .contact-card h2 {
  font-family: "Noto Kufi Arabic", sans-serif;
}

.contact-card p {
  color: #d5c9d7;
  line-height: 1.75;
}

.button-whatsapp {
  margin-top: 8px;
  color: #183d2a;
  background: #d9f3e4;
}

.contact-note {
  padding: 20px;
  display: flex;
  gap: 12px;
  border: 1px solid #eadcc6;
  border-radius: 16px;
  color: #66563d;
  background: #fcf6eb;
}

.contact-note svg {
  width: 20px;
  flex: 0 0 auto;
}

.contact-note p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-grid label,
.editor-fields label,
.editor-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 700;
}

.form-grid .full {
  grid-column: span 2;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ddd2dc;
  border-radius: 11px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

input,
select {
  min-height: 47px;
  padding: 0 13px;
}

textarea {
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #a77aad;
  box-shadow: 0 0 0 3px rgba(126, 77, 135, 0.09);
}

.upload-field > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-box {
  min-height: 120px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px dashed #c8b7ca;
  border-radius: 14px;
  color: var(--muted);
  background: var(--cream);
  cursor: pointer;
}

.upload-box svg {
  color: var(--purple-700);
}

.upload-box small {
  font-weight: 400;
}

.contact-form > .button {
  margin-top: 24px;
}

.privacy-copy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.legal-section {
  background: linear-gradient(180deg, #fff, #fbf7fb);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 110px;
  padding: 18px;
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.legal-toc a {
  padding: 11px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.legal-toc a:hover,
.legal-toc a.active {
  color: var(--purple-900);
  background: var(--lavender-100);
}

.legal-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.legal-notice,
.checkout-legal-note {
  display: flex;
  gap: 12px;
  border: 1px solid #eadcc6;
  border-radius: 16px;
  color: #66563d;
  background: #fcf6eb;
}

.legal-notice {
  margin-bottom: 28px;
  padding: 16px;
}

.checkout-legal-note {
  padding: 13px 14px;
  font-size: 0.78rem;
  line-height: 1.65;
}

.legal-notice svg,
.checkout-legal-note svg {
  width: 20px;
  flex: 0 0 auto;
  color: #8f6b28;
}

.legal-notice p,
.checkout-legal-note p {
  margin: 0;
}

.legal-block {
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.legal-block:first-of-type {
  border-top: 0;
}

.legal-block h2 {
  margin: 0 0 12px;
  color: var(--purple-950);
  font-size: 1.15rem;
}

.legal-block p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.85;
  white-space: normal;
}

.site-footer {
  padding: 72px 0 22px;
  color: #ddd0df;
  background: #2c1b31;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
  gap: 45px;
}

.brand-light .brand-copy strong {
  color: var(--white);
}

.brand-light .brand-copy small {
  color: #bdaebe;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 20px;
  color: #bfb2c1;
  line-height: 1.75;
}

.footer-grid h3 {
  margin: 5px 0 20px;
  color: var(--white);
  font-size: 0.87rem;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #bfb2c1;
  font-size: 0.83rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9f91a1;
  font-size: 0.76rem;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: #ad9baf;
  background: transparent;
  cursor: pointer;
}

.admin-link svg {
  width: 14px;
}

.whatsapp-float {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #1faa62;
  box-shadow: 0 12px 30px rgba(24, 131, 76, 0.3);
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 24px;
}

.admin-drawer {
  position: fixed;
  z-index: 100;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
}

.admin-drawer.open {
  visibility: visible;
}

.admin-drawer:not(.open) .admin-backdrop,
.admin-drawer:not(.open) .admin-panel {
  display: none;
}

.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 23, 38, 0.48);
  opacity: 0;
  transition: opacity 200ms ease;
}

.admin-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(680px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fdfbfc;
  box-shadow: -20px 0 55px rgba(38, 24, 41, 0.18);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

html[dir="rtl"] .admin-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

.admin-drawer.open .admin-backdrop {
  opacity: 1;
}

.admin-drawer.open .admin-panel,
html[dir="rtl"] .admin-drawer.open .admin-panel {
  transform: translateX(0);
}

.admin-header {
  padding: 25px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.admin-header .eyebrow {
  margin-bottom: 5px;
}

.admin-header h2 {
  margin: 0;
  font-family: "Playfair Display", "Noto Kufi Arabic", serif;
}

html[dir="rtl"] .admin-header h2 {
  font-family: "Noto Kufi Arabic", sans-serif;
}

.admin-tabs {
  padding: 14px 28px 0;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs button {
  padding: 0 0 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.admin-tabs button.active {
  color: var(--purple-700);
  border-color: var(--purple-700);
}

.admin-content {
  padding: 24px 28px 40px;
  overflow-y: auto;
}

.admin-toolbar {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-toolbar select {
  max-width: 250px;
}

.admin-list {
  display: grid;
  gap: 11px;
}

.admin-row {
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.admin-row img {
  width: 68px;
  height: 60px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.admin-row-copy {
  min-width: 0;
  flex: 1;
}

.admin-row-copy strong,
.admin-row-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-row-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.73rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block !important;
  margin-inline-end: 5px;
  border-radius: 50%;
  background: #42a36a;
}

.status-dot.hidden-status {
  background: #b8acb9;
}

.admin-row-actions {
  display: flex;
  gap: 5px;
}

.mini-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--cream);
  cursor: pointer;
}

.mini-button:hover {
  color: var(--purple-700);
  border-color: #cdb9d3;
}

.mini-button.danger:hover {
  color: #aa3f51;
  border-color: #e3bbc2;
  background: #fff5f6;
}

.mini-button svg {
  width: 16px;
}

dialog {
  width: min(650px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 25px 80px rgba(39, 24, 42, 0.25);
}

dialog::backdrop {
  background: rgba(35, 23, 38, 0.58);
  backdrop-filter: blur(4px);
}

.editor-form {
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.dialog-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
  font: 700 1.55rem "Playfair Display", "Noto Kufi Arabic", serif;
}

html[dir="rtl"] .dialog-header h2 {
  font-family: "Noto Kufi Arabic", sans-serif;
}

#editor-fields {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  overflow-y: auto;
}

#editor-fields .full {
  grid-column: span 2;
}

#editor-fields small {
  color: var(--muted);
  font-weight: 400;
}

.checkbox-label {
  display: flex !important;
  grid-column: span 2;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
}

.dialog-actions {
  padding: 16px 24px;
  display: flex;
  justify-content: end;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 28px;
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--white);
  background: var(--purple-950);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.customizer-dialog {
  width: min(1040px, calc(100% - 28px));
}

.mockup-editor-dialog {
  width: min(1080px, calc(100% - 28px));
}

#mockup-editor-form {
  max-height: calc(100vh - 30px);
  display: flex;
  flex-direction: column;
}

.mockup-editor-layout {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 28px;
  overflow-y: auto;
}

.mockup-editor-preview {
  min-width: 0;
}

#mockup-editor-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22px;
  background: var(--cream);
  box-shadow:
    0 18px 42px rgba(50, 29, 55, 0.13),
    inset 0 0 0 1px var(--line);
  touch-action: none;
  user-select: none;
}

#mockup-editor-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

#mockup-editor-area {
  position: absolute;
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold-500);
  border-radius: 12px;
  color: var(--purple-950);
  background: rgba(255, 235, 164, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85),
    0 8px 24px rgba(58, 35, 63, 0.14);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: move;
  touch-action: none;
}

#mockup-editor-area.shape-circle {
  border-radius: 50%;
}

#mockup-editor-area.shape-cylinder {
  border-radius: 42% / 8%;
}

#mockup-editor-area.shape-cap {
  border-radius: 50% 50% 18% 18% / 78% 78% 22% 22%;
}

#mockup-editor-area.shape-sticker {
  border-radius: 32% 46% 35% 42%;
}

#mockup-resize-handle {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--purple-700);
  box-shadow: 0 3px 9px rgba(49, 28, 54, 0.25);
  cursor: nwse-resize;
  touch-action: none;
}

.mockup-editor-preview > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.mockup-editor-controls {
  display: grid;
  align-content: start;
  gap: 16px;
}

.mockup-editor-controls > label,
.mockup-number-grid label,
.mockup-color-settings label {
  display: grid;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
}

.mockup-number-grid,
.mockup-color-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.split-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
}

#customizer-form {
  max-height: calc(100vh - 30px);
  display: flex;
  flex-direction: column;
}

.customizer-layout {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 28px;
  overflow-y: auto;
}

.preview-column {
  min-width: 0;
}

.mockup-stage {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95), transparent 58%),
    var(--cream);
  box-shadow:
    0 22px 45px rgba(57, 32, 61, 0.12),
    inset 0 0 0 1px var(--line);
}

.mockup-badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  inset-inline-start: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: var(--purple-950);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(44, 27, 48, 0.1);
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

#preview-canvas {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  background: transparent;
}

.preview-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.customizer-controls {
  display: grid;
  align-content: start;
  gap: 17px;
}

.customizer-controls > label,
.control-grid label {
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.product-color-control {
  display: grid;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-color-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.product-color-options > button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow:
    0 0 0 1px var(--line),
    0 4px 10px rgba(42, 25, 46, 0.08);
  cursor: pointer;
}

.product-color-options > button.active {
  box-shadow:
    0 0 0 2px var(--purple-700),
    0 5px 14px rgba(90, 49, 102, 0.18);
}

.custom-product-color {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.68rem;
}

.custom-product-color input {
  width: 27px;
  height: 27px;
  min-height: 0 !important;
  padding: 2px !important;
  border-radius: 50%;
}

.customizer-controls input[type="range"] {
  min-height: 24px;
  padding: 0;
  accent-color: var(--purple-700);
}

.slider-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slider-label output {
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--purple-800);
  background: var(--lavender-100);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.customizer-controls input[type="color"] {
  min-height: 47px;
  padding: 5px;
}

.upload-box.compact {
  min-height: 94px;
}

.cart-drawer {
  position: fixed;
  z-index: 110;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
}

.cart-drawer.open {
  visibility: visible;
}

.cart-drawer:not(.open) .cart-backdrop,
.cart-drawer:not(.open) .cart-panel {
  display: none;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 23, 38, 0.52);
  opacity: 0;
  transition: opacity 200ms ease;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(680px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fdfbfc;
  box-shadow: -20px 0 55px rgba(38, 24, 41, 0.2);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

html[dir="rtl"] .cart-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-drawer.open .cart-panel,
html[dir="rtl"] .cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  padding: 24px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header .eyebrow {
  margin-bottom: 3px;
}

.cart-header h2 {
  margin: 0;
  color: var(--purple-950);
  font: 700 1.65rem "Playfair Display", "Noto Kufi Arabic", serif;
}

.cart-content {
  padding: 24px 28px 45px;
  overflow-y: auto;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  padding: 11px;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.cart-item img {
  width: 82px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-item-copy {
  min-width: 0;
}

.selected-product-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.7rem;
}

.selected-product-color i {
  width: 14px;
  height: 14px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--selected-color);
  box-shadow: 0 0 0 1px var(--line);
}

.cart-item-copy strong,
.cart-item-copy span,
.cart-item-copy small {
  display: block;
}

.cart-item-copy span {
  margin-top: 5px;
  color: var(--purple-700);
  font-size: 0.76rem;
}

.cart-item-copy small {
  margin-top: 6px;
  color: var(--muted);
}

#checkout-form {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

#checkout-form > h3 {
  margin: 0 0 20px;
}

.order-summary {
  margin-top: 22px;
  padding: 18px;
  display: grid;
  gap: 10px;
  border-radius: 15px;
  background: var(--cream);
}

.order-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.order-summary .order-total {
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--purple-800);
  font-size: 1.05rem;
}

.order-summary p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.checkout-submit {
  width: 100%;
  margin-top: 18px;
}

.success-dialog {
  padding: 38px;
  text-align: center;
}

.success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #27764d;
  background: #dcf2e5;
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

.success-dialog h2 {
  margin: 0;
  color: var(--purple-950);
  font: 700 2rem "Playfair Display", "Noto Kufi Arabic", serif;
}

.success-dialog > p {
  color: var(--muted);
  line-height: 1.7;
}

.order-number-box {
  margin: 22px 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--cream);
}

.order-number-box span,
.order-number-box strong {
  display: block;
}

.order-number-box strong {
  margin-top: 6px;
  color: var(--purple-800);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.admin-login {
  padding: 45px 20px;
  text-align: center;
}

.admin-login > svg {
  width: 42px;
  height: 42px;
  color: var(--purple-700);
}

.admin-login h3 {
  margin-bottom: 8px;
}

.admin-login p {
  color: var(--muted);
}

.admin-login form {
  max-width: 320px;
  margin: 22px auto 0;
  display: grid;
  gap: 10px;
}

.order-admin-list {
  display: grid;
  gap: 15px;
}

.admin-order-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.admin-order-heading,
.admin-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.admin-order-heading strong,
.admin-order-heading span {
  display: block;
}

.admin-order-heading > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.order-status {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: #59445c;
  background: #eee5f1;
  font-size: 0.68rem;
  font-weight: 700;
}

.status-shipped,
.status-completed {
  color: #236a45;
  background: #dcf2e5;
}

.status-cancelled {
  color: #9b3546;
  background: #fbe6e9;
}

.admin-order-products {
  margin: 15px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-order-products > div {
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  background: var(--cream);
}

.admin-order-products img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.admin-order-products b,
.admin-order-products small {
  display: block;
}

.admin-order-products b {
  font-size: 0.75rem;
}

.admin-order-products small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.65rem;
}

.admin-order-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-order-address svg {
  width: 16px;
  flex: 0 0 auto;
}

.admin-order-address p {
  margin: 0;
}

.admin-order-fields {
  margin: 15px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-order-fields label {
  display: grid;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-order-fields label:first-child {
  grid-column: span 2;
}

.admin-order-footer {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 0.77rem;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 15px;
  }

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

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

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
  }

  .mobile-panel {
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel nav {
    width: var(--container);
    max-height: calc(100vh - 130px);
    margin: 0 auto;
    padding: 12px 0 20px;
    display: grid;
    overflow-y: auto;
  }

  .mobile-panel a {
    padding: 12px 5px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 630px;
    background:
      linear-gradient(90deg, rgba(255, 250, 245, 0.98), rgba(255, 250, 245, 0.84) 58%, rgba(255, 250, 245, 0.12)),
      url("./assets/hero-studio.png") 56% center / cover no-repeat;
  }

  .hero-copy {
    width: 65%;
  }

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

  .category-card:first-child {
    grid-row: auto;
  }

  .process-layout,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-layout {
    gap: 45px;
  }

  .about-grid {
    gap: 45px;
  }

  .about-image {
    max-height: 560px;
  }

  .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: span 3;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .announcement-inner {
    justify-content: center;
  }

  .announcement-inner > span {
    display: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .language-switcher {
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .cart-button {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 760px;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(255, 250, 245, 1) 0%, rgba(255, 250, 245, 0.96) 46%, rgba(255, 250, 245, 0.04) 70%),
      url("./assets/hero-studio.png") 66% bottom / auto 60% no-repeat, var(--cream);
  }

  .hero-copy {
    width: 100%;
    padding: 60px 0 250px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  html[dir="rtl"] .hero h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hero p {
    font-size: 0.94rem;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .split-heading,
  .cta-inner,
  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2,
  .process-copy h2,
  .about-copy h2 {
    font-size: 2.15rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .benefit-grid,
  .product-grid,
  .reviews-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step:last-child {
    grid-column: auto;
  }

  .product-grid {
    gap: 16px;
  }

  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 23px;
  }

  .legal-card {
    padding: 22px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .form-grid,
  #editor-fields {
    grid-template-columns: 1fr;
  }

  .form-grid .full,
  #editor-fields .full,
  .checkbox-label {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-grid > div:last-child {
    grid-column: span 2;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header,
  .admin-content {
    padding-inline: 18px;
  }

  .admin-tabs {
    padding-inline: 18px;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar select {
    max-width: none;
  }

  .admin-row {
    flex-wrap: wrap;
  }

  .admin-row-copy {
    width: calc(100% - 84px);
    flex: auto;
  }

  .admin-row-actions {
    width: 100%;
    justify-content: end;
  }

  .customizer-layout {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .mockup-editor-layout {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .split-actions {
    grid-template-columns: 1fr 1fr;
  }

  .split-actions > span {
    display: none;
  }

  .cart-header,
  .cart-content {
    padding-inline: 18px;
  }

  .cart-item {
    grid-template-columns: 66px 1fr auto;
  }

  .cart-item img {
    width: 66px;
    height: 66px;
  }

  .admin-order-products,
  .admin-order-fields {
    grid-template-columns: 1fr;
  }

  .admin-order-fields label:first-child {
    grid-column: auto;
  }

  .admin-order-heading,
  .admin-order-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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