@font-face {
  font-family: "Soriel Latin";
  src:
    url("../data/fonts/Yekan.woff2") format("woff2"),
    url("../data/fonts/Yekan.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Soriel Latin";
  src:
    url("../data/fonts/Yekan.woff2") format("woff2"),
    url("../data/fonts/Yekan.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Soriel Persian";
  src:
    url("../data/fonts/Yekan.woff2") format("woff2"),
    url("../data/fonts/Yekan.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Soriel Persian";
  src:
    url("../data/fonts/Yekan.woff2") format("woff2"),
    url("../data/fonts/Yekan.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #cedae3;
  --bg-soft: #deccef;
  --ink: #201c16;
  --muted: #71695e;
  --line: rgba(151, 116, 53, 0.18);
  --gold: #9b7737;
  --gold-soft: #d8bf8a;
  --glass: rgba(255, 255, 255, 0.55);
  --shadow: 0 24px 70px rgba(105, 78, 28, 0.1);
  --radius: 28px;
  --container: min(1180px, calc(100% - 40px));
  --font-en: "Soriel Latin", Arial, sans-serif;
  --font-fa: "Soriel Persian", Tahoma, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at 77% 9%,
      rgba(216, 191, 138, 0.24),
      transparent 31%
    ),
    radial-gradient(
      circle at 18% 48%,
      rgba(255, 255, 255, 0.95),
      transparent 42%
    ),
    linear-gradient(145deg, #ede7e7 0%, #eaf8fa 43%, #f7efdf 100%);
  color: var(--ink);
  font-family: var(--font-en);
  line-height: 1.7;
  min-height: 100vh;
}
html[lang="fa"] body {
  font-family: var(--font-fa);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(151, 116, 53, 0.14);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.74);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 35px rgba(94, 72, 33, 0.06);
}
.brand {
  font-weight: 500;
  letter-spacing: 0.13em;
  font-size: 0.84rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.86rem;
}
.site-nav a {
  position: relative;
  color: var(--muted);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn,
.lang-btn,
.cart-link {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
}
.lang-btn {
  min-width: 52px;
}
.cart-link {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cart-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  margin: 5px auto;
}
.section {
  padding: 110px 0;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.display {
  font-size: clamp(3rem, 7vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 0;
}
.section-title {
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 0;
}
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.glass {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.75),
    rgba(250, 241, 222, 0.52)
  );
  border: 1px solid rgba(155, 119, 55, 0.17);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: 0.25s ease;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-soft {
  background: rgba(255, 255, 255, 0.55);
}
.btn:hover {
  transform: translateY(-2px);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.page-hero {
  padding: 120px 0 60px;
}
.page-hero .lead {
  margin-top: 24px;
}
.grid {
  display: grid;
  gap: 24px;
}
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(105, 78, 28, 0.08);
}
.card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f4eee4;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-media img {
  transform: scale(1.025);
}
.card-body {
  padding: 24px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.card h3 {
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 10px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(28px);
}
.search-panel.is-open {
  display: block;
}
.search-inner {
  width: min(920px, calc(100% - 40px));
  margin: 12vh auto;
}
.search-top {
  display: flex;
  gap: 12px;
}
.search-input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 18px 0;
  font-size: clamp(1.5rem, 4vw, 3.4rem);
  outline: none;
}
.search-results {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}
.search-result {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.search-result small {
  color: var(--gold);
}
.empty {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
html[dir="rtl"] .display,
html[dir="rtl"] .section-title {
  letter-spacing: 0;
}
.notice {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  color: var(--muted);
}
@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 76px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fffdf8;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav a {
    padding: 8px 0;
  }
  .site-nav a[aria-current="page"]::after {
    display: none;
  }
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 80px 0;
  }
  .icon-btn.search-label {
    font-size: 0;
  }
  .icon-btn.search-label::after {
    content: "⌕";
    font-size: 1.15rem;
  }
}
@media (max-width: 560px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }
  .site-header {
    width: calc(100% - 16px);
    padding: 9px 10px;
  }
  .brand {
    font-size: 0.72rem;
  }
  .header-tools {
    gap: 5px;
  }
  .icon-btn,
  .lang-btn,
  .cart-link {
    padding: 0 10px;
    min-height: 38px;
  }
  .section {
    padding: 64px 0;
  }
  .page-hero {
    padding-top: 90px;
  }
  .display {
    font-size: clamp(2.7rem, 16vw, 4.6rem);
  }
  .card-body {
    padding: 20px;
  }
}

/* SORIEL V2 refined system */
:root {
  --bg: #fffdf9;
  --bg-soft: #fbf5e9;
  --ink: #302b25;
  --muted: #766e64;
  --line: rgba(154, 118, 52, 0.18);
  --gold: #a57d38;
  --gold-soft: #ddc69b;
  --champagne: #f3e7cf;
  --glass: rgba(255, 255, 255, 0.58);
  --shadow: 0 26px 80px rgba(116, 82, 24, 0.09);
}
body {
  background:
    radial-gradient(
      circle at 82% 7%,
      rgba(232, 209, 166, 0.28),
      transparent 28%
    ),
    radial-gradient(
      circle at 12% 48%,
      rgba(255, 255, 255, 0.98),
      transparent 38%
    ),
    linear-gradient(150deg, #fff 0%, #fffdf9 44%, #f8efdf 100%);
  color: var(--ink);
}
.display {
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.98;
  color: #3b342c;
}
.page-hero {
  padding: 105px 0 48px;
}
.page-hero .lead {
  margin-top: 20px;
}
.section {
  padding: 92px 0;
}
.glass {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.74),
    rgba(248, 238, 218, 0.42)
  );
  border-color: rgba(165, 125, 56, 0.18);
  backdrop-filter: blur(18px);
}
.btn-primary {
  background: linear-gradient(135deg, #aa8242, #d7bd88);
  border-color: rgba(158, 117, 49, 0.22);
  color: #fff;
  box-shadow: 0 10px 26px rgba(157, 117, 51, 0.16);
}
.btn-soft,
.filter-btn {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.82),
    rgba(244, 232, 207, 0.66)
  );
  color: var(--ink);
}
.site-header {
  background: rgba(255, 253, 249, 0.77);
}
.site-nav {
  gap: 19px;
  font-size: 0.82rem;
}
.header-tools {
  gap: 6px;
}
.search-trigger,
.cart-link,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  min-height: 39px;
  padding: 0;
}
.search-trigger svg,
.cart-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.lang-btn {
  width: auto;
  min-width: 62px;
  gap: 3px;
  padding: 0 9px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.lang-btn .lang-en,
.lang-btn .lang-fa {
  opacity: 0.42;
}
.lang-btn .is-active {
  opacity: 1;
  color: var(--gold);
}
.cart-link {
  position: relative;
}
.cart-count {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 17px;
  height: 17px;
  font-size: 0.58rem;
  background: var(--gold);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.76rem;
  transition: 0.25s;
}
.filter-btn:hover,
.filter-btn.is-active {
  transform: translateY(-1px);
  border-color: rgba(165, 125, 56, 0.45);
  box-shadow: 0 9px 24px rgba(123, 89, 33, 0.09);
}
.search-panel {
  background: rgba(255, 253, 249, 0.96);
}
@media (max-width: 1050px) {
  .site-nav {
    gap: 13px;
    font-size: 0.75rem;
  }
  .brand {
    font-size: 0.74rem;
  }
}
@media (max-width: 900px) {
  .site-nav {
    background: #fffdf9;
  }
  .lang-btn {
    min-width: 57px;
  }
}
@media (max-width: 560px) {
  .display {
    font-size: clamp(2.55rem, 14vw, 4.3rem);
  }
  .lang-btn {
    min-width: 52px;
    padding: 0 7px;
  }
  .site-header > .brand {
    max-width: 115px;
    overflow: hidden;
  }
  .section {
    padding: 68px 0;
  }
}

/* V2 refinements — existing stylesheet only */
:root {
  --page: #eee9df;
  --page-2: #e4e8ee;
  --glass: rgba(255, 255, 255, 0.46);
  --glass-border: rgba(255, 255, 255, 0.72);
}
body {
  background: linear-gradient(145deg, #e9e4da 0%, #e5e8ee 54%, #ded9cf 100%);
}
.site-header {
  background: rgba(244, 241, 235, 0.62);
  border-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  box-shadow: 0 12px 38px rgba(55, 61, 72, 0.08);
}
.glass,
.card,
.contact-experience,
.intro-copy,
.cta,
.home-project-panel {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.58),
    rgba(232, 238, 246, 0.28)
  );
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 60px rgba(47, 54, 65, 0.11);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.display,
.section-title,
.page-hero h1,
.graphics-hero h1 {
  background: linear-gradient(105deg, #5e4b2a 0%, #c5a466 46%, #78613a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-plain-title {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #323238 !important;
  font-size: clamp(2.1rem, 5vw, 4.6rem) !important;
}
.search-panel {
  position: fixed;
  inset: auto clamp(1rem, 3vw, 2.5rem) auto auto;
  top: 78px;
  width: min(420px, calc(100vw - 2rem));
  height: auto;
  min-height: 0;
  background: rgba(247, 245, 241, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(36, 43, 54, 0.18);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  transform: translateY(-10px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  padding: 1rem;
  z-index: 1000;
}
.search-panel.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.search-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}
.search-results {
  max-height: 300px;
  overflow: auto;
}
.search-top {
  gap: 0.75rem;
}
.search-input {
  border: 1px solid rgba(89, 97, 110, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.9rem 1rem;
}

@media (max-width: 700px) {
  .search-panel {
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}

.title-unified {
  font-size: clamp(1.65rem, 3.2vw, 3rem) !important;
}

/* Final visual refinements — existing stylesheet */
:root {
  --bg: #e9edf3;
  --bg-soft: #eef1f6;
  --ink: #263142;
  --muted: #687386;
  --line: rgba(75, 93, 120, 0.16);
  --gold: #b89352;
  --gold-soft: #dfc890;
  --glass-border: rgba(255, 255, 255, 0.68);
  --shadow: 0 24px 70px rgba(42, 57, 80, 0.11);
}
body {
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(208, 180, 117, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 12% 48%,
      rgba(124, 161, 209, 0.18),
      transparent 34%
    ),
    linear-gradient(145deg, #e7ebf1 0%, #edf0f5 48%, #e5e9ef 100%);
  color: var(--ink);
}
.display,
.section-title,
.page-hero h1,
.graphics-hero h1 {
  background: linear-gradient(
    105deg,
    #253750 0%,
    #4e739d 38%,
    #b99352 73%,
    #6d86a5 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.display {
  font-size: clamp(2.45rem, 5.2vw, 5.35rem);
  line-height: 1;
}
.section-title {
  font-size: clamp(1.9rem, 3.45vw, 3.65rem);
}
html[dir="rtl"] .display {
  font-size: clamp(2.15rem, 4.6vw, 4.55rem);
}
html[dir="rtl"] .section-title {
  font-size: clamp(1.7rem, 3.05vw, 3.15rem);
}
.page-hero {
  padding: 96px 0 42px;
}
.page-hero .lead {
  margin-top: 18px;
}
.glass,
.card,
.contact-experience,
.intro-copy,
.cta,
.home-project-panel {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.57),
    rgba(213, 226, 243, 0.27)
  );
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(138%);
  -webkit-backdrop-filter: blur(24px) saturate(138%);
}
.site-header {
  background: rgba(236, 241, 247, 0.66);
  border-color: rgba(255, 255, 255, 0.72);
}
.search-panel {
  position: fixed;
  inset: auto auto auto auto;
  top: 70px;
  right: clamp(92px, 12vw, 190px);
  width: min(300px, calc(100vw - 28px));
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  z-index: 1000;
}
.search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  display: block;
}
.search-inner {
  width: 100%;
  margin: 0;
}
.search-input {
  width: 100%;
  font-size: 0.82rem;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(73, 92, 121, 0.18);
  border-radius: 12px;
  background: rgba(242, 246, 251, 0.88);
  box-shadow: 0 12px 30px rgba(42, 57, 80, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.search-results {
  gap: 0;
  margin-top: 7px;
  max-height: 230px;
  overflow: auto;
  border-radius: 12px;
  background: rgba(242, 246, 251, 0.92);
  box-shadow: 0 14px 32px rgba(42, 57, 80, 0.12);
}
.search-result {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.search-result small {
  font-size: 0.62rem;
}
.empty {
  padding: 10px 12px;
  margin: 0;
  font-size: 0.75rem;
}

.cart-page-title {
  font-size: clamp(2rem, 4vw, 3.8rem) !important;
}
.cta-title-small {
  font-size: clamp(1.8rem, 3.3vw, 3.35rem) !important;
}
@media (max-width: 700px) {
  .search-panel {
    right: 14px;
    top: 66px;
  }
  .display {
    font-size: clamp(2.25rem, 12vw, 3.9rem);
  }
  html[dir="rtl"] .display {
    font-size: clamp(2rem, 10vw, 3.45rem);
  }
}

/* Final approved visual refinements */
:root {
  --bg: #f5f9fd;
  --surface: rgba(255, 255, 255, 0.56);
  --surface-strong: rgba(248, 252, 255, 0.78);
  --ink: #24334a;
  --muted: #65758c;
  --line: rgba(70, 104, 145, 0.15);
  --blue: #5e86b7;
  --blue-deep: #334f73;
}
body {
  background:
    radial-gradient(
      circle at 18% 4%,
      rgba(207, 226, 248, 0.72),
      transparent 34rem
    ),
    radial-gradient(
      circle at 86% 12%,
      rgba(235, 244, 255, 0.88),
      transparent 31rem
    ),
    linear-gradient(180deg, #fafdff 0%, #eef5fb 52%, #f8fbfe 100%);
  color: var(--ink);
}
.site-header {
  background: rgba(245, 250, 255, 0.56) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 12px 36px rgba(48, 73, 105, 0.08) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.display,
.section-title,
.page-hero h1,
.graphics-hero h1 {
  background: linear-gradient(
    105deg,
    #34577f 0%,
    #7099c5 46%,
    #f7fbff 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  line-height: 1.18 !important;
  padding-block: 0.08em 0.16em;
  overflow: visible !important;
}
html[dir="rtl"] .display,
html[dir="rtl"] .section-title,
html[dir="rtl"] .page-hero h1 {
  font-size: clamp(1.95rem, 5.3vw, 3.7rem) !important;
  line-height: 1.5 !important;
}
.section-title {
  font-size: clamp(1.75rem, 3.4vw, 3rem) !important;
}
.page-hero .display {
  font-size: clamp(2.3rem, 5.5vw, 4.7rem) !important;
}
.btn,
.product-case-link,
.filter-btn {
  background: rgba(224, 237, 251, 0.72) !important;
  color: #34577f !important;
  border: 1px solid rgba(78, 126, 180, 0.2) !important;
  box-shadow: none !important;
}
.btn:hover,
.product-case-link:hover,
.filter-btn:hover,
.filter-btn.is-active {
  background: rgba(90, 137, 190, 0.94) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.glass,
.card,
.about-block,
.service-row,
.cart-summary,
.cart-item,
.contact-form,
.home-project-panel {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.68),
    rgba(229, 240, 251, 0.42)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  box-shadow: 0 24px 65px rgba(58, 85, 118, 0.1) !important;
  backdrop-filter: blur(23px);
  -webkit-backdrop-filter: blur(23px);
}
.search-panel {
  position: fixed !important;
  width: 240px !important;
  top: 68px !important;
  right: clamp(82px, 10vw, 165px) !important;
}
.search-input {
  background: rgba(246, 251, 255, 0.94) !important;
  border-color: rgba(75, 117, 166, 0.18) !important;
}
html[dir="rtl"] .search-panel {
  right: auto !important;
  left: clamp(82px, 10vw, 165px) !important;
}

@media (max-width: 700px) {
  .search-panel,
  html[dir="rtl"] .search-panel {
    right: 14px !important;
    left: 14px !important;
    width: auto !important;
  }
  .page-hero .display {
    font-size: clamp(2rem, 11vw, 3.45rem) !important;
  }
}

/* Final blue refinement */
body {
  background:
    radial-gradient(
      circle at 78% 8%,
      rgba(204, 224, 246, 0.62),
      transparent 34rem
    ),
    radial-gradient(
      circle at 16% 48%,
      rgba(255, 255, 255, 0.98),
      transparent 42rem
    ),
    linear-gradient(145deg, #ffffff 0%, #f7fbff 48%, #eaf3fb 100%) !important;
}
.display,
.section-title,
.page-hero .display,
.graphics-hero .display,
.hero-copy .display,
.about-grid .page-hero h1 {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #34597f !important;
  text-shadow: none !important;
}
html[dir="rtl"] .display,
html[dir="rtl"] .section-title {
  color: #34597f !important;
}
.glass,
.card,
.contact-experience,
.intro-copy,
.cta,
.home-project-panel {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.78),
    rgba(210, 229, 248, 0.48)
  ) !important;
  border-color: rgba(71, 112, 157, 0.18) !important;
}
.btn,
.filter-btn,
.product-case-link {
  border-color: rgba(63, 99, 140, 0.24) !important;
  background: rgba(220, 235, 250, 0.68) !important;
  color: #294e74 !important;
}
.btn-primary {
  background: #476f9b !important;
  color: #fff !important;
  border-color: #476f9b !important;
}
.btn:hover,
.filter-btn:hover,
.filter-btn.is-active {
  background: #315b86 !important;
  color: #fff !important;
  border-color: #315b86 !important;
}

.field input:invalid,
.field textarea:invalid,
.field select:invalid {
  box-shadow: none !important;
  outline: none !important;
}
.field input,
.field textarea,
.field select {
  border-color: rgba(72, 105, 143, 0.22) !important;
}

.display,
.section-title,
.page-hero h1,
.graphics-hero h1 {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: #315a84 !important;
  -webkit-text-fill-color: #315a84 !important;
}

:root {
  --bg: #f8fbff;
  --bg-soft: #edf5fc;
  --glass: rgba(255, 255, 255, 0.56);
  --glass-border: rgba(255, 255, 255, 0.86);
  --line: rgba(65, 105, 148, 0.17);
  --shadow: 0 22px 70px rgba(39, 75, 115, 0.11);
}
body {
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(177, 213, 247, 0.52),
      transparent 30rem
    ),
    radial-gradient(
      circle at 12% 42%,
      rgba(255, 255, 255, 0.98),
      transparent 36rem
    ),
    linear-gradient(145deg, #fbfdff 0%, #edf6ff 48%, #dcecff 100%) !important;
}
.glass,
.card,
.contact-experience,
.intro-copy,
.cta,
.home-project-panel,
.web-card,
.product-scroll-card,
.blog-card,
.contact-form,
.cart-summary,
.cart-item {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.72),
    rgba(219, 235, 251, 0.38)
  ) !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 22px 70px rgba(42, 79, 119, 0.12) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
}

/* Final requested background and navigation refinements */
body {
  background:
    radial-gradient(
      circle at 80% 6%,
      rgba(154, 202, 247, 0.58),
      transparent 29rem
    ),
    radial-gradient(
      circle at 12% 39%,
      rgba(255, 255, 255, 0.96),
      transparent 35rem
    ),
    radial-gradient(
      circle at 52% 82%,
      rgba(194, 220, 248, 0.42),
      transparent 38rem
    ),
    linear-gradient(145deg, #fbfdff 0%, #eaf4fe 43%, #cfe4f8 100%) !important;
  background-attachment: fixed !important;
}
.site-nav {
  font-size: 0.89rem !important;
}
html[lang="fa"] .site-nav {
  font-size: 0.9rem !important;
}
@media (max-width: 1050px) {
  .site-nav {
    font-size: 0.8rem !important;
  }
  html[lang="fa"] .site-nav {
    font-size: 0.82rem !important;
  }
}
@media (max-width: 900px) {
  .site-nav {
    font-size: 0.92rem !important;
  }
  html[lang="fa"] .site-nav {
    font-size: 0.94rem !important;
  }
}

/* Final background and navigation scale */
:root {
  --bg: #eef5fb;
  --ink: #243850;
  --muted: #60758d;
}
body {
  background:
    radial-gradient(
      circle at 16% 7%,
      rgba(205, 225, 246, 0.9),
      transparent 35rem
    ),
    radial-gradient(
      circle at 88% 15%,
      rgba(226, 238, 250, 0.92),
      transparent 32rem
    ),
    linear-gradient(155deg, #f8fbfe 0%, #e8f1f9 48%, #f4f8fc 100%) !important;
}
.site-nav {
  font-size: 0.92rem !important;
}
html[lang="fa"] .site-nav {
  font-size: 0.94rem !important;
}
@media (max-width: 1050px) {
  .site-nav {
    font-size: 0.83rem !important;
  }
  html[lang="fa"] .site-nav {
    font-size: 0.85rem !important;
  }
}
@media (max-width: 900px) {
  .site-nav {
    font-size: 0.96rem !important;
  }
  html[lang="fa"] .site-nav {
    font-size: 0.98rem !important;
  }
}

/* Light navy-lilac background refinement */
body {
  background:
    radial-gradient(
      circle at 14% 8%,
      rgba(201, 218, 244, 0.78),
      transparent 34rem
    ),
    radial-gradient(
      circle at 86% 12%,
      rgba(224, 214, 244, 0.58),
      transparent 32rem
    ),
    radial-gradient(
      circle at 58% 78%,
      rgba(213, 229, 248, 0.54),
      transparent 38rem
    ),
    linear-gradient(145deg, #fbfdff 0%, #eef4fb 46%, #e9e8f6 100%) !important;
  background-attachment: fixed !important;
}
.site-header {
  background: rgba(247, 249, 255, 0.66) !important;
}

body {
  background:
    radial-gradient(
      circle at 82% 7%,
      rgba(171, 207, 246, 0.72),
      transparent 27rem
    ),
    radial-gradient(
      circle at 18% 18%,
      rgba(225, 217, 250, 0.6),
      transparent 30rem
    ),
    radial-gradient(
      circle at 48% 78%,
      rgba(190, 219, 249, 0.52),
      transparent 34rem
    ),
    linear-gradient(145deg, #fcfdff 0%, #edf4ff 42%, #d9e8fb 100%) !important;
  background-attachment: fixed !important;
}
.cart-count {
  background: #2f4d73 !important;
  color: #fff !important;
}

/* Shared footer — single authoritative definition */
.site-footer.signature-footer {
  padding: 0 0 2rem;
  background: transparent;
  border: 0;
}

.signature-footer .footer-social-wrap {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin-top: 6px;
}

.signature-footer .footer-social-row,
.signature-footer .footer-social-line,
.signature-footer .footer-bottom-clean.footer-detached {
  width: min(780px, 88vw);
  margin-inline: auto;
}

.signature-footer .footer-social-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(65, 103, 145, 0.35),
    transparent
  );
}

.signature-footer .footer-social-row {
  direction: ltr;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding-inline: 0;
}

.signature-footer .footer-social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(70, 108, 150, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: #31577e;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.signature-footer .footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.signature-footer .footer-social-link:hover {
  transform: translateY(-2px);
  background: rgba(222, 237, 251, 0.9);
  border-color: rgba(57, 101, 151, 0.38);
}

.signature-footer .footer-bottom-clean.footer-detached {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(56px, 8vw, 120px);
  margin-top: 1.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(76, 113, 154, 0.14);
  color: var(--muted);
  font-size: 0.82rem;
}

.signature-footer .footer-bottom-clean.footer-detached span {
  white-space: nowrap;
}

.signature-footer .footer-bottom-clean.footer-detached span:first-child {
  justify-self: start;
  text-align: left;
}

.signature-footer .footer-bottom-clean.footer-detached span:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.signature-footer .footer-bottom-clean.footer-detached span:last-child {
  justify-self: end;
  text-align: right;
}

@media (max-width: 700px) {
  .signature-footer .footer-social-row,
  .signature-footer .footer-social-line {
    width: min(320px, 84vw);
  }

  .signature-footer .footer-bottom-clean.footer-detached {
    position: static;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;

    width: 96vw !important;
    max-width: none !important;
    gap: 6px !important;
    margin-inline: auto !important;
    padding-inline: 2px !important;
    text-align: center !important;
  }

  .signature-footer .footer-bottom-clean.footer-detached span,
  .signature-footer .footer-bottom-clean.footer-detached span:first-child,
  .signature-footer .footer-bottom-clean.footer-detached span:nth-child(2),
  .signature-footer .footer-bottom-clean.footer-detached span:last-child {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
    justify-self: auto !important;

    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    font-size: 9px !important;
    line-height: 1.1 !important;
    text-align: center;
  }
}


/* Mobile header refinement: keep only cart and menu in the top bar */
.mobile-nav-tools {
  display: none;
}
@media (max-width: 900px) {
  .site-header {
    padding-inline: 12px;
  }
  .header-tools {
    gap: 7px;
  }
  .header-tools .cart-link,
  .header-tools .nav-toggle {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
  }
  .mobile-nav-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav-tools .search-trigger,
  .mobile-nav-tools .lang-btn {
    width: 100%;
    min-width: 0;
    height: 40px;
  }
  .mobile-nav-tools .search-trigger {
    display: inline-flex;
  }
}
@media (max-width: 560px) {
  .site-header > .brand {
    max-width: none;
  }
  .header-tools {
    gap: 6px;
  }
}
