/* ============================
   PRODUCT SINGLE (PDP) – FINAL
   ============================ */

/* CONTAINER */
.single-product .pdp__container{
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3em 0;
}

/* ============================
   TOP GRID
   ============================ */
.single-product .pdp__top{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}

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

/* ============================
   GALLERY CARD
   ============================ */
.single-product .pdp__gallery-card{
  position: relative;
  border-radius: 22px;
  background: var(--e-global-color-88f9df3);
  padding: clamp(16px, 2vw, 26px);
  overflow: hidden;
}

.single-product .pdp__gallery-card .woocommerce-product-gallery,
.single-product .pdp__gallery-card .woocommerce-product-gallery__wrapper{
  margin: 0;
}

.single-product .pdp__gallery-card img{
  width: 100%;
  height: auto;
  display: block;
}


.single-product .pdp__gallery-card 
.woocommerce-product-gallery__image > a:not(.woocommerce-product-gallery__trigger){
  pointer-events: none;
  cursor: default;
}


.single-product .woocommerce-product-gallery__trigger{
  pointer-events: auto;
  cursor: pointer;
}

.single-product .pdp__zoom{
  display: none;
}

/* ============================
   SUMMARY
   ============================ */
.single-product .pdp__summary{
  padding-top: 8px;
}

.single-product .pdp__badge-sale{
  display: inline-block;
  background: var(--e-global-color-accent);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-weight: 600;
}

.single-product .pdp__title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.3vw, 40px);
  line-height: 1.15;
}

