/* ═══════════════════════════════════════════════════════
   You Name It — Shopify Premium Homepage Design System
   Layered over existing store.css — NEVER removes classes.
   ═══════════════════════════════════════════════════════ */

:root {
  /* --sh-bg/surface/text/muted/accent/gold: defined in variables.css as aliases */
  --sh-shadow-sm: 0 2px 8px rgba(28,15,8,0.04);
  --sh-shadow: 0 8px 32px rgba(28,15,8,0.06);
  --sh-shadow-lg: 0 20px 60px rgba(28,15,8,0.08);
  --sh-radius: 12px;
  --sh-radius-lg: 20px;
  --sh-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --sh-shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --sh-shadow: 0 8px 32px rgba(0,0,0,0.3);
  --sh-shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── Animations ── */
@keyframes shFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.ani-fade-up { animation: shFadeUp 0.7s var(--sh-ease) both; }
.ani-fade-in { animation: shFadeIn 0.6s var(--sh-ease) both; }
.ani-scale-in { animation: shScaleIn 0.5s var(--sh-ease) both; }

/* ── Section spacing ── */
.sh-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.sh-section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.sh-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--sh-text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.sh-section__head p {
  font-size: 1rem;
  color: var(--sh-muted);
  margin: 0;
  max-width: 500px;
  margin-inline: auto;
}

/* ── Scroll reveal ── */
/* Authoritative .sh-reveal definition in premium-storefront-v3.css */

/* ═══ HERO ═══ */
.hero--premium .hero__content {
  position: relative;
  z-index: 2;
}
body.store-body .hero--premium .hero__eyebrow {
  background: linear-gradient(135deg, var(--sh-gold), var(--sh-accent));
  color: #2c1810;
  font-size: 0.7rem;
  padding: 0.35rem 0.85rem;
  letter-spacing: 0.12em;
}
.hero--premium h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero--premium .hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 480px;
}
.hero--premium .hero__visual {
  position: relative;
}
.hero--premium .hero__frame {
  border-radius: clamp(16px, 3vw, 28px);
  box-shadow: 0 24px 80px rgba(28,15,8,0.18);
  aspect-ratio: 4/3;
  max-width: 600px;
}
.hero--premium .hero__img {
  transition: transform 0.8s var(--sh-ease), filter 0.6s var(--sh-ease);
}
.hero--premium .hero__frame:hover .hero__img {
  transform: scale(1.04);
  filter: brightness(1.06);
}
.hero--premium .btn-store--primary {
  background: linear-gradient(135deg, var(--sh-accent), #a07820);
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(139,105,20,0.25);
  transition: transform 0.3s var(--sh-ease), box-shadow 0.3s var(--sh-ease);
}
.hero--premium .btn-store--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,105,20,0.35);
}
.hero--premium .btn-store--primary:active {
  transform: translateY(0) scale(0.98);
}
.hero--premium .btn-store--ghost {
  border: 1.5px solid var(--sh-text);
  color: var(--sh-text);
  background: transparent;
  transition: transform 0.3s var(--sh-ease), background 0.3s var(--sh-ease);
}
.hero--premium .btn-store--ghost:hover {
  background: var(--sh-text);
  color: #fff;
  transform: translateY(-2px);
}
.hero--premium .btn-special-order--hero {
  transition: transform 0.3s var(--sh-ease), box-shadow 0.3s var(--sh-ease);
}
.hero--premium .btn-special-order--hero:hover {
  transform: translateY(-2px);
}
.hero--premium .hero__cta {
  gap: 0.75rem;
}

