:root {
  --paper: #f7f9f6;
  --paper-soft: #fbfaf7;
  --surface: #ffffff;
  --surface-sage: #eef3eb;
  --surface-table: #ece7df;
  --ink: #24191d;
  --muted: #76666b;
  --line: #eadde0;
  --stem: #9f4058;
  --leaf: #fff0f3;
  --petal: #b9566a;
  --gold: #b58a4a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

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

.store-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 650;
  font-size: 21px;
  white-space: nowrap;
}

.store-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.store-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  min-width: 0;
}

.store-nav-link {
  color: var(--stem);
  font-weight: 600;
}

.hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 92px 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(42, 20, 26, 0.72), rgba(76, 33, 45, 0.38) 48%, rgba(76, 33, 45, 0.08)),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(42, 20, 26, 0.18), transparent 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  color: var(--stem);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0 0 10px;
}

h1 {
  margin: 0;
  font-size: 88px;
  line-height: 1;
  font-weight: 650;
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hero-copy,
.detail-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.primary-link,
.secondary-link,
.catalog-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 650;
  text-align: center;
  overflow-wrap: anywhere;
}

.primary-link,
.catalog-search button {
  background: var(--stem);
  color: #fff;
  border: 1px solid var(--stem);
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--stem);
  background: rgba(255, 255, 255, 0.62);
}

.hero .primary-link {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.hero .secondary-link {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.primary-link.compact {
  min-height: 38px;
  width: fit-content;
  margin-top: 12px;
  font-size: 13px;
}

.featured,
.detail-media {
  min-height: 440px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(185, 86, 106, 0.16), rgba(181, 138, 74, 0.12)),
    #fbf0f2;
}

.featured img,
.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-media {
  align-content: stretch;
}

.detail-main-image {
  grid-area: 1 / 1;
}

.detail-gallery {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 4px;
}

.detail-gallery button {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(36, 25, 29, 0.12);
}

.detail-gallery button.active {
  border-color: var(--stem);
  outline: 2px solid rgba(159, 64, 88, 0.18);
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured > span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 650;
}

.featured strong,
.product-card > strong,
.price-block strong {
  color: var(--petal);
}

.flower-mark {
  display: grid;
  place-items: center;
  width: 280px;
  max-width: 62%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(185, 86, 106, 0.22);
  color: var(--stem);
  font-size: 32px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.42);
}

.available-entry {
  padding: 64px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.catalog-section,
.faq-section {
  padding: 64px;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
}

.section-heading a {
  color: var(--stem);
  font-weight: 650;
  width: fit-content;
}

.browse-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  align-items: end;
  gap: 24px;
  padding: 64px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.browse-hero h1 {
  font-size: 72px;
}

.browse-hero p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.9;
}

.catalog-search {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.catalog-search label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.catalog-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.breadcrumbs a {
  color: var(--stem);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--muted);
}

.breadcrumb-separator {
  color: rgba(118, 102, 107, 0.62);
}

.catalog-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  margin-inline-end: 4px;
}

.filter-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 600;
  background: #fff;
}

.filter-row a.active {
  border-color: rgba(185, 86, 106, 0.32);
  background: var(--leaf);
  color: var(--stem);
}

.browse-count h2 {
  font-size: 32px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 280px));
  gap: 16px;
  align-items: stretch;
  justify-content: start;
}

.seo-copy {
  max-width: 820px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  line-height: 1.9;
}

.seo-copy h2 {
  color: var(--ink);
  font-size: 32px;
  margin-bottom: 8px;
}

.seo-copy p {
  margin: 0;
}

.seo-copy nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.seo-copy a {
  border-bottom: 1px solid currentColor;
  color: var(--stem);
  font-weight: 650;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-image {
  aspect-ratio: 9 / 14;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--stem);
  background:
    linear-gradient(135deg, rgba(185, 86, 106, 0.14), rgba(184, 146, 79, 0.12)),
    #fbf0f2;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-image span {
  font-weight: 650;
}

.product-body {
  padding: 14px 14px 0;
  flex: 1;
  background: #fff;
}

.product-body span {
  color: var(--stem);
  font-size: 12px;
  font-weight: 650;
}

.product-body h3 {
  margin: 5px 0 6px;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  min-height: 20px;
}

.product-card > strong {
  padding: 14px;
  font-size: 15px;
  background: #fff;
  overflow-wrap: anywhere;
}

.availability {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 4px 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.availability.available {
  border-color: rgba(185, 86, 106, 0.24);
  background: #fff0f3;
  color: var(--stem);
}

.availability.soon {
  border-color: rgba(184, 146, 79, 0.32);
  background: #f8f0da;
  color: #735d20;
}

.availability.unavailable {
  border-color: rgba(185, 86, 106, 0.24);
  background: #faeeee;
  color: var(--petal);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  padding: 64px;
  align-items: start;
}

.detail-content h1 {
  font-size: 68px;
}

.price-block {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 22px 0;
  display: grid;
  gap: 5px;
}

.price-block span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.price-block strong {
  font-size: 26px;
  overflow-wrap: anywhere;
}

.product-task-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 14px;
}

