/* =====================================================
   HOME SHOP TRUST + STORY SECTIONS
   Clean, non-invasive, homepage only
===================================================== */


font-face {
    font-family: 'SFR';
    src: url("../font/SFPRODISPLAYREGULAR.OTF") format('opentype');
    font-weight: 200;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'SFR';
    src: url("../font/SFPRODISPLAYMEDIUM.OTF") format('opentype');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'SFR';
    src: url("../font/SFPRODISPLAYBOLD.OTF") format('opentype');
    font-weight: 600;
    font-style: normal;
  }
  
  body {
    font-family: SFR;
    background: #ffffff;
    color: #111;
    line-height: 1.5;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }



.shop-confidence {
    padding: 68px 18px 54px;
    background:
      radial-gradient(circle at top left, rgba(162, 123, 92, 0.10), transparent 28%),
      #fffaf4;
  }
  
  .shop-confidence-inner {
    max-width: 1180px;
    margin: 0 auto;
  }
  
  .shop-confidence-head {
    max-width: 720px;
    margin-bottom: 28px;
  }
  
  .shop-confidence-head span,
  .shop-story-head span,
  .story-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #a27b5c;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  
  .shop-confidence-head h2,
  .shop-story-head h2 {
    margin: 0;
    color: #244c44;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 850;
  }
  
  .shop-confidence-head p {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(36, 76, 68, 0.68);
    font-size: 15px;
    line-height: 1.7;
  }
  
  .shop-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  
  .shop-trust-card {
    min-height: 230px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(36, 76, 68, 0.09);
    /* box-shadow: 0 14px 36px rgba(20, 55, 46, 0.07); */
    box-shadow: none;
  }
  
  .shop-trust-card span {
    display: inline-flex;
    margin-bottom: 24px;
    color: rgba(36, 76, 68, 0.38);
    font-size: 13px;
    font-weight: 900;
  }
  
  .shop-trust-card h3 {
    margin: 0 0 10px;
    color: #244c44;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.03em;
  }
  
  .shop-trust-card p {
    margin: 0;
    color: rgba(36, 76, 68, 0.64);
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* =========================
     Story horizontal section
  ========================= */
  
  .shop-story {
    padding: 58px 0 66px;
    background: #ffffff;
    overflow: hidden;
  }
  
  .shop-story-head {
    max-width: 1180px;
    margin: 0 auto 24px;
    padding: 0 18px;
  }
  
  .shop-story-head h2 {
    max-width: 760px;
  }
  
  .shop-story-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(420px, 58vw);
    gap: 18px;
  
    height: 62vh;
    min-height: 430px;
    max-height: 620px;
  
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(18px, calc((100vw - 1180px) / 2));
  
    padding:
      4px
      max(18px, calc((100vw - 1180px) / 2))
      16px
      max(18px, calc((100vw - 1180px) / 2));
  
    scrollbar-width: thin;
  }
  
  .shop-story-scroll::-webkit-scrollbar {
    height: 8px;
  }
  
  .shop-story-scroll::-webkit-scrollbar-track {
    background: #f2ece2;
    border-radius: 999px;
  }
  
  .shop-story-scroll::-webkit-scrollbar-thumb {
    background: rgba(36, 76, 68, 0.36);
    border-radius: 999px;
  }
  
  .story-card {
    position: relative;
    scroll-snap-align: start;
    border-radius: 32px;
    overflow: hidden;
    background:transparent;
    /* border: 1px solid rgba(36, 76, 68, 0.09); */
    /* box-shadow: 0 18px 48px rgba(20, 55, 46, 0.09); */
    box-shadow: none;
  }
  
  .story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .story-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:transparent;
    pointer-events: none;
  }
  
  .story-card-image div {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
  }
  
  .story-card-image span {
    color: #ffa162;
  }
  
  .story-card-image h3 {
    max-width: 520px;
    margin: 0 0 8px;
    color: #fffdf8;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }
  
  .story-card-image p {
    max-width: 480px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.55;
  }
  
  .story-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 4vw, 46px);
    background:
      radial-gradient(circle at top right, rgba(255, 161, 98, 0.12), transparent 32%),
      #244c44;
  }
  
  .story-card-text span {
    color: #ffa162;
  }
  
  .story-card-text h3 {
    max-width: 560px;
    margin: 0 0 14px;
    color: #fffdf8;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.06em;
  }
  
  .story-card-text p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,0.74);
    font-size: 15px;
    line-height: 1.7;
  }
  
  .story-card-end {
    background:
      radial-gradient(circle at bottom left, rgba(255, 161, 98, 0.14), transparent 32%),
      #172f2a;
  }
  
  .story-card-end a {
    width: fit-content;
    margin-top: 24px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 999px;
    background: #ffa162;
    color: #244c44;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
  }
  
  /* Responsive */
  
  @media (max-width: 980px) {
    .shop-trust-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .shop-story-scroll {
      grid-auto-columns: minmax(360px, 72vw);
    }
  }
  
  @media (max-width: 620px) {
    .shop-confidence {
      padding: 48px 14px 42px;
    }
  
    .shop-confidence-head {
      margin-bottom: 20px;
    }
  
    .shop-confidence-head h2,
    .shop-story-head h2 {
      font-size: 34px;
      line-height: 1;
    }
  
    .shop-confidence-head p {
      font-size: 14px;
      line-height: 1.62;
    }
  
    .shop-trust-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  
    .shop-trust-card {
      min-height: 0;
      padding: 18px;
      border-radius: 20px;
    }
  
    .shop-trust-card span {
      margin-bottom: 14px;
    }
  
    .shop-trust-card h3 {
      font-size: 19px;
    }
  
    .shop-story {
      padding: 46px 0 52px;
    }
  
    .shop-story-head {
      margin-bottom: 18px;
      padding: 0 14px;
    }
  
    .shop-story-scroll {
      grid-auto-columns: 82vw;
      gap: 12px;
  
      height: 58vh;
      min-height: 390px;
      max-height: 520px;
  
      scroll-padding-left: 14px;
      padding: 2px 14px 14px;
    }
  
    .story-card {
      border-radius: 24px;
    }
  
    .story-card-text {
      padding: 24px;
    }
  
    .story-card-text h3 {
      font-size: 32px;
      line-height: 0.98;
    }
  
    .story-card-text p {
      font-size: 14px;
      line-height: 1.62;
    }
  
    .story-card-image div {
      left: 18px;
      right: 18px;
      bottom: 18px;
    }
  
    .story-card-image h3 {
      font-size: 28px;
    }
  
    .story-card-image p {
      font-size: 13px;
    }
  }


  /* =====================================================
   STORYTELLING SECTION — COMPACT FROSTED HORIZONTAL
   Mobile optimized, no image text overlay
===================================================== */

