/* ======================================
   KEEPSAKE PAGE — FINAL CLEAN BUILD
====================================== */
/* ======================================
   KEEPSAKE LANDING — OPTION B (FINAL)
====================================== */

/* PAGE BACKGROUND */
body.keepsake-page {
  background: #0e1a28;
}

.keepsake-landing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}



/* --------------------------------------
   HERO RESET (ISOLATE FROM main.css)
-------------------------------------- */
.keepsake-hero {
  position: relative;
  filter: none !important;
  background-blend-mode: normal !important;
 /* padding-top: 2.5rem;
  padding-bottom: 4rem;*/
}

/* Disable global hero effects */
.keepsake-hero::before,
.keepsake-hero::after {
  animation: none !important;
}

.keepsake-category-hero {
  background-position: center;
}

/* ======================================
   KEEPSAKE HERO (REBUILT)
====================================== */

.keepsake-hero {
  position: relative;
  filter: none !important;
  background-blend-mode: normal !important;
}

.keepsake-hero {
 /* min-height: 320px;*/
/*  max-height: 340px;*/
  display: flex;
  align-items: center;
}

/* KEEPSAKE CATEGORY HERO TEXT COLOR FIX */
/* ======================================
   KEEPSAKE CATEGORY HERO — TEXT LOCK
   ====================================== */

.keepsake-hero .hero-inner h1 {
  color: #d6b25e;
  text-shadow: 0 2px 6px rgba(0,0,0,0.65);
}

.keepsake-hero .hero-inner p {
  color: #f2f4f8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  line-height: 1.65;          /* was too tight */
  max-width: 550px;           /* gives text room to breathe */
  margin-top: 0.8rem;
  letter-spacing: 0.015em;    /* very subtle, helps italics */
}

/* Disable inherited hero effects */
.keepsake-hero::before {
  display: none !important;
}

/* Mood overlay (light control only) */
.keepsake-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(20,20,20,0.35),
    rgba(20,20,20,0.18),
    rgba(20,20,20,0.05)
  );
}

/* Text container */
.keepsake-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin-left: 6%;
  margin-top: 1%;
  text-align: left;
}

/* Headline */
.keepsake-hero h1 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  font-weight: 550;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  text-transform: none; /* NOT all caps */
  color: #3f3a34; /* warm charcoal */
  margin-bottom: 0.6rem;
}

/* Accent rule */
.keepsake-hero h1::after {
  content: "";
  display: block;
  width: 85px;
  height: 2px;
  margin: 0.6rem 0 0;
  background: #c5152a;
  opacity: 0.85;
}

/* Subtitle */
.keepsake-hero p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  max-width: 520px;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.2rem);
/* color: rgba(63, 58, 52, 1.0);*/
  color: #3f3a34; /* warm charcoal */
  text-shadow: 0 1px 2px rgba(0,0,0,0.85);
  margin-top: 0.9rem;
  letter-spacing: 0.04em;
}

/* KEEPSAKE CATEGORY HERO IMAGE CONTROL */
.keepsake-category-hero {
  background-position: center center;
}


/* --------------------------------------
   INTRO SECTION
-------------------------------------- */
.category-intro {
  padding: 3rem 1.5rem;
  text-align: center;
}

.category-intro p {
  max-width: 720px;
  margin: 0 auto;
}


/* SOFT RED CTA BUTTON */
/* SOFT GHOST CTA (KEEPSAKE STYLE) */
.feature-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.85);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  background: transparent;
 /* text-transform: uppercase;*/
  transition: all 0.25s ease;
}



.keepsake-card .card-cue {
  display: inline-block;
    letter-spacing: 0.06em;
 /* text-transform: uppercase;*/
  color: rgba(255,255,255,0.55);
   margin-top: 0.6rem;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease; 
}

/* Hover behavior */
.keepsake-card:hover .card-cue {
  color: #c5152a;                 /* subtle red on hover */
  text-shadow: 0 0 6px rgba(197,21,42,0.4);
  opacity: 1;
  transform: translateX(2px);
}


/* FEATURE CONTENT */
.feature-content {
  position: absolute;
  bottom: 14%;
  left: 7%;
  max-width: 450px;
  color: #f5f2ea;
}

.feature-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.09em; /* optional but helps uppercase */
  font-weight: 700;
  color: #E04A4A;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}



/* =====================================
   PRODUCT GRID (STANDARD CATEGORIES)
   ===================================== */

