/**
 * WW ElectricalXShop v3.4.3 — Product Page CRO
 * BASE: WW ElectricalXShop v3.4.1 — Minimum 12px Typography
 *
 * This file does NOT depend on v3.4.2.
 * All typography remains >=12px and WooCommerce controls are preserved.
 */

body.single-product{
  --wwx-pdp-border:#dce3ec;
  --wwx-pdp-soft:#f6f8fb;
  --wwx-pdp-navy:#061833;
  --wwx-pdp-blue:#004ca2;
  --wwx-pdp-red:#ee0b27;
  --wwx-pdp-green:#157b3b;
  --wwx-pdp-radius:12px;
}

.single-product .wwx-pdp-v343 .summary,
.single-product .wwx-pdp-v343 div.images{
  float:none;
  width:auto;
}

.wwx-pdp-v343{
padding-bottom:32px}

.wwx-pdp-top{
  display:grid;
  grid-template-columns:minmax(360px,1.02fr) minmax(390px,.98fr) minmax(310px,.72fr);
  gap:24px;
  align-items:start;
  padding:8px 0 24px;
}

.wwx-pdp-gallery,
.wwx-pdp-info,
.wwx-pdp-buy{
min-width:0}

.wwx-pdp-gallery{
position:relative}

.wwx-pdp-gallery .woocommerce-product-gallery{
  width:100%!important;
  float:none!important;
  margin:0!important;
}

.wwx-pdp-gallery .woocommerce-product-gallery__wrapper{
  border:1px solid var(--wwx-pdp-border);
  border-radius:var(--wwx-pdp-radius);
  background:#fff;
  overflow:hidden;
}

.wwx-pdp-gallery .woocommerce-product-gallery__image{
  display:grid;
  place-items:center;
  min-height:500px;
  background:#fff;
}

.wwx-pdp-gallery .woocommerce-product-gallery__image img{
  width:auto;
  max-width:100%;
  max-height:490px;
  object-fit:contain;
}

.wwx-pdp-gallery .flex-control-thumbs{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin:8px 0 0!important;
  padding:0!important;
}

.wwx-pdp-gallery .flex-control-thumbs li{
  float:none!important;
  width:auto!important;
  border:1px solid var(--wwx-pdp-border);
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}

.wwx-pdp-gallery .flex-control-thumbs img{
  aspect-ratio:1;
  width:100%;
  object-fit:contain;
  padding:4px;
}

.wwx-pdp-gallery .flex-control-thumbs img.flex-active{
  outline:2px solid var(--wwx-pdp-blue);
  outline-offset:-2px;
}

.wwx-pdp-gallery .wwx-product-floating-actions{
  top:12px;
  left:12px;
  right:12px;
}

.wwx-pdp-gallery .wwx-product-floating-actions button{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  font-size:18px!important;
}

.wwx-product-video-button{
  min-height:48px!important;
  font-size:16px!important;
  font-weight:600;
}

.wwx-pdp-brand{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  margin-bottom:8px;
  color:var(--wwx-pdp-blue);
  font-size:16px;
  font-weight:700;
}

.wwx-pdp-info .product_title{
  margin:0 0 12px;
  color:var(--wwx-pdp-navy);
  font-size:32px!important;
  line-height:1.25!important;
}

.wwx-pdp-proofline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 16px;
  padding-bottom:16px;
  border-bottom:1px solid var(--wwx-pdp-border);
}

.wwx-pdp-rating .woocommerce-product-rating{
margin:0!important}

.wwx-pdp-identifiers{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  color:#5d6978;
}

.wwx-pdp-identifiers,
.wwx-pdp-identifiers .wwx-sku,
.wwx-pdp-identifiers .wwx-meta{
  font-size:14px!important;
  line-height:1.4;
}

.wwx-pdp-short-description{
  margin:16px 0 0;
  color:#27364a;
  font-size:16px;
  line-height:1.6;
}

.wwx-pdp-short-description p{
  margin:0 0 12px;
  font-size:16px;
  line-height:1.6;
}

.wwx-pdp-key-features{
margin-top:20px}

.wwx-pdp-key-features h2{
  margin:0 0 12px;
  font-size:24px!important;
  line-height:1.3!important;
}

