.elementor-271 .elementor-element.elementor-element-6743a9f9{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:5%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0%;--padding-bottom:0%;--padding-left:8%;--padding-right:8%;}.elementor-271 .elementor-element.elementor-element-481627e6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:10%;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-271 .elementor-element.elementor-element-39d77e51 > .elementor-widget-container{margin:0px 0px 50px 0px;}.elementor-271 .elementor-element.elementor-element-39d77e51 .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:22px;font-weight:300;text-transform:none;font-style:normal;text-decoration:none;line-height:1.5em;letter-spacing:0px;color:#1C244B;}.elementor-widget-woocommerce-product-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-271 .elementor-element.elementor-element-60f48de3 .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:85px;font-weight:600;text-transform:none;font-style:normal;text-decoration:none;line-height:1em;letter-spacing:0px;color:#1C244B;}.elementor-widget-woocommerce-product-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-271 .elementor-element.elementor-element-3bcb6b0f{width:var( --container-widget-width, 507px );max-width:507px;--container-widget-width:507px;--container-widget-flex-grow:0;color:#324A6D;font-family:"Poppins", Sans-serif;font-size:16px;font-weight:300;text-transform:none;font-style:normal;text-decoration:none;line-height:1.5em;letter-spacing:0px;word-spacing:0em;}.elementor-271 .elementor-element.elementor-element-3bcb6b0f > .elementor-widget-container{margin:0px 0px 40px 0px;}.woocommerce .elementor-widget-woocommerce-product-price .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.woocommerce .elementor-271 .elementor-element.elementor-element-2e648922 .price{color:#1C244B;font-family:"Poppins", Sans-serif;font-size:36px;font-weight:600;text-transform:capitalize;font-style:normal;text-decoration:none;line-height:1.1em;letter-spacing:0px;word-spacing:0em;}.woocommerce .elementor-271 .elementor-element.elementor-element-2e648922 .price ins{color:#324A6D;font-family:"Poppins", Sans-serif;font-size:36px;font-weight:600;text-transform:capitalize;font-style:normal;text-decoration:none;line-height:1.1em;letter-spacing:0px;word-spacing:0em;}body:not(.rtl) .elementor-271 .elementor-element.elementor-element-2e648922:not(.elementor-product-price-block-yes) del{margin-right:10px;}body.rtl .elementor-271 .elementor-element.elementor-element-2e648922:not(.elementor-product-price-block-yes) del{margin-left:10px;}.elementor-271 .elementor-element.elementor-element-2e648922.elementor-product-price-block-yes del{margin-bottom:10px;}.elementor-widget-woocommerce-product-add-to-cart .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-271 .elementor-element.elementor-element-45e8b075 .cart button, .elementor-271 .elementor-element.elementor-element-45e8b075 .cart .button{font-family:"Poppins", Sans-serif;font-size:16px;font-weight:400;text-transform:capitalize;font-style:normal;text-decoration:none;line-height:1em;letter-spacing:0px;word-spacing:0em;border-style:solid;border-width:1px 1px 1px 1px;border-radius:30px 30px 30px 30px;padding:15px 50px 15px 50px;color:#FFFFFF;background-color:#467FF7;border-color:#467FF7;transition:all 0.2s;}.elementor-271 .elementor-element.elementor-element-45e8b075 .cart button:hover, .elementor-271 .elementor-element.elementor-element-45e8b075 .cart .button:hover{color:#467FF7;background-color:#02010100;border-color:#467FF7;}.elementor-271 .elementor-element.elementor-element-45e8b075{--button-spacing:38px;}.elementor-271 .elementor-element.elementor-element-45e8b075 .quantity .qty{border-radius:0px 0px 0px 0px;color:#1C244B;border-color:#1C244B;transition:all 0.2s;}.elementor-271 .elementor-element.elementor-element-c33b363{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.woocommerce .elementor-271 .elementor-element.elementor-element-640703a2 .flex-viewport:not(:last-child){margin-bottom:13px;}.woocommerce .elementor-271 .elementor-element.elementor-element-640703a2 .flex-control-thumbs li{padding-right:calc(13px / 2);padding-left:calc(13px / 2);padding-bottom:13px;}.woocommerce .elementor-271 .elementor-element.elementor-element-640703a2 .flex-control-thumbs{margin-right:calc(-13px / 2);margin-left:calc(-13px / 2);}.elementor-271 .elementor-element.elementor-element-78e9a12f{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:80px 80px;--row-gap:80px;--column-gap:80px;--margin-top:12%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0%;--padding-bottom:0%;--padding-left:8%;--padding-right:8%;}.elementor-271 .elementor-element.elementor-element-52f56fc{text-align:center;}.elementor-271 .elementor-element.elementor-element-52f56fc .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:65px;font-weight:600;text-transform:none;font-style:normal;text-decoration:none;line-height:1.2em;letter-spacing:0px;word-spacing:0em;color:#1C244B;}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.woocommerce .elementor-widget-woocommerce-product-related.elementor-wc-products .products > h2{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price ins{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price ins .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del {font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product{text-align:left;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products  ul.products{grid-column-gap:16px;grid-row-gap:140px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products .attachment-woocommerce_thumbnail{margin-bottom:8px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:#1C244B;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:#1C244B;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:"Poppins", Sans-serif;font-size:22px;font-weight:600;text-transform:capitalize;font-style:normal;text-decoration:none;line-height:1.2em;letter-spacing:0px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .price{color:#1C244B;font-family:"Poppins", Sans-serif;font-size:16px;font-weight:300;text-transform:none;font-style:normal;text-decoration:none;line-height:1.5em;letter-spacing:0px;word-spacing:0em;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .price ins{color:#1C244B;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .price ins .amount{color:#1C244B;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .price del{color:#1C244B;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .price del .amount{color:#1C244B;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .price del {font-family:"Poppins", Sans-serif;font-size:16px;font-weight:300;text-transform:none;font-style:normal;text-decoration:line-through;line-height:1.5em;letter-spacing:0px;word-spacing:0em;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .button{background-color:#02010100;font-family:"Poppins", Sans-serif;font-size:16px;font-weight:400;text-transform:capitalize;font-style:italic;text-decoration:underline;line-height:1em;letter-spacing:0px;padding:0px 0px 0px 0px;margin-top:0px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products .added_to_cart{color:#1C244B;font-family:"Poppins", Sans-serif;font-size:16px;font-weight:400;text-transform:capitalize;font-style:normal;text-decoration:none;line-height:1em;letter-spacing:0px;word-spacing:0em;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product span.onsale{display:block;color:#FFFFFF;background-color:#467FF7;font-family:"Poppins", Sans-serif;font-size:16px;font-weight:400;text-transform:capitalize;font-style:normal;text-decoration:none;line-height:30px;letter-spacing:0px;border-radius:0px;min-width:80px;min-height:30px;right:auto;left:0;margin:0px;}@media(min-width:768px){.elementor-271 .elementor-element.elementor-element-6743a9f9{--content-width:1650px;}.elementor-271 .elementor-element.elementor-element-481627e6{--width:50%;}.elementor-271 .elementor-element.elementor-element-c33b363{--width:50%;}.elementor-271 .elementor-element.elementor-element-78e9a12f{--content-width:1650px;}}@media(max-width:1024px){.elementor-271 .elementor-element.elementor-element-6743a9f9{--padding-top:0%;--padding-bottom:0%;--padding-left:5%;--padding-right:5%;}.elementor-271 .elementor-element.elementor-element-481627e6{--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:5%;}.elementor-271 .elementor-element.elementor-element-39d77e51 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-271 .elementor-element.elementor-element-39d77e51 .elementor-heading-title{font-size:14px;}.elementor-271 .elementor-element.elementor-element-60f48de3 .elementor-heading-title{font-size:65px;}.elementor-271 .elementor-element.elementor-element-3bcb6b0f{width:100%;max-width:100%;font-size:14px;}.elementor-271 .elementor-element.elementor-element-3bcb6b0f > .elementor-widget-container{margin:0px 0px 0px 0px;}.woocommerce .elementor-271 .elementor-element.elementor-element-2e648922 .price{font-size:25px;}.woocommerce .elementor-271 .elementor-element.elementor-element-2e648922 .price ins{font-size:25px;}.elementor-271 .elementor-element.elementor-element-45e8b075 .cart button, .elementor-271 .elementor-element.elementor-element-45e8b075 .cart .button{font-size:14px;}.elementor-271 .elementor-element.elementor-element-78e9a12f{--gap:50px 50px;--row-gap:50px;--column-gap:50px;--margin-top:25%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0%;--padding-bottom:0%;--padding-left:5%;--padding-right:5%;}.elementor-271 .elementor-element.elementor-element-52f56fc .elementor-heading-title{font-size:45px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .price{font-size:14px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .button{font-size:14px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products .added_to_cart{font-size:14px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product span.onsale{font-size:14px;line-height:2em;}}@media(max-width:767px){.elementor-271 .elementor-element.elementor-element-60f48de3 .elementor-heading-title{font-size:48px;line-height:1em;}.woocommerce .elementor-271 .elementor-element.elementor-element-2e648922 .price{font-size:20px;}.woocommerce .elementor-271 .elementor-element.elementor-element-2e648922 .price ins{font-size:20px;}.elementor-271 .elementor-element.elementor-element-c33b363{--margin-top:10%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;}.elementor-271 .elementor-element.elementor-element-78e9a12f{--margin-top:35%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;}.elementor-271 .elementor-element.elementor-element-52f56fc .elementor-heading-title{font-size:28px;line-height:1.1em;}.elementor-271 .elementor-element.elementor-element-6c873dc7{width:100%;max-width:100%;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-271 .elementor-element.elementor-element-6c873dc7.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-size:18px;}}/* Start custom CSS *//* ====================================
   SINGLE PRODUCT PAGE REFACTOR
   Matches product_snapshot.html & Modern Standards
   ==================================== */

