:root {
  --nav-color: rgb(6, 47, 43);
  --bg-color: rgb(31, 71, 63);
  --bg-width: 1000px;
  --bevel-main: 10px;

  --outline-color: rgb(79, 8, 8);
  --outline-thickness: 6px;
  --outline-softness: 10px;
  --text-outline:
    var(--outline-thickness) 0px var(--outline-softness) var(--outline-color),
    0px var(--outline-thickness) var(--outline-softness) var(--outline-color),
    calc(var(--outline-thickness) - 2*(var(--outline-thickness))) 0px var(--outline-softness) var(--outline-color),
    0px calc(var(--outline-thickness) - 2*(var(--outline-thickness))) var(--outline-softness) var(--outline-color);
}

/* Always do this first */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; }

@font-face {
  font-family: titlefont;
  src: url(Assets/Fonts/RyujinAttack-gxApE.ttf);
}

body {
  background-color: rgb(0, 0, 0);
  background-image: url(Assets/Background/Tiling\ Background.webp);
  background-size: 450px;
}

/* HEADER (LOCKED) */
.header {
  background-image: url(Assets/Background/Cat.webp);
  background-repeat: no-repeat;

  /* LOCK the art size (no vw/min) */
  background-size: 950px;

  /* lock the cat position */
  background-position: center 60px;

  max-width: min(var(--bg-width), 96vw);
  margin: auto;

  position: relative;
  height: 430px;          /* stable height so things don’t jump */
  padding-bottom: 90px;   /* space reserved for the navbar */
  overflow: visible;
  transform-origin: top center;
}

/* PAWS (LOCKED POSITION) */
.paws {
  position: absolute;

  /* LOCK the art size (no vw/min) */
  width: 950px;

  left: 50%;
  transform: translateX(-50%);
  top: 130px;             /* locked */
  max-width: none;
  pointer-events: none;
  z-index: 25;            /* above navbar background */
}

/* TITLE (LOCKED POSITION) */
.headTitle {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 120px;             /* locked */

  color: white;

  /* LOCK the title size on desktop */
  font-size: 4.5rem;

  font-family: titlefont;
  text-shadow: var(--text-outline);
  white-space: nowrap;
  z-index: 60;
}

/* CONTAINER */
.container {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  width: min(var(--bg-width), 92vw);
  margin: auto;
}

/* NAVBAR */
.navbar{
  width: min(var(--bg-width), 92vw);
  margin: 0 auto;
  margin-top: 0;

  padding: 10px 10px;
  background: transparent;
  border-radius: var(--bevel-main);

  display: grid;

  /* ✅ right column has a real max width so it cannot spill */
  grid-template-columns: 1fr auto minmax(180px, 320px);
  grid-template-areas: "spacer links search";

  align-items: center;
  gap: 12px; /* ✅ do NOT use 50px */
  position: relative;
}

.navbar::before{
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--nav-color);
  border-radius: var(--bevel-main);
  z-index: 10;
}

.navbar::after{
  content: "";
  grid-area: spacer;
}

.nav-links,
.nav-search{
  min-width: 0;
}

/* LINKS */
.nav-links{
  grid-area: links;
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(16px, 4vw, 80px);

  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.nav-search{
  grid-area: search;
  justify-self: end;
  width: 100%;
  margin: 0;
}

/* Link style */
.pageLink {
  transition: all 200ms;
  font-size: 1.5rem;
  color: white;
  white-space: nowrap;
  text-align: center;
}

.pageLink:visited { color: white; }
.pageLink:hover {
  scale: 1.2;
  rotate: 10deg;
}

/* Search input */
.search-input{
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.2);
  outline: none;
  font-size: 15px;
  height: 34px;
  width: 100%;
  max-width: 100%;
}

/* Nav text/input = top layer (above paws) */
.nav-links, .nav-search, .pageLink, .search-input {
  position: relative;
  z-index: 50;
}

/* CONTENT PANEL */
.content {
  background-color: var(--bg-color);
  border-radius: var(--bevel-main);
  padding: 20px;
  min-height: 220px;
}

/* FOOTER */
.footer { height: 400px; }

/* Responsive adjustments */
@media (max-width: 760px) {
  .nav-links { gap: clamp(16px, 4.5vw, 44px); }
  .search-input { width: clamp(180px, 34vw, 260px); }
  .pageLink { font-size: 1.3rem; }
}

/* Mobile stack */
@media (max-width: 620px){
  /* nav stacks on mobile */
  .navbar{
    grid-template-columns: 1fr;
    grid-template-areas:
      "links"
      "search";
    gap: 10px;
    margin-top: 0;
    padding: 10px 14px;

    /* IMPORTANT: do NOT pull the navbar up on mobile */
    margin-top: 0;
  }

  /* remove extra spacing between header/nav/content on mobile */
  .container{ gap: 0; }

  .nav-search{
    justify-self: center;
    width: 100%;
  }

  .search-input{
    width: min(420px, 86vw);
    height: 36px;
  }

  .nav-links{
    gap: 26px;
  }

  .pageLink{
    font-size: 1.15rem;
  }

  /* only shrink title so it fits on mobile */
  .headTitle{
    font-size: 2.35rem;
  }
}

