.elementor-widget-lucky-category-rail,
.elementor-widget-lucky-hero,
.elementor-widget-lucky-catalog-grid,
.elementor-widget-lucky-promo-banner,
.elementor-widget-lucky-brand-rail,
.elementor-widget-lucky-post-grid,
.elementor-widget-lucky-contact-form,
.lucky-native-section {
  width: var(--lucky-shell);
  margin-inline: auto;
}

.elementor-widget-lucky-category-rail > .elementor-widget-container,
.elementor-widget-lucky-hero > .elementor-widget-container,
.elementor-widget-lucky-catalog-grid > .elementor-widget-container,
.elementor-widget-lucky-promo-banner > .elementor-widget-container,
.elementor-widget-lucky-brand-rail > .elementor-widget-container,
.elementor-widget-lucky-post-grid > .elementor-widget-container,
.elementor-widget-lucky-contact-form > .elementor-widget-container {
  width: 100%;
}

.lucky-editor-message,
.lucky-catalog-empty {
  padding: 18px 20px;
  color: var(--lucky-color-muted);
  background: var(--lucky-color-surface-muted);
  border: 1px dashed var(--lucky-color-border);
  border-radius: var(--lucky-radius-control);
}

/* Homepage thesis: one confident blue story beside a quiet lilac campaign tile. */
.lucky-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(280px, .95fr);
  gap: 16px;
  padding-block: 38px 16px;
}

.lucky-hero__main,
.lucky-hero__side {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--lucky-radius-panel);
}

.lucky-hero__main {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(330px, 1.12fr);
  align-items: center;
  color: #fff;
  background: var(--lucky-color-primary);
}

.lucky-hero__copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(34px, 5vw, 64px);
  padding-inline-start: clamp(32px, 5vw, 66px);
  padding-inline-end: 0;
}

.lucky-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: inherit;
  font-family: var(--lucky-font-display);
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.06em;
}

[dir="rtl"] .lucky-hero h1 {
  font-family: var(--lucky-font-rtl);
  letter-spacing: normal;
}

html[lang|="fa"] .lucky-hero h1 {
  max-inline-size: 15ch;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 750;
  line-height: 1.4;
  text-wrap: balance;
}

html[lang|="fa"] .lucky-hero__description {
  font-size: 1rem;
  line-height: 1.9;
}

html[lang|="fa"] :is(.lucky-hero__side h2, .lucky-promo-card h2) {
  font-size: clamp(1.4rem, 2.3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang|="fa"] :is(.lucky-section-heading h2, .lucky-category-section__heading h2, .lucky-brand-rail-section__heading h2) {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.55;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang|="fa"] :is(.lucky-hero__button, .lucky-hero__side-link, .lucky-promo-card__link) {
  font-size: .875rem;
  line-height: 1.7;
}

html[lang|="ar"] .lucky-hero h1 {
  max-inline-size: 16ch;
  font-size: clamp(2.1rem, 3.8vw, 3.7rem);
  font-weight: 780;
  line-height: 1.4;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang|="ar"] .lucky-hero__description {
  max-inline-size: 46ch;
  font-size: 1rem;
  line-height: 1.85;
}

html[lang|="ar"] :is(.lucky-hero__side h2, .lucky-promo-card h2) {
  max-inline-size: 18ch;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 720;
  line-height: 1.5;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang|="ar"] :is(.lucky-section-heading h2, .lucky-category-section__heading h2, .lucky-brand-rail-section__heading h2) {
  font-size: clamp(1.45rem, 2.35vw, 2.15rem);
  line-height: 1.5;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang|="ar"] :is(.lucky-hero__button, .lucky-hero__side-link, .lucky-promo-card__link) {
  font-size: .9rem;
  line-height: 1.7;
}

.lucky-hero__description {
  max-width: 45ch;
  margin: 22px 0 26px;
  color: rgb(255 255 255 / 82%);
}

.lucky-hero__button,
.lucky-hero__side-link,
.lucky-promo-card__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--lucky-radius-control);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.lucky-hero__button {
  color: var(--lucky-color-ink);
  background: #fff;
}