.wwx-pdp-feature-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.wwx-pdp-feature{
  padding:12px 16px;
  border:1px solid var(--wwx-pdp-border);
  border-radius:8px;
  background:#fff;
}

.wwx-pdp-feature span{
  display:block;
  margin-bottom:4px;
  color:#667386;
  font-size:14px;
  line-height:1.4;
}

.wwx-pdp-feature strong{
  display:block;
  color:var(--wwx-pdp-navy);
  font-size:16px;
  line-height:1.45;
}

.wwx-pdp-assistance{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:16px;
  padding:16px;
  border:1px solid #cfdef1;
  border-radius:10px;
  background:#f4f8ff;
}

.wwx-pdp-assistance>div{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.wwx-pdp-assistance>div>span{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  flex:0 0 32px;
  border-radius:50%;
  background:var(--wwx-pdp-blue);
  color:#fff;
  font-size:16px;
}

.wwx-pdp-assistance p{
  margin:0;
  font-size:14px;
  line-height:1.55;
}

.wwx-pdp-assistance button{
  flex:0 0 auto;
  min-height:48px;
  padding:0 16px;
  border:0;
  border-radius:8px;
  background:var(--wwx-pdp-blue);
  color:#fff;
  font-size:14px;
  font-weight:600;
}

.wwx-pdp-buy-card{
  position:sticky;
  top:16px;
  padding:20px;
  border:1px solid #cfd8e4;
  border-radius:12px;
  background:#fff;
  box-shadow:0 12px 30px rgba(6,24,51,.08);
}

.wwx-pdp-saving{
  display:inline-flex;
  margin-bottom:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff0f2;
  color:#b60019;
  font-size:14px;
  font-weight:800;
}

.wwx-pdp-price .price{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:8px;
  margin:0;
  color:var(--wwx-pdp-navy);
  font-size:32px!important;
  line-height:1.25;
  font-weight:800;
}

.wwx-pdp-price .price del{
  color:#6d7785;
  font-size:16px!important;
  font-weight:500;
}

.wwx-pdp-price .price ins{
text-decoration:none}

.wwx-pdp-price .wwx-vat-note{
  display:block;
  width:100%;
  margin-top:2px;
  color:#667386;
  font-size:14px!important;
  font-weight:500;
}

.wwx-pdp-trade-price{
  margin-top:12px;
  padding:12px;
  border-radius:8px;
  background:#f4f8ff;
}

.wwx-pdp-trade-price span{
  display:block;
  font-size:14px;
  color:#657083;
}

.wwx-pdp-trade-price strong{
  display:block;
  font-size:18px;
}

.wwx-pdp-stock{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:16px;
  padding:12px 0;
  border-top:1px solid var(--wwx-pdp-border);
  border-bottom:1px solid var(--wwx-pdp-border);
}

.wwx-pdp-status-dot{
  width:10px;
  height:10px;
  flex:0 0 10px;
  border-radius:50%;
  background:#b42318;
}

.wwx-pdp-stock.is-in .wwx-pdp-status-dot{
background:var(--wwx-pdp-green)}

.wwx-pdp-stock strong{
  display:block;
  color:var(--wwx-pdp-green);
  font-size:16px;
}

.wwx-pdp-stock.is-out strong{
color:#b42318}

.wwx-pdp-stock span{
  display:block;
  color:#667386;
  font-size:14px;
}

.wwx-pdp-delivery{
  display:grid;
  grid-template-columns:32px 1fr auto;
  gap:10px;
  align-items:start;
  padding:16px 0;
}

.wwx-pdp-delivery-icon{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#eef4fb;
  color:var(--wwx-pdp-blue);
  font-size:16px;
}

.wwx-pdp-delivery strong{
  display:block;
  font-size:16px;
}

.wwx-pdp-delivery p{
  margin:3px 0 0;
  font-size:14px;
  line-height:1.5;
  color:#657083;
}

.wwx-pdp-delivery button{
  min-width:48px;
  min-height:48px;
  padding:0 12px;
  border:1px solid var(--wwx-pdp-blue);
  border-radius:8px;
  background:#fff;
  color:var(--wwx-pdp-blue);
  font-size:14px;
  font-weight:600;
}

.wwx-pdp-cart form.cart{
  display:grid;
  gap:10px;
  margin:0!important;
}

.wwx-pdp-cart form.cart .quantity{
  float:none!important;
  display:flex;
  align-items:center;
  gap:8px;
  margin:0!important;
}

.wwx-pdp-cart form.cart .quantity input.qty{
  min-width:72px;
  min-height:48px;
  font-size:16px!important;
}

.wwx-pdp-cart .single_add_to_cart_button{
  width:100%;
  min-height:52px!important;
  border-radius:8px!important;
  background:var(--wwx-pdp-red)!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:700!important;
}

.wwx-pdp-cart .variations{
  width:100%;
  margin:0 0 8px!important;
}

.wwx-pdp-cart .variations th,
.wwx-pdp-cart .variations td{
  display:block;
  padding:4px 0!important;
}

.wwx-pdp-cart .variations select{
  width:100%;
  min-height:48px;
  font-size:16px!important;
}

.wwx-pdp-buy-now{
  width:100%;
  min-height:52px;
  margin-top:8px;
  border:1px solid var(--wwx-pdp-blue);
  border-radius:8px;
  background:#fff;
  color:var(--wwx-pdp-blue);
  font-size:16px;
  font-weight:600;
}

.wwx-pdp-secondary-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}

.wwx-pdp-secondary-actions button{
  min-height:48px;
  border:1px solid var(--wwx-pdp-border);
  border-radius:8px;
  background:#fff;
  color:var(--wwx-pdp-navy);
  font-size:14px;
  font-weight:600;
}

.wwx-pdp-trust-mini{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--wwx-pdp-border);
}