/* Scale the whole header as ONE unit (safe clamp) */
@media (max-width: 1000px){
  .header{
    transform: scale(clamp(0.6, 92vw / 1000, 1));
  }
}

/* --- HERO GALLERY / SLIDER --- */
.hero {
  width: 100%;
}

.hero-slider{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

/* only the active slide shows */
.hero-slide{
  position: relative;
  display: none;
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
}
.hero-slide.is-active{
  display: block;
}

/* image fills the slide */
.hero-img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* LEFT padding accounts for arrow width + spacing */
  padding: 28px 28px 28px 80px;

  max-width: 520px;
  z-index: 2;
}

/* THE GRADIENT LAYER */
.hero-overlay::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  /* left-to-right fade that matches your green/nav */
  background:
    linear-gradient(
      90deg,
      rgba(6, 47, 43, 0.92) 0%,
      rgba(6, 47, 43, 0.78) 38%,
      rgba(6, 47, 43, 0.35) 68%,
      rgba(6, 47, 43, 0.00) 100%
    );

  /* soften it a bit */
  backdrop-filter: blur(0.5px);

  z-index: -1; /* puts gradient behind the text */
}

/* text styling */
.hero-title{
  margin: 0 0 10px;
  color: white;
  font-size: 2rem;
  line-height: 1.05;
  text-shadow: var(--text-outline);
}
.hero-sub{
  margin: 0 0 16px;
  color: rgba(255,255,255,0.92);
  max-width: 42ch;
}

/* button that matches your scheme */
.hero-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  width: fit-content;
  padding: 10px 16px;

  color: white;
  text-decoration: none;
  border-radius: 999px;

  background: rgba(6, 47, 43, 0.88);
  border: 2px solid rgba(255,255,255,0.25);

  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  transition: transform 160ms, background 160ms, border-color 160ms;
}

.hero-btn:hover{
  transform: translateY(-2px);
  background: rgba(6, 47, 43, 0.98);
  border-color: rgba(255,255,255,0.45);
}

/* arrows */
.hero-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  background: rgba(6,47,43,0.75);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.hero-arrow.prev{ left: 14px; }
.hero-arrow.next{ right: 14px; }

.hero-arrow:hover{
  background: rgba(6,47,43,0.95);
}

/* dots */
.hero-dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  z-index: 6;
  display: flex;
  gap: 8px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}
.dot.is-active{
  background: rgba(255,255,255,0.9);
}

/* responsive */
@media (max-width: 700px){
  .hero-img{ height: 260px; }
  .hero-overlay{ max-width: 100%; padding: 18px; }
  .hero-title{ font-size: 1.5rem; }
  .hero-sub{ font-size: 0.95rem; }
  .hero-overlay::before{
    /* stronger overlay on mobile so text stays readable */
    background: linear-gradient(
      180deg,
      rgba(6,47,43,0.90) 0%,
      rgba(6,47,43,0.72) 55%,
      rgba(6,47,43,0.00) 100%
    );
  }
}

/* --- Welcome Box (Between Hero & Gallery) --- */
.between-box{
  width: 100%;
  padding: 42px 16px; /* more breathing room */
}

.between-box-inner{
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;

  padding: 26px 28px;
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(132, 10, 54, 0.55),
    rgba(92, 8, 40, 0.55)
  );

  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
}

/* Title */
.between-title{
  margin: 0 0 12px;
  font-size: 2.5rem;
  color: #ffffff;
  letter-spacing: 0.4px;
}

