:root{
  --ziper-green:#155F4E;
  --ziper-green-dark:#0f4b3e;
  --ziper-green-soft:#eef7f4;
  --ziper-text:#17211f;
  --ziper-muted:#6f7c78;
  --ziper-line:#dbe8e3;
  --ziper-white:#fff;
  --ziper-radius:24px;
  --ziper-shadow:0 18px 55px rgba(24,52,45,.08);
}

body.single-product .site-main,
body.single-product main,
body.single-product .content-area,
body.single-product .entry-content{
  overflow:visible;
}

body.single-product div.product{
  max-width:1180px;
  margin:34px auto 64px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.04fr) minmax(380px,.96fr);
  gap:56px;
  align-items:start;
}

body.single-product div.product .woocommerce-product-gallery{
  width:100%!important;
  float:none!important;
  margin:0!important;
  padding:22px;
  border:1px solid var(--ziper-line);
  border-radius:28px;
  background:#fff;
  box-shadow:var(--ziper-shadow);
}

body.single-product .woocommerce-product-gallery__wrapper{
  border-radius:20px;
  overflow:hidden;
  background:#f7faf9;
}

body.single-product div.product div.summary{
  width:100%!important;
  float:none!important;
  margin:0!important;
  padding:12px 0 0;
}

.ziper-product-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  color:var(--ziper-green);
  background:var(--ziper-green-soft);
  border:1px solid #d5e9e2;
  border-radius:999px;
  padding:8px 12px;
  margin-bottom:14px;
}

body.single-product .product_title{
  font-size:clamp(32px,4vw,52px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  color:var(--ziper-text)!important;
  margin:0 0 16px!important;
  font-weight:800!important;
}

body.single-product .summary .price{
  color:var(--ziper-green)!important;
  font-size:30px!important;
  font-weight:800!important;
  margin:14px 0 20px!important;
}

body.single-product .woocommerce-product-details__short-description{
  color:#4f5f5a;
  font-size:16px;
  line-height:1.65;
  margin-bottom:24px;
}

body.single-product form.cart{
  display:flex!important;
  flex-wrap:wrap;
  gap:12px;
  padding:18px;
  margin:22px 0 14px!important;
  border:1px solid var(--ziper-line);
  background:#fbfdfc;
  border-radius:20px;
}

body.single-product form.cart .quantity{
  margin:0!important;
}

body.single-product form.cart .qty{
  min-height:52px;
  width:78px!important;
  border:1px solid var(--ziper-line)!important;
  border-radius:16px!important;
  background:#fff!important;
  font-weight:700;
}

body.single-product .single_add_to_cart_button{
  min-height:52px!important;
  flex:1 1 220px;
  border:0!important;
  border-radius:14px!important;
  background:var(--ziper-green)!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
  padding:0 24px!important;
  box-shadow:0 12px 30px rgba(21,95,78,.18);
  transition:.2s ease;
}

body.single-product .single_add_to_cart_button:hover{
  background:var(--ziper-green-dark)!important;
  transform:translateY(-1px);
}

body.single-product .product_meta{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid var(--ziper-line);
  color:var(--ziper-muted);
  font-size:13px;
}

body.single-product .product_meta a{color:var(--ziper-green)!important}

.ziper-product-trust{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:14px 0 18px;
}

.ziper-product-trust__item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  border:1px solid var(--ziper-line);
  border-radius:18px;
  padding:13px;
  background:#fff;
}

.ziper-product-trust__icon{
  width:32px;height:32px;flex:0 0 32px;
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:var(--ziper-green-soft);
  color:var(--ziper-green);
  font-weight:900;
}

.ziper-product-trust strong,
.ziper-product-trust small{display:block}
.ziper-product-trust strong{font-size:12px;color:var(--ziper-text);line-height:1.25}
.ziper-product-trust small{font-size:10px;color:var(--ziper-muted);line-height:1.35;margin-top:3px}

.ziper-service-card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
  margin:18px 0 0;
  padding:20px;
  border-radius:22px;
  background:linear-gradient(135deg,#155F4E,#104c40);
  color:#fff;
  box-shadow:0 18px 42px rgba(21,95,78,.16);
}

.ziper-service-card__icon{
  width:50px;height:50px;
  display:flex;align-items:center;justify-content:center;
  border-radius:15px;
  background:rgba(255,255,255,.13);
  font-size:22px;
}

.ziper-service-card__eyebrow{
  display:block;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  opacity:.8;
  margin-bottom:4px;
}

.ziper-service-card h3{
  color:#fff!important;
  font-size:16px!important;
  line-height:1.2!important;
  margin:0 0 5px!important;
}
.ziper-service-card p{margin:0!important;font-size:12px;line-height:1.45;opacity:.82}

.ziper-service-card__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 16px;
  border-radius:12px;
  background:#fff;
  color:var(--ziper-green)!important;
  font-size:13px;
  font-weight:800;
  text-decoration:none!important;
  white-space:nowrap;
}

body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.single-product .upsells.products{
  grid-column:1 / -1;
  width:100%;
  margin-top:12px;
}

body.single-product .woocommerce-tabs{
  border:1px solid var(--ziper-line);
  border-radius:24px;
  padding:22px;
  background:#fff;
}

body.single-product .woocommerce-tabs ul.tabs{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px;
  padding:0!important;
  margin:0 0 22px!important;
}

