
.p-hero{
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;

  /* background */
  background-image: url("../images/products-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0); 
}

.p-hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(80% 70% at 50% 40%, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.22) 60%, rgba(0,0,0,0.40) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.22));
}

.p-hero__grain{
  position:absolute;
  inset:-20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: .10;
  mix-blend-mode: overlay;
  pointer-events:none;
  animation: grainMove 8s steps(6) infinite;
}

@keyframes grainMove{
  0%{ transform: translate(0,0) }
  20%{ transform: translate(-2%, 2%) }
  40%{ transform: translate(-3%, -1%) }
  60%{ transform: translate(2%, 3%) }
  80%{ transform: translate(3%, -2%) }
  100%{ transform: translate(0,0) }
}

/* Center content */
.p-hero__inner{
  position: relative;
  z-index: 2;
  min-height: 100svh;
  min-height: 100vh;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;

  padding: 0 18px;
}

/* Small kicker */
.p-hero__kicker{
  font-family: var(--font-primary);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;

  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .9s ease forwards;
  animation-delay: .05s;
}

/* Pink signature title */
.p-hero__title{
  font-family: var(--font-signature);
  font-size: clamp(3.6rem, 6vw, 5.3rem);
  line-height: 0.95;
  font-weight: 400;
  color: #DEACC3;
  margin: 0 0 18px 0;
  text-shadow: 0 18px 45px rgba(0,0,0,0.35);

  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 1.1s ease forwards;
  animation-delay: .12s;
}

/* Subtitle */
.p-hero__subtitle{
  font-family: var(--font-primary);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  margin: 0 0 26px 0;

  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 1.0s ease forwards;
  animation-delay: .22s;
}

/* Button container */
.p-hero__actions{
  display:flex;
  justify-content:center;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 1.0s ease forwards;
  animation-delay: .32s;
}

/* Button – small, clean, no underline */
.p-hero__btn{
  display: inline-flex !important;
  align-items:center;
  justify-content:center;

  padding: 10px 14px 8px 14px;
  border-radius: 999px;

  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 400;

  color: rgba(0,0,0,0.75);
  background: rgba(245,245,245,0.86);

  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 3px 10px rgba(0,0,0,0.10);

  text-decoration: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.p-hero__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

/* Scroll indicator */
.p-hero__scroll{
  position:absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top: 10px;
  text-decoration:none !important;
  opacity: .9;
}

.p-hero__scrollDot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  animation: scrollDot 1.6s ease infinite;
}

@keyframes scrollDot{
  0%{ transform: translateY(0); opacity: .8; }
  55%{ transform: translateY(18px); opacity: .2; }
  100%{ transform: translateY(0); opacity: .8; }
}

