
/* =========================================================
   MRT / PRODUCT FILTER V4 / DARK ONLY
========================================================= */

.product-group-heading{
  display:none !important;
}


/* =========================================================
   SUBTAB WRAP
========================================================= */

.product-subtabs-wrap{
  position:relative;

  width:100%;

  margin:
    0
    0
    26px;
}


.product-subtabs{
  position:relative;

  width:100%;

  margin:0;

  padding:6px;

  display:flex;

  align-items:center;

  gap:6px;

  overflow-x:auto;

  border:
    1px solid
    rgba(215,169,70,.11);

  border-radius:15px;

  background:
    rgba(255,255,255,.018);

  scrollbar-width:none;

  -webkit-overflow-scrolling:touch;
}


.product-subtabs::-webkit-scrollbar{
  display:none;
}


/* =========================================================
   SUBTAB
========================================================= */

.product-subtab{
  position:relative;

  flex:
    0
    0
    auto;

  min-height:49px;

  padding:
    0
    18px;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  gap:8px;

  border:0;

  border-radius:10px;

  background:transparent;

  color:#b3a28e;

  font-family:
    "Manrope",
    sans-serif;

  font-size:13px;

  font-weight:750;

  line-height:1;

  white-space:nowrap;

  cursor:pointer;

  transition:
    color .22s ease,
    background .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}


.product-subtab:hover{
  color:#f0dfc9;

  background:
    rgba(215,169,70,.045);
}


.product-subtab.is-active{
  color:#171008;

  font-weight:800;

  background:
    linear-gradient(
      135deg,
      #cc9b3a,
      #f0d282
    );

  box-shadow:
    0 9px 24px
    rgba(215,169,70,.15);
}


.product-subtab__count{
  min-width:23px;
  height:23px;

  padding:
    0
    6px;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  border-radius:12px;

  color:#8f7f6b;

  background:
    rgba(255,255,255,.055);

  font-size:8.4px;

  font-weight:800;
}


.product-subtab.is-active .product-subtab__count{
  color:#533710;

  background:
    rgba(255,255,255,.31);
}


/* =========================================================
   MOBILE SUBTAB ARROWS
========================================================= */

.product-subtabs-arrow{
  position:absolute;

  top:50%;

  z-index:8;

  width:34px;
  height:34px;

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

  border:
    1px solid
    rgba(215,169,70,.16);

  border-radius:999px;

  background:
    linear-gradient(
      180deg,
      rgba(32,18,12,.96),
      rgba(11,8,5,.96)
    );

  color:#f0cf7b;

  box-shadow:
    0 10px 24px
    rgba(0,0,0,.28);

  pointer-events:none;

  opacity:0;

  transform:
    translateY(-50%)
    scale(.92);

  transition:
    opacity .22s ease,
    transform .22s ease;
}


.product-subtabs-arrow i{
  font-size:16px;
  line-height:1;
}


.product-subtabs-arrow.is-left{
  left:8px;
}


.product-subtabs-arrow.is-right{
  right:8px;
}


/* sadece mobilde görünür */
@media(min-width:701px){
  .product-subtabs-arrow{
    display:none !important;
  }
}


.product-subtabs-wrap.is-scrollable:not(.is-at-start) .product-subtabs-arrow.is-left{
  opacity:1;
  transform:
    translateY(-50%)
    scale(1);
}


.product-subtabs-wrap.is-scrollable:not(.is-at-end) .product-subtabs-arrow.is-right{
  opacity:1;
  transform:
    translateY(-50%)
    scale(1);
}


/* =========================================================
   MOBILE HINT
========================================================= */

.product-subtabs-hint{
  position:absolute;

  right:10px;
  bottom:-14px;

  z-index:7;

  padding:
    6px
    10px;

  display:inline-flex;
  align-items:center;
  gap:6px;

  border:
    1px solid
    rgba(215,169,70,.16);

  border-radius:999px;

  background:
    linear-gradient(
      180deg,
      rgba(31,19,12,.96),
      rgba(11,8,5,.96)
    );

  color:#e6d0a6;

  font-size:10px;
  font-weight:800;
  line-height:1;

  box-shadow:
    0 8px 24px
    rgba(0,0,0,.26);

  opacity:0;
  visibility:hidden;

  transform:
    translateY(6px);

  transition:
    opacity .28s ease,
    transform .28s ease,
    visibility .28s ease;
}


.product-subtabs-hint i{
  font-size:13px;
  line-height:1;
}


.product-subtabs-wrap.is-hinting .product-subtabs-hint{
  opacity:1;
  visibility:visible;
  transform:
    translateY(0);
}


