/* ==========================================================================
   AguaClara Studio — Custom Theme Styles
   Biophilic Design
   Font system: Outfit (headings) + Inter (body) + Great Vibes (signature)
   ========================================================================== */

/* ---------- Typography ---------- */

.font-signature {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
}

h1, h2, h3, .h0, .h1, .h2, .h3 {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
}

/* ---------- Global dark overrides ---------- */

body {
  background-color: #000000;
  color: #E8E8E8;
}

.color-scheme-1,
.color-scheme-2,
.color-scheme-3,
.shopify-section {
  background-color: #000000;
}

::selection {
  background: rgba(74, 124, 89, 0.4);
  color: #FFFFFF;
}

a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: #2A2A2A; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4A7C59; }

/* ---------- Buttons ---------- */

.button,
.shopify-challenge__button,
button.shopify-payment-button__button--unbranded {
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.button--primary {
  background-color: #4A7C59;
  color: #FFFFFF;
  border: 1px solid #4A7C59;
}

.button--primary:hover {
  background-color: #3D6B4C;
  border-color: #3D6B4C;
}

.button--secondary {
  background-color: transparent;
  color: #E8E8E8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- Custom hero section ---------- */

.custom-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.custom-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.custom-hero__media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 20%;
  will-change: transform;
}

.custom-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.custom-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 2rem;
  max-width: 80rem;
}

.custom-hero__title {
  margin: 0 0 0.5rem;
  line-height: 1;
}

.custom-hero__title-prefix {
  display: block;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.2em;
}

.custom-hero__title-name {
  display: block;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 200;
  font-size: clamp(4rem, 10vw, 10rem);
  color: #FFFFFF;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.custom-hero__subtitle {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 1.5rem 0 3rem;
}

.custom-hero__cta {
  display: inline-block;
  padding: 1.4rem 4rem;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: all 0.4s ease;
}

.custom-hero__cta:hover {
  background: rgba(74, 124, 89, 0.3);
  border-color: #4A7C59;
  color: #FFFFFF;
}

/* Hero entrance animations */
.custom-hero__content .custom-hero__title-prefix {
  opacity: 0; transform: translateY(2rem);
  animation: heroFadeUp 0.8s ease forwards 0.3s;
}
.custom-hero__content .custom-hero__title-name {
  opacity: 0; transform: translateY(2rem);
  animation: heroFadeUp 0.8s ease forwards 0.6s;
}
.custom-hero__content .custom-hero__subtitle {
  opacity: 0; transform: translateY(2rem);
  animation: heroFadeUp 0.8s ease forwards 0.9s;
}
.custom-hero__content .custom-hero__cta {
  opacity: 0; transform: translateY(2rem);
  animation: heroFadeUp 0.8s ease forwards 1.2s;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Floating product grid ---------- */

.floating-products {
  padding: 6rem 0;
}

.floating-products__title {
  text-align: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 4rem;
}

.floating-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 4rem 3rem;
  padding: 0 2rem;
}

@media screen and (max-width: 749px) {
  .floating-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
    padding: 0 1.5rem;
  }
}

.floating-product-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.floating-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.floating-product-card__image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(74, 124, 89, 0.25));
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.floating-product-card:hover .floating-product-card__image-wrapper img {
  transform: scale(1.04) translateY(-4px);
  filter: drop-shadow(0 16px 40px rgba(74, 124, 89, 0.4));
}

.floating-product-card__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8E8E8;
  margin: 0 0 0.5rem;
  transition: color 0.3s ease;
}

.floating-product-card:hover .floating-product-card__title {
  color: #FFFFFF;
}

.floating-product-card__price {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* ---------- Parallax sections ---------- */

.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  will-change: transform;
}

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

.parallax-content {
  position: relative;
  z-index: 2;
}

/* ---------- Gallery showcase section ---------- */

.gallery-showcase {
  padding: 8rem 0;
  overflow: hidden;
}

.gallery-showcase__title {
  text-align: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 2rem;
}

