/**
 * Front page — mockup layout (hero, trust bar, featured, category links)
 */

.site-main--front {
  overflow-x: clip;
}

/* —— Hero —— */
.stedrino-home-hero {
  position: relative;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  overflow: hidden;
}

.stedrino-home-hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.stedrino-home-hero__blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(48, 152, 217, 0.18);
  filter: blur(1px);
}

.stedrino-home-hero__blob--1 {
  width: clamp(280px, 42vw, 520px);
  height: clamp(280px, 42vw, 520px);
  top: -8%;
  inset-inline-end: 18%;
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
}

.stedrino-home-hero__blob--2 {
  width: clamp(180px, 28vw, 340px);
  height: clamp(180px, 28vw, 340px);
  bottom: 5%;
  inset-inline-end: 8%;
  background: rgba(48, 152, 217, 0.12);
  border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
}

.stedrino-home-hero__blob--3 {
  width: 120px;
  height: 120px;
  top: 18%;
  inset-inline-start: 42%;
  background: rgba(217, 35, 135, 0.08);
}

.stedrino-home-hero__doodle {
  position: absolute;
  color: var(--st-sky);
  opacity: 0.85;
}

.stedrino-home-hero__doodle--star {
  top: 12%;
  inset-inline-start: 8%;
  color: var(--st-pink);
  opacity: 0.7;
}

.stedrino-home-hero__doodle--crown {
  top: 28%;
  inset-inline-start: 18%;
  color: var(--st-navy);
  opacity: 0.35;
}

.stedrino-home-hero__doodle--dots {
  width: 48px;
  height: 48px;
  bottom: 22%;
  inset-inline-start: 6%;
  background-image: radial-gradient(var(--st-sky) 2px, transparent 2px);
  background-size: 10px 10px;
  opacity: 0.5;
}

.stedrino-home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.stedrino-home-hero__kicker {
  margin: 0 0 0.5rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--st-navy);
}

.stedrino-home-hero__title {
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.stedrino-home-hero__brand {
  display: block;
  position: relative;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  color: var(--st-navy);
  letter-spacing: -0.02em;
}

.stedrino-home-hero__brand-star {
  position: absolute;
  top: -0.35em;
  inset-inline-start: 0.15em;
  color: var(--st-pink);
  line-height: 1;
}

.stedrino-home-hero__brand-star svg {
  width: 0.45em;
  height: 0.45em;
}

.stedrino-home-hero__subtitle {
  display: block;
  margin-block-start: 0.15em;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--st-navy);
}

.stedrino-home-hero__tagline {
  margin: 0 0 1.5rem;
  max-width: 28ch;
  font-size: 1rem;
  line-height: 1.6;
  color: #5a6d82;
}

.stedrino-home-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--st-radius-pill);
  background: var(--st-pink);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(217, 35, 135, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stedrino-home-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 35, 135, 0.35);
  color: #fff;
}

.stedrino-home-hero__cta svg {
  width: 1.1em;
  height: 1.1em;
}

.stedrino-home-hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.stedrino-home-hero__media img {
  width: min(100%, 520px);
  height: auto;
  max-height: clamp(320px, 48vh, 520px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 40px rgba(13, 57, 115, 0.12));
}

/* —— Trust bar —— */
.stedrino-home-trust {
  padding-block: 1.5rem;
  background: #f3f5f8;
  border-block: 1px solid var(--st-border);
}

.stedrino-home-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stedrino-home-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.stedrino-home-trust__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(48, 152, 217, 0.45);
  color: var(--st-navy);
  background: #fff;
}

.stedrino-home-trust__icon svg {
  width: 20px;
  height: 20px;
}

.stedrino-home-trust__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.stedrino-home-trust__text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--st-navy);
  line-height: 1.3;
}

.stedrino-home-trust__text span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #6b7c8f;
}

/* —— Section title —— */
.stedrino-home-featured {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.stedrino-home-section-head {
  text-align: center;
  margin-block-end: 1.75rem;
}

.stedrino-home-section-head__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--st-navy);
}