/* Main paragraph */
.between-text{
  margin: 0 0 18px;
  color: #f1f5f4;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Thank you highlight */
.between-thankyou{
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;

  background: rgba(0,0,0,0.35);
  color: #ffffff;

  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.3px;
}

/* FULL-WIDTH COLLECTION CAROUSEL */
.collection{
  background:
    linear-gradient(
      rgba(132, 10, 54, 0.55),
      rgba(6, 47, 43, 0.55)
    ),
    url("Assets/Background/gallery-bg.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 34px 0 26px;
  border-radius: 50px;
  overflow: hidden;
}

.collection-inner{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.collection-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.collection-title{
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.2px;
  color: #fff;
}

.collection-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgb(31, 71, 63);;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}
.collection-cta:hover{ opacity: 0.9; }

/* IMPORTANT: make the track truly scrollable */
.collection-track{
  display: flex;
  flex-wrap: nowrap;          /* keep it one row */
  gap: 18px;

  overflow-x: auto;           /* allow horizontal scroll (JS uses this) */
  overflow-y: hidden;
  scroll-behavior: smooth;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;      /* Firefox hide scrollbar */

  padding: 8px 6px 18px;
  scroll-snap-type: none;
}

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

.collection-card{
  flex: 0 0 180px;            /* prevents shrinking so it overflows */
  min-width: 200px;
  text-decoration: none;
  color: #ffffff;
}

.collection-card img{
  width: 100%;
  height: 260px;    /* taller = portrait */
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  image-rendering: auto;
}

.collection-label{
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.95rem;
}

.collection{
  border-radius: 50px;
  overflow: hidden; /* IMPORTANT: clips the inner content */
}

@media (max-width: 700px){
  .collection-inner{ width: calc(100% - 24px); }
  .collection-title{ font-size: 1.5rem; }
  .collection-title{ color: #fff; }
  .collection-card{ flex-basis: 165px; min-width: 165px; }
  .collection-card img{ height: 180px; }
}

@media (max-width: 700px){
  .collection{
    background-position: top center;
    background-size: 140%;
  }
}

/* =========================
          SHOP PAGE
   ========================= */

/* Feel free to tweak these two to match your exact site colours */
:root{
  --shop-teal: rgb(6, 47, 43);      /* your nav teal */
  --shop-wine: rgb(79, 8, 8);       /* your outline wine */
  --shop-ink: rgba(8, 6, 14, 0.72); /* deep dark base */
  --shop-border: rgba(255,255,255,0.28);
  --shop-border-strong: rgba(255,255,255,0.55);
}

.store-page{
  width: 100%;
  margin: 18px auto 40px;
}

/* Header strip */
.store-hero{
  width: min(1000px, 100%);
  margin: 0 auto 18px;
  padding: 18px 18px 14px;

  border-radius: 22px;
  border: 1px solid var(--shop-border);

  /* stronger teal/wine tint like your site */
  background:
    linear-gradient(
      135deg,
      rgba(6, 47, 43, 0.50),
      rgba(79, 8, 8, 0.40)
    ),
    rgba(8, 6, 14, 0.35);

  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(5px);
}

.store-title{
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0.3px;
}

.store-sub{
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

/* Layout */
.store-layout{
  width: min(1000px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

/* Sidebar */
.store-filters{
  position: sticky;
  top: 18px;

  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--shop-border);

  background:
    linear-gradient(
      160deg,
      rgba(6, 47, 43, 0.55),
      rgba(79, 8, 8, 0.28)
    ),
    var(--shop-ink);

  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(5px);
}

.filters-head{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.20);
  margin-bottom: 12px;
}

.filters-title{
  margin: 0;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.filters-count{
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
}

.field{ display:block; margin-bottom: 12px; }

.field-label{
  display:block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.80);
}

/* Inputs */
.input, .select{
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(6, 47, 43, 0.22);

  color: #fff;
  outline: none;
}

.input::placeholder{ color: rgba(255,255,255,0.60); }

.input:focus, .select:focus{
  border-color: var(--shop-border-strong);
  box-shadow: 0 0 0 3px rgba(79, 8, 8, 0.22);
}

/* Button */
.store-btn{
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;

  border: 1px solid var(--shop-border-strong);
  background: rgba(79, 8, 8, 0.35);

  color: #fff;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.store-btn:hover{
  transform: translateY(-1px);
  background: rgba(79, 8, 8, 0.45);
}

.filters-tip{
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* Right side blocks */
.store-content{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.store-block{
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.22);

  /* more tinted panels like your site */
  background:
    linear-gradient(
      150deg,
      rgba(6, 47, 43, 0.35),
      rgba(79, 8, 8, 0.22)
    ),
    rgba(8, 6, 14, 0.45);

  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(5px);
}

.block-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 12px;
}

.block-title{
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.25px;
}

.block-line{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.22), transparent);
}

/* Grid */
.product-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Product cards */
.product-card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.22);

  background:
    linear-gradient(
      160deg,
      rgba(6, 47, 43, 0.38),
      rgba(79, 8, 8, 0.22)
    ),
    rgba(8, 6, 14, 0.55);

  box-shadow: 0 10px 26px rgba(0,0,0,0.38);
  overflow: visible;
  position: relative;

   transition:
    transform 0.25s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.25s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

/* Bigger hover zoom */
.product-card:hover .product-img{
  transform: scale(1.45);
  box-shadow: 0 18px 44px rgba(0,0,0,0.62);
}
.product-card:hover{ z-index: 50; }

/* Shopify button spacing + full width */
.buy-wrap{ margin-top: 12px; }
.buy-wrap .shopify-buy__btn{ width: 100% !important; }

.product-media{ padding: 10px; }

.product-img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.20);

  transition: transform 0.18s ease, box-shadow 0.18s ease;
  transform-origin: center;
}

