.pmw-tabs-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.pmw-tabs {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  white-space: nowrap;
  padding-right: 15px;
  padding-left: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pmw-tabs::-webkit-scrollbar {
  display: none;
}

.pmw-tabs-fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(to left, #fff 60%, transparent); /* update to match bg */
  pointer-events: none;
  z-index: 2;
}
.pmw-tabs-fade-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(to right, #fff 60%, transparent);
  pointer-events: none;
  z-index: 2;
}







/* === Global Resets === */
.pmw-single {
  padding: 0;
  margin: 0;
}

/* === 50/50 Hero === */
.pmw-single .pmw-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

/* === Gallery === */
.pmw-single .pmw-images {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

.pmw-main-image, .pmw-thumbs {
	height: 550px;
}

.pmw-single .pmw-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 100%;
  flex-shrink: 0;
  border-radius: 0;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  padding-right: 5px; /* give space for scrollbar */
}

.pmw-single .pmw-thumb {
  all: unset !important;
  width: 80px;
  height: 80px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.pmw-single .pmw-thumb img {
  width: 100%;
  max-width: 80px;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;

}

.pmw-single .pmw-thumb.is-active,
.pmw-single .pmw-thumb:hover {
  border-color: #E30614;
  border-width: 2px;
}

.pmw-thumbs-wrapper {
  position: relative;
  max-height: 100%; /* match main image height */
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}


.pmw-thumbs::-webkit-scrollbar {
  width: 6px;
}
.pmw-thumbs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* Fade effect */
.pmw-thumbs-fade {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to bottom, transparent, #fff); /* fade to white */
  pointer-events: none;
  z-index: 1;
}



.pmw-single .pmw-main-image {
  flex: 1;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
}

.pmw-single .pmw-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Product Details === */
.pmw-single .pmw-details {
  padding: 20px 0;
}

.pmw-single .pmw-title {
  font-family: gill-sans-nova, sans-serif;
  font-weight: 700;
  font-style: normal;  
  font-size: 46px;
  color: #010101;
  line-height: 1.2;
  margin-bottom: 20px;
}

.pmw-single .pmw-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.7em;
}

.pmw-description-preview {
	line-height: 1.7em;
}

/* === Price Line === */
.pmw-single .pmw-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.pmw-single .pmw-price-from {
  font-size: 16px;
  color: #6c757d;
}

.pmw-single .pmw-price {
  font-family: gill-sans-nova, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  color: #010101;
}

.pmw-single .pmw-price-unit {
  font-size: 14px;
  color: #6c757d;
}

/* === Quantity & CTA === */
.pmw-single .pmw-qty-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.pmw-single .pmw-qty-input {
  width: 80px;
  padding: 8px 12px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
}

.pmw-single .btn.btn-primary {
  all: unset; /* resets most browser and theme styles (modern browsers only) */
  padding: 12px 24px; border-radius: 50px;
  font-family: gill-sans-nova, sans-serif;
  font-weight: 400;
  font-style: normal;  
  background: #E30614;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
  text-align: center;
}

.pmw-single .btn.btn-primary:hover {
  background: #c60510;
}




/* === Contact Section === */
.pmw-single .pmw-contact {
  background: #F8F8F8;
  color: #000;
  padding: 30px;
  border-radius: 2px;
  border-width: 3px;
  border-color: #EFEFEF;
  text-align: left;
  font-family: gill-sans-nova, sans-serif;
  font-weight: 400;
  font-style: normal; 
}

.pmw-single .pmw-contact-title {
  font-family: gill-sans-nova, sans-serif;
  font-weight: 400;
  font-style: normal; 
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.5em;
  text-transform: capitalize;
}

.pmw-single .pmw-phone {
  font-size: 24px;
  font-family: gill-sans-nova, sans-serif;
  font-weight: 700;
  font-style: normal; 
  color: #000;
  text-decoration: none;
}

.pmw-single .pmw-phone:hover {
  color: #E30614;
}

/* === Specs Block === */
.pmw-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.pmw-section-title {
  color: #010101;
  font-family: gill-sans-nova, sans-serif;
  font-weight: 400;
  font-style: normal; 
}

.pmw-spec {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: #495057;
  padding-left: 20px;
  border-left: 10px solid #BCBCBC;
}

/* === Tab Layout === */
.pmw-details-section {
  padding: 0;
  margin-top: 10%;
  margin-bottom: 8%;
}

.pmw-details-grid {
  display: grid;
  grid-template-columns: 70% 30%;
  margin-top: 40px;
}

.pmw-details-main {
  display: flex;
  flex-direction: column;
}


.pmw-tab {
  all: unset; /* resets most browser and theme styles (modern browsers only) */
  padding: 12px 24px;
  background: #383838;
  color: #fff;
  font-size: 15px;
  font-family: gill-sans-nova, sans-serif;
  font-weight: 500;
  font-style: normal; 
  text-decoration: none;
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
  text-align: center;
}

.pmw-tab:hover,
.pmw-tab.is-active {
  background: #e30613;
}

.pmw-main-clip {
  flex: 1;
  padding: 40px 100px 40px 40px;
  background: #fafafa;
  border-radius: 10px;
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
}

.pmw-tab-panels {
  height: 350px;
  flex: 1;
}

.pmw-panel {
  display: none;
}

.pmw-panel.is-active {
  display: block;
}

.pmw-panel-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-family: gill-sans-nova, sans-serif;
  font-weight: 700;
  font-style: normal; }