.lucky-hero__button:hover {
  color: #fff;
  background: var(--lucky-color-ink);
}

.lucky-hero__art {
  align-self: end;
  margin: 0 -5% 0 -4%;
}

.lucky-hero__image {
  width: 110%;
  max-width: none;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgb(20 45 79 / 24%));
}

.lucky-hero__side {
  display: grid;
  grid-template-rows: auto minmax(230px, 1fr);
  color: var(--lucky-color-ink);
  background: var(--lucky-color-lilac);
  border: 1px solid var(--lucky-color-border);
}

.lucky-hero__side-copy {
  position: relative;
  z-index: 2;
  padding: 34px 32px 0;
}

.lucky-hero__side-copy > p {
  margin: 0 0 8px;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lucky-hero__side h2 {
  max-width: 11ch;
  margin: 0;
  color: inherit;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.lucky-hero__side-copy > span {
  max-width: 30ch;
  display: block;
  margin-top: 12px;
  font-size: .82rem;
}

.lucky-hero__side-link {
  min-height: 42px;
  padding: 8px 0;
  color: inherit;
}

.lucky-hero__side-art {
  align-self: end;
  margin: -24px -10% -13% 8%;
}

.lucky-hero__side-image {
  width: 112%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgb(65 53 104 / 20%));
}

@media (min-width: 1025px) {
  /* The tall campaign image must not stretch both desktop hero panels. */
  html[lang|="fa"] .lucky-hero__side-art {
    margin: 0;
  }

  html[lang|="fa"] .lucky-hero__side-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: center bottom;
  }
}

/* Real WooCommerce category shortcuts. */
.lucky-category-section {
  padding-block: 34px 18px;
}

.lucky-category-section__heading,
.lucky-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.lucky-category-section__heading h2,
.lucky-section-heading h2,
.lucky-brand-rail-section h2 {
  margin: 0;
  color: var(--lucky-color-ink);
  font-family: var(--lucky-font-display);
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.lucky-category-section__heading a,
.lucky-section-heading__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lucky-color-primary-strong);
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.lucky-category-rail__viewport {
  position: relative;
}

.lucky-category-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 14px;
  padding: 2px;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  list-style: none;
}

.lucky-category-rail::-webkit-scrollbar,
.lucky-product-grid--rail::-webkit-scrollbar,
.lucky-brand-rail::-webkit-scrollbar {
  display: none;
}

.lucky-category-rail > li {
  scroll-snap-align: start;
}

.lucky-category-card {
  min-height: 194px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  color: var(--lucky-color-ink);
  background: var(--lucky-color-primary-soft);
  border: 1px solid var(--lucky-color-border);
  border-radius: var(--lucky-radius-card);
  text-align: center;
  text-decoration: none;
  transition: transform var(--lucky-transition), box-shadow var(--lucky-transition), border-color var(--lucky-transition);
}

.lucky-category-card:hover {
  color: var(--lucky-color-primary-strong);
  border-color: rgb(47 117 183 / 34%);
  box-shadow: var(--lucky-shadow-card);
  transform: translateY(-3px);
}

.lucky-category-card__visual {
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--lucky-color-primary);
  background: rgb(255 255 255 / 72%);
  border-radius: 50%;
  font-size: 1.5rem;
}

.lucky-category-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.lucky-category-rail > li:nth-child(4n + 2) .lucky-category-card {
  background: var(--lucky-color-lilac);
}

.lucky-category-rail > li:nth-child(4n + 3) .lucky-category-card {
  background: var(--lucky-color-blush);
}

.lucky-category-rail > li:nth-child(4n + 4) .lucky-category-card {
  background: var(--lucky-color-butter);
}

.lucky-category-card strong {
  max-width: 15ch;
  font-size: .8rem;
  line-height: 1.3;
}