.shop-story {
    position: relative;
    padding: 42px 0 46px;
    background: transparent;
    overflow: hidden;
  }
  
  .shop-story::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(120deg, rgba(255,255,255,0.42), rgba(255,255,255,0.06)),
      radial-gradient(circle at 20% 80%, rgba(255,255,255,0.28), transparent 30%);
    opacity: 0.75;
  }
  
  .shop-story-head {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto 18px;
    padding: 0 18px;
  }
  
  .shop-story-head span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #a27b5c;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  
  .shop-story-head h2 {
    max-width: 620px;
    margin: 0;
    color: #244c44;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 850;
  }
  
  /* horizontal scroller */
  
  .shop-story-scroll {
    position: relative;
    z-index: 2;
  
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(420px, 46vw);
    gap: 20px;
  
    height: 64vh;
    min-height: 330px;
    max-height: 470px;
  
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-left: max(16px, calc((100vw - 1180px) / 2));
  
    padding:
      4px
      max(16px, calc((100vw - 1180px) / 2))
      14px
      max(16px, calc((100vw - 1180px) / 2));
  
    scrollbar-width: thin;
  }
  
  .shop-story-scroll::-webkit-scrollbar {
    height: 6px;
  }
  
  .shop-story-scroll::-webkit-scrollbar-track {
    background: rgba(36, 76, 68, 0.08);
    border-radius: 999px;
  }
  
  .shop-story-scroll::-webkit-scrollbar-thumb {
    background: rgba(36, 76, 68, 0.28);
    border-radius: 999px;
  }
  
  /* cards */
  
  .story-card {
    position: relative;
    scroll-snap-align: start;
    border-radius: 26px;
    overflow: hidden;
  
    background: transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .abc{  
    background: transparent;
    border: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none;
    color: #214b42;
  }
  
  /* image cards — horizontal rectangle, no text overlay */
  
  .story-card-image {
    aspect-ratio: 16 / 9;
    min-height: 100%;
  }
  
  .story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.03) contrast(1.02);
  }
  
  /* frosted galaxy layer over image, subtle only */
  
  .story-card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.24), transparent 24%),
      radial-gradient(circle at 78% 18%, rgba(255, 161, 98, 0.16), transparent 24%),
      radial-gradient(circle at 55% 90%, rgba(36, 76, 68, 0.16), transparent 28%),
      linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
    mix-blend-mode: screen;
  }
  
  .story-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04)),
      linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(0,0,0,0.10));
  }
  
  /* hide old text overlay inside image cards */
  .story-card-image div {
    display: none !important;
  }
  
  /* first/last text cards — compact, not huge */
  
  .story-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(22px, 3vw, 34px);
    color: #fffdf8;
  }
  
  .story-card-text span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    color: #ffa162;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  
  .story-card-text h3 {
    max-width: 520px;
    margin: 0 0 12px;
    color: #fffdf8;
    font-size: clamp(26px, 3.6vw, 42px);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 850;
  }
  
  .story-card-text p {
    max-width: 520px;
    margin: 0;
    color: rgba(255,255,255,0.74);
    font-size: 14px;
    line-height: 1.6;
  }
  
  .story-card-end a {
    width: fit-content;
    margin-top: 18px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fffdf8;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  
  /* tablet */
  
  @media (max-width: 980px) {
    .shop-story {
      padding: 38px 0 42px;
    }
  
    .shop-story-scroll {
      grid-auto-columns: 68vw;
      height: 72vh;
      min-height: 300px;
      max-height: 410px;
    }
  }
  
  /* mobile */
  
  @media (max-width: 620px) {
    .shop-story {
      padding: 32px 0 36px;
    }
  
    .shop-story-head {
      margin-bottom: 14px;
      padding: 0 14px;
    }
  
    .shop-story-head h2 {
      max-width: 360px;
      font-size: 26px;
      line-height: 1.04;
    }
  
    .shop-story-scroll {
      grid-auto-columns: 78vw;
      gap: 10px;
  
      height: 34vh;
      min-height: 230px;
      max-height: 310px;
  
      scroll-padding-left: 14px;
      padding: 2px 14px 12px;
    }
  
    .story-card {
      border-radius: 20px;
    }
  
    .story-card-image {
      aspect-ratio: 16 / 9;
    }
  
    .story-card-text {
      padding: 18px;
    }
  
    .story-card-text h3 {
      font-size: 23px;
      line-height: 1.02;
      margin-bottom: 9px;
    }
  
    .story-card-text p {
      font-size: 12.5px;
      line-height: 1.48;
    }
  
    .story-card-text span {
      font-size: 10px;
      margin-bottom: 8px;
    }
  
    .story-card-end a {
      min-height: 36px;
      margin-top: 14px;
      padding: 0 14px;
      font-size: 12px;
    }
  }
  
  /* small phones */
  
  @media (max-width: 390px) {
    .shop-story-scroll {
      grid-auto-columns: 82vw;
      height: 32vh;
      min-height: 215px;
      max-height: 280px;
    }
  
    .story-card-text h3 {
      font-size: 21px;
    }
  
    .story-card-text p {
      font-size: 12px;
    }
  }


  /* =====================================================
   STORY SECTION OVERLAP FIX
   Flex scroller = no image hiding behind another
===================================================== */

.shop-story-scroll {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
  
    height: 48vh;
    min-height: 300px;
    max-height: 430px;
  
    overflow-x: auto;
    overflow-y: hidden;
  
    scroll-snap-type: x proximity;
    scroll-padding-left: max(16px, calc((100vw - 1180px) / 2));
  
    padding:
      4px
      max(16px, calc((100vw - 1180px) / 2))
      14px
      max(16px, calc((100vw - 1180px) / 2));
  
    scrollbar-width: thin;
  }
  
  .story-card {
    flex: 0 0 min(520px, 46vw);
    height: 100%;
    min-width: 0;
    scroll-snap-align: start;
  }
  
  /* Image cards should behave like rectangles, not square blocks */
  .story-card-image {
    aspect-ratio: auto !important;
    min-height: 0 !important;
  }
  
  .story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Keep image cards clean because text is inside image itself */
  .story-card-image div {
    display: none !important;
  }
  
  /* Text cards can be slightly narrower */
  .story-card-text {
    flex-basis: min(480px, 42vw);
  }
  
  /* MOBILE */
  @media (max-width: 620px) {
    .shop-story {
      padding: 28px 0 34px;
    }
  
    .shop-story-head {
      margin-bottom: 12px;
      padding: 0 14px;
    }
  
    .shop-story-head h2 {
      font-size: 24px;
      line-height: 1.04;
      max-width: 340px;
    }
  
    .shop-story-scroll {
      gap: 10px;
  
      height: 30vh;
      min-height: 210px;
      max-height: 270px;
  
      scroll-padding-left: 14px;
      padding: 2px 14px 12px;
    }
  
    .story-card {
      flex: 0 0 82vw;
      height: 100%;
      border-radius: 20px;
    }
  
    .story-card-text {
      flex-basis: 78vw;
      padding: 16px;
    }
  
    .story-card-text h3 {
      font-size: 20px;
      line-height: 1.02;
      margin-bottom: 8px;
    }
  
    .story-card-text p {
      font-size: 11.5px;
      line-height: 1.45;
    }
  
    .story-card-text span {
      font-size: 9.5px;
      margin-bottom: 7px;
    }
  
    .story-card-end a {
      min-height: 34px;
      margin-top: 12px;
      padding: 0 13px;
      font-size: 11.5px;
    }
  }
  
  /* VERY SMALL PHONES */
  @media (max-width: 390px) {
    .shop-story-scroll {
      height: 29vh;
      min-height: 200px;
      max-height: 250px;
    }
  
    .story-card {
      flex-basis: 84vw;
    }
  
    .story-card-text {
      flex-basis: 80vw;
    }
  }

  .abc{  
    background: transparent;
    border: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none;
    
  }
  
  .abc h3{
    color: #214b42;
    font-family: SFR;
    letter-spacing: normal;
    font-weight:400 ;


  }
.abc p{
    color: #2b2b2b;
    letter-spacing: normal;
}








/* ------------------------------PEOPLES SECETION------------------------------ */



.people-section {

  padding:120px 40px;
  background:#f8f5ee;
  margin-bottom: 50px;

}


.people-content {

  max-width:1400px;
  margin:auto;

  display:grid;
  grid-template-columns:40% 60%;

  gap:60px;

  align-items:center;

}



.people-text h2 {

  font-size:56px;
  line-height:0.95;

  color:#174f45;

  margin:20px 0;

}



.people-text p {

  font-size:20px;

  line-height:1.5;

  color:#555;

}



.section-tag {

  color:#e89955;

  font-size:14px;

  letter-spacing:1px;

}



.people-gallery {

  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:20px;

}



.people-gallery img {

  width:100%;

  height:280px;

  object-fit:cover;

  border-radius:30px;

}



.people-gallery img:first-child {

  height:580px;

  grid-row:span 2;

}



@media(max-width:900px){

.people-content{

grid-template-columns:1fr;

}


.people-text h2{

  font-size:48px;
  line-height:1;
}


.people-gallery{

grid-template-columns:1fr 1fr;

}

}



.people-section {

  padding:70px 32px;
  background:#f8f5ee;

}


.people-content {

  max-width:1200px;
  margin:auto;

  display:grid;
  grid-template-columns:0.9fr 1.1fr;

  gap:50px;

  align-items:center;

}



.people-text {

  max-width:400px;

}



.section-tag {

  color:#e89955;

  font-size:12px;

  letter-spacing:1px;

}



.people-text h2 {

  margin:16px 0;

  font-size:56px;

  line-height:0.98;

  color:#174f45;

}



.people-text p {

  font-size:17px;

  line-height:1.45;

  color:#555;

  margin-top:18px;

}



.people-gallery {

  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:14px;

}



.people-gallery img {

  width:100%;

  height:180px;

  object-fit:cover;

  border-radius:22px;

}



.people-gallery img:first-child {

  height:370px;

  grid-row:span 2;

}



@media(max-width:900px){


.people-section {

  padding:55px 20px;
  margin-bottom: 50px;

}


.people-content {

  display:flex;

  flex-direction:column;

  gap:35px;

}


.people-text h2 {

  font-size:42px;

}



.people-text p {

  font-size:16px;

}



.people-gallery {

  width:100%;

  grid-template-columns:repeat(2,1fr);

  gap:12px;

}



.people-gallery img {

  height:170px;

}


.people-gallery img:first-child {

  height:350px;

}


}


/* =====================================================
   LEARNING SECTION — SINGLE COLLAGE IMAGE
===================================================== */

.learning-archive-section {
  padding: 72px 14px 78px;
  background: #fffaf4;
  overflow: hidden;
}

.learning-archive-head {
  width: min(1180px, 100%);
  margin: 0 auto 24px;
}

.learning-archive-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #a27b5c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.learning-archive-head h2 {
  max-width: 760px;
  margin: 0;
  color: #244c44;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 850;
}