/* =====================================
   PRODUCT GRID – KEEPSAKE CATEGORIES
   ===================================== */

.product-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* =====================================
   PRODUCT LIST – LOW COUNT CATEGORIES
   ===================================== */

.product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.4rem;
  text-align: center;

  box-shadow:
    0 10px 24px rgba(0,0,0,0.15);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 36px rgba(0,0,0,0.28);
}

.keepsake-support {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* CARD */
.keepsake-card {
  text-align: center;
  text-decoration: none;
  position: relative;
  
  display: block;
  background: #0f223d; /* your navy */
  border-radius: 18px;
  padding: 1.2rem;
  text-align: center;
  text-decoration: none;
  color: #fff;

  box-shadow:
    0 14px 30px rgba(0,0,0,0.35);
	
	 transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.keepsake-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 46px rgba(0,0,0,0.45);
}

.keepsake-card:hover img {
  filter: brightness(1.03) contrast(1.03);
}


/* IMAGE */
.category-card img,
.keepsake-card img,
.shop-card img {
  width: 100%;
  height: 160px;     /* adjust to taste: 180–220px works great */
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 0 1rem 0;
  aspect-ratio: 4 / 3;
  object-position: center;
}

.category-card,
.keepsake-card,
.shop-card {
  border-radius: 18px;    /* the card corners */
}


/* TITLE */
.keepsake-card h3 {
  color: #ffffff;
  font-size: .95rem;
  margin-top: 0.75rem;
}



/* --------------------------------------
   STORY BELOW GRID
-------------------------------------- */
.keepsake-story {
  padding: 4rem 1.5rem;
  text-align: center;
}

.keepsake-story p {
  max-width: 720px;
  margin: 0 auto 1rem;
}


/* --------------------------------------
   CTA SECTION
-------------------------------------- */
.keepsake-cta {
  padding: 3rem 1.5rem;
  background: #18273a;
  text-align: center;
}

.keepsake-cta p {
  color: #dcccb0;
}

/* =====================================
   CATEGORY CRAFTSMANSHIP NOTE
   ===================================== */

.category-craft-note {
  margin-top: 3.5rem;
  padding: 2.4rem 2.6rem;

  background: linear-gradient(
    180deg,
    #f6f7f9 0%,
    #eef1f4 100%
  );

  border-radius: 18px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;

  box-shadow:
    0 14px 34px rgba(0,0,0,0.12);
}

.category-craft-note h3 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.category-craft-note p {
  max-width: 820px;
  line-height: 1.6;
  margin: 0;
}



/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 1000px) {
  .keepsake-support {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* --------------------------------------
   MOBILE FALLBACK
-------------------------------------- */

@media (max-width: 768px) and (orientation: portrait) {

  .keepsake-hero {
    padding: 1.8rem 0 2.2rem;
  }

  .keepsake-hero .hero-inner {
    max-width: 92%;
    margin: 0 auto;
    text-align: left;
  }
}
  
  @media (max-width: 768px) and (orientation: portrait) {

  .keepsake-hero h1 {
    margin-bottom: 0.25rem; /* reduce default spacing */
  }

  .keepsake-hero h1::after {
    margin-top: 0.4rem;     /* tighten gap to rule */
    margin-bottom: 0.35rem;/* CONTROL space before subtext */
  }

  .keepsake-hero p {
    margin-top: 0;         /* prevent stacking */
  }
}



 @media (max-width: 900px) and (orientation: landscape) {

  .keepsake-hero .hero-inner {
    padding: 1.0rem 0 1.6rem;
    max-width: 640px;
    margin-left: 6%;
    margin-right: 0;
    text-align: left;
  }
}


 @media (max-width: 900px) and (orientation: landscape) {

  .keepsake-hero h1 {
    margin-bottom: 0.15rem; /* reduce default spacing */
  }

  .keepsake-hero h1::after {
    margin-top: 0.2rem;     /* tighten gap to rule */
    margin-bottom: 0.15rem;/* CONTROL space before subtext */
  }

  .keepsake-hero p {
    margin-top: 0;         /* prevent stacking */
  }
}


@media (max-width: 768px) {
  .category-card img,
  .keepsake-card img,
  .shop-card img {
    height: 180px;
  }
}

@media (max-width: 1024px) {
  .keepsake-support {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .keepsake-support {
    grid-template-columns: 1fr;
  }
}