/* ═══ BENTO CATEGORY GRID ═══ */
.category-showcase--bento .category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
@media (min-width: 768px) {
  .category-showcase--bento .category-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: minmax(180px, auto);
  }
  .category-showcase--bento .category-grid > .category-card:first-child {
    grid-row: span 2;
  }
  .category-showcase--bento .category-grid > .category-card:nth-child(2) {
    grid-column: 2;
  }
  .category-showcase--bento .category-grid > .category-card:nth-child(3) {
    grid-column: 3;
  }
  .category-showcase--bento .category-grid > .category-card:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
  }
}
@media (min-width: 1024px) {
  .category-showcase--bento .category-grid {
    gap: 1rem;
    grid-auto-rows: minmax(220px, auto);
  }
}
.category-showcase--bento .category-card {
  border-radius: var(--sh-radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-shadow-sm);
  transition: transform 0.4s var(--sh-ease), box-shadow 0.4s var(--sh-ease);
}
.category-showcase--bento .category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-shadow-lg);
}
.category-showcase--bento .category-card__image-wrapper {
  aspect-ratio: auto;
}
.category-showcase--bento .category-card:first-child .category-card__image-wrapper {
  height: 100%;
}
.category-showcase--bento .category-card__image {
  transition: transform 0.6s var(--sh-ease);
}
.category-showcase--bento .category-card:hover .category-card__image {
  transform: scale(1.08);
}
.category-showcase--bento .category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(28,15,8,0.7));
  padding: 1.5rem 1rem 1rem;
  border: none;
  text-align: left;
}
.category-showcase--bento .category-card__title {
  color: #fff;
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.category-showcase--bento .category-card__count {
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
}
.category-showcase--bento .category-card:first-child .category-card__content {
  padding: 2rem 1.25rem 1.5rem;
}
.category-showcase--bento .category-card:first-child .category-card__title {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
}

/* ═══ PRODUCT GRID (Curated For You) ═══ */
.curated-for-you--premium .curated-for-you__header {
  text-align: center;
  margin-bottom: 2rem;
}
.curated-for-you--premium .curated-for-you__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--sh-text);
  margin: 0 0 0.35rem;
}
.curated-for-you--premium .curated-for-you__sub {
  font-size: 1rem;
  color: var(--sh-muted);
  margin: 0;
}
.curated-for-you--premium .curated-for-you__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) {
  .curated-for-you--premium .curated-for-you__track {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}
.curated-for-you--premium .curated-for-you__card {
  background: var(--sh-surface);
  border-radius: var(--sh-radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-shadow-sm);
  transition: transform 0.4s var(--sh-ease), box-shadow 0.4s var(--sh-ease);
}
.curated-for-you--premium .curated-for-you__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-shadow-lg);
}
.curated-for-you--premium .curated-for-you__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #efe6dc;
}
.curated-for-you--premium .curated-for-you__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--sh-ease);
}
.curated-for-you--premium .curated-for-you__card:hover .curated-for-you__media img {
  transform: scale(1.08);
}
.curated-for-you--premium .curated-for-you__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(28,15,8,0.04));
  pointer-events: none;
}
.curated-for-you--premium .curated-for-you__body {
  padding: 1rem 1.15rem 1.25rem;
}
.curated-for-you--premium .curated-for-you__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sh-accent);
  margin-bottom: 0.35rem;
}
.curated-for-you--premium .curated-for-you__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sh-text);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.curated-for-you--premium .curated-for-you__desc {
  font-size: 0.85rem;
  color: var(--sh-muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}
.curated-for-you--premium .curated-for-you__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sh-accent);
  transition: gap 0.25s var(--sh-ease);
}
.curated-for-you--premium .curated-for-you__link:hover {
  gap: 0.6rem;
}