/* Hover enlarge image */
.product-card:hover .product-img{
  transform: scale(1.20);
  box-shadow: 0 18px 44px rgba(0,0,0,0.62);
}

.product-body{ padding: 10px 12px 12px; }

.product-title{
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #fff;
}

.product-meta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.product-price{
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
}

.product-tag{
  font-size: 0.78rem;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(6, 47, 43, 0.18);
}

/* Featured */
.featured-card{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.22);

  background:
    linear-gradient(
      140deg,
      rgba(79, 8, 8, 0.30),
      rgba(6, 47, 43, 0.30)
    ),
    rgba(8, 6, 14, 0.55);

  overflow: hidden;
}

.featured-media{ padding: 12px; }

.featured-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.20);
}

.featured-body{
  padding: 14px 14px 16px 2px;
}

.featured-title{
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #fff;
}

.featured-desc{
  margin: 0 0 12px;
  color: rgba(255,255,255,0.80);
  line-height: 1.55;
  max-width: 62ch;
}

.featured-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.featured-pill{
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(79, 8, 8, 0.30);
  color: #fff;
  cursor: pointer;
}

.featured-pill:hover{
  border-color: rgba(255,255,255,0.60);
}

/* Responsive */
@media (max-width: 980px){
  .store-layout{ grid-template-columns: 1fr; }
  .store-filters{ position: relative; top: auto; }
  .product-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-card{ grid-template-columns: 1fr; }
  .featured-body{ padding: 0 14px 16px; }
}

@media (max-width: 560px){
  .product-grid{ grid-template-columns: 1fr; }
}

/* =========================
   PRODUCT VIEWER MODAL
   ========================= */

.viewer{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.viewer[aria-hidden="false"]{
  display: block;
}

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

.viewer-panel{
  position: relative;
  width: min(980px, calc(100% - 24px));
  margin: 5vh auto 0;

  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.22);

  background:
    linear-gradient(140deg, rgba(6,47,43,0.35), rgba(79,8,8,0.25)),
    rgba(8,6,14,0.82);

  box-shadow: 0 30px 100px rgba(0,0,0,0.75);
  padding: 16px;
}

.viewer-close{
  position: absolute;
  top: 12px;
  right: 12px;

  width: 42px;
  height: 42px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.28);
  color: #fff;
  cursor: pointer;
}

.viewer-close:hover{
  border-color: rgba(255,255,255,0.60);
}

.viewer-grid{
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
  align-items: start;
}

/* slideshow block */
.viewer-media{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.20);
}

.viewer-img{
  width: 100%;
  height: min(62vh, 560px);
  object-fit: contain;
  display: block;
  background: rgba(0,0,0,0.20);
}

.viewer-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  background: rgba(6,47,43,0.80);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.viewer-arrow.prev{ left: 12px; }
.viewer-arrow.next{ right: 12px; }

.viewer-arrow:hover{ background: rgba(6,47,43,0.95); }

.viewer-dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  z-index: 6;
  display: flex;
  gap: 8px;
}

.viewer-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.viewer-dot.is-active{
  background: rgba(255,255,255,0.92);
}

/* info panel */
.viewer-info{
  padding: 8px 6px 6px;
}

.viewer-title{
  margin: 4px 0 10px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.2;
  text-shadow: var(--text-outline);
}

.viewer-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.viewer-price{
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  font-size: 1.05rem;
}

.viewer-tag{
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6,47,43,0.18);
}

.viewer-desc{
  margin: 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.6;
  max-width: 60ch;
}

/* responsive */
@media (max-width: 860px){
  .viewer-grid{ grid-template-columns: 1fr; }
  .viewer-img{ height: min(55vh, 480px); }
}

/* =========================
   FEATURED HOVER POP-OUT
   ========================= */

/* allow pop-out (your featured-card currently clips because overflow:hidden) */
.featured-card{
  overflow: visible;
  position: relative;
  transition:
    transform 0.28s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.28s cubic-bezier(.2,.8,.2,1);
}

.featured-card:hover{
  transform: scale(1.06) translateY(-8px);
  z-index: 120;
  box-shadow:
    0 40px 90px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.35);
}

/* featured image pop */
.featured-img{
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  transform-origin: center;
  cursor: pointer;
}

.featured-card:hover .featured-img{
  transform: scale(1.25);
  box-shadow: 0 22px 60px rgba(0,0,0,0.7);
}

/* =========================
   FORCE SQUARE PRODUCT IMAGES
   (Mobile + Desktop Safe)
========================= */

/* Your custom product cards */
.product-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

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

/* Featured item image */
.featured-media {
  aspect-ratio: 1 / 1;
}

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

/* Shopify Buy Button images */
.shopify-buy__product-img-wrapper,
.shopify-buy__product-img {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden;
}

.shopify-buy__product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}