.lucky-rail-button {
  position: absolute;
  inset-block-start: 50%;
  z-index: 3;
  width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--lucky-color-ink);
  background: #fff;
  border: 1px solid var(--lucky-color-border);
  border-radius: 50%;
  box-shadow: var(--lucky-shadow-card);
  transform: translateY(-50%);
  cursor: pointer;
}

.lucky-rail-button:disabled {
  opacity: 0;
  pointer-events: none;
}

.lucky-rail-button--previous { inset-inline-start: -20px; }
.lucky-rail-button--next { inset-inline-end: -20px; }

/* Product sections remain owned by real WooCommerce data. */
.lucky-catalog-section,
.lucky-post-section,
.lucky-brand-rail-section {
  padding-block: var(--lucky-section-space);
}

.lucky-section-heading > div {
  max-width: 700px;
}

.lucky-section-heading > div > p:not(.lucky-eyebrow) {
  max-width: 54ch;
  margin: 12px 0 0;
  color: var(--lucky-color-muted);
}

.lucky-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lucky-product-grid--rail {
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  grid-template-columns: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.lucky-product-grid--rail > li {
  scroll-snap-align: start;
}

.lucky-product-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lucky-color-border);
  border-radius: var(--lucky-radius-card);
  transition: transform var(--lucky-transition), box-shadow var(--lucky-transition), border-color var(--lucky-transition);
}

.lucky-product-card:hover {
  border-color: rgb(47 117 183 / 30%);
  box-shadow: var(--lucky-shadow-card);
  transform: translateY(-4px);
}

.lucky-product-card__image {
  position: relative;
  aspect-ratio: 1;
  display: block;
  margin: 9px;
  overflow: hidden;
  background: var(--lucky-color-surface-muted);
  border-radius: 5px;
}

.lucky-product-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform var(--lucky-transition);
}

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

.lucky-product-card__badge {
  position: absolute;
  inset-block-start: 9px;
  inset-inline-start: 9px;
  z-index: 2;
  padding: 6px 9px;
  color: var(--lucky-color-ink);
  background: var(--lucky-color-accent);
  border-radius: var(--lucky-radius-control);
  font-size: .67rem;
  font-weight: 850;
}

.lucky-product-card__body {
  padding: 8px 14px 17px;
}

.lucky-product-card__category,
.lucky-product-card__sku {
  margin: 0 0 5px;
  color: var(--lucky-color-muted);
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lucky-product-card h3 {
  min-height: 2.8em;
  margin: 0;
  font-size: .88rem;
  line-height: 1.4;
}

.lucky-product-card h3 a {
  color: var(--lucky-color-ink);
  text-decoration: none;
}

.lucky-product-card__meta {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.lucky-product-card__price {
  margin: 0;
  color: var(--lucky-color-primary-strong);
  font-size: .8rem;
  font-weight: 850;
}

.lucky-product-card__arrow {
  color: var(--lucky-color-primary);
}

.lucky-sale-band {
  width: 100%;
  padding-block: 20px;
  background: var(--lucky-color-blush);
}

.lucky-sale-band .lucky-catalog-section {
  padding-block: clamp(40px, 5vw, 68px);
}

/* Image-led campaigns, while all visible text stays in editable HTML. */
.lucky-promo-section {
  padding-block: clamp(34px, 6vw, 76px);
}

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

.lucky-promo-card {
  position: relative;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(200px, 1.1fr);
  align-items: center;
  overflow: hidden;
  background: var(--lucky-color-primary-soft);
  border-radius: var(--lucky-radius-panel);
}

.lucky-promo--second {
  background: var(--lucky-color-lilac);
}

.lucky-promo-card__copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(26px, 4vw, 46px);
  padding-inline-start: clamp(26px, 4vw, 46px);
  padding-inline-end: 0;
}

.lucky-promo-card h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.lucky-promo-card p {
  max-width: 34ch;
  margin: 15px 0 18px;
  color: var(--lucky-color-muted);
  font-size: .83rem;
}

.lucky-promo-card__link {
  padding-inline: 0;
  color: var(--lucky-color-primary-strong);
}

.lucky-promo-card__art {
  align-self: end;
  margin: 0 -8% -7% -5%;
}

.lucky-promo-card__art img {
  width: 115%;
  max-width: none;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgb(58 54 104 / 17%));
}