/* ------------------------------------
   Main Layout & Container
   ------------------------------------ */
.elementor-location-single.product {
  background-color: var(--bg-primary);
  padding: 16px; /* Tight but with breathing room */
  max-width: 1200px;
  margin: 12px auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* Ensure the main flex container handles columns correctly */
/* Based on snapshot: .elementor-element-6743a9f9 is the wrapper */
.elementor-location-single.product .e-con-boxed {
  gap: 16px;
}

/* ------------------------------------
     Images Section (FIX: Size Issue)
     ------------------------------------ */
/* Target the image widget container specifically */
.elementor-widget-woocommerce-product-images {
  width: 100%;
  max-width: 550px; /* Constrain huge images */
  margin: 0 auto;
}

.woocommerce-product-gallery {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: #fff;
  height: 560px; /* Fixed height, slightly tighter */
  display: flex;
  flex-direction: column;
}

/* Ensure internal containers propagate height */
.woocommerce-product-gallery .flex-viewport {
  height: 100% !important;
  width: 100% !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  height: 100% !important;
  /* Remove width: 100% and display: flex to allow Slider JS to manage width (e.g. 400%) */
}

.woocommerce-product-gallery__image {
  display: block;
  height: 100%;
  /* Width is managed by JS (floated elements) */
}

.woocommerce-product-gallery__image > a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.woocommerce-product-gallery img {
  width: 100%;
  height: 100% !important; /* Force fill height */
  display: block;
  object-fit: contain; /* Fit within the box without cropping */
}

/* Thumbnails */
.flex-control-thumbs {
  position: absolute; /* Overlay thumbs to allow image to be full height */
  bottom: 16px;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
  pointer-events: none; /* Let clicks pass through gap */
}

.flex-control-thumbs li {
  width: 60px;
  height: 60px;
  cursor: pointer;
  flex-shrink: 0;
  pointer-events: auto; /* Re-enable clicks on thumbs */
  background: white; /* bg for visibility */
  border-radius: 6px;
  padding: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.flex-control-thumbs img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  opacity: 0.7;
}

.flex-control-thumbs img.flex-active,
.flex-control-thumbs img:hover {
  border-color: var(--secondary-color);
  opacity: 1;
}

/* ------------------------------------
     Product Info Section (FIX: Typography)
     ------------------------------------ */

/* Product Title */
.product_title.entry-title {
  font-family: inherit;
  font-size: 1.8rem !important; /* Reduced from 2.5rem */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.25;
}

/* SKU */
.elementor-widget-heading .elementor-heading-title {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Short Description */
.woocommerce-product-details__short-description,
.elementor-widget-woocommerce-product-content {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

form.cart {
  padding: 0 12px !important;
}
/* Variations Section - Modern, Clean Design */
.variations_form .variations {
  width: 100%;
  margin-bottom: 20px;
}

.variations_form .variations tbody {
  display: block;
}

.variations_form .variations tbody tr {
  display: block;
  margin-bottom: 16px;
}

.variations_form .variations th.label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  background: transparent;
  border: none;
}

.variations_form .variations label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin: 0;
  display: block;
}

.variations_form .variations td.value {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: none;
}

.variations_form .variations select {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.variations_form .variations select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.18);
  outline: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.variations_form .variations select:hover {
  border-color: var(--border-medium);
}

.variations_form .reset_variations {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.variations_form .reset_variations:hover {
  color: var(--error-color);
  border-color: var(--error-color);
  background: rgba(245, 101, 101, 0.05);
}

/* Hide reset variations when not needed */
.variations_form .reset_variations[style*="visibility: hidden"] {
  display: none;
}

/* Price */
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.6rem !important;
  color: var(--primary-color) !important;
  font-weight: 700;
  margin-bottom: 12px;
}

.price del {
  font-size: 1rem !important;
  color: var(--text-light) !important;
  opacity: 0.7;
  font-weight: 400;
}

.price ins {
  text-decoration: none;
  color: var(--secondary-color) !important;
}

/* ------------------------------------
     WooCommerce Button Fixes
     ------------------------------------ */
/* General WooCommerce buttons - ensure consistent padding */
.button,
.add_to_cart_button,
.product_type_simple.add_to_cart_button,
.ajax_add_to_cart {
  padding: 12px 24px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-decoration: none !important;
}

/* Specific WooCommerce add to cart buttons */
.add_to_cart_button {
  background: var(--secondary-color) !important;
  color: white !important;
  box-shadow: 0 3px 8px rgba(var(--secondary-rgb), 0.22) !important;
}

.add_to_cart_button:hover {
  background: var(--secondary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.28) !important;
}

/* ------------------------------------
     Add to Cart Section - Enhanced Layout
     ------------------------------------ */
/* Variable products (with variations) */
.elementor-product-variable form.cart {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
  padding: 24px !important;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

/* Simple products (no variations) - horizontal layout */
.elementor-product-simple form.cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px;
  padding: 24px !important;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  flex-wrap: wrap;
}

/* Quantity Input - Enhanced with Plus/Minus Buttons */
.quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* Quantity within variations button - align to start */
.variations_button .quantity {
  justify-content: flex-start !important;
  margin-bottom: 0 !important;
}

.quantity .qty {
  width: 80px;
  height: 48px;
  border: 2px solid var(--border-medium);
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: all var(--transition-fast);
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity .qty:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.18);
  outline: none;
}