/* ═══ COLLECTIONS GRID ═══ */
.curated-collections--premium .curated-collections__head {
  text-align: center;
  margin-bottom: 2rem;
}
.curated-collections--premium .curated-collections__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--sh-text);
  margin: 0;
}
.curated-collections--premium .curated-collections__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.curated-collections--premium .curated-collections__card {
  position: relative;
  border-radius: var(--sh-radius-lg);
  overflow: hidden;
  background: var(--sh-surface);
  box-shadow: var(--sh-shadow-sm);
  transition: transform 0.4s var(--sh-ease), box-shadow 0.4s var(--sh-ease);
}
.curated-collections--premium .curated-collections__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-shadow-lg);
}
.curated-collections--premium .curated-collections__media {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.curated-collections--premium .curated-collections__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--sh-ease);
}
.curated-collections--premium .curated-collections__card:hover .curated-collections__media img {
  transform: scale(1.06);
}
.curated-collections--premium .curated-collections__body {
  padding: 1rem 1.15rem;
}
.curated-collections--premium .curated-collections__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sh-text);
  margin: 0;
}

/* ═══ HORIZONTAL REVIEWS ═══ */
.testimonials-section--scroll .testimonials-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 1.25rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--sh-gold) transparent;
}
.testimonials-section--scroll .testimonials-grid::-webkit-scrollbar {
  height: 4px;
}
.testimonials-section--scroll .testimonials-grid::-webkit-scrollbar-thumb {
  background: var(--sh-gold);
  border-radius: 4px;
}
.testimonials-section--scroll .testimonials-grid::-webkit-scrollbar-track {
  background: transparent;
}
.testimonials-section--scroll .testimonial-card {
  flex: 0 0 min(340px, 80vw);
  scroll-snap-align: start;
  background: var(--sh-surface);
  border-radius: var(--sh-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-shadow-sm);
  border: 1px solid rgba(28,15,8,0.04);
  transition: transform 0.3s var(--sh-ease), box-shadow 0.3s var(--sh-ease);
}
.testimonials-section--scroll .testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-shadow);
}
.testimonials-section--scroll .testimonial-card__quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--sh-gold);
  opacity: 0.35;
  margin-bottom: 0.25rem;
  font-family: Georgia, serif;
}
.testimonials-section--scroll .testimonial-card__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--sh-text);
  margin: 0 0 1rem;
  font-style: italic;
}
.testimonials-section--scroll .testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(28,15,8,0.06);
  padding-top: 0.85rem;
}
.testimonials-section--scroll .testimonial-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sh-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.testimonials-section--scroll .testimonial-card__rating {
  margin-left: auto;
  color: #f59e0b;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

/* ═══ STORYTELLING (About) ═══ */
.about-section--story .about-section {
  padding: 4rem 0;
}
.about-section--story .about-section__card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}
.about-section--story .about-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) {
  .about-section--story .about-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.about-section--story .about-section__visual {
  order: 1;
}
.about-section--story .about-section__frame {
  border-radius: var(--sh-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(28,15,8,0.12);
  transition: transform 0.5s var(--sh-ease), box-shadow 0.5s var(--sh-ease);
}
.about-section--story .about-section__frame:hover {
  transform: scale(1.01);
  box-shadow: 0 28px 80px rgba(28,15,8,0.15);
}
.about-section--story .about-section__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--sh-ease);
}
.about-section--story .about-section__frame:hover img {
  transform: scale(1.04);
}
.about-section--story .about-section__copy {
  order: 2;
}
.about-section--story .about-section__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sh-accent);
  display: inline-block;
  margin-bottom: 0.5rem;
}
.about-section--story .about-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--sh-text);
  margin: 0 0 1rem;
  line-height: 1.15;
}
.about-section--story .about-section__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.about-section--story .about-section__line {
  flex: 1;
  max-width: 60px;
  height: 2px;
  background: var(--sh-gold);
}
.about-section--story .about-section__intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sh-muted);
  margin: 0 0 0.75rem;
}
.about-section--story .about-section__support,
.about-section--story .about-section__closing {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--sh-muted);
  margin: 0 0 0.5rem;
}
.about-section--story .about-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--sh-text);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.3s var(--sh-ease), background 0.3s var(--sh-ease);
}
.about-section--story .about-section__cta:hover {
  background: var(--sh-accent);
  transform: translateY(-2px);
  color: #fff;
}