.pmw-columns-2 {
  column-count: 2;
  column-gap: 40px;
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* === Documents === */
.pmw-docs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pmw-doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #000;
  text-decoration: none;
  font-family: gill-sans-nova, sans-serif;
  font-style: normal; 
  font-weight: 500;
}

.pmw-doc-icon {
  flex-shrink: 0;
  margin-left: 10px;
  color: #e30613;
}

/* === Side Panel Image === */
.pmw-details-side {
  position: relative;
  background: #e30613;
  border-radius: 10px;
  overflow: hidden;
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 18% 100%);
}

.pmw-side-image {
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.pmw-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Calculator Slide Panel === */
.pmw-calc-panel {
  position: absolute;
  inset: 0;
  background: #E30614;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  padding: 30px 30px 20px 100px;
  overflow-y: auto;
  z-index: 9999;
}

.pmw-details-section.calc-open .pmw-calc-panel {
  transform: translateX(0);
}


.pmw-calc-header {
    position: relative;
}

.pmw-calc-header h3 {
  color: #fff !important;
  font-family: gill-sans-nova, sans-serif !important;  font-weight: 600 !important;
  font-size: 20px !important;
  font-style: normal; 
  margin-bottom: 10px;
}


.pmw-details-section.calc-open .pmw-calc-panel {
  transform: translateX(0);
}

.pmw-calc-close {
    background: transparent !important;
    font-size: 26px;
    font-weight: 600;
    color: #fff !important;
    border: 0;
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    padding: 8px;
    transition: color 0.15s;
}

.pmw-calc-close:hover {
    color: #000 !important;
}

@media (max-width: 768px) {
  .pmw-columns-2 {
    column-count: 1;
  }
}








/* === Responsive Layout === */
@media (max-width: 992px) {
	
	.pmw-calc-panel {
	    height: 500px;
	}
	
  .pmw-single .pmw-title { 
	  font-size: 32px;
	  color: #010101;
	  line-height: 1.2;
	  margin-bottom: 10px;
}
	
  .pmw-details-section {
    padding: 50px 0 0 0;
    margin: 0%;
  }

	.pmw-single {
	}
	
	.pmw-main-image, .pmw-thumbs {
	height: 250px;
}
	
  .pmw-single .pmw-hero {
    grid-template-columns: 1fr;
    gap: 10px;
	width: 100%;

  }

  .pmw-details-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
	margin-top: 15px;
  }

  .pmw-details-main,
  .pmw-main-clip,
  .pmw-tab-panels,
  .pmw-panel,
  .pmw-side-image,
  .pmw-details-side {
	  
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
	
	
  .pmw-details-main, .pmw-panel, .pmw-main-clip {
		height: 700px;
	}



  .pmw-details-side, .pmw-side-image {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    overflow-y: auto;
    box-sizing: border-box;
  }


  .pmw-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pmw-tabs::-webkit-scrollbar {
    display: none;
  }

  .pmw-main-clip {
    padding: 24px;
    clip-path: none;
  }

  .pmw-columns-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pmw-details-side {
    height: auto;
    margin-top: 20px;
    clip-path: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .pmw-side-image {
    height: 400px;
  }

  .pmw-section-title {
    font-size: 22px;
    line-height: 1.3;
    word-break: break-word;
    max-width: 100%;
  }

  .pmw-calc-panel {
    padding: 24px;
    transform: translateX(100%);
  }
  .woocommerce-breadcrumb {
  margin-top: -20px !important;
	}
	
	.pmw-tabs-wrapper {
		margin-bottom: 15px;
		margin-left: -10px;
	}
}

/* === Modal Read More Description === */
.pmw-read-more-btn {
  margin-top: 15px;
  background: #e30613;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.pmw-read-more-btn:hover {
  background: #c00510;
}

/* Modal Structure */
.pmw-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.pmw-modal.is-visible {
  display: flex;
}

.pmw-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.pmw-modal-content {
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 86%;
  max-height: 85vh;
  margin-top: 5%;
  overflow-y: auto;
  z-index: 10;
  animation: fadeInScale 0.3s ease;
}

.pmw-modal-inner {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.pmw-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #888;
}

@keyframes fadeInScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .pmw-modal-content {
    max-width: 86%;
    margin: 20% 5% 5% 5%;
    padding: 20px;
  }
}