body.single-product .woocommerce-tabs ul.tabs::before{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li{
  border:0!important;
  background:#f3f7f5!important;
  border-radius:999px!important;
  margin:0!important;
  padding:0!important;
}
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li a{
  padding:10px 16px!important;
  color:#53625e!important;
  font-size:13px!important;
  font-weight:700!important;
}
body.single-product .woocommerce-tabs ul.tabs li.active{background:var(--ziper-green)!important}
body.single-product .woocommerce-tabs ul.tabs li.active a{color:#fff!important}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2{
  font-size:28px!important;
  letter-spacing:-.03em;
  margin-bottom:20px!important;
}

body.single-product ul.products li.product{
  border:1px solid var(--ziper-line);
  border-radius:20px;
  padding:12px!important;
  background:#fff;
  overflow:hidden;
  transition:.2s ease;
}
body.single-product ul.products li.product:hover{transform:translateY(-2px);box-shadow:var(--ziper-shadow)}
body.single-product ul.products li.product img{border-radius:14px!important}
body.single-product ul.products li.product .button{
  border-radius:12px!important;
  background:var(--ziper-green)!important;
  color:#fff!important;
}

/* Dokan/vendor blocks */
body.single-product .dokan-store-info,
body.single-product .seller-rating,
body.single-product .woocommerce-product-rating{
  color:var(--ziper-muted);
}

@media (max-width: 900px){
  body.single-product div.product{
    grid-template-columns:1fr;
    gap:26px;
    margin:18px auto 44px!important;
    padding:0 16px;
  }
  .ziper-product-trust{grid-template-columns:1fr}
  .ziper-service-card{grid-template-columns:auto 1fr}
  .ziper-service-card__button{grid-column:1/-1;width:100%}
}

@media (max-width: 560px){
  body.single-product .product_title{font-size:34px!important}
  body.single-product div.product .woocommerce-product-gallery{padding:12px}
  body.single-product form.cart{padding:14px}
  body.single-product .single_add_to_cart_button{flex-basis:100%}
  .ziper-service-card{padding:16px;gap:12px}
}

/* =========================================================
 * VENDEDOR / LOJA
 * ======================================================= */
.ziper-product-seller{
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:0 0 18px;
  padding:16px 18px 16px 16px;
  border:1px solid var(--ziper-line);
  border-radius:20px;
  background:#fff;
  color:var(--ziper-text)!important;
  text-decoration:none!important;
  box-shadow:0 8px 24px rgba(24,52,45,.06);
  transition:.2s ease;
}
.ziper-product-seller:hover{
  border-color:#bfd9d0;
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(24,52,45,.09);
}
.ziper-product-seller__avatar{
  width:68px;
  height:68px;
  flex:0 0 68px;
  border-radius:16px;
  overflow:hidden;
  background:var(--ziper-green-soft);
}
.ziper-product-seller__avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  margin:0!important;
  border-radius:14px!important;
}
.ziper-product-seller__text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:1px;
}
.ziper-product-seller__eyebrow{
  color:var(--ziper-muted);
  font-size:13px;
  line-height:1.2;
  font-weight:700;
}
.ziper-product-seller__name{
  display:block;
  overflow:hidden;
  color:var(--ziper-text);
  font-size:22px;
  line-height:1.2;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ziper-product-seller__name-row{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.ziper-product-seller__badge{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  padding:7px 11px;
  border-radius:999px;
  background:var(--ziper-green-soft);
  color:var(--ziper-green);
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.02em;
  white-space:nowrap;
}
.ziper-product-seller__arrow{
  color:var(--ziper-green);
  margin-left:auto;
  font-size:21px;
  font-weight:900;
}

/* Informações antigas que ficaram redundantes no novo layout. */
body.single-product .product_meta{
  display:none!important;
}

/* Elementos antigos de garantia/frete/pagamento identificados pelo JS. */
body.single-product .ziper-product-legacy-hidden{
  display:none!important;
}

@media (max-width: 520px){
  .ziper-product-seller__name-row{align-items:flex-start;flex-direction:column;gap:4px;}
  .ziper-product-seller__badge{font-size:8px;}
}


@media (max-width:560px){
  .ziper-product-seller{padding:14px;gap:12px;}
  .ziper-product-seller__avatar{width:58px;height:58px;flex-basis:58px;}
  .ziper-product-seller__name-row{align-items:flex-start;flex-direction:column;gap:6px;}
  .ziper-product-seller__name{font-size:19px;}
  .ziper-product-seller__badge{font-size:10px;}
}


/* =========================================================
 * BREADCRUMB ZÍPER
 * ======================================================= */
body.single-product .woocommerce-breadcrumb,
body.single-product .woocommerce-breadcrumbs,
body.single-product .kadence-breadcrumbs,
body.single-product .entry-breadcrumbs,
body.single-product .breadcrumbs:not(.ziper-product-breadcrumb){
  display:none!important;
}

.ziper-product-breadcrumb{
  max-width:1180px;
  margin:28px auto 10px;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:8px 14px;
  border:1px solid var(--ziper-line);
  border-radius:14px;
  background:#fbfdfc;
  color:var(--ziper-muted);
  font-size:13px;
  line-height:1.35;
  box-sizing:border-box;
}
.ziper-product-breadcrumb a{
  color:var(--ziper-green)!important;
  font-weight:700;
  text-decoration:none!important;
}
.ziper-product-breadcrumb a:hover{
  text-decoration:underline!important;
  text-underline-offset:3px;
}
.ziper-product-breadcrumb__sep{
  color:#9eb0aa;
  font-size:16px;
  line-height:1;
}
.ziper-product-breadcrumb__current{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#53625e;
  font-weight:700;
}

@media (max-width:900px){
  .ziper-product-breadcrumb{
    margin:16px 16px 6px;
    overflow:hidden;
  }
}