.stedrino-home-section-head__decor {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.stedrino-home-section-head__line {
  width: clamp(48px, 10vw, 80px);
  height: 2px;
  background: var(--st-pink);
  border-radius: 2px;
}

.stedrino-home-section-head__star {
  color: var(--st-pink);
  line-height: 0;
}

.stedrino-home-section-head__star svg {
  width: 14px;
  height: 14px;
}

/* —— Featured product grid —— */
.stedrino-home-products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 0.875rem !important;
  align-items: stretch;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.stedrino-home-products::before,
.stedrino-home-products::after {
  display: none !important;
}

.stedrino-product-card--home {
  height: 100%;
  display: flex !important;
  flex-direction: column;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(13, 57, 115, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stedrino-product-card--home:hover {
  box-shadow: 0 10px 28px rgba(13, 57, 115, 0.1);
  transform: translateY(-3px);
}

.stedrino-product-card--home .stedrino-product-card__image-wrap {
  position: relative;
  padding: 0.75rem 0.75rem 0;
}

.stedrino-product-card--home .stedrino-product-card__image {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.stedrino-product-card--home .stedrino-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stedrino-product-card--home .stedrino-product-card__badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  border-radius: var(--st-radius-pill);
  background: var(--st-pink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stedrino-product-card--home .stedrino-product-card__wish {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--st-navy);
  box-shadow: 0 2px 8px rgba(13, 57, 115, 0.1);
  text-decoration: none;
}

.stedrino-product-card--home .stedrino-product-card__wish svg {
  width: 16px;
  height: 16px;
}

.stedrino-product-card--home .stedrino-product-card__body {
  padding: 0.85rem 0.85rem 0.35rem;
  text-align: center;
  flex: 1;
}

.stedrino-product-card--home .stedrino-product-card__title {
  margin: 0 0 0.4rem;
  min-height: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--st-navy);
  -webkit-line-clamp: 2;
}

.stedrino-product-card--home .stedrino-product-card__price {
  display: block;
  color: var(--st-pink);
  font-weight: 700;
  font-size: 0.95rem;
}

.stedrino-product-card--home .stedrino-product-card__price del {
  color: #9aa8b8;
  font-weight: 500;
  font-size: 0.82rem;
}

.stedrino-product-card--home .stedrino-product-card__actions {
  padding: 0.5rem 0.75rem 0.75rem;
  margin-block-start: auto;
  opacity: 1;
  transform: none;
  position: static;
}

.stedrino-product-card--home .stedrino-home-add-btn,
.stedrino-product-card--home .button {
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px !important;
  padding: 0.55rem 1rem !important;
  border: none !important;
  border-radius: 8px !important;
  background: var(--st-pink) !important;
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

.stedrino-product-card--home .stedrino-home-add-btn::before,
.stedrino-product-card--home .button::before {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.stedrino-product-card--home .stedrino-quick-view-btn {
  display: none;
}

/* —— Category quick links —— */
.stedrino-home-cats {
  padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.5rem);
  background: #fff;
}

.stedrino-home-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stedrino-home-cats__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0.5rem;
  border-radius: var(--st-radius-sm);
  transition: background 0.2s ease;
}

.stedrino-home-cats__link:hover {
  background: #f4f8fc;
}

.stedrino-home-cats__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(48, 152, 217, 0.4);
  color: var(--st-navy);
}

.stedrino-home-cats__icon svg {
  width: 26px;
  height: 26px;
}

.stedrino-home-cats__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--st-navy);
}

.stedrino-home-cats__view {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--st-sky);
}

[dir="rtl"] .stedrino-home-hero__cta svg {
  transform: scaleX(-1);
}

@media (max-width: 1024px) {
  .stedrino-home-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stedrino-home-hero__tagline {
    margin-inline: auto;
  }

  .stedrino-home-hero__media {
    order: -1;
  }

  .stedrino-home-trust__grid,
  .stedrino-home-products,
  .stedrino-home-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stedrino-home-trust__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .stedrino-home-trust__grid,
  .stedrino-home-cats__grid {
    grid-template-columns: 1fr;
  }

  .stedrino-home-products {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .stedrino-home-hero__brand-star {
    inset-inline-start: auto;
    inset-inline-end: calc(100% - 0.5em);
  }
}