.lucky-promo-section--wide .lucky-promo-card {
  min-height: 390px;
  grid-template-columns: minmax(300px, .88fr) minmax(360px, 1.12fr);
  color: #fff;
  background: var(--lucky-color-primary);
}

.lucky-promo-section--wide .lucky-promo-card p {
  color: rgb(255 255 255 / 78%);
}

.lucky-promo-section--wide .lucky-promo-card__link {
  color: var(--lucky-color-ink);
  background: #fff;
  padding-inline: 18px;
}

/* Brand row intentionally disappears when product_brand has no real terms. */
.lucky-brand-rail-section {
  position: relative;
  padding-block: clamp(30px, 4vw, 48px);
  border-block: 1px solid var(--lucky-color-border);
}

.lucky-brand-rail-section__heading {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  margin-bottom: 28px;
}

.lucky-brand-rail-section__heading > span {
  height: 1px;
  background: var(--lucky-color-border);
}

.lucky-brand-rail-section h2 {
  max-width: 22ch;
  text-align: center;
}

.lucky-brand-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  gap: 14px;
  padding: 3px;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  list-style: none;
}

.lucky-brand-rail > li {
  scroll-snap-align: start;
}

.lucky-brand-rail__link {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 18px 16px;
  color: var(--lucky-color-ink);
  background: var(--lucky-color-surface-muted);
  border: 1px solid var(--lucky-color-border);
  border-radius: var(--lucky-radius-card);
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.lucky-brand-rail__link:hover {
  border-color: rgb(47 117 183 / 34%);
  box-shadow: var(--lucky-shadow-card);
  transform: translateY(-3px);
}

.lucky-brand-rail__link:focus-visible {
  border-color: var(--lucky-color-primary-strong);
  box-shadow: var(--lucky-focus-ring), var(--lucky-shadow-card);
  outline: 3px solid var(--lucky-color-primary-strong);
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .lucky-brand-rail__link:focus-visible {
    outline-color: CanvasText;
    box-shadow: none;
  }
}

.lucky-brand-rail img {
  max-width: 110px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) saturate(0) opacity(.56);
  transition: filter 400ms ease, transform 400ms ease;
}

.lucky-brand-rail__link:hover img,
.lucky-brand-rail__link:focus-visible img {
  filter: grayscale(0) saturate(1) opacity(1);
  transform: scale(1.04);
}

.lucky-brand-rail__name {
  line-height: 1.3;
}

/* Published WordPress posts only. */
.lucky-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lucky-post-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lucky-color-border);
  border-radius: var(--lucky-radius-card);
  transition: transform var(--lucky-transition), box-shadow var(--lucky-transition);
}

.lucky-post-card:hover {
  box-shadow: var(--lucky-shadow-card);
  transform: translateY(-3px);
}

.lucky-post-card__image {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: var(--lucky-color-surface-muted);
}

.lucky-post-card__image:empty::before {
  content: "";
  width: 60px;
  aspect-ratio: 1;
  display: block;
  margin: 18% auto 0;
  background: var(--lucky-color-primary-soft);
  border-radius: 50%;
}

.lucky-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--lucky-transition);
}

.lucky-post-card:hover .lucky-post-card__image img {
  transform: scale(1.035);
}

.lucky-post-card__body {
  padding: 20px;
}

.lucky-post-card time {
  color: var(--lucky-color-muted);
  font-size: .68rem;
}