@media(min-width:701px){
  .product-subtabs-hint{
    display:none !important;
  }
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid{
  align-items:stretch;
}


.product-card{
  height:100%;

  display:flex !important;
  flex-direction:column !important;

  overflow:hidden !important;
}


/* =========================================================
   VISUAL
========================================================= */

.product-card__visual{
  position:relative;

  width:100%;

  aspect-ratio:
    4 / 3;

  flex:
    0
    0
    auto;

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

  overflow:hidden !important;

  border-bottom:
    1px solid
    rgba(215,169,70,.075);

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(215,169,70,.055),
      transparent 65%
    ),
    #120c08;
}


.product-card__halo{
  display:none !important;
}


.product-card__visual img{
  position:absolute !important;
  inset:0 !important;
  z-index:2 !important;

  width:100% !important;
  height:100% !important;

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

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

  filter:none !important;

  transform:scale(1.001);

  transition:
    transform .45s
    cubic-bezier(.22,.7,.2,1) !important;
}


.product-card:hover .product-card__visual img{
  transform:scale(1.045) !important;
}


.product-card__visual::after{
  content:"";

  position:absolute;
  inset:0;

  z-index:3;
  pointer-events:none;

  background:
    linear-gradient(
      180deg,
      rgba(8,6,4,.10) 0%,
      transparent 32%,
      transparent 72%,
      rgba(8,6,4,.13) 100%
    );
}


.product-placeholder{
  position:relative !important;
  inset:auto !important;
  z-index:2 !important;

  width:58% !important;
  max-width:155px !important;
  height:auto !important;

  aspect-ratio:1;

  flex:0 0 auto;

  transform:none;
}


/* =========================================================
   TOP META
========================================================= */

.product-card__top{
  z-index:10 !important;
}


.product-card__index,
.product-card__category{
  padding:
    5px
    7px;

  border:
    1px solid
    rgba(255,255,255,.09);

  border-radius:7px;

  background:
    rgba(12,8,5,.63);

  color:#ddd0bc;

  backdrop-filter:
    blur(7px);
}


.product-card__index{
  color:var(--gold-light);
}


/* =========================================================
   CONTENT RHYTHM
========================================================= */

.product-card__content{
  flex:1 1 auto;

  padding:
    15px
    18px
    18px !important;

  display:grid !important;

  grid-template-rows:
    minmax(54px,auto)
    minmax(92px,1fr)
    auto;

  align-items:start;
}


.product-card h3{
  margin:0 !important;
  padding:0 !important;

  display:-webkit-box !important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;

  overflow:hidden;

  min-height:2.2em !important;

  color:var(--text);

  font-size:21px !important;
  line-height:1.08 !important;
  letter-spacing:-.018em;
  font-weight:600;
}


.product-card p{
  margin:
    10px
    0
    0 !important;

  padding:0 !important;

  min-height:5.4em !important;

  color:#a19381;

  font-size:11.6px !important;
  line-height:1.65 !important;

  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}


.product-card__actions{
  width:100%;

  margin-top:18px !important;

  display:grid !important;

  grid-template-columns:
    minmax(0,.82fr)
    minmax(0,1.18fr) !important;

  gap:10px !important;

  align-self:end;
}


/* =========================================================
   BUTTONS
========================================================= */

.product-detail-btn,
.product-wa-btn{
  width:100% !important;

  min-width:0 !important;

  min-height:45px !important;

  padding:
    0
    11px !important;

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

  gap:7px !important;

  border-radius:10px !important;

  white-space:nowrap !important;

  font-family:
    "Manrope",
    sans-serif !important;

  font-size:10.8px !important;
  font-weight:800 !important;
  line-height:1 !important;

  text-decoration:none !important;
}


.product-detail-btn i,
.product-wa-btn i{
  width:15px;

  flex:
    0
    0
    15px;

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

  font-size:14px !important;
  line-height:1 !important;
}


.product-detail-btn span,
.product-wa-btn span{
  display:inline-flex;
  align-items:center;
  line-height:1 !important;
}


.product-detail-btn{
  color:#dfd1bd !important;

  border:
    1px solid
    rgba(215,169,70,.18) !important;

  background:
    rgba(255,255,255,.018) !important;
}


.product-detail-btn i{
  color:var(--gold-light) !important;
}


.product-detail-btn:hover{
  border-color:
    rgba(215,169,70,.35) !important;

  background:
    rgba(215,169,70,.055) !important;
}


.product-wa-btn{
  color:#fff !important;

  border:
    1px solid
    rgba(37,211,102,.18) !important;

  background:
    linear-gradient(
      135deg,
      #1fbd5c,
      #159548
    ) !important;

  box-shadow:
    0 9px 22px
    rgba(24,164,77,.16) !important;
}