/* Quantity Label */
.quantity label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Add to Cart Button - Enhanced */
.single_add_to_cart_button {
  background: var(--secondary-color) !important;
  color: white !important;
  padding: 16px 32px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: all var(--transition-normal) !important;
  box-shadow: 0 4px 14px rgba(var(--secondary-rgb), 0.26);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.single_add_to_cart_button:hover:not(:disabled) {
  background: var(--secondary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(var(--secondary-rgb), 0.32);
}

.single_add_to_cart_button:disabled {
  background: var(--text-light) !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

/* Keep button minimal without extra icons */

/* ------------------------------------
     Related Products (FIX: Size)
     ------------------------------------ */
.related.products {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.related.products > h2 {
  font-size: 1.5rem !important;
  color: var(--primary-color);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.related.products > h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* Grid adjustments */
.related.products ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual Product Card */
.related.products ul.products li.product {
  background-color: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.related.products ul.products li.product:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

/* Product Image */
.related.products ul.products li.product img {
  width: 100%;
  height: 170px; /* Fixed height for uniformity */
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.related.products ul.products li.product:hover img {
  transform: scale(1.05);
}

/* Product Title */
.related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
  padding: 0;
}

/* Price in Card */
.related.products ul.products li.product .price {
  font-size: 1.1rem !important;
  margin-bottom: 15px;
  justify-content: center;
  color: var(--primary-color) !important;
  font-weight: 700;
}

/* Button Styling (Fix Ugly Button) */
.related.products ul.products li.product .button {
  margin-top: auto; /* Push to bottom */
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  width: 100%;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.24);
}

.related.products ul.products li.product .button:hover {
  background: var(--secondary-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(var(--secondary-rgb), 0.32);
  transform: translateY(-2px);
}

/* Added to Cart Link Styling */
.related.products ul.products li.product .added_to_cart {
  margin-top: 8px;
  display: inline-block;
  padding: 8px 16px;
  background: var(--success-color) !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(72, 187, 120, 0.25);
}

.related.products ul.products li.product .added_to_cart:hover {
  background: var(--success-color) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(72, 187, 120, 0.35);
  text-decoration: none !important;
}

/* Sale Badge Position */
.related.products ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  border-radius: 4px;
  font-size: 0.75rem;
  padding: 4px 8px;
  background: var(--secondary-color);
  color: white;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-height: auto;
  min-width: auto;
  line-height: normal;
  margin: 0;
}

/* ------------------------------------
     Reviews & Headings (FIX: Size)
     ------------------------------------ */
/* General Elementor Headings (Customer Reviews etc) */
.elementor-heading-title {
  font-size: 1.4rem !important; /* Reduced */
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 12px;
}

/* Reviews Container */
.elementor-widget-star-rating {
  margin-bottom: 8px;
}

.elementor-star-rating {
  color: var(--warning-color);
  font-size: 1rem;
}

.elementor-blockquote {
  background: var(--bg-secondary);
  padding: 15px 20px;
  border-left: 4px solid var(--secondary-color);
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}

/* Notices on product page (stronger contrast) */
.elementor-location-single.product .woocommerce-message,
.elementor-location-single.product .woocommerce-info,
.elementor-location-single.product .woocommerce-error {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--primary-color);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.elementor-location-single.product .woocommerce-error {
  border-left-color: var(--error-color);
}

.elementor-location-single.product .woocommerce-message {
  border-left-color: var(--success-color);
}

.elementor-blockquote__content {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.elementor-blockquote__author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-top: 8px;
  display: block;
}

/* ------------------------------------
     Newsletter / Extra Sections
     ------------------------------------ */
.elementor-widget-form {
  background: var(--bg-primary);
  padding: 30px;
  border-radius: 12px;
  color: var(--text-primary);
  margin-top: 30px; /* Reduced from 50px */
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------
     Sticky Add to Cart
     ------------------------------------ */
.storefront-sticky-add-to-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  padding: 10px 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  z-index: 999;
  border-top: 1px solid var(--border-light);
}

.storefront-sticky-add-to-cart__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------
     Responsive Design
     ------------------------------------ */
@media (max-width: 768px) {
  .elementor-location-single.product {
    padding: 12px;
  }

  .product_title.entry-title {
    font-size: 1.5rem !important;
  }

  .price {
    font-size: 1.4rem !important;
  }

  .elementor-widget-woocommerce-product-images {
    max-width: 100%;
    margin-bottom: 24px;
  }

  /* Variations on mobile */
  .variations_form .variations select {
    min-width: 100%;
    max-width: none;
  }

  .variations_form .variations td.value {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .variations_form .reset_variations {
    align-self: flex-start;
  }

  /* Add to cart form on mobile */
  form.cart {
    padding: 20px 16px;
    gap: 16px;
  }

  /* Simple products on mobile - stack vertically */
  .elementor-product-simple form.cart {
    flex-direction: column;
    align-items: stretch;
  }

  /* Variations button alignment on mobile */
  .variations_button {
    justify-content: flex-start;
  }

  .variations_button .quantity {
    justify-content: flex-start !important;
  }

  .quantity .qty {
    width: 100px;
  }

  .single_add_to_cart_button {
    padding: 14px 24px !important;
    font-size: 1rem !important;
  }
}

/* Additional mobile improvements */
@media (max-width: 480px) {
  .variations_form .variations select {
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .quantity .qty {
    font-size: 16px; /* Prevent zoom on iOS */
  }

  form.cart {
    padding: 16px 12px;
  }

  /* Simple products on very small screens */
  .elementor-product-simple form.cart {
    padding: 16px 12px;
    gap: 12px;
  }
}

.e-con-inner {
  gap: 20px !important;
}

/* Variation Description Styling */
.single_variation_wrap .woocommerce-variation {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.single_variation_wrap .woocommerce-variation p {
  margin: 0;
}

/* Add to Cart Variations Button Container */
.variations_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

/* Ensure quantity and button are properly aligned */
.variations_button .quantity {
  margin-bottom: 0;
  justify-content: flex-start;
}

/* Stock Status in Variations */
.stock {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 8px;
}

.stock.in-stock {
  color: var(--success-color);
  background: rgba(72, 187, 120, 0.1);
}

.stock.out-of-stock {
  color: var(--error-color);
  background: rgba(245, 101, 101, 0.1);
}

/* Override Elementor inline margin for related section */
.elementor-271 .elementor-element.elementor-element-78e9a12f {
  margin-top: 32px !important;
}

.price {
  margin: 12px 0 !important;
}/* End custom CSS */