.product-task-heading {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.product-task-heading > span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--leaf);
  color: var(--stem);
  font-weight: 750;
  font-size: 13px;
}

.product-task-heading strong {
  display: block;
  font-size: 16px;
  font-weight: 750;
}

.product-task-heading small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.7;
}

.store-variant-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.store-variant-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.store-variant-row:has(input:checked) {
  border-color: rgba(159, 64, 88, 0.54);
  background: #fff8fa;
  box-shadow: 0 0 0 2px rgba(159, 64, 88, 0.08);
}

.store-variant-row label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  cursor: pointer;
  min-width: 0;
}

.store-variant-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--stem);
}

.store-variant-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.store-variant-side {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: left;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-actions a {
  flex: 1 1 190px;
}

.product-lower-section {
  padding: 0 64px 72px;
  display: grid;
  gap: 56px;
}

.product-description-block {
  max-width: 860px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.product-description-block p {
  color: var(--muted);
  line-height: 1.9;
  margin: 12px 0 0;
}

.product-description-block h2 {
  font-size: 40px;
}

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

.product-meta-list div {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  display: flex;
  gap: 6px;
  align-items: center;
}

.product-meta-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.product-meta-list dd {
  margin: 0;
  color: var(--stem);
  font-size: 13px;
  font-weight: 650;
}

.similar-products {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.order-note,
.empty,
.not-found {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-top: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
}

.order-note strong {
  color: var(--stem);
  display: block;
  margin-bottom: 4px;
  font-weight: 650;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.store-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px 64px;
  border-top: 1px solid var(--line);
  background: #17201b;
  color: #fff;
}

.store-footer strong {
  font-size: 20px;
}

.store-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  font-weight: 650;
}

.not-found {
  margin: 64px;
  text-align: center;
}

.not-found h1 {
  font-size: 64px;
}

.not-found a {
  color: var(--stem);
  font-weight: 650;
}

@media (min-width: 1280px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
    gap: 20px;
  }

  .detail-media {
    min-height: 560px;
  }
}

@media (max-width: 1279px) {
  .store-header,
  .hero,
  .available-entry,
  .catalog-section,
  .faq-section,
  .browse-hero,
  .detail-layout,
  .product-lower-section,
  .store-footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .breadcrumbs {
    padding-left: 40px;
    padding-right: 40px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 36px;
  }

  .browse-hero h1 {
    font-size: 62px;
  }

  .detail-content h1 {
    font-size: 58px;
  }

  .detail-layout {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .detail-layout,
  .browse-hero {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 520px;
  }
}

@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .store-header {
    min-height: 64px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .store-brand {
    font-size: 18px;
  }

  .store-brand img {
    width: 30px;
    height: 30px;
  }

  .store-nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero,
  .available-entry,
  .catalog-section,
  .faq-section,
  .browse-hero,
  .detail-layout,
  .product-lower-section,
  .store-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 430px;
    padding-top: 42px;
    padding-bottom: 42px;
    align-items: end;
  }

  h1,
  .browse-hero h1,
  .detail-content h1,
  .not-found h1 {
    font-size: 44px;
  }

  h2,
  .browse-count h2,
  .seo-copy h2,
  .product-description-block h2 {
    font-size: 28px;
  }

  .hero-copy,
  .detail-copy {
    font-size: 16px;
  }

  .browse-hero,
  .available-entry,
  .catalog-section,
  .faq-section,
  .detail-layout {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .product-lower-section {
    padding-bottom: 42px;
    gap: 32px;
  }

  .breadcrumbs {
    padding-left: 18px;
    padding-right: 18px;
  }

  .catalog-search {
    padding: 12px;
  }

  .catalog-grid,
  .faq-grid,
  .store-footer {
    grid-template-columns: 1fr;
  }

  .featured,
  .detail-media {
    min-height: 360px;
  }

  .featured > span,
  .store-variant-row {
    display: grid;
  }

  .store-variant-side {
    justify-items: start;
    text-align: right;
  }

  .contact-actions a {
    flex-basis: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .store-header {
    gap: 10px;
  }

  .store-brand {
    font-size: 17px;
  }

  .store-nav {
    gap: 10px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link,
  .catalog-search button {
    width: 100%;
  }

  .featured,
  .detail-media {
    min-height: 330px;
  }

  .featured > span {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .detail-gallery {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .detail-gallery button {
    width: 52px;
    height: 52px;
  }
}