.product-wa-btn i,
.product-wa-btn span{
  color:#fff !important;
}


.product-wa-btn:hover{
  background:
    linear-gradient(
      135deg,
      #25cb65,
      #169e4d
    ) !important;
}


.product-card[hidden]{
  display:none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1050px){

  .product-subtab{
    min-height:47px;
    padding:0 16px;
    font-size:12px;
  }

  .product-card h3{
    font-size:20px !important;
  }

  .product-card p{
    font-size:11px !important;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:700px){

  .product-subtabs-wrap{
    margin-bottom:20px;
  }

  .product-subtabs{
    width:
      calc(100vw - 28px);

    padding:5px;
    gap:5px;

    border-radius:12px;
  }

  .product-subtab{
    min-height:44px;

    padding:
      0
      14px;

    gap:6px;

    border-radius:9px;

    font-size:10.6px;
  }

  .product-subtab__count{
    min-width:20px;
    height:20px;
    font-size:7.2px;
  }

  .product-card__content{
    padding:
      12px
      10px
      11px !important;

    grid-template-rows:
      minmax(40px,auto)
      minmax(76px,1fr)
      auto;
  }

  .product-card h3{
    min-height:2.15em !important;

    font-size:17px !important;
    line-height:1.07 !important;
  }

  .product-card p{
    margin-top:8px !important;

    min-height:4.9em !important;

    font-size:8.7px !important;
    line-height:1.58 !important;
  }

  .product-card__actions{
    margin-top:15px !important;

    grid-template-columns:
      minmax(0,.80fr)
      minmax(0,1.20fr) !important;

    gap:7px !important;
  }

  .product-detail-btn,
  .product-wa-btn{
    min-height:38px !important;

    padding:
      0
      6px !important;

    gap:4px !important;

    border-radius:8px !important;

    font-size:7.9px !important;
  }

  .product-detail-btn i,
  .product-wa-btn i{
    width:12px;
    flex-basis:12px;
    font-size:12px !important;
  }

}


@media(max-width:360px){

  .product-subtab{
    font-size:9.8px;
    padding:0 12px;
  }

  .product-card h3{
    font-size:15.8px !important;
  }

  .product-card p{
    font-size:8.1px !important;
  }

  .product-detail-btn,
  .product-wa-btn{
    font-size:7.2px !important;
  }

}



/* =========================================================
   PRODUCT WHATSAPP BUTTON - FINAL FIX
========================================================= */

.product-wa-btn{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  gap:7px !important;

  color:#fff !important;

  font-weight:800 !important;

  text-decoration:none !important;
}


.product-wa-btn i{
  display:inline-flex !important;

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

  width:16px !important;

  flex:0 0 16px !important;

  color:#fff !important;

  font-size:15px !important;

  line-height:1 !important;
}


.product-wa-btn span{
  display:inline-flex !important;

  align-items:center !important;

  color:#fff !important;

  line-height:1 !important;
}



/* =========================================================
   PRODUCT WA BUTTON - FINAL
========================================================= */

.product-wa-btn{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;

  color:#fff !important;
  text-decoration:none !important;
}

.product-wa-btn i{
  width:16px !important;
  height:16px !important;

  flex:0 0 16px !important;

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

  color:#fff !important;

  font-size:15px !important;
  line-height:1 !important;
}

.product-wa-btn span{
  display:inline-flex !important;
  align-items:center !important;

  color:#fff !important;

  line-height:1 !important;
}



/* =========================================================
   MOBILE SUBCATEGORY PEEK ANIMATION
========================================================= */

@media(max-width:700px){

  .product-subtabs-wrap.is-peeking
  .product-subtabs-arrow.is-right{
    animation:
      mrtSubtabArrowPulse
      .72s
      ease-in-out
      infinite;
  }


  .product-subtabs-wrap.is-peeking
  .product-subtabs-arrow.is-left{
    animation:
      mrtSubtabArrowPulse
      .72s
      ease-in-out
      .22s
      infinite;
  }


  .product-subtabs-wrap.is-peeking
  .product-subtabs{
    box-shadow:
      inset -22px 0 25px
      -28px
      rgba(240,207,123,.40);
  }


  @keyframes mrtSubtabArrowPulse{

    0%,
    100%{
      transform:
        translateY(-50%)
        scale(1);

      box-shadow:
        0 10px 24px
        rgba(0,0,0,.28);
    }


    50%{
      transform:
        translateY(-50%)
        scale(1.11);

      box-shadow:
        0 10px 28px
        rgba(215,169,70,.18);
    }

  }

}

