/* Boutiques page: Hero, brand wall, wine wall, trust section */

.boutique-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--page-padding-x);
  margin: 0 calc(-1 * var(--page-padding-x));
  margin-top: 0;
}

.boutique-hero > div:first-child {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.boutique-hero .hero-overlay-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #030303 0%, transparent 50%, #030303 100%);
}

.boutique-hero .hero-label-center {
  justify-content: center;
  margin-bottom: 24px;
}

.boutique-hero .hero-title {
  font-size: 64px;
}

@media (max-width: 768px) {
  .boutique-hero {
    min-height: 420px;
    height: 50vh;
  }
  .boutique-hero .hero-title {
    font-size: 32px;
  }
  .boutique-hero .hero-desc {
    font-size: 14px;
  }
  .brand-wall-beauty .brand-card .brand-card-content h3 {
    font-size: 28px;
  }
  .wine-cinematic-wall .brand-card.wine-card:nth-child(1) .wine-card-title {
    font-size: 28px;
  }
  .wine-cinematic-wall .brand-card.wine-card:nth-child(2) .wine-card-title,
  .wine-cinematic-wall .brand-card.wine-card:nth-child(3) .wine-card-title {
    font-size: 24px;
  }
  .brand-wall-section .section-header-left-mt {
    margin-top: 80px;
  }
}

@media (max-width: 480px) {
  .boutique-hero .hero-title {
    font-size: 26px;
  }
  .trust-section .section-title {
    font-size: 24px;
  }
}

.boutique-hero .hero-desc {
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 600px;
}

.brand-wall-section .section-header-left {
  text-align: left;
  margin-bottom: 60px;
}

.brand-wall-section .section-header-left-mt {
  text-align: left;
  margin-top: 160px;
  margin-bottom: 60px;
}

.brand-card-content .tag-inline {
  width: max-content;
}

.brand-wall-beauty .brand-card .brand-card-content h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: 0.05em;
}

.brand-wall-beauty .brand-card .brand-card-content > p {
  color: var(--muted-foreground);
  font-size: 14px;
  margin: 0;
}

.wine-card-content p.wine-desc {
  color: var(--muted-foreground);
  font-size: 16px;
  margin: 0;
  max-width: 500px;
  line-height: 1.8;
}

.wine-card-content p.wine-sub {
  color: var(--muted-foreground);
  font-size: 15px;
  margin: 0;
}

.trust-section .trust-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(212,175,55,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  border: 1px solid rgba(212,175,55,0.2);
}

.trust-section .trust-icon-wrap iconify-icon {
  font-size: 32px;
  color: var(--primary);
}