.lucky-post-card h3 {
  margin: 7px 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.lucky-post-card h3 a {
  color: var(--lucky-color-ink);
  text-decoration: none;
}

.lucky-post-card p {
  margin: 0;
  color: var(--lucky-color-muted);
  font-size: .8rem;
}

/* Secure inquiry form. */
/* Persian Kalameh: readable utility text without changing the English type scale. */
html[lang|="fa"] .lucky-product-card h3 {
  min-height: 3.3em;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

html[lang|="fa"] :is(.lucky-product-card__category, .lucky-product-card__sku) {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.8;
}

html[lang|="fa"] .lucky-product-card__price {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

html[lang|="fa"] .lucky-contact-form-card__header h2 {
  max-width: 18ch;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.5;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang|="fa"] .lucky-form-field label:not(.lucky-form-consent label) {
  font-size: .9375rem;
  font-weight: 600;
}

html[lang|="fa"] :is(.lucky-form-help, .lucky-form-consent label, .lucky-form-notice) {
  font-size: .875rem;
  line-height: 1.85;
}

html[lang|="fa"] .lucky-form-field :is(input[type="text"], input[type="email"], textarea) {
  font-size: 1rem;
  line-height: 1.8;
}

html[lang|="ar"] .lucky-product-card h3 {
  min-height: 3.2em;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

html[lang|="ar"] :is(.lucky-product-card__category, .lucky-product-card__sku) {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.8;
}

html[lang|="ar"] .lucky-product-card__price:empty {
  display: none;
}

html[lang|="ar"] .lucky-contact-form-card__header h2 {
  max-inline-size: 19ch;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.5;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang|="ar"] .lucky-form-field label:not(.lucky-form-consent label) {
  font-size: .9375rem;
  font-weight: 650;
}

html[lang|="ar"] :is(.lucky-form-help, .lucky-form-consent label, .lucky-form-notice) {
  font-size: .875rem;
  line-height: 1.85;
}

html[lang|="ar"] .lucky-form-field :is(input[type="text"], input[type="email"], textarea) {
  min-height: 46px;
  font-size: 1rem;
  line-height: 1.8;
}

.lucky-contact-form-card {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(28px, 5vw, 58px);
  background: var(--lucky-color-surface-muted);
  border: 1px solid var(--lucky-color-border);
  border-radius: var(--lucky-radius-panel);
}

.lucky-contact-form-card__header h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.lucky-contact-form-card__header > p:not(.lucky-eyebrow) {
  color: var(--lucky-color-muted);
}

.lucky-contact-form-card__details {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

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

.lucky-form-field--wide,
.lucky-form-notice {
  grid-column: 1 / -1;
}

.lucky-form-field label:not(.lucky-form-consent label) {
  display: block;
  margin-bottom: 7px;
  font-size: .8rem;
  font-weight: 800;
}

.lucky-form-field input[type="text"],
.lucky-form-field input[type="email"],
.lucky-form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--lucky-color-ink);
  background: #fff;
  border: 1px solid var(--lucky-color-border);
  border-radius: var(--lucky-radius-control);
}

.lucky-form-field textarea {
  min-height: 164px;
  resize: vertical;
}

.lucky-form-field input:focus,
.lucky-form-field textarea:focus {
  border-color: var(--lucky-color-primary);
  box-shadow: var(--lucky-focus-ring);
}

.lucky-form-help,
.lucky-form-consent label {
  color: var(--lucky-color-muted);
  font-size: .74rem;
  line-height: 1.8;
}

.lucky-form-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.lucky-form-consent input {
  width: 20px;
  height: 20px;
  accent-color: var(--lucky-color-primary);
}

.lucky-contact-form__submit {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  color: #fff;
  background: var(--lucky-color-primary);
  border: 0;
  border-radius: var(--lucky-radius-control);
  font-weight: 800;
  cursor: pointer;
}

.lucky-form-notice {
  padding: 14px 16px;
  border-radius: var(--lucky-radius-control);
  font-size: .82rem;
  font-weight: 700;
}

.lucky-form-notice--success { color: #225b3a; background: #e8f6ed; }
.lucky-form-notice--error { color: #7d2942; background: #fbeaf0; }

.lucky-form-field--honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

[dir="rtl"] .lucky-product-card__arrow,
[dir="rtl"] .lucky-section-heading__link i,
[dir="rtl"] .lucky-category-section__heading i,
[dir="rtl"] .lucky-hero__button i,
[dir="rtl"] .lucky-hero__side-link i,
[dir="rtl"] .lucky-promo-card__link i {
  transform: scaleX(-1);
}

/* Tactile stationery surfaces: restrained perspective with one lifted layer. */
.lucky-category-card[data-lucky-tilt],
.lucky-product-card[data-lucky-tilt],
.lucky-brand-rail__link[data-lucky-tilt],
.lucky-post-card[data-lucky-tilt] {
  --lucky-card-lift: 0px;
  --lucky-card-scale: 1;
  --lucky-tilt-x: 0deg;
  --lucky-tilt-y: 0deg;
  position: relative;
  overflow: visible;
  transform: perspective(1000px) translate3d(0, var(--lucky-card-lift), 0) rotateX(var(--lucky-tilt-x)) rotateY(var(--lucky-tilt-y)) scale(var(--lucky-card-scale));
  transform-style: preserve-3d;
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow var(--lucky-transition), border-color var(--lucky-transition);
}

.lucky-category-card[data-lucky-tilt]:hover,
.lucky-category-card[data-lucky-tilt]:focus-visible,
.lucky-product-card[data-lucky-tilt]:hover,
.lucky-product-card[data-lucky-tilt]:focus-within,
.lucky-brand-rail__link[data-lucky-tilt]:hover,
.lucky-brand-rail__link[data-lucky-tilt]:focus-visible,
.lucky-post-card[data-lucky-tilt]:hover,
.lucky-post-card[data-lucky-tilt]:focus-within {
  --lucky-card-lift: -5px;
}

[data-lucky-tilt].is-pressed {
  --lucky-card-lift: -1px;
  --lucky-card-scale: .985;
  transition-duration: 90ms;
}

.lucky-category-card[data-lucky-tilt] .lucky-category-card__visual,
.lucky-product-card[data-lucky-tilt] .lucky-product-card__image,
.lucky-brand-rail__link[data-lucky-tilt] img,
.lucky-post-card[data-lucky-tilt] .lucky-post-card__image {
  transform: translateZ(16px);
  transition: transform var(--lucky-transition), filter 400ms ease;
}

.lucky-category-card[data-lucky-tilt]:hover .lucky-category-card__visual,
.lucky-category-card[data-lucky-tilt]:focus-visible .lucky-category-card__visual,
.lucky-product-card[data-lucky-tilt]:hover .lucky-product-card__image,
.lucky-product-card[data-lucky-tilt]:focus-within .lucky-product-card__image,
.lucky-brand-rail__link[data-lucky-tilt]:hover img,
.lucky-brand-rail__link[data-lucky-tilt]:focus-visible img,
.lucky-post-card[data-lucky-tilt]:hover .lucky-post-card__image,
.lucky-post-card[data-lucky-tilt]:focus-within .lucky-post-card__image {
  transform: translateZ(20px) scale(1.015);
}

@media (hover: hover) and (pointer: fine) {
  [data-lucky-tilt]:hover {
    will-change: transform;
  }
}

@media (max-width: 1024px) {
  .lucky-hero {
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, .8fr);
  }

  .lucky-hero__main {
    grid-template-columns: minmax(260px, .95fr) minmax(290px, 1.05fr);
  }

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

  .lucky-promo-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lucky-promo-card__art {
    margin-top: -50px;
  }
}

@media (max-width: 760px) {
  .lucky-hero,
  .lucky-promo-section--split,
  .lucky-contact-form-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lucky-hero__main,
  .lucky-promo-section--wide .lucky-promo-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lucky-hero__main,
  .lucky-hero__side {
    min-height: 0;
  }

  .lucky-hero__copy,
  [dir="rtl"] .lucky-hero__copy {
    padding: 36px 30px 8px;
  }

  .lucky-hero h1 {
    max-width: 13ch;
  }

  .lucky-hero__art {
    width: min(610px, 100%);
    margin: -10px auto -3%;
  }

  .lucky-hero__side {
    grid-template-columns: minmax(0, .9fr) minmax(180px, 1.1fr);
    grid-template-rows: minmax(280px, auto);
    align-items: center;
  }

  .lucky-hero__side-art {
    margin: 0 -5% -14% -5%;
  }

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

  .lucky-promo-card {
    min-height: 300px;
    grid-template-columns: minmax(0, 1fr) minmax(160px, .8fr);
  }

  .lucky-promo-section--wide .lucky-promo-card__art {
    margin-top: -30px;
  }

  .lucky-post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  html[lang|="fa"] .lucky-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.4rem);
  }

  html[lang|="fa"] .lucky-hero__description {
    margin-block: 16px 20px;
    font-size: .9375rem;
  }

  html[lang|="fa"] .lucky-hero__art {
    width: min(300px, 88%);
    margin-block: 0 -3%;
  }

  .lucky-hero {
    padding-top: 20px;
  }

  .lucky-hero__copy,
  [dir="rtl"] .lucky-hero__copy {
    padding: 30px 22px 8px;
  }

  .lucky-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .lucky-hero__side {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .lucky-hero__side-copy {
    padding: 28px 24px 0;
  }

  .lucky-hero__side-art {
    max-width: 280px;
    margin: -25px auto -18%;
  }

  .lucky-category-section__heading,
  .lucky-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lucky-category-rail {
    grid-auto-columns: 128px;
  }

  .lucky-brand-rail-section__heading {
    gap: 12px;
  }

  .lucky-brand-rail-section h2 {
    font-size: clamp(1.45rem, 7.5vw, 2rem);
  }

  .lucky-brand-rail {
    grid-auto-columns: 142px;
  }

  .lucky-category-card {
    min-height: 160px;
  }

  .lucky-category-card__visual {
    width: 88px;
  }

  .lucky-rail-button {
    display: none;
  }

  .lucky-product-grid {
    gap: 10px;
  }

  .lucky-product-card__body {
    padding-inline: 10px;
  }

  .lucky-product-card h3 {
    font-size: .78rem;
  }

  .lucky-promo-card,
  .lucky-promo-section--wide .lucky-promo-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lucky-promo-card__copy,
  [dir="rtl"] .lucky-promo-card__copy {
    padding: 28px 24px 0;
  }

  .lucky-promo-card__art {
    max-width: 340px;
    margin: -38px auto -9%;
  }

  .lucky-contact-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .lucky-form-field--wide,
  .lucky-form-notice {
    grid-column: auto;
  }
}

@media (pointer: coarse) {
  .lucky-product-card:hover,
  .lucky-category-card:hover,
  .lucky-post-card:hover,
  .lucky-brand-rail__link:hover {
    transform: scale(var(--lucky-card-scale, 1));
  }

  .lucky-brand-rail img {
    filter: grayscale(0) saturate(1) opacity(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lucky-product-card,
  .lucky-product-card__image img,
  .lucky-category-card,
  .lucky-post-card,
  .lucky-post-card__image img,
  .lucky-brand-rail__link,
  .lucky-brand-rail img {
    transition: none;
  }

  [data-lucky-tilt],
  [data-lucky-tilt].is-pressed,
  [data-lucky-tilt] .lucky-category-card__visual,
  [data-lucky-tilt] .lucky-product-card__image,
  [data-lucky-tilt] .lucky-post-card__image,
  .lucky-brand-rail__link[data-lucky-tilt] img {
    transform: none !important;
    will-change: auto;
  }
}