@keyframes fadeUp{
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .p-hero__grain,
  .p-hero__scrollDot,
  .p-hero__kicker,
  .p-hero__title,
  .p-hero__subtitle,
  .p-hero__actions{
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 520px){
  .p-hero__title{ font-size: 3.2rem; }
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.p-products{
  padding: 20px 0 30px;
  background: #fff;
}

.p-products__container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* top bar */
.p-products__top{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.p-products__title{
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #111;
}

.p-products__filters{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;                 
  padding: 8px 12px;        

  margin: 0 auto;            
  border-radius: 999px;

  background: #E9E9E9;
}


.p-filter{
  appearance: none;
  border: 0;
  background: transparent;

  font-family: var(--font-primary);
  font-size: 0.85rem;      
  font-weight: 600;       

  padding: 8px 16px;       
  border-radius: 999px;

  color: rgba(0,0,0,0.6);
  cursor: pointer;

  transition: background .25s ease, color .25s ease;
}


.p-filter.is-active{
  background: #DEACC3;
  color: #111;
  font-weight: 700;         
}

.p-filter:hover{
  color: #111;
}

.p-products__search{
  display: flex;
  align-items: center;
  justify-content: center;

  height: 44px;
  width: 44px;
  padding: 0;

  border-radius: 999px;
  background-color: #E9E9E9;

  background-image: url("../images/search-icon.png");

  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;

  cursor: pointer;
  overflow: hidden;
  transition: width .35s ease, padding .35s ease;
}

/* expanded */
.p-products__search.is-open{
  width: 200px;
  padding: 0 14px;

  background-position: 16px center; 
  justify-content: flex-start;
}





.p-search__icon{
  width: 18px;
  height: 18px;
  display: block;

  object-fit: contain;
  object-position: 55% 70%;

  opacity: 0.7;
  pointer-events: none;
}





.p-products__search:focus-within{
  background: #F0F0F0;
}

/* input hidden until open */
.p-search__input{
  width: 100%;
  margin-left: 34px;        
  border: 0;
  outline: 0;
  background: transparent;

  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  color: #111;

  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* Show input when open */
.p-products__search.is-open .p-search__input{
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 820px){
  .p-products__filters{
    justify-content: center;
    flex-wrap: wrap;
  }

  .p-filter{
    font-size: 0.95rem;
     padding: 10px 18px;
  
  }
}


/* grid */
.p-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}


.p-card{
  background: transparent;  
  padding: 0;
  display: flex;
  flex-direction: column;
  height: auto;
}

.p-card__imgWrap{
  position: relative;
  background: #F3F3F3;
  border-radius: 20px;
  height: 380px;             
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* subtle hover lift ONLY on image */
.p-card:hover .p-card__imgWrap{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* image inside */
.p-card__img{
  position: absolute;
  inset: 0;
  margin: auto;

  max-width: 86%;
  max-height: 86%;
  object-fit: contain;

  transition: opacity .45s ease, transform .45s ease;
}
.p-card__img--main{
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  opacity: 1;
  z-index: 1;
  transition: opacity .45s ease;
}

.p-card__img--hover{
  width: 100%;         
  height: 100%;        
  max-width: none;      
  max-height: none;

  object-fit: cover;    
  object-position: center top; 

  opacity: 0;
  z-index: 2;

  transform: scale(1.08); 
  transition: opacity .45s ease, transform .45s ease;
}


.p-card:hover .p-card__img--main{
  opacity: 0;
}

.p-card:hover .p-card__img--hover{
  opacity: 1;
  transform: scale(1);
}

.p-card__img--hover{
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
}


/* TEXT AREA (NOT a card) */
.p-card__meta{
  margin-top: 12px;
  min-height: 56px;   
}


/* name + heart */
.p-card__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.p-card__name{
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(0,0,0,0.8);
  margin: 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* colors */
.p-card__colors{
  font-family: var(--font-primary);
  font-size: 0.72rem;
  color: rgba(0,0,0,0.45);
  margin: 4px 0 0 0;
}

/* price */
.p-card__price{
  font-family: var(--font-primary);
  font-size: 0.82rem;
  color: rgba(0,0,0,0.55);
  margin: 4px 0 0 0;
}

/* heart */
.p-heart{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  opacity: .45;
  transition: .2s ease;
}

.p-heart:hover{
  opacity: .9;
}

.p-heart.is-liked{
  color: #DEACC3;
  opacity: 1;
}

/* empty */
.p-empty{
  text-align:center;
  margin-top: 20px;
  font-family: var(--font-primary);
  color: rgba(0,0,0,0.55);
}

/* responsive */
@media (max-width: 1100px){
  .p-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px){
  .p-products__top{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .p-products__filters{ justify-self: start; }
  .p-products__search{ width: 100%; }
  .p-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .p-grid{ grid-template-columns: 1fr; }
}




.p-intro{
  padding: 50px 0 22px;
  background: #fff;
}

.p-intro__container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.p-intro__eyebrow{
  font-family: var(--font-primary);
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;

  font-weight: 600;               
  color: rgba(0,0,0,1);         

  margin: 0 0 12px 0;
}


.p-intro__line{
  display: block;
  width: 42px;
  height: 2px;
  margin: 0 auto 18px;
  background: rgba(222,172,195,0.95); 
  border-radius: 999px;
}
.p-intro__text{
  max-width: 820px;
  margin: 0 auto 36px;

  font-family: var(--font-primary);
  font-size: 1.2rem;          
  line-height: 1.9;

  font-weight: 500;           
  color: rgba(0,0,0,0.78);    

  letter-spacing: 0.01em;
}



/* Features row */
.p-intro__features{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.p-intro__item{
  padding: 18px 12px;
}

.p-intro__icon{
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: rgba(0,0,0,0.45);
}

.p-intro__icon svg{
  width: 100%;
  height: 100%;
  color: #DEACC3;
}

.p-intro__label{
  font-family: var(--font-primary);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  font-weight: 600;               
  color: rgba(0,0,0,0.8);

  margin: 0 0 8px 0;
}

.p-intro__sub{
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.75;

  font-weight: 500;
  color: rgba(0,0,0,0.6);
}


@media (max-width: 900px){
  .p-intro__features{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .p-intro__item{
    padding: 14px 10px;
  }
}


.p-duo{
  padding: 20px 0;
  background: #fff;
}

.p-duo__container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.p-duo__tile{
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  text-decoration: none !important;
  min-height: 320px;
  background: #eee;
}

.p-duo__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .6s ease;
}

/* subtle dark film like the screenshot */
.p-duo__tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.22);
}

.p-duo__overlay{
  position:absolute;
  inset:0;
  z-index: 2;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 26px;
  gap: 18px;
}

.p-duo__title{
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.25;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  text-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.p-duo__title em{
  font-style: italic;
  font-weight: 400;
}

/* button in the middle like screenshot */
.p-duo__btn{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 3px;

  font-family: var(--font-primary);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: rgba(0,0,0,0.72);
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.7);

  transition: .25s ease;
}

/* hover */
.p-duo__tile:hover .p-duo__img{
  transform: scale(1.06);
}

.p-duo__tile:hover .p-duo__btn{
  background: rgba(255,255,255,0.95);
  transform: translateY(-1px);
}

/* responsive */
@media (max-width: 900px){
  .p-duo__container{
    grid-template-columns: 1fr;
  }
  .p-duo__tile{
    min-height: 300px;
  }
}



.p-collections{
  padding: 34px 0;
  background: #fff;
    overflow: hidden; 
}

.p-collections__row{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;

  border-radius: 8px;
  overflow: hidden;        
  box-sizing: border-box;  
}


.p-col{
  position: relative;
  height: 260px;
  display: block;
    min-width: 0;     
  overflow: hidden;
  text-decoration: none !important;
}

/* image */
.p-col__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s ease;
  display: block;
}

/* dark overlay like screenshot */
.p-col::after{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  transition: background .35s ease;
}

/* content */
.p-col__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 18px;
}

/* small top label */
.p-col__tag{
  position: absolute;
  top: 18px;
  font-family: var(--font-primary);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* big title */
.p-col__title{
  font-family: var(--font-primary);
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  color: rgba(255,255,255,0.95);
  margin: 0;
  text-shadow: 0 10px 25px rgba(0,0,0,0.28);
}

/* bottom "shop now" */
.p-col__cta{
  position: absolute;
  bottom: 18px;
  font-family: var(--font-primary);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  opacity: 0.9;
}

/* hover */
.p-col:hover .p-col__img{
  transform: scale(1.08);
}

.p-col:hover::after{
  background: rgba(0,0,0,0.42);
}

/* responsive */
@media (max-width: 900px){
  .p-collections__row{
    grid-template-columns: 1fr;
  }
  .p-col{
    height: 240px;
  }
}


/* Color dot */
.p-card__colors{
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-colorDot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--dot, #000);
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.p-colorDot[style*="#fff"],
.p-colorDot[style*="#FFF"],
.p-colorDot[style*="#ffffff"],
.p-colorDot[style*="#FFFFFF"]{
  border: 1px solid rgba(0,0,0,.35);
}

@media (max-width: 820px){
  .p-products__top{
    align-items: stretch;
  }

  .p-products__search{
    width: 100% !important;
    max-width: 100%;
    justify-content: flex-start;
    padding: 0 14px;
    background-position: 16px center;
  }

  .p-products__search .p-search__input{
    opacity: 1;
    pointer-events: auto;
  }

  .p-products__search.is-open{
    width: 100% !important;
  }

  .p-search__input{
    margin-left: 34px;
    min-width: 0;
  }
}

.p-price--sale{
  color: #E089B1;
  font-weight: 700;
  margin-right: 8px;
}

.p-price--old{
  color: #9aa0a6;
  text-decoration: line-through;
  font-size: 0.95em;
}

.p-price--regular{
  color: inherit;
  font-weight: 600;
}


.p-card__price{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Sale price (new price) */
.p-price--sale{
  color: #E089B1; 
  font-weight: 700;
}

/* Old price (crossed out) */
.p-price--old{
  color: #9aa0a6;
  text-decoration: line-through;
  font-size: 0.95em;
}

/* Normal price (no sale) */
.p-price--regular{
  font-weight: 600;
  color: #1C2636;
}
