/*
Theme Name: Maedeh Craft
Theme URI: https://faraiand.com/
Author: Amir Olphat
Author URI: https://faraiand.com/
Description: Maedeh Craft Official Template
Version: 1.0
Text Domain: maedehcraft
*/


@font-face {
  font-family: "Yekan";
  src:
    url("font/yekan/Yekan.woff2") format("woff2"),
    url("font/yekan/Yekan.woff") format("woff"),
    url("font/yekan/Yekan.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fffaf6;
  --bg-strong: #fff2ea;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #3f312b;
  --muted: #7c6a62;
  --line: rgba(106, 78, 66, 0.12);
  --accent: #ee8f7b;
  --accent-soft: #f6c4b7;
  --accent-alt: #c8a2d6;
  --accent-gold: #e6c478;
  --shadow: 0 24px 80px rgba(183, 130, 112, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yekan", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 216, 204, 0.75), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(216, 194, 255, 0.42), transparent 24%),
    linear-gradient(180deg, #fffdfa 0%, var(--bg) 56%, #fff7f2 100%);
  color: var(--text);
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

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

button,
a,
.collection-card,
.product-card,
.highlight {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.product-art {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  /* اگر می‌خوای گوشه‌ها گرد باشن */
  object-fit: cover;
  /* اگر ارتفاع ثابت خواستی، با height هم بگذار */
}


.page-shell {
  position: relative;
  isolation: isolate;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: floatBlob 15s ease-in-out infinite;
}

.ambient-one {
  top: 10%;
  left: -100px;
  width: 280px;
  height: 280px;
  background: rgba(255, 202, 184, 0.45);
}

.ambient-two {
  top: 38%;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(214, 190, 247, 0.34);
  animation-duration: 20s;
}

.ambient-three {
  bottom: 4%;
  left: 22%;
  width: 220px;
  height: 220px;
  background: rgba(246, 220, 150, 0.32);
  animation-duration: 18s;
}

.topbar,
.section,
.ticker-wrap {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #e57d9d);
  box-shadow: 0 16px 32px rgba(238, 143, 123, 0.28);
}

.button-soft,
.button-ghost {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 28px rgba(149, 110, 96, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 108px);
  padding: 42px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 11ch;
}

.hero-text,
.story-panel p,
.product-body p,
.collection-card p,
.highlight span {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.hero-metrics div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(135, 105, 93, 0.08);
}

.hero-metrics strong,
.highlight strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.96rem;
}

.art-stage {
  position: relative;
  min-height: 560px;
  border-radius: 40px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 244, 240, 0.62)),
    linear-gradient(135deg, rgba(247, 198, 186, 0.14), rgba(201, 170, 234, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
  background-image: url('assets/images/talatom.png');
  background-position: center center;
  background-size: cover;
}

.order-btn {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.order-btn:hover {
  background: #333;
}


.glass {
  backdrop-filter: blur(22px);
}

.art-card {
  position: absolute;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(160, 123, 108, 0.12);
}

.art-card-main {
  top: 72px;
  left: 56px;
  width: min(360px, calc(100% - 112px));
  padding: 34px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.85);
  animation: driftCard 8s ease-in-out infinite;
}

.chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(238, 143, 123, 0.13);
  color: #cc6a56;
  font-size: 0.88rem;
  font-weight: 700;
}

.art-card-main h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 18px 0 10px;
}

.art-card-main p,
.art-card-secondary span {
  color: var(--muted);
}

.art-card-secondary {
  right: 52px;
  bottom: 62px;
  width: 220px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  animation: driftCardAlt 10s ease-in-out infinite;
}

.art-card-secondary strong {
  display: block;
  margin-top: 8px;
  font-size: 1.4rem;
}

.orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: pulseOrb 9s ease-in-out infinite;
}

.orb-peach {
  top: 54px;
  right: 68px;
  width: 132px;
  height: 132px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(243, 159, 136, 0.9));
}

.orb-lilac {
  bottom: 160px;
  left: 24px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85), rgba(196, 160, 233, 0.92));
  animation-delay: -2s;
}

.orb-gold {
  bottom: 18px;
  right: 20px;
  width: 112px;
  height: 112px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(231, 199, 116, 0.96));
  animation-delay: -4s;
}