.wwx-pdp-trust-mini span{
  font-size:14px;
  color:#526174;
}

.wwx-pdp-trade-card{
  margin-top:12px;
  padding:18px;
  border:1px solid #b9cbe0;
  border-radius:12px;
  background:#f6f9fd;
}

.wwx-pdp-trade-card>span,
.wwx-pdp-card-kicker,
.wwx-pdp-section-head>span{
  color:var(--wwx-pdp-blue);
  font-size:14px;
  font-weight:800;
  letter-spacing:.06em;
}

.wwx-pdp-trade-card h2,
.wwx-pdp-help-card h2{
  margin:6px 0 8px;
  font-size:24px!important;
  line-height:1.3!important;
}

.wwx-pdp-trade-card p,
.wwx-pdp-help-card p{
  margin:0 0 12px;
  font-size:14px;
  line-height:1.55;
}

.wwx-pdp-quote-cta,
.wwx-pdp-business-link,
.wwx-pdp-help-card button,
.wwx-pdp-help-card a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border-radius:8px;
  font-size:16px;
  font-weight:600;
}

.wwx-pdp-quote-cta,
.wwx-pdp-help-card button,
.wwx-pdp-help-card a{
  background:var(--wwx-pdp-blue);
  color:#fff!important;
}

.wwx-pdp-business-link{
  margin-top:4px;
  color:var(--wwx-pdp-blue);
}

.wwx-pdp-trust-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:8px 0 24px;
  border:1px solid var(--wwx-pdp-border);
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}

.wwx-pdp-trust-strip>a,
.wwx-pdp-trust-strip>div{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:88px;
  padding:16px;
  border-right:1px solid var(--wwx-pdp-border);
  color:inherit;
}

.wwx-pdp-trust-strip>*:last-child{
border-right:0}

.wwx-pdp-trust-strip>*>span{
font-size:24px}

.wwx-pdp-trust-strip strong{
  display:block;
  font-size:16px;
}

.wwx-pdp-trust-strip small{
  display:block;
  margin-top:2px;
  font-size:14px;
  color:#657083;
}

.wwx-pdp-sponsor{
  margin:24px 0;
  border-radius:12px;
  overflow:hidden;
}

.wwx-pdp-sponsor .wwx-sponsored-label{
  font-size:14px!important;
}

.wwx-pdp-details{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  align-items:start;
  margin-top:24px;
}