.gallery-showcase__subtitle {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  margin-bottom: 5rem;
}

.gallery-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 2rem;
  max-width: var(--page-width);
  margin: 0 auto;
}

@media screen and (max-width: 989px) {
  .gallery-showcase__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 599px) {
  .gallery-showcase__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.gallery-showcase__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
}

.gallery-showcase__item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.gallery-showcase__item--tall {
  grid-row: span 2;
  aspect-ratio: 1 / 2;
}

.gallery-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gallery-showcase__item:hover img {
  transform: scale(1.05);
}

.gallery-showcase__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.gallery-showcase__item:hover .gallery-showcase__item-overlay {
  opacity: 1;
}

.gallery-showcase__item-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.06em;
}

.gallery-showcase__item-price {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
}

/* ---------- Lottie divider section ---------- */

.lottie-divider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.lottie-divider.is-visible { opacity: 1; }

.lottie-divider__player {
  width: 100%;
  max-width: 60rem;
  pointer-events: none;
}

.lottie-divider--full-width .lottie-divider__player { max-width: 100%; }

/* ---------- About / story section ---------- */

.about-maru {
  padding: 8rem 0;
}

.about-maru__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media screen and (max-width: 749px) {
  .about-maru__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-maru__image-wrapper {
  position: relative;
  overflow: hidden;
}

.about-maru__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
  will-change: transform;
}

.about-maru__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-maru__label {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #4A7C59;
  margin-bottom: 1.5rem;
}

.about-maru__heading {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 4vw, 4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0 0 2rem;
}

.about-maru__text {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
}

.about-maru__signature {
  font-family: 'Great Vibes', cursive;
  font-size: 3.6rem;
  color: #4A7C59;
  margin-top: 1rem;
}

/* ---------- Section divider line ---------- */

.section-divider {
  width: 6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4A7C59, transparent);
  margin: 0 auto;
}

/* ---------- Header overrides ---------- */

.header-wrapper {
  background-color: transparent !important;
  transition: background-color 0.3s ease;
}