.learning-archive-head p {
  max-width: 580px;
  margin: 14px 0 0;
  color: rgba(36, 76, 68, 0.64);
  font-size: 15px;
  line-height: 1.6;
}

.learning-collage-frame {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 8px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(36, 76, 68, 0.08);
  box-shadow: 0 24px 64px rgba(20, 55, 46, 0.09);
  overflow: hidden;
}

.learning-collage-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 23px;
}

/* MOBILE */

@media (max-width: 640px) {
  .learning-archive-section {
    padding: 96px 10px 50px;
  }

  .learning-archive-head {
    margin-bottom: 18px;
    padding: 0 4px;
  }

  .learning-archive-head h2 {
    max-width: 350px;
    font-size: 34px;
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .learning-archive-head p {
    max-width: 340px;
    font-size: 13.5px;
    line-height: 1.48;
  }

  .learning-collage-frame {
    padding: 5px;
    border-radius: 21px;
  }

  .learning-collage-frame img {
    border-radius: 16px;
  }
}

@media (max-width: 390px) {
  .learning-archive-head h2 {
    font-size: 31px;
  }
}

/* Product page product-specific content */

.pdp-use-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(36, 76, 68, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.pdp-use-list li {
  margin-bottom: 6px;
}

.pdp-care-notes div span {
  display: block;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .pdp-use-list {
    font-size: 13px;
    line-height: 1.45;
  }
}

/* =====================================================
   PDP MOBILE CLEAN FIX — AFTER BAD TALL IMAGE PATCH
   Keeps side thumbnails, reduces huge image + top gap
===================================================== */

@media (max-width: 860px) {
  .pdp-page {
    padding: 18px 0 46px !important;
    background: #fffaf4 !important;
  }

  .pdp {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px !important;
    gap: 22px !important;
    grid-template-columns: 1fr !important;
  }

  .pdp-gallery {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 56px !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .main-image {
    width: 100% !important;
    height: clamp(390px, 58svh, 540px) !important;
    max-height: none !important;
    aspect-ratio: auto !important;

    display: grid !important;
    place-items: center !important;

    background: #fbf6ee !important;
    overflow: hidden !important;
    border-radius: 0 !important;
  }

  .main-image img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: scale(1.03) !important;
    border-radius: 0 !important;
  }

  .thumbs {
    height: clamp(390px, 58svh, 540px) !important;
    max-height: none !important;
    margin-top: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
  }

  .thumbs::-webkit-scrollbar {
    display: none !important;
  }

  .thumbs img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;

    object-fit: cover !important;
    border-radius: 16px !important;
    background: #fbf6ee !important;
  }

  .pdp-info {
    padding: 0 !important;
  }

  .pdp-eyebrow {
    margin: 0 0 10px !important;
    font-size: 11px !important;
  }

  .pdp-info h1 {
    font-size: 38px !important;
    line-height: 0.96 !important;
    margin: 0 0 10px !important;
  }

  .rating {
    margin: 0 0 14px !important;
    font-size: 12px !important;
  }

  .price {
    font-size: 25px !important;
    margin: 0 0 16px !important;
  }
}

@media (max-width: 420px) {
  .pdp-page {
    padding-top: 14px !important;
  }

  .pdp {
    padding: 0 18px !important;
    gap: 20px !important;
  }

  .pdp-gallery {
    grid-template-columns: minmax(0, 1fr) 52px !important;
    gap: 9px !important;
  }

  .main-image {
    height: clamp(360px, 55svh, 490px) !important;
  }

  .thumbs {
    height: clamp(360px, 55svh, 490px) !important;
    gap: 9px !important;
  }

  .thumbs img {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    border-radius: 15px !important;
  }

  .pdp-info h1 {
    font-size: 34px !important;
  }

  .price {
    font-size: 24px !important;
  }
}



/* =========================
   AGE ESSENTIAL - MARKETPLACE TRUST STRIP
   Small 30vh trust-building section
========================= */

.ae-market-section {
  width: 100%;
  min-height: 30vh;
  padding: 26px 16px;
  /* background:
    radial-gradient(circle at 8% 20%, rgba(184, 218, 199, 0.34), transparent 28%),
    radial-gradient(circle at 92% 70%, rgba(244, 225, 199, 0.44), transparent 30%),
    #f8f3ec; */
  overflow: hidden;
}

.ae-market-head {
  max-width: 1080px;
  margin: 0 auto 18px;

  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.ae-market-head span {
  display: inline-flex;
  margin-bottom: 6px;

  color: rgba(36, 76, 68, 0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ae-market-head h2 {
  max-width: 560px;
  margin: 0;

  color: #244c44;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.ae-market-head p {
  max-width: 360px;
  margin: 0;

  color: rgba(36, 76, 68, 0.68);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 650;
}

.ae-market-row {
  max-width: 1080px;
  margin: 0 auto;

  display: flex;
  gap: 12px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;

  padding-bottom: 4px;
}

.ae-market-row::-webkit-scrollbar {
  display: none;
}

.ae-market-card {
  position: relative;

  flex: 0 0 210px;
  /* height: 96px; */

  display: flex;
  align-items: center;
  justify-content: center;

  /* border-radius: 22px; */
  text-decoration: none;

  /* background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(36, 76, 68, 0.09); */

  /* box-shadow: 0 12px 28px rgba(36, 76, 68, 0.08);

  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%); */

  scroll-snap-align: start;
  overflow: hidden;

  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ae-market-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.ae-market-card.is-live::before {
  background: linear-gradient(135deg, rgba(184, 218, 199, 0.34), transparent);
}

.ae-market-card.is-soon {
  opacity: 0.78;
}

.ae-market-card.is-soon::before {
  background: linear-gradient(135deg, rgba(244, 225, 199, 0.34), transparent);
}

.ae-market-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(36, 76, 68, 0.13);
}

.ae-market-card:hover::before {
  opacity: 1;
}

.ae-market-card small {
  position: absolute;
  left: 12px;
  top: 10px;

  padding: 5px 8px;
  border-radius: 999px;

  color: #244c44;
  font-size: 9.5px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  /* background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 76, 68, 0.08); */
}

.ae-market-card.is-live small {
  color: #ffffff;
  background: #244c44;
}

.ae-market-card img {
  position: relative;
  z-index: 2;

  max-width: 118px;
  max-height: 42px;

  width: auto;
  height: auto;

  object-fit: contain;
  filter: none;
}

.ae-market-card.is-soon img {
  filter: grayscale(0.1);
}

@media (max-width: 768px) {
  .ae-market-section {
    min-height: auto;
    padding: 22px 14px;
  }

  .ae-market-head {
    display: block;
    margin-bottom: 15px;
  }

  .ae-market-head h2 {
    max-width: 310px;
    font-size: 20px;
  }

  .ae-market-head p {
    max-width: 320px;
    margin-top: 8px;
    font-size: 12.8px;
  }

  .ae-market-row {
    gap: 10px;
  }

  .ae-market-card {
    flex-basis: 165px;
    height: 84px;
    border-radius: 18px;
  }

  .ae-market-card img {
    max-width: 96px;
    max-height: 34px;
  }

  .ae-market-card small {
    left: 9px;
    top: 8px;
    font-size: 8.8px;
    padding: 4px 7px;
  }
}

/* =========================
   MARKETPLACE LOGO FIX
   JPEG logos same size + cleaner fit
========================= */

.ae-market-card {
  flex: 0 0 210px;
  height: 100px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px 18px 14px;
}

/* Badge should stay small and not cover logo */
.ae-market-card small {
  left: 12px;
  top: 10px;

  padding: 5px 9px;
  font-size: 9px;
  line-height: 1;

  z-index: 4;
}

/* Make every logo behave inside same invisible frame */
.ae-market-card img {
  width: 120px;
  height: 42px;

  max-width: 120px;
  max-height: 42px;

  object-fit: contain;
  object-position: center;

  display: block;

  /*
    This helps JPEG white backgrounds disappear
    on light cards. Best hack for non-transparent logos.
  */
  mix-blend-mode: multiply;

  background: transparent !important;
}

/* Some JPEG logos have too much white space inside image */
.ae-market-card img[alt="Amazon"] {
  width: 115px;
  height: 42px;
}

.ae-market-card img[alt="Flipkart"] {
  width: 118px;
  height: 42px;
}

.ae-market-card img[alt="Nykaa"] {
  width: 118px;
  height: 42px;
}

.ae-market-card img[alt="Myntra"] {
  width: 108px;
  height: 38px;
}

.ae-market-card img[alt="Blinkit"] {
  width: 112px;
  height: 40px;
}

/* Coming soon cards should still look clear, not faded too much */
.ae-market-card.is-soon {
  opacity: 1;
}

.ae-market-card.is-soon img {
  opacity: 0.9;
  filter: grayscale(0.05);
}

/* Mobile */
@media (max-width: 768px) {
  .ae-market-card {
    flex-basis: 165px;
    height: 86px;
    padding: 22px 14px 12px;
  }

  .ae-market-card img {
    width: 96px;
    height: 34px;
    max-width: 96px;
    max-height: 34px;
  }

  .ae-market-card img[alt="Amazon"],
  .ae-market-card img[alt="Flipkart"],
  .ae-market-card img[alt="Nykaa"] {
    width: 94px;
    height: 34px;
  }

  .ae-market-card img[alt="Myntra"] {
    width: 86px;
    height: 31px;
  }

  .ae-market-card img[alt="Blinkit"] {
    width: 90px;
    height: 32px;
  }

  .ae-market-card small {
    left: 9px;
    top: 8px;
    font-size: 8px;
  }
}


/* =========================
   MARKETPLACE LOGO ZOOM FIX
   No image background. JPEG logos zoomed to match.
========================= */

.ae-market-card {
  position: relative !important;
  flex: 0 0 210px !important;
  height: 96px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
/* 
  background: rgba(255, 255, 255, 0.54) !important;
  border: 1px solid rgba(36, 76, 68, 0.09) !important;
  border-radius: 22px !important; */

  overflow: hidden !important;

  backdrop-filter: blur(16px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(145%) !important;
}

/* Badge stays on top, logo gets full room */
.ae-market-card small {
  position: absolute !important;
  left: 10px !important;
  top: 9px !important;
  z-index: 5 !important;

  padding: 4px 8px !important;
  font-size: 8.5px !important;
  line-height: 1 !important;
}

/* Main fix: zoom the JPEG, no background box */
.ae-market-card img {
  position: absolute !important;
  left: 50% !important;
  top: 57% !important;

  width: 150px !important;
  height: 58px !important;
  max-width: none !important;
  max-height: none !important;

  object-fit: contain !important;
  object-position: center !important;

  background: transparent !important;
  mix-blend-mode: multiply !important;

  transform: translate(-50%, -50%) scale(1.32) !important;
  transform-origin: center !important;
}

/* Individual logo visual correction */
.ae-market-card img[alt="Amazon"] {
  width: 145px !important;
  height: 58px !important;
  transform: translate(-50%, -50%) scale(1.45) !important;
}

.ae-market-card img[alt="Flipkart"] {
  width: 150px !important;
  height: 58px !important;
  transform: translate(-50%, -50%) scale(1.36) !important;
}

.ae-market-card img[alt="Nykaa"] {
  width: 150px !important;
  height: 58px !important;
  transform: translate(-50%, -50%) scale(1.42) !important;
}

.ae-market-card img[alt="Myntra"] {
  width: 135px !important;
  height: 54px !important;
  transform: translate(-50%, -50%) scale(1.55) !important;
}

.ae-market-card img[alt="Blinkit"] {
  width: 145px !important;
  height: 58px !important;
  transform: translate(-50%, -50%) scale(1.42) !important;
}

.ae-market-card img[alt="Tata 1mg"] {
  width: 145px !important;
  height: 58px !important;
  transform: translate(-50%, -50%) scale(1.38) !important;
}

.ae-market-card img[alt="Zepto"] {
  width: 145px !important;
  height: 58px !important;
  transform: translate(-50%, -50%) scale(1.42) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .ae-market-card {
    flex: 0 0 160px !important;
    height: 84px !important;
    border-radius: 18px !important;
  }

  .ae-market-card img {
    width: 70px !important;
    height: 44px !important;
    top: 58% !important;
    transform: translate(-50%, -50%) scale(1.32) !important;
  }

  .ae-market-card img[alt="Amazon"] {
    transform: translate(-50%, -50%) scale(1.45) !important;
  }

  .ae-market-card img[alt="Flipkart"] {
    transform: translate(-50%, -50%) scale(1.36) !important;
  }

  .ae-market-card img[alt="Nykaa"] {
    transform: translate(-50%, -50%) scale(1.42) !important;
  }

  .ae-market-card img[alt="Myntra"] {
    transform: translate(-50%, -50%) scale(1.55) !important;
  }

  .ae-market-card img[alt="Blinkit"] {
    transform: translate(-50%, -50%) scale(1.42) !important;
  }

  .ae-market-card small {
    left: 8px !important;
    top: 8px !important;
    font-size: 7.8px !important;
    padding: 4px 7px !important;
  }
}