.wwx-pdp-panel{
  margin-bottom:8px;
  border:1px solid var(--wwx-pdp-border);
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}

.wwx-pdp-panel summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  padding:0 20px;
  cursor:pointer;
  list-style:none;
  color:var(--wwx-pdp-navy);
  font-size:18px;
  line-height:1.4;
  font-weight:700;
}

.wwx-pdp-panel summary::-webkit-details-marker{
display:none}

.wwx-pdp-summary-icon{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  transition:transform .2s ease;
  font-size:24px;
  font-weight:400;
}

.wwx-pdp-panel[open] .wwx-pdp-summary-icon{
transform:rotate(45deg)}

.wwx-pdp-panel-content{
  padding:0 20px 20px;
  border-top:1px solid var(--wwx-pdp-border);
}

.wwx-pdp-panel-content>*:first-child{
margin-top:16px}

.wwx-pdp-panel-content,
.wwx-pdp-panel-content p,
.wwx-pdp-panel-content li{
  font-size:16px;
  line-height:1.6;
}

.wwx-pdp-panel-content ul,
.wwx-pdp-panel-content ol{
padding-left:24px}

.wwx-pdp-spec-scroll{
overflow-x:auto}

.wwx-pdp-spec-table{
  width:100%;
  border-collapse:collapse;
}

.wwx-pdp-spec-table th,
.wwx-pdp-spec-table td{
  padding:12px 16px;
  border-bottom:1px solid #e6ebf1;
  text-align:left;
  vertical-align:top;
  font-size:16px;
}

.wwx-pdp-spec-table th{
  width:34%;
  background:#f7f9fc;
  color:#36465a;
  font-weight:700;
}

.wwx-pdp-policy-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.wwx-pdp-policy-grid article{
  padding:16px;
  border:1px solid var(--wwx-pdp-border);
  border-radius:10px;
  background:#fff;
}

.wwx-pdp-policy-grid article>span{
font-size:24px}

.wwx-pdp-policy-grid h3{
  margin:8px 0;
  font-size:18px!important;
  line-height:1.4!important;
}

.wwx-pdp-policy-grid p{
  margin:0 0 8px;
  font-size:14px;
  line-height:1.55;
}

.wwx-pdp-documents{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.wwx-pdp-documents a{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 14px;
  border:1px solid var(--wwx-pdp-border);
  border-radius:8px;
  font-size:16px;
  font-weight:600;
}

.wwx-pdp-details-side{
  position:sticky;
  top:16px;
  display:grid;
  gap:12px;
}

.wwx-pdp-help-card{
  padding:20px;
  border:1px solid var(--wwx-pdp-border);
  border-radius:12px;
  background:#f5f8fd;
}

.wwx-pdp-help-card button,
.wwx-pdp-help-card a{
  width:100%;
  border:0;
}

.wwx-pdp-help-trade{
  background:#fff8f8;
  border-color:#f3c7cd;
}

.wwx-pdp-help-trade a{
background:var(--wwx-pdp-red)}

.wwx-pdp-merch-section{
margin:40px 0 0}

.wwx-pdp-section-head{
margin-bottom:16px}

.wwx-pdp-section-head h2{
  margin:4px 0 0;
  font-size:28px!important;
  line-height:1.3!important;
}

.wwx-pdp-merch-section .products{
margin-bottom:0!important}

body.single-product .wwx-chat-bubble{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
}

body.single-product .wwx-chat-bubble b,
body.single-product .wwx-chat-bubble small{
display:none!important}

body.single-product .wwx-chat-bubble>span{
  grid-row:auto!important;
  font-size:24px!important;
}

body.single-product .wwx-floating-tools{
  right:16px;
  bottom:96px;
}

body.single-product .wwx-floating-tools button,
body.single-product .wwx-floating-tools a{
  width:56px;
  min-width:56px;
  min-height:56px;
  font-size:14px;
}

body.single-product .wwx-floating-tools b{
display:none}

.wwx-pdp-mobile-buybar{
display:none}

@media (max-width:1180px){
  .wwx-pdp-top{
    grid-template-columns:minmax(330px,1fr) minmax(380px,1fr);
  }

  .wwx-pdp-buy{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);
    gap:16px;
  }

  .wwx-pdp-buy-card{
position:static}
  .wwx-pdp-trade-card{
margin-top:0}
  .wwx-pdp-details{
grid-template-columns:minmax(0,1fr) 280px}
}