.scrolled-past-header .header-wrapper {
  background-color: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.header__heading-link { text-decoration: none; }

.header__heading-logo-text {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header__logo-icon {
  display: inline-block;
  height: 2.4rem;
  width: auto;
  opacity: 0.9;
  flex-shrink: 0;
}

.header__heading-logo-text .signature,
.header__brand-accent {
  font-weight: 200;
  opacity: 0.7;
  letter-spacing: 0.3em;
}

.header__menu-item,
.list-menu__item {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.header__menu-item:hover,
.list-menu__item:hover { color: #FFFFFF; }

.header__icon .icon { color: #FFFFFF; }

/* ---------- Footer overrides ---------- */

.footer { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer .footer__content-bottom { border-top: 1px solid rgba(255, 255, 255, 0.06); }

.footer h2,
.footer .footer-block__heading {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.2rem;
}

/* ---------- Product card overrides ---------- */

.card-wrapper {
  transition: transform 0.4s ease;
}

.card-wrapper:hover { transform: translateY(-4px); }

.card__heading,
.card__heading a {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-item {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
}

.card--standard .card__inner .card__media img,
.card--card .card__inner .card__media img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.card-wrapper:hover .card--standard .card__inner .card__media img,
.card-wrapper:hover .card--card .card__inner .card__media img {
  transform: scale(1.03);
}

/* ---------- Scroll reveal animations ---------- */

.scroll-reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal--delay-1 { transition-delay: 0.1s; }
.scroll-reveal--delay-2 { transition-delay: 0.2s; }
.scroll-reveal--delay-3 { transition-delay: 0.3s; }
.scroll-reveal--delay-4 { transition-delay: 0.4s; }

/* Parallax float on scroll — applied by JS */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ---------- CTA Banner ---------- */

.cta-banner {
  text-align: center;
  padding: 8rem 2rem;
}

.cta-banner__heading {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.cta-banner__text {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 50rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ---------- Product page ---------- */

.product__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__media-wrapper img {
  filter: drop-shadow(0 4px 16px rgba(74, 124, 89, 0.15));
}

.product__description {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.product__accordion .accordion__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.2rem;
}

/* ---------- Collection page ---------- */

.collection-hero__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Cart drawer ---------- */

.cart-drawer { background-color: #000000; }
.cart-drawer__overlay { background: rgba(0, 0, 0, 0.6); }

/* ---------- Utility ---------- */

/* ---------- Biophilic design section ---------- */

.biophilic-section { padding: 8rem 0; }

.biophilic-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media screen and (max-width: 749px) {
  .biophilic-section__inner { grid-template-columns: 1fr; gap: 3rem; }
}

.biophilic-section__media { position: relative; overflow: hidden; border-radius: 4px; }

.biophilic-section__media img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s ease; will-change: transform;
}

.biophilic-section__label {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: #4A7C59; margin-bottom: 1.5rem;
}

.biophilic-section__heading {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 4vw, 4rem);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #FFFFFF; line-height: 1.2; margin: 0 0 2rem;
}

.biophilic-section__text {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem; line-height: 1.8;
  color: rgba(255, 255, 255, 0.65); margin-bottom: 3rem;
}

.biophilic-section__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media screen and (max-width: 599px) {
  .biophilic-section__benefits { grid-template-columns: 1fr; }
}

.biophilic-benefit {
  padding: 1.5rem;
  border: 1px solid rgba(74, 124, 89, 0.15);
  border-radius: 4px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.biophilic-benefit:hover {
  border-color: rgba(74, 124, 89, 0.4);
  background: rgba(74, 124, 89, 0.05);
}

.biophilic-benefit__icon { font-size: 2rem; margin-bottom: 0.8rem; }

.biophilic-benefit__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 500; font-size: 1.4rem;
  color: #FFFFFF; letter-spacing: 0.04em;
  margin: 0 0 0.5rem; text-transform: none;
}

.biophilic-benefit__text {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem; line-height: 1.6;
  color: rgba(255, 255, 255, 0.5); margin: 0;
}

/* ---------- Footer Brand Logo ---------- */

.footer__moss-brand {
  display: flex;
  justify-content: center;
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}

.footer__moss-logo {
  max-width: 80px;
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.4s ease;
  padding-bottom: 30px;
}

.footer__moss-logo:hover {
  opacity: 1;
}

@media screen and (min-width: 750px) {
  .footer__moss-logo { max-width: 80px; }
}

/* ===================================================================
   GALLERY OPTION A — CSS Columns Masonry
   =================================================================== */

.gallery-masonry__title,
.gallery-fullbleed__title,
.gallery-slider__title {
  text-align: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 2rem;
}

.gallery-masonry__subtitle,
.gallery-fullbleed__subtitle,
.gallery-slider__subtitle {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  margin-bottom: 5rem;
}

.gallery-masonry__columns {
  columns: 3;
  column-gap: 1.6rem;
}

@media screen and (max-width: 989px) {
  .gallery-masonry__columns { columns: 2; }
}
@media screen and (max-width: 599px) {
  .gallery-masonry__columns { columns: 1; max-width: 500px; margin: 0 auto; }
}

.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: 1.6rem;
}

.gallery-masonry__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gallery-masonry__image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}

.gallery-masonry__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-masonry__image-wrapper:hover img {
  transform: scale(1.03);
}

.gallery-masonry__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}

.gallery-masonry__image-wrapper:hover .gallery-masonry__overlay { opacity: 1; }

.gallery-masonry__item-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.06em;
}

.gallery-masonry__item-price {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
}

/* ===================================================================
   GALLERY OPTION B — Horizontal Slider / Carousel
   =================================================================== */

.gallery-slider__viewport {
  overflow: hidden;
  padding: 0 2rem;
}

@media screen and (min-width: 750px) {
  .gallery-slider__viewport { padding: 0 4rem; }
}

.gallery-slider__track {
  display: flex;
  gap: 2rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-slider__slide {
  flex: 0 0 calc(100% - 2rem);
}

@media screen and (min-width: 600px) {
  .gallery-slider__slide { flex: 0 0 calc(50% - 1rem); }
}
@media screen and (min-width: 990px) {
  .gallery-slider__slide { flex: 0 0 calc(33.333% - 1.34rem); }
}

.gallery-slider__image-wrapper {
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}

.gallery-slider__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-slider__slide:hover .gallery-slider__image-wrapper img {
  transform: scale(1.03);
}

.gallery-slider__info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.2rem 0.4rem 0;
}

.gallery-slider__name {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.06em;
}

.gallery-slider__price {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.5);
}

.gallery-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-slider__btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.gallery-slider__btn:hover {
  border-color: #4A7C59;
  background: rgba(74, 124, 89, 0.15);
}

.gallery-slider__dots {
  display: flex;
  gap: 0.6rem;
}

.gallery-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-slider__dot.is-active {
  background: #4A7C59;
  transform: scale(1.3);
}

/* ===================================================================
   GALLERY OPTION C — Full-bleed uncropped grid with contain
   =================================================================== */

.gallery-fullbleed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media screen and (max-width: 989px) {
  .gallery-fullbleed__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media screen and (max-width: 599px) {
  .gallery-fullbleed__grid { grid-template-columns: 1fr; gap: 2rem; max-width: 500px; margin: 0 auto; }
}

.gallery-fullbleed__card {
  text-align: center;
}

.gallery-fullbleed__image-wrapper {
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  padding: 1rem;
}

.gallery-fullbleed__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.gallery-fullbleed__card:hover .gallery-fullbleed__image-wrapper img {
  transform: scale(1.03);
}

.gallery-fullbleed__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.2rem 0.4rem 0;
}

.gallery-fullbleed__name {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.06em;
}

.gallery-fullbleed__price {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Hide prices globally — "Contact for pricing" ---------- */

.price,
.price-item,
.price__container,
.floating-product-card__price,
.gallery-showcase__item-price,
.gallery-masonry__item-price,
.gallery-slider__price,
.gallery-fullbleed__price,
.price--large .price-item,
.price-per-item,
.price-per-item__container,
[id^="price-"],
.product__price {
  display: none !important;
}

.price::after,
.price-item::after {
  display: none !important;
}

.contact-pricing-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  font-style: italic;
}

/* ---------- Collection Slider ---------- */

.collection-slider {
  background: #000;
}

.collection-slider__title {
  text-align: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.collection-slider__subtitle {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.collection-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
}

.collection-slider__viewport::-webkit-scrollbar {
  display: none;
}

.collection-slider__track {
  display: flex;
  gap: 20px;
  padding: 10px 0;
}

.collection-slider__slide {
  flex: 0 0 280px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.collection-slider__slide:hover {
  transform: translateY(-4px);
}

.collection-slider__image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.collection-slider__slide:hover .collection-slider__img {
  transform: scale(1.04);
}

.collection-slider__product-title {
  display: block;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
  margin-top: 12px;
  transition: color 0.3s;
}

.collection-slider__slide:hover .collection-slider__product-title {
  color: #fff;
}

.collection-slider__controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 2rem;
}

.collection-slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.collection-slider__arrow:hover {
  border-color: rgba(74, 124, 89, 0.6);
  color: #fff;
  background: rgba(74, 124, 89, 0.15);
}

.collection-slider__cta {
  text-align: center;
  padding-top: 3rem;
}

@media screen and (max-width: 749px) {
  .collection-slider__slide {
    flex: 0 0 220px;
  }
}

@media screen and (max-width: 479px) {
  .collection-slider__slide {
    flex: 0 0 180px;
  }
}

/* ---------- Contact Maru Bridge Section ---------- */

.contact-maru-bridge {
  padding: 80px 0 40px;
  background: #000;
  text-align: center;
}

.contact-maru-bridge__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-maru-bridge__link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.contact-maru-bridge__heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-maru-bridge__link:hover .contact-maru-bridge__heading {
  color: #fff;
  border-bottom-color: rgba(74, 124, 89, 0.6);
}

@media screen and (max-width: 599px) {
  .contact-maru-bridge__heading {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }
}

/* ---------- Custom Request Section ---------- */

.custom-request {
  padding: 80px 0;
  background: #000;
}

.custom-request__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.custom-request__label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: rgba(74, 124, 89, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.custom-request__heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.custom-request__text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.custom-request__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.custom-request__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media screen and (max-width: 599px) {
  .custom-request__row {
    grid-template-columns: 1fr;
  }
}

.custom-request__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-request__field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.custom-request__field input,
.custom-request__field select,
.custom-request__field textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #e8e8e8;
  transition: border-color 0.2s;
}

.custom-request__field input:focus,
.custom-request__field select:focus,
.custom-request__field textarea:focus {
  outline: none;
  border-color: rgba(74, 124, 89, 0.6);
}

.custom-request__field input::placeholder,
.custom-request__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.custom-request__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.custom-request__field select option,
.custom-request__field select optgroup {
  background: #1a1a1a;
  color: #e8e8e8;
}

.custom-request__hint {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
}

.custom-request__field textarea {
  min-height: 120px;
  resize: vertical;
}

.custom-request__submit {
  align-self: flex-start;
  padding: 16px 48px;
  background: rgba(74, 124, 89, 0.9);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.custom-request__submit:hover {
  background: rgba(74, 124, 89, 1);
  transform: translateY(-1px);
}

.custom-request__success {
  background: rgba(74, 124, 89, 0.15);
  border: 1px solid rgba(74, 124, 89, 0.4);
  border-radius: 8px;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ---------- Header responsive: keep "AGUACLARA STUDIO" on one line on phones ---------- */
/* base.css gives .header__heading-link `word-break: break-word`, which let the brand break as "AGUACLAR / A". */

@media screen and (max-width: 749px) {
  .header__heading-link {
    word-break: normal;
  }

  .header__heading-logo-text {
    white-space: nowrap;
    font-size: 1.1rem;
    letter-spacing: 0.16em;
    gap: 0.45rem;
  }

  .header__heading-logo-text .header__brand-accent {
    letter-spacing: 0.2em;
  }

  .header__logo-icon {
    height: 2rem;
  }
}

/* ---------- Utility ---------- */

.visually-hidden:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ---------- Portfolio / commission-only: Inquire CTA + signature + cart ---------- */

.product-inquire {
  margin: 1.25rem 0 1.5rem;
}

.product-inquire__note {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.75;
  margin: 0 0 0.85rem;
}

.product-inquire__btn {
  display: inline-flex;   /* Dawn centres the label with flex; inline-block left it at the top edge */
  line-height: 1.2;
}

.about-maru__signature-img {
  max-width: 240px;
  height: auto;
  display: block;
  margin-top: 1rem;
}

/* The baked signature asset is black ink on transparent, and the About Maru
   section is dark, so render it white. A future editor-uploaded signature keeps
   its own color (no --baked class). */
.about-maru__signature-img--baked {
  filter: brightness(0) invert(1);
}

/* ---------- "The Collections" list: match the site's section typography ---------- */

.collection-list-title {
  text-align: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
}

.collection-list .card__heading,
.collection-list .card__heading a {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.collection-list .card__caption {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.6rem;
}

/* Commission-only: no online checkout, so keep the cart surfaces out of view. */
.header__icon--cart,
cart-drawer,
cart-notification {
  display: none !important;
}

/* Portfolio mode: no customer accounts (markup is also commented out in header.liquid / header-drawer.liquid). */
.header__icon--account,
.menu-drawer__account {
  display: none !important;
}

/* ---------- Maru's September 2026 edits ---------- */

/* Nav anchors (/#philosophy, /#meet-maru, /#commission): the header is on-scroll-up,
   so only a small offset is needed; the sections carry their own top padding. */
#philosophy,
#meet-maru,
#commission {
  scroll-margin-top: 2rem;
}

/* Shopify marks every "/#anchor" menu item current on the homepage; hide that underline. */
.header__menu-item[href*="#"] .header__active-menu-item {
  color: inherit;
  text-decoration: none;
}

.menu-drawer__menu-item--active[href*="#"]:not(:hover):not(:focus) {
  color: rgba(255, 255, 255, 0.7);
  background-color: transparent;
}

/* Five series cards: centre the orphan card on the tablet/mobile 2-column grid. */
.collection-list.grid {
  justify-content: center;
}

/* CTA banner without a button: no trailing gap before the commission form. */
.cta-banner__text:last-child {
  margin-bottom: 0;
}

/* Product cards: the cutout photos have no wall around the frame any more, so a
   square "cover" crop would cut into non-square pieces (panoramas, diptychs,
   portraits). Show the whole piece; the transparent margins read as black. */
.product-grid .card__media .media img,
.product-recommendations .card__media .media img,
.collection-list .card__media .media img {
  object-fit: contain !important;
}

/* Product page: keep the media at a size the 1254px source can fill at 2x, and
   centre it in its column so the frame sits like a hung piece. */
@media screen and (min-width: 990px) {
  .product--medium:not(.product--no-media) .product__media-wrapper {
    max-width: 55%;
  }
  .product__media-wrapper .product__media-item {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- Homepage "Studio letters" signup band (stock newsletter section) ---------- */

[id$="__newsletter_band"] .newsletter__wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[id$="__newsletter_band"] .newsletter__wrapper > * {
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
}

/* first paragraph block = eyebrow, styled like "The Artist Behind AguaClara" */
[id$="__newsletter_band"] .newsletter__subheading:first-child p {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #4A7C59;
  margin: 0 0 1.5rem;
}

[id$="__newsletter_band"] h2 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0 0 1.6rem;
}

[id$="__newsletter_band"] .newsletter__subheading p {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

[id$="__newsletter_band"] .newsletter-form {
  max-width: 42rem;
  margin: 2.4rem auto 0;
}

/* Dawn's field wrapper is narrower than the form and left-aligned */
[id$="__newsletter_band"] .newsletter-form__field-wrapper {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

/* last paragraph block = consent line under the form */
[id$="__newsletter_band"] .newsletter__subheading:last-child {
  margin-top: 1.4rem;
}

[id$="__newsletter_band"] .newsletter__subheading:last-child p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.4);
}

[id$="__newsletter_band"] .newsletter__subheading:last-child a {
  color: inherit;
  text-underline-offset: 0.2em;
}

/* ---------- Studio notice (sections/studio-notice.liquid, header group) ---------- */

.studio-notice { background: #000000; }
.studio-notice__inner {
  max-width: 76rem;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-align: center;
  text-wrap: balance;
  color: #FFFFFF;
}
.studio-notice__inner p { margin: 0; }
.studio-notice--framed { padding: 2.4rem 2rem; }
.studio-notice--framed .studio-notice__inner { padding: 2rem 2.8rem; border: 1px solid rgba(255, 255, 255, 0.45); }
.studio-notice--panel { padding: 2.4rem 2rem; }
.studio-notice--panel .studio-notice__inner { padding: 2rem 2.8rem; background: #8B7355; }
.studio-notice--band { background: #4A7C59; padding: 1.8rem 2rem; }
@media screen and (max-width: 749px) {
  .studio-notice__inner { font-size: 1.35rem; line-height: 1.6; }
  .studio-notice--framed .studio-notice__inner, .studio-notice--panel .studio-notice__inner { padding: 1.6rem 1.8rem; }
  .studio-notice--framed, .studio-notice--panel { padding: 1.6rem 1.6rem; }
}
/* keep the hero title on the first screen: the hero fills what the notice leaves */
.custom-hero { min-height: calc(100vh - var(--studio-notice-h, 0px)); min-height: calc(100dvh - var(--studio-notice-h, 0px)); }