.trust-section .trust-desc {
  color: var(--muted-foreground);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.trust-section .trust-cta {
  margin-top: 48px;
}

.boutique-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-opacity {
  opacity: 0.6;
}

.boutique-hero .hero-content-inner {
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(212,175,55,0.1);
  color: var(--primary);
  font-size: 10px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  margin-right: 6px;
  margin-bottom: 12px;
  border: 1px solid rgba(212,175,55,0.2);
}

.wine-details {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.detail {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

.detail .label {
  color: var(--muted-foreground);
  font-size: 10px;
  margin-right: 6px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

#brand-wall-section,
#brand-wall-beauty,
#wine-cinematic-wall {
  scroll-margin-top: 100px;
}

.brand-wall-section {
  padding: var(--section-padding-y) var(--page-padding-x);
  background: var(--background);
}

.brand-wall-beauty {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  height: 800px;
}

.brand-wall-beauty .brand-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / -1;
}

.brand-wall-beauty .brand-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.brand-wall-beauty .brand-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.brand-wall-beauty .brand-card:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.brand-wall-beauty .brand-card:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.brand-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  min-height: 0;
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-card-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Left block: larger title and description */
.brand-wall-beauty .brand-card:nth-child(1) .brand-card-content {
  padding: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.brand-wall-beauty .brand-card:nth-child(1) .brand-card-content h3 {
  font-size: 40px;
  font-weight: 500;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: 0.05em;
}

.brand-wall-beauty .brand-card:nth-child(1) .brand-card-content > p {
  color: var(--muted-foreground);
  font-size: 16px;
  margin: 0;
  max-width: 440px;
  line-height: 1.8;
}

.wine-cinematic-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 600px 500px;
  gap: 24px;
}

/* First wine card spans two columns; child selector for specificity */
.wine-cinematic-wall > .brand-card:nth-child(1),
.wine-cinematic-wall > .wine-card:nth-child(1) {
  grid-column: 1 / -1;
  height: 600px;
}

.wine-cinematic-wall > .brand-card:nth-child(1) .wine-card-content .tag,
.wine-cinematic-wall > .wine-card:nth-child(1) .wine-card-content .tag {
  width: max-content;
  padding: 6px 14px;
}

.wine-cinematic-wall > .brand-card:nth-child(2),
.wine-cinematic-wall > .brand-card:nth-child(3),
.wine-cinematic-wall > .wine-card:nth-child(2),
.wine-cinematic-wall > .wine-card:nth-child(3) {
  height: 500px;
}

.wine-card-content {
  position: absolute;
  inset: 0;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.wine-cinematic-wall > .brand-card:nth-child(2) .wine-card-content,
.wine-cinematic-wall > .brand-card:nth-child(3) .wine-card-content,
.wine-cinematic-wall > .wine-card:nth-child(2) .wine-card-content,
.wine-cinematic-wall > .wine-card:nth-child(3) .wine-card-content {
  align-items: center;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  justify-content: flex-end;
}

.wine-cinematic-wall > .brand-card:nth-child(1) .wine-card-title,
.wine-cinematic-wall > .wine-card:nth-child(1) .wine-card-title {
  font-size: 44px;
  font-weight: 500;
  margin: 16px 0;
  color: #fff;
  letter-spacing: 0.02em;
}

.wine-cinematic-wall > .brand-card:nth-child(2) .wine-card-title,
.wine-cinematic-wall > .brand-card:nth-child(3) .wine-card-title,
.wine-cinematic-wall > .wine-card:nth-child(2) .wine-card-title,
.wine-cinematic-wall > .wine-card:nth-child(3) .wine-card-title {
  font-size: 32px;
  font-weight: 500;
  margin: 16px 0 12px;
  color: #fff;
}

@media (max-width: 1024px) {
  .brand-wall-beauty {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    grid-auto-rows: 320px;
    height: auto;
  }
  .brand-wall-beauty .brand-card:nth-child(1),
  .brand-wall-beauty .brand-card:nth-child(2),
  .brand-wall-beauty .brand-card:nth-child(3),
  .brand-wall-beauty .brand-card:nth-child(4),
  .brand-wall-beauty .brand-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
  .wine-cinematic-wall {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    grid-auto-rows: 450px;
  }
  .wine-cinematic-wall > .brand-card:nth-child(1),
  .wine-cinematic-wall > .wine-card:nth-child(1) {
    grid-column: auto;
    height: 450px;
  }
  .wine-cinematic-wall > .brand-card:nth-child(2),
  .wine-cinematic-wall > .brand-card:nth-child(3),
  .wine-cinematic-wall > .wine-card:nth-child(2),
  .wine-cinematic-wall > .wine-card:nth-child(3) {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .brand-wall-beauty {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  .brand-wall-beauty .brand-card:nth-child(1) .brand-card-content {
    padding: 32px;
  }
  .brand-wall-beauty .brand-card:nth-child(1) .brand-card-content h3 {
    font-size: 28px;
  }
  .wine-cinematic-wall > .brand-card:nth-child(1),
  .wine-cinematic-wall > .brand-card:nth-child(2),
  .wine-cinematic-wall > .brand-card:nth-child(3),
  .wine-cinematic-wall > .wine-card:nth-child(1),
  .wine-cinematic-wall > .wine-card:nth-child(2),
  .wine-cinematic-wall > .wine-card:nth-child(3) {
    height: 350px;
  }
  .wine-card-content {
    padding: 32px;
  }
}

.trust-section {
  background: #050505;
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 100px var(--page-padding-x);
}

.trust-section .section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .trust-section {
    padding: 60px var(--page-padding-x);
  }
}