@media (max-width:767px){
  body.single-product{
padding-bottom:76px}

  .wwx-pdp-top{
    display:flex;
    flex-direction:column;
    gap:16px;
    padding-top:0;
  }

  .wwx-pdp-gallery,
  .wwx-pdp-info,
  .wwx-pdp-buy{
    width:100%;
  }

  .wwx-pdp-gallery .woocommerce-product-gallery__image{
min-height:320px}

  .wwx-pdp-gallery .woocommerce-product-gallery__image img{
max-height:310px}

  .wwx-pdp-gallery .flex-control-thumbs{
    grid-template-columns:repeat(5,minmax(0,1fr));
    overflow-x:auto;
  }

  .wwx-pdp-info .product_title{
    font-size:28px!important;
    line-height:1.25!important;
  }

  .wwx-pdp-proofline{
    align-items:flex-start;
    flex-direction:column;
  }

  .wwx-pdp-identifiers{
font-size:14px}

  .wwx-pdp-short-description,
  .wwx-pdp-short-description p{
    font-size:16px!important;
  }

  .wwx-pdp-feature-grid{
grid-template-columns:1fr}

  .wwx-pdp-feature strong{
font-size:16px}

  .wwx-pdp-assistance{
    align-items:stretch;
    flex-direction:column;
  }

  .wwx-pdp-assistance button{
width:100%}

  .wwx-pdp-buy{
display:block}

  .wwx-pdp-buy-card{
    position:static;
    padding:16px;
    box-shadow:none;
  }

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

  .wwx-pdp-trade-card{
margin-top:12px}

  .wwx-pdp-trade-card h2,
  .wwx-pdp-help-card h2{
    font-size:22px!important;
  }

  .wwx-pdp-trust-strip{
    grid-template-columns:1fr 1fr;
  }

  .wwx-pdp-trust-strip>a,
  .wwx-pdp-trust-strip>div{
    min-height:96px;
    border-right:1px solid var(--wwx-pdp-border);
    border-bottom:1px solid var(--wwx-pdp-border);
  }

  .wwx-pdp-trust-strip>*:nth-child(2n){
border-right:0}
  .wwx-pdp-trust-strip>*:nth-last-child(-n+2){
border-bottom:0}

  .wwx-pdp-details{
    display:block;
    margin-top:16px;
  }

  .wwx-pdp-panel summary{
    min-height:56px;
    padding:0 16px;
    font-size:16px;
  }

  .wwx-pdp-panel-content{
padding:0 16px 16px}

  .wwx-pdp-panel-content,
  .wwx-pdp-panel-content p,
  .wwx-pdp-panel-content li,
  .wwx-pdp-spec-table th,
  .wwx-pdp-spec-table td{
    font-size:16px!important;
  }

  .wwx-pdp-spec-table th{
width:42%}

  .wwx-pdp-policy-grid{
grid-template-columns:1fr}

  .wwx-pdp-documents{
grid-template-columns:1fr}

  .wwx-pdp-details-side{
    position:static;
    margin-top:16px;
  }

  .wwx-pdp-merch-section{
margin-top:32px}

  .wwx-pdp-section-head h2{
    font-size:24px!important;
  }

  body.single-product .wwx-floating-tools{
display:none!important}

  body.single-product .wwx-chat-bubble{
    right:12px!important;
    bottom:84px!important;
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    min-height:52px!important;
  }

  .wwx-pdp-mobile-buybar{
    position:fixed;
    z-index:320;
    left:0;
    right:0;
    bottom:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(150px,.8fr);
    align-items:center;
    gap:12px;
    min-height:72px;
    padding:8px 16px;
    border-top:1px solid #cfd7e2;
    background:rgba(255,255,255,.97);
    box-shadow:0 -8px 24px rgba(6,24,51,.12);
    backdrop-filter:blur(10px);
  }

  .wwx-pdp-mobile-price .price{
    margin:0!important;
    font-size:18px!important;
    line-height:1.3!important;
    font-weight:800;
  }

  .wwx-pdp-mobile-price del{
font-size:14px!important}

  .wwx-pdp-mobile-price .wwx-vat-note{
display:none}

  .wwx-pdp-mobile-buybar button{
    min-height:52px;
    border:0;
    border-radius:8px;
    background:var(--wwx-pdp-red);
    color:#fff;
    font-size:16px!important;
    font-weight:600;
  }

  .wwx-pdp-cart input,
  .wwx-pdp-cart select,
  .wwx-pdp-cart button,
  .wwx-pdp-buy-now,
  .wwx-pdp-secondary-actions button,
  .wwx-pdp-delivery button{
    font-size:16px!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .wwx-pdp-v343 *,
  .wwx-pdp-v343 *::before,
  .wwx-pdp-v343 *::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

@media print{
  .wwx-pdp-mobile-buybar,
  .wwx-chat-bubble,
  .wwx-floating-tools{
    display:none!important;
  }
}


/* v4.3.4 — owner-approved left/right breathing room for PDP merchandising sections. */
body.single-product .wwx-pdp-merch-section{
  padding-left:clamp(20px,2.25vw,36px);
  padding-right:clamp(20px,2.25vw,36px);
}
@media(max-width:767px){
  body.single-product .wwx-pdp-merch-section{
    padding-left:16px;
    padding-right:16px;
  }
}
@media(max-width:390px){
  body.single-product .wwx-pdp-merch-section{
    padding-left:14px;
    padding-right:14px;
  }
}


/* ==========================================================================
   v4.3.12 — Single Product reference refinement + explicit image zoom
   Scoped to body.single-product. Header/footer/global store remain untouched.
   ========================================================================== */

body.single-product{
  --wwx-pdp-reference-blue:#003570;
  --wwx-pdp-reference-line:rgba(0,53,112,.24);
  --wwx-pdp-reference-shadow:0 8px 22px rgba(0,53,112,.09);
}

body.single-product .wwx-product-detail{
  width:min(1440px,calc(100% - 48px));
  margin-inline:auto;
}

/* Reference-style three-column product hero */
body.single-product .wwx-pdp-top{
  grid-template-columns:minmax(420px,1.05fr) minmax(420px,1fr) minmax(300px,.63fr);
  gap:26px;
  padding-top:14px;
}

/* Gallery: vertical thumbnails + large contained image */
body.single-product .wwx-pdp-gallery .woocommerce-product-gallery{
  display:grid!important;
  grid-template-columns:70px minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:10px 12px;
  align-items:start;
}

body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__wrapper{
  grid-column:2;
  grid-row:1;
  width:100%;
  min-width:0;
  border-color:var(--wwx-pdp-reference-line);
  box-shadow:var(--wwx-pdp-reference-shadow);
}

body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__image{
  min-height:540px;
}

body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__image img{
  max-height:525px;
  cursor:zoom-in;
}

body.single-product .wwx-pdp-gallery .flex-control-thumbs{
  grid-column:1;
  grid-row:1;
  display:flex!important;
  flex-direction:column;
  gap:8px;
  margin:0!important;
  max-height:540px;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
}

body.single-product .wwx-pdp-gallery .flex-control-thumbs li{
  flex:0 0 62px;
  width:62px!important;
  min-height:62px;
  border-color:var(--wwx-pdp-reference-line);
  box-shadow:0 3px 9px rgba(0,53,112,.05);
}

body.single-product .wwx-pdp-gallery .flex-control-thumbs img{
  width:62px!important;
  height:62px!important;
  padding:5px;
}

body.single-product .wwx-pdp-gallery .flex-control-thumbs img.flex-active{
  outline-color:var(--wwx-pdp-reference-blue);
}

body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__trigger{
  right:14px!important;
  top:14px!important;
  z-index:8!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  border:1px solid var(--wwx-pdp-reference-blue)!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 5px 14px rgba(0,53,112,.12)!important;
}

/* Explicit zoom button/hint */
body.single-product .wwx-pdp-zoom-button{
  grid-column:2;
  justify-self:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  margin-top:2px;
  padding:0 14px;
  border:1px solid var(--wwx-pdp-reference-blue);
  border-radius:999px;
  background:#fff;
  color:var(--wwx-pdp-reference-blue);
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

body.single-product .wwx-pdp-zoom-hint{
  grid-column:2;
  margin:2px 0 0;
  text-align:center;
  color:#667085;
  font-size:12px;
  line-height:1.45;
}

/* Central information hierarchy inspired by supplied reference */
body.single-product .wwx-pdp-info{
  padding-top:2px;
}

body.single-product .wwx-pdp-info .product_title{
  font-size:28px!important;
  line-height:1.24!important;
  letter-spacing:-.018em;
  margin-bottom:10px;
}

body.single-product .wwx-pdp-proofline{
  padding-bottom:12px;
  border-bottom-color:var(--wwx-pdp-reference-line);
}

body.single-product .wwx-pdp-short-description{
  margin-top:14px;
}

body.single-product .wwx-pdp-key-features{
  margin-top:16px;
}

body.single-product .wwx-pdp-key-features h2{
  font-size:18px!important;
  margin-bottom:10px;
}

body.single-product .wwx-pdp-feature{
  padding:10px 12px;
  border-color:var(--wwx-pdp-reference-line);
  box-shadow:0 3px 10px rgba(0,53,112,.04);
}

body.single-product .wwx-pdp-feature span{
  font-size:12px;
}

body.single-product .wwx-pdp-feature strong{
  font-size:14px;
}

/* Purchase card: compact but visually dominant */
body.single-product .wwx-pdp-buy-card{
  top:118px;
  padding:18px;
  border-color:var(--wwx-pdp-reference-blue)!important;
  box-shadow:0 10px 26px rgba(0,53,112,.12)!important;
}

body.single-product .wwx-pdp-price .price{
  font-size:30px!important;
}

body.single-product .wwx-pdp-cart .single_add_to_cart_button{
  min-height:50px!important;
}

body.single-product .wwx-pdp-buy-now{
  min-height:50px;
}

body.single-product .wwx-pdp-trade-card,
body.single-product .wwx-pdp-trust-strip,
body.single-product .wwx-pdp-panel,
body.single-product .wwx-pdp-help-card{
  border-color:var(--wwx-pdp-reference-line)!important;
  box-shadow:0 5px 16px rgba(0,53,112,.055);
}

/* Recommendation/product discovery bands */
body.single-product .wwx-pdp-merch-section{
  margin-top:34px;
  padding:24px clamp(18px,2vw,30px);
  border-top:1px solid rgba(0,53,112,.14);
}

body.single-product .wwx-pdp-section-head h2{
  font-size:24px!important;
}

/* Keep product-card imagery clean inside recommendation rows */
body.single-product .wwx-pdp-merch-section .products li.product img{
  width:100%!important;
  aspect-ratio:1/1;
  object-fit:contain!important;
}

/* Explicit zoom viewer */
html.wwx-pdp-zoom-lock{
  overflow:hidden!important;
}

.wwx-pdp-zoom-modal{
  position:fixed;
  inset:0;
  z-index:100050;
  display:none;
  place-items:center;
  padding:24px;
  background:rgba(1,12,27,.86);
}

.wwx-pdp-zoom-modal.is-open{
  display:grid;
}

.wwx-pdp-zoom-dialog{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  width:min(1200px,96vw);
  height:min(900px,92vh);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.24);
  border-radius:14px;
  background:#fff;
  box-shadow:0 22px 70px rgba(0,0,0,.34);
}

.wwx-pdp-zoom-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:58px;
  padding:10px 14px 10px 18px;
  border-bottom:1px solid #dce3ec;
}

.wwx-pdp-zoom-toolbar strong{
  color:#061833;
  font-size:14px;
}

.wwx-pdp-zoom-controls{
  display:flex;
  align-items:center;
  gap:7px;
}

.wwx-pdp-zoom-controls button{
  display:grid;
  place-items:center;
  min-width:40px;
  min-height:40px;
  padding:0 12px;
  border:1px solid #003570;
  border-radius:8px;
  background:#fff;
  color:#003570;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}

.wwx-pdp-zoom-controls .wwx-pdp-zoom-close{
  background:#003570;
  color:#fff;
  font-size:22px;
}

.wwx-pdp-zoom-stage{
  position:relative;
  display:grid;
  place-items:center;
  min-height:0;
  overflow:hidden;
  background:
    linear-gradient(45deg,#f7f9fc 25%,transparent 25%),
    linear-gradient(-45deg,#f7f9fc 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,#f7f9fc 75%),
    linear-gradient(-45deg,transparent 75%,#f7f9fc 75%);
  background-size:22px 22px;
  background-position:0 0,0 11px,11px -11px,-11px 0;
  cursor:zoom-in;
  touch-action:none;
}

.wwx-pdp-zoom-stage.is-zoomed{
  cursor:grab;
}

.wwx-pdp-zoom-stage.is-dragging{
  cursor:grabbing;
}

.wwx-pdp-zoom-stage img{
  display:block;
  max-width:92%;
  max-height:92%;
  width:auto;
  height:auto;
  object-fit:contain;
  transform-origin:center center;
  transition:transform .12s ease-out;
  user-select:none;
  -webkit-user-drag:none;
}

.wwx-pdp-zoom-stage.is-dragging img{
  transition:none;
}

.wwx-pdp-zoom-caption{
  min-height:46px;
  padding:12px 18px;
  border-top:1px solid #dce3ec;
  color:#475467;
  font-size:13px;
  line-height:1.45;
}

/* Tablet */
@media(max-width:1180px){
  body.single-product .wwx-product-detail{
    width:min(100% - 36px,1180px);
  }

  body.single-product .wwx-pdp-top{
    grid-template-columns:minmax(330px,.9fr) minmax(380px,1.1fr);
  }

  body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__image{
    min-height:430px;
  }

  body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__image img{
    max-height:415px;
  }

  body.single-product .wwx-pdp-gallery .flex-control-thumbs{
    max-height:430px;
  }
}

/* Mobile: thumbnails return to horizontal row; full-width content with safe gutters */
@media(max-width:767px){
  body.single-product .wwx-product-detail{
    width:calc(100% - 32px);
  }

  body.single-product .wwx-pdp-gallery .woocommerce-product-gallery{
    display:block!important;
  }

  body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__wrapper{
    width:100%;
  }

  body.single-product .wwx-pdp-gallery .flex-control-thumbs{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(58px,1fr));
    grid-auto-flow:column;
    grid-auto-columns:minmax(58px,1fr);
    max-height:none;
    overflow-x:auto;
    overflow-y:hidden;
    margin-top:8px!important;
  }

  body.single-product .wwx-pdp-gallery .flex-control-thumbs li{
    width:auto!important;
    min-width:58px;
  }

  body.single-product .wwx-pdp-gallery .flex-control-thumbs img{
    width:100%!important;
    height:auto!important;
    aspect-ratio:1;
  }

  body.single-product .wwx-pdp-zoom-button{
    display:flex;
    margin:10px auto 0;
  }

  body.single-product .wwx-pdp-zoom-hint{
    text-align:center;
  }

  .wwx-pdp-zoom-modal{
    padding:8px;
  }

  .wwx-pdp-zoom-dialog{
    width:100%;
    height:94vh;
    border-radius:10px;
  }

  .wwx-pdp-zoom-toolbar{
    padding:8px 10px 8px 12px;
  }

  .wwx-pdp-zoom-toolbar>strong{
    display:none;
  }

  .wwx-pdp-zoom-controls{
    width:100%;
    justify-content:flex-end;
  }

  .wwx-pdp-zoom-controls button{
    min-width:42px;
    min-height:42px;
  }

  body.single-product .wwx-pdp-merch-section{
    padding-inline:16px;
  }
}

@media(max-width:390px){
  body.single-product .wwx-product-detail{
    width:calc(100% - 28px);
  }

  body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__image{
    min-height:290px;
  }

  body.single-product .wwx-pdp-gallery .woocommerce-product-gallery__image img{
    max-height:280px;
  }

  body.single-product .wwx-pdp-info .product_title{
    font-size:24px!important;
  }
}