/* rating */
.single-product .pdp__rating .woocommerce-product-rating{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.single-product .woocommerce-review-link{
  display: none;
}

/* price */
.single-product .pdp__price .price{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.single-product .pdp__price ins{
  text-decoration: none;
}

.single-product .pdp__price ins .amount{
  font-size: 22px;
  font-weight: 700;
}

.single-product .pdp__price del{
  opacity: .55;
}

/* divider */
.single-product .pdp__divider{
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 18px 0;
}

/* short desc */
.single-product .pdp__short{
  font-size: 15px;
  line-height: 1.7;
  opacity: .8;
}

/* ============================
   CART
   ============================ */
.single-product .pdp__cart{
  margin-top: 18px;
}

.single-product .pdp__cart form.cart{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}

.single-product .pdp__cart .quantity{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  padding: 8px 10px;
  background: #fff;
}

.single-product .pdp__cart .quantity input.qty{
  width: 56px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
}

.single-product .qty-btn{
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.single-product .single_add_to_cart_button{
  border-radius: 999px;
  padding: 14px 22px;
  border: 0;
  background: var(--e-global-color-primary);
  color: #fff;
  font-weight: 700;
}

.single-product .single_add_to_cart_button:hover{
  filter: brightness(.97);
}




@media (max-width: 520px){
  .single-product .pdp__cart form.cart{
    /* flex-direction: column; */
    align-items: stretch;
  }
  .single-product .single_add_to_cart_button{
    width: 100%;
  }
}

/* ============================
   META
   ============================ */
.single-product .pdp__meta{
  font-size: 14px;
  opacity: .75;
}

.single-product .pdp__meta a{
  text-decoration: none;
}

/* ============================
   DESCRIPTION PANEL
   ============================ */
.single-product .pdp__panel{
  margin-top: 28px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #fff;
}

.single-product .pdp__panel-inner{
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px);
}

/* HARD SAFETY */
.single-product .pdp__panel-inner,
.single-product .pdp__panel-inner *{
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* typography */
.single-product .pdp__panel-inner p{
  line-height: 1.8;
  opacity: .85;
  margin-bottom: 1.2em;
}

.single-product .pdp__panel-inner ul{
  padding-left: 1.2em;
}

.single-product .pdp__panel-inner li{
  margin-bottom: .6em;
}

.single-product .pdp__panel-inner ul li::marker{
  color: var(--e-global-color-primary);
}

/* ============================
   LINK STYLES – FIX ELEMENTOR DEFAULT
   ============================ */
.single-product .pdp__panel-inner a{
  color: inherit;
  text-decoration: none;
  position: relative;
  font-weight: 500;
}

.single-product .pdp__panel-inner a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: .35;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease, opacity .18s ease;
}

.single-product .pdp__panel-inner a:hover::after{
  transform: scaleX(1);
  opacity: .7;
}

/* ============================
   REMOVE REVIEWS COMPLETELY
   ============================ */
.single-product #reviews,
.single-product .woocommerce-Reviews,
.single-product #pdp-reviews,
.single-product .woocommerce-review-link{
  display: none !important;
}

/* ============================
   RELATED
   ============================ */
.single-product .pdp__related{
  margin-top: clamp(40px, 6vw, 70px);
}

.single-product .pdp__related h2{
  font-size: 26px;
  margin-bottom: 22px;
}

.posted_in a {
  color: #000000;
  font-weight: 500;
  transition: 0.2s;
}
.posted_in a:hover {
  color: var(--e-global-color-accent);
  
}
.tagged_as a {
  color: #000000;
  font-weight: 500;
  transition: 0.2s;
}
.tagged_as a:hover {
  color: var(--e-global-color-accent);
  
}
a.pdp__details-link.is-active{
  display: none;
}

.pdp__details-nav-inner{
    padding-top: 1.5em;
}
a.pdp__details-link{
    color: #000000;
    font-size: 1.5rem;
}

.elementor-kit-6
input:not([type="button"]):not([type="submit"]),
.elementor-kit-6 textarea {
  color: var(--e-global-color-primary) !important;
  padding: 0;
}


/* =========================
   PDP GALLERY
========================= */

.pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pdp-gallery__main img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

.pdp-gallery__thumbs {
  display: flex;
  gap: .75rem;
}

.pdp-gallery__thumb {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: .6;
}

.pdp-gallery__thumb.is-active {
  opacity: 1;
}

.pdp-gallery__thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: .5rem;
}

/* ============================
   PDP – CUSTOM GALLERY (THUMBS)
============================ */

/* wrapper galerii */
.single-product .pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* MAIN IMAGE */
.single-product .pdp-gallery__main {
    width: 100%;
}

.single-product .pdp-gallery__main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* THUMBNAILS */
.single-product .pdp-gallery__thumbs {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.single-product .pdp-gallery__thumb {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    opacity: .55;
    transition: opacity .2s ease, transform .2s ease;
}

.single-product .pdp-gallery__thumb:hover {
    opacity: .9;
}

.single-product .pdp-gallery__thumb.is-active {
    opacity: 1;
    transform: scale(1.02);
}

.single-product .pdp-gallery__thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* MOBILE */
@media (max-width: 520px) {
    .single-product .pdp-gallery__thumb img {
        width: 60px;
        height: 60px;
    }
}

/* GALLERY MAIN IMAGE */
.pdp-gallery__main {
  position: relative;
  overflow: hidden;
}

.pdp-gallery__image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity .35s ease;
}

.pdp-gallery__image.is-active {
  opacity: 1;
}

.pdp-gallery__zoom {
  display: block;
  position: relative;
}

.pdp-gallery__zoom::after {
  content: "🔍";
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: 6px 8px;
  border-radius: 50%;
  font-size: 14px;
  opacity: 0;
  transition: opacity .2s ease;
}

@media (hover:hover) {
  .pdp-gallery__zoom:hover::after {
    opacity: 1;
  }
}

/* =========================
   LIGHTBOX
========================= */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.pdp-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.pdp-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  animation: pdpFade .25s ease;
}

@keyframes pdpFade {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* close hint */
.pdp-lightbox::after {
  content: "✕";
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}


.pdp__details-nav a {
    color: #000000;
    font-size: 1.2rem;
    padding: 1em ;
}

.single-product .qty-btn{
    color: #000000;
}

nav.pdp__details-nav{
    margin-top: 2em;
}