.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(129, 98, 86, 0.1);
  border-bottom: 1px solid rgba(129, 98, 86, 0.1);
  padding: 18px 0;
}

.ticker {
  display: flex;
  gap: 48px;
  width: max-content;
  color: #9a8278;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.84rem;
  animation: tickerMove 20s linear infinite;
}

.ticker span::after {
  content: "✦";
  margin-inline-start: 48px;
  color: var(--accent);
}

.section {
  padding: 110px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 34px;
}

.section h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.collection-grid,
.product-grid,
.story-highlights {
  display: grid;
  gap: 24px;
}

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

.collection-card,
.product-card,
.highlight,
.story-panel,
.cta-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.collection-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.collection-card::before,
.product-card::before,
.highlight::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 65%);
  pointer-events: none;
}

.collection-card:hover,
.product-card:hover,
.highlight:hover {
  transform: translateY(-8px);
  border-color: rgba(238, 143, 123, 0.22);
}

.collection-number {
  display: inline-flex;
  margin-bottom: 26px;
  font-size: 0.9rem;
  color: #ca6b57;
  background: rgba(238, 143, 123, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
}

.collection-card h3,
.product-body h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.story-panel {
  padding: 42px;
}

.story-highlights {
  grid-template-columns: 1fr;
}

.highlight {
  position: relative;
  padding: 28px;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
}

.product-art {
  height: 350px;
  border-radius: 28px 28px 0 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.price {
  color: rgb(144, 189, 122) !important;
}

article p {
  text-align: justify;
}

.artlabel {
  color: rgb(201, 201, 201) !important;
  padding: 0px 5px !important;
}

.product-card p {
  /* font-size: 14px; */
}

.product-card-mini .product-art {
  height: 250px;
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.product-art-image::before,
.product-art-image::after {
  opacity: 0;
}

.product-art-image {
  background-color: #efe5de;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.product-art-one {
  background: linear-gradient(135deg, #fce9e1, #fffaf6);
}

.product-art-one::before {
  width: 180px;
  height: 220px;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  border-radius: 42% 42% 28% 28%;
  background: linear-gradient(180deg, #f7dacd, #d8b59e);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.18);
}

.product-art-one::after {
  width: 120px;
  height: 120px;
  right: 28px;
  top: 28px;
  background: rgba(241, 183, 163, 0.36);
}

.product-art-two {
  background:
    linear-gradient(160deg, #fff7f5, #f5e9ff),
    linear-gradient(45deg, #efc0b5, #d0b8f0);
}

.product-art-two::before {
  inset: 36px 42px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 24%, rgba(236, 153, 123, 0.9), transparent 24%),
    radial-gradient(circle at 68% 44%, rgba(203, 163, 241, 0.95), transparent 28%),
    radial-gradient(circle at 55% 72%, rgba(240, 205, 114, 0.9), transparent 26%),
    #fffaf8;
}

.product-art-two::after {
  width: 150px;
  height: 150px;
  right: 18px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.45);
}

.product-art-three {
  background: linear-gradient(135deg, #fff3eb, #fffdf9);
}

.product-art-three::before {
  width: 220px;
  height: 100px;
  left: 50%;
  top: 96px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #f2cf8d, #d6aa6c);
}

.product-art-three::after {
  width: 116px;
  height: 116px;
  left: 50%;
  top: 72px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.65);
}

.product-card-mini {
  grid-column: span 3;
}

.product-card-wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.product-card-wide .product-art {
  height: 100%;
  min-height: 100%;
  border-radius: 28px 0 0 28px;
}

.product-card-wide .product-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-art-four {
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(135deg, #fff6ef, #f8ece4);
}

.product-art-four::before {
  width: 190px;
  height: 190px;
  left: 50%;
  top: 52px;
  transform: translateX(-50%) rotate(18deg);
  border-radius: 38% 62% 58% 42%;
  background: linear-gradient(160deg, #f5ceb7, #d9b39d);
}

.product-art-four::after {
  width: 80px;
  height: 80px;
  right: 24px;
  bottom: 26px;
  background: rgba(232, 188, 146, 0.3);
}

.product-art-five {
  background: linear-gradient(145deg, #fff6f6, #f3ecff);
}

.product-art-five::before {
  inset: 34px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 212, 205, 0.9), transparent 45%),
    radial-gradient(circle at 70% 36%, rgba(205, 175, 239, 0.9), transparent 20%),
    radial-gradient(circle at 38% 72%, rgba(243, 192, 174, 0.82), transparent 24%),
    #fffdfa;
}

.product-art-five::after {
  width: 116px;
  height: 116px;
  left: 24px;
  top: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.product-art-six {
  background: linear-gradient(160deg, #fff7ef, #fffefb);
}

.product-art-six::before {
  width: 170px;
  height: 170px;
  left: 50%;
  top: 58px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.9), rgba(236, 195, 120, 0.95) 48%, #d9ad73 72%);
}

.product-art-six::after {
  width: 120px;
  height: 46px;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(214, 170, 114, 0.24);
}

.product-art-seven {
  background: linear-gradient(135deg, #fffdfb, #f8efe7);
}

.product-art-seven::before {
  inset: 28px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(232, 193, 111, 0.8) 48%, rgba(232, 193, 111, 0.8) 52%, transparent 52%),
    linear-gradient(180deg, rgba(241, 220, 206, 0.9), #fff);
}

.product-art-seven::after {
  width: 150px;
  height: 150px;
  left: 50%;
  top: 70px;
  transform: translateX(-50%);
  background: rgba(230, 199, 120, 0.12);
}

.product-art-wide-one {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(145deg, #fce8de, #fff9f4);
}

.product-art-wide-one::before {
  width: 180px;
  height: 180px;
  left: 34px;
  top: 42px;
  border-radius: 38% 62% 54% 46%;
  background: linear-gradient(180deg, #f3ccb8, #d3ab96);
}

.product-art-wide-one::after {
  width: 150px;
  height: 150px;
  right: 34px;
  bottom: 30px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(230, 196, 112, 0.75));
}

.product-art-wide-two {
  background:
    linear-gradient(140deg, #fff7f5, #f2e8ff),
    linear-gradient(45deg, #efc9bf, #ceb6ec);
}

.product-art-wide-two::before {
  inset: 34px 40px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 246, 0.72)),
    repeating-linear-gradient(120deg, rgba(236, 171, 152, 0.52) 0 16px, rgba(205, 174, 240, 0.4) 16px 32px, rgba(240, 208, 137, 0.34) 32px 48px);
}

.product-art-wide-two::after {
  width: 120px;
  height: 120px;
  left: 26px;
  bottom: 26px;
  background: rgba(255, 255, 255, 0.34);
}

.product-body {
  padding: 28px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-copy,
.section-head,
.story-panel,
.product-body,
.collection-card,
.highlight,
.cta-card {
  text-align: right;
}

.product-meta span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #8c746a;
  font-size: 0.88rem;
}

.cta {
  padding-top: 36px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 46px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(255, 206, 194, 0.35), transparent 32%),
    rgba(255, 255, 255, 0.76);
}

.cta-card h2 {
  max-width: 12ch;
  margin: 0 auto 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes floatBlob {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(22px, -24px, 0) scale(1.08);
  }
}

@keyframes driftCard {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -10px, 0) rotate(-1.2deg);
  }
}

@keyframes driftCardAlt {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-4px, 14px, 0) rotate(2deg);
  }
}

@keyframes pulseOrb {

  0%,
  100% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.08) translateY(-10px);
  }
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {

  .hero,
  .story,
  .collection-grid {
    grid-template-columns: 1fr;
  }

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

  .product-card,
  .product-card-mini,
  .product-card-wide {
    grid-column: auto;
  }

  .product-card-wide {
    grid-template-columns: 1fr;
  }

  .product-card-wide .product-art {
    min-height: 260px;
    border-radius: 28px 28px 0 0;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .art-stage {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 32px, 1180px);
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .art-card-main {
    left: 24px;
    width: calc(100% - 48px);
    padding: 28px;
  }

  .art-card-secondary {
    right: 24px;
    bottom: 24px;
  }

  .section {
    padding: 84px 0;
  }
}

@media (max-width: 640px) {
  .products .product-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .button,
  .button-primary,
  .button-soft,
  .button-ghost {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .art-stage {
    min-height: 430px;
  }

  .art-card-main {
    top: 24px;
  }

  .art-card-secondary {
    width: calc(100% - 48px);
  }

  .story-panel,
  .cta-card {
    padding: 30px 22px;
  }
}