/* ═══ BANNERS ═══ */
.banners-section--premium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}
@media (min-width: 768px) {
  .banners-section--premium {
    grid-template-columns: repeat(2, 1fr);
  }
}
.banners-section--premium .banner-item {
  border-radius: var(--sh-radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-shadow-sm);
  aspect-ratio: 16 / 9;
  transition: transform 0.4s var(--sh-ease), box-shadow 0.4s var(--sh-ease);
}
.banners-section--premium .banner-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-shadow);
}
.banners-section--premium .banner-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--sh-ease);
}
.banners-section--premium .banner-item:hover img {
  transform: scale(1.03);
}

/* ═══ SOCIAL SECTION ═══ */
.social-section--premium .social-section__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
@media (min-width: 768px) {
  .social-section--premium .social-section__content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.social-section--premium .social-section__text {
  text-align: center;
}
@media (min-width: 768px) {
  .social-section--premium .social-section__text {
    text-align: left;
  }
}
.social-section--premium .social-section__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--sh-text);
  margin: 0 0 0.5rem;
}
.social-section--premium .social-section__text p {
  font-size: 1rem;
  color: var(--sh-muted);
  margin: 0 0 1.5rem;
}
.social-section--premium .social-section__links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .social-section--premium .social-section__links {
    justify-content: flex-start;
  }
}
.social-section--premium .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--sh-surface);
  border: 1px solid rgba(28,15,8,0.08);
  color: var(--sh-text);
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.3s var(--sh-ease), box-shadow 0.3s var(--sh-ease), background 0.3s;
}
.social-section--premium .social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-shadow-sm);
}
.social-section--premium .social-link--instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
  border-color: transparent;
}
.social-section--premium .social-link--tiktok:hover {
  background: #010101;
  color: #fff;
  border-color: transparent;
}
.social-section--premium .social-link--facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
}
.social-section--premium .social-link--whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: transparent;
}
.social-section--premium .social-section__visual {
  display: flex;
  justify-content: center;
}
.social-section--premium .social-section__image-frame {
  width: 100%;
  max-width: 400px;
  border-radius: var(--sh-radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-shadow);
}
.social-section--premium .social-section__image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--sh-ease);
}
.social-section--premium .social-section__image-frame:hover img {
  transform: scale(1.04);
}

/* ═══ SPECIAL ORDER ═══ */
.special-order-cta--premium .special-order-cta__content {
  border-radius: clamp(20px, 4vw, 32px) !important;
  box-shadow: 0 24px 80px rgba(28,15,8,0.2) !important;
}
.special-order-cta--premium .btn-store--primary {
  transition: transform 0.3s var(--sh-ease), box-shadow 0.3s var(--sh-ease);
}
.special-order-cta--premium .btn-store--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(139,105,20,0.3);
}
.special-order-cta--premium .btn-store--primary:active {
  transform: scale(0.98);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 767px) {
  .sh-section {
    padding: 2rem 0.85rem;
  }
  .curated-for-you--premium .curated-for-you__track {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 0.85rem;
  }
  .curated-collections--premium .curated-collections__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 0.85rem;
  }
  .category-showcase--bento .category-grid {
    gap: 0.625rem;
  }
}
@media (max-width: 480px) {
  .curated-for-you--premium .curated-for-you__track {
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
  }
  .curated-for-you--premium .curated-for-you__body {
    padding: 0.7rem 0.75rem 0.85rem;
  }
  .curated-for-you--premium .curated-for-you__name {
    font-size: 0.9rem;
  }
  .curated-for-you--premium .curated-for-you__desc {
    font-size: 0.78rem;
  }
  .curated-collections--premium .curated-collections__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
  }
  .testimonials-section--scroll .testimonial-card {
    flex: 0 0 min(280px, 85vw);
  }
  .about-section--story .about-section {
    padding: 2rem 0;
  }
  .social-section--premium .social-section__content {
    padding: 2rem 0.85rem;
  }
}
