
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.montserrat-alternates-thin {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.montserrat-alternates-extralight {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.montserrat-alternates-light {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.montserrat-alternates-regular {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.montserrat-alternates-medium {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.montserrat-alternates-semibold {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.montserrat-alternates-bold {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.montserrat-alternates-extrabold {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.montserrat-alternates-black {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.montserrat-alternates-thin-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.montserrat-alternates-extralight-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.montserrat-alternates-light-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.montserrat-alternates-regular-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.montserrat-alternates-medium-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.montserrat-alternates-semibold-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.montserrat-alternates-bold-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.montserrat-alternates-extrabold-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.montserrat-alternates-black-italic {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 900;
  font-style: italic;
}



body {
  color: #2F2D2B;
  font-family: Montserrat, sans-serif;
  background: #e9dccd;
}

h1,
h2,
h3,
h4 {
  font-family: Montserrat, sans-serif;
  font-style: normal;
}

.hero-min {
  min-height: 38vh;
  display: flex;
  align-items: center;
}

.sidebar {
  border-radius: 2px;
  background: #e9dccd;
}

.card {
  --bs-card-border-radius: 0 !important;

}

.card-img, .card-img-top{
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;

}

.product-card {
  border-radius: 2px;
  overflow: hidden;
}

/* tiny-slider dots inside cards */
.tns-outer {
  position: relative
}

.tns-nav {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  display: flex;
  gap: .3rem;
}

.tns-nav>[aria-controls] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffffaa;
  border: none;
}

.tns-nav>.tns-nav-active {
  background: #fff;
}

.blur-up {
  filter: blur(20px);
  transform: scale(1.05);
}

.blur-up.loaded {
  filter: blur(0);
  transform: scale(1);
}

/* Ensure tiny-slider dots are always visible on top of images */
.tns-outer {
  position: relative
}

.tns-ovh {
  overflow: visible
}

/* let nav render outside if needed */
.tns-nav {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  display: flex;
  gap: .4rem;
  z-index: 5;
}

.tns-nav>[aria-controls] {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.tns-nav>.tns-nav-active {
  background: #fff;
  border-color: #fff;
}

/* Optional: subtle gradient overlay at bottom of sliders for contrast */
.tile .mini-slider::after,
.product-card .mini-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  background: linear-gradient(to top, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0));
  pointer-events: none;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.mini-slider {
  position: relative
}

/* Filter animation */
#catalog .row .col {
  transition: opacity .26s ease, transform .26s ease;
}

.filter-fade-in-start {
  opacity: 0;
  transform: translateY(8px);
}

.filter-fade-out {
  opacity: 0 !important;
  transform: translateY(8px) !important;
}

/* When hidden, remove from layout after animation via JS (display:none) */

/* Tiny-slider dots contrast (already added before, kept here as safety) */
.tns-outer {
  position: relative
}

.tns-ovh {
  overflow: visible
}

.tns-nav {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  display: flex;
  gap: .4rem;
  z-index: 5;
}

.tns-nav>[aria-controls] {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.tns-nav>.tns-nav-active {
  background: #fff;
  border-color: #fff;
}

.product-card .mini-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  background: linear-gradient(to top, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0));
  pointer-events: none;
}

/* === Filter fade animations (robust) === */
#catalog .row .col {
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

.is-hiding {
  opacity: 0 !important;
  transform: translateY(8px) !important;
}

.is-showing-start {
  opacity: 0;
  transform: translateY(8px);
}

/* When a hidden item is set to display:none, animation is completed in JS */

/* === Pinterest-style Masonry for Catalog === */
.masonry {
  column-count: 4;
  column-gap: 1rem;
}

@media (max-width: 992px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry {
    column-count: 1;
  }
}

.masonry-item {
  break-inside: avoid;
  margin: 0 0 1rem;
  display: block;
}

/* Keep sliders contained within cards */
.tns-ovh {
  overflow: hidden !important;
}

.product-card {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.product-card .mini-slider {
  position: relative;
  padding-bottom: 1px;
}

.product-card .tns-nav {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  z-index: 5;
}

/* Fade animation tuned for masonry (opacity only to reduce layout jank) */
.masonry-item {
  transition: opacity .55s ease;
}

.is-hiding {
  opacity: 0 !important;
}

.is-showing-start {
  opacity: 0;
}

/* ===== Overlay slider + background blur ===== */
body.overlay-open .page-wrap {
  filter: blur(6px);
  transition: filter .25s ease;
}

.viewer {
  position: fixed;
  inset: 0;
  display: none;
  /* toggled by JS */
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.viewer.show {
  display: flex;
}

.viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
}

.viewer-content {
  position: relative;
  width: min(92vw, 1200px);
  max-height: 90vh;
  background: #111;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  padding: 12px 12px 36px;
  overflow: hidden;
}

.viewer-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.viewer-close:hover {
  background: rgba(255, 255, 255, .2);
}

.viewer-slider img {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 2px;
}

/* tiny-slider nav for overlay */
.viewer .tns-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 2;
}

.viewer .tns-nav>[aria-controls] {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(0, 0, 0, .4);
}

.viewer .tns-nav>.tns-nav-active {
  background: #fff;
  border-color: #fff;
}

/* keep existing product sliders tidy */
.tns-ovh {
  overflow: hidden !important;
}

.product-card .mini-slider {
  position: relative;
  padding-bottom: 0px;
}

.product-card .tns-nav {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  z-index: 5;
}



#catalog,
#story,
#contact{
  scroll-margin-top: 60px;
}
#about{
  scroll-margin-top: 100px;
}

/* Palette aligned with your site */
:root{
  --sand:#FAF9F7;
  --clay:#B08968;
  --ink:#2F2D2B;
  --beige:#F2ECE6;
  --stone:#E6E0D6;
}

/* --- Busier, varied hero background with vertical swipe --- */

:root{
  /* keep your existing tokens if you already have them; these are fallbacks */
  --beige:#F2ECE6;
  --ink:#2F2D2B;
}

/* Container */
.hero-art{
  position: relative;
  min-height: clamp(48vh, 56vh, 68vh);
  overflow: hidden;
  /* Soft base + exact bottom color for seamless blend */
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(176,137,104,0.10), transparent 60%),
    linear-gradient(180deg, var(--beige), rgba(233,220,205,1));
}

/* Busier olive/pottery pattern (SVG data URI) */
.hero-art::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 360'><defs><g id='branch' fill='none' stroke='%238C6A52' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'><path d='M10,330 C40,300 90,270 130,280 S170,320 200,295'/><path d='M230,110 C255,85 290,70 320,82 S355,130 380,96'/><path d='M430,250 C450,230 490,210 540,220'/></g><g id='leaves' fill='%238C6A52'><ellipse cx='62' cy='292' rx='4' ry='7' transform='rotate(-20 62 292)'/><ellipse cx='86' cy='276' rx='3.5' ry='6' transform='rotate(15 86 276)'/><ellipse cx='255' cy='102' rx='4' ry='7' transform='rotate(-18 255 102)'/><ellipse cx='305' cy='120' rx='3.5' ry='6' transform='rotate(9 305 120)'/><ellipse cx='476' cy='228' rx='4' ry='7' transform='rotate(-14 476 228)'/><ellipse cx='522' cy='218' rx='3.5' ry='6' transform='rotate(18 522 218)'/></g><g id='pots' fill='none' stroke='%238C6A52' stroke-width='1'><path d='M120 210c0-22 16-40 36-40s36 18 36 40c0 14-7 22-36 22s-36-8-36-22z'/><path d='M345 165c0-16 12-28 28-28s28 12 28 28-12 24-28 24-28-8-28-24z'/><path d='M500 140c0-26 18-46 42-46s42 20 42 46c0 18-10 28-42 28s-42-10-42-28z'/></g></defs><g opacity='0.32'><use href='%23branch'/><use href='%23leaves' opacity='0.38'/><use href='%23pots' opacity='0.28'/></g></svg>");
  background-repeat: repeat;
  /* Smaller tile => denser, busier pattern */
  background-size: 120px auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Stronger vertical light sweep */
.hero-art::after{
  content:"";
  position:absolute; left:-10%; right:-10%; top:-80%; bottom:-80%;
  /* Vertical swipe: brighter band through the middle */
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.55) 45%,
    rgba(255,255,255,0.00) 100%
  );
  animation: heroSweepY 10s linear infinite;
  mix-blend-mode: soft-light; /* keeps text readable but effect noticeable */
  opacity: 0.6;              /* stronger than before */
  pointer-events: none;
}

@keyframes heroSweepY{
  0%   { transform: translateY(-60%); }
  100% { transform: translateY(60%); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-art::after{ animation: none; opacity: .18; }
}

/* Text inside hero */
.hero-art .display-5{ color: var(--ink); letter-spacing:.2px; }
.hero-art .lead{ max-width: 48ch; margin-inline:auto; }
