.elementor-13993 .elementor-element.elementor-element-1fc18524 > .elementor-container{max-width:1140px;}.elementor-13993 .elementor-element.elementor-element-1fc18524{margin-top:0px;margin-bottom:0px;padding:15px 15px 0px 15px;}.elementor-13993 .elementor-element.elementor-element-5c74e9ee .page-heading{padding:0px 0px 0px 0px;border-radius:0px 0px 0px 0px;}.elementor-13993 .elementor-element.elementor-element-27405317 > .elementor-container{max-width:1170px;}.elementor-13993 .elementor-element.elementor-element-3299c2c{--slides-per-view:1;}.elementor-13993 .elementor-element.elementor-element-3299c2c .swiper-vertical-images .vertical-thumbnails-wrapper li{margin-bottom:10px;}.woocommerce .elementor-13993 .elementor-element.elementor-element-3299c2c .woocommerce-product-gallery img{width:100%;}.elementor-13993 .elementor-element.elementor-element-4c30e4ea > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:10px;}.elementor-widget-woocommerce-product-etheme_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-13993 .elementor-element.elementor-element-7f95f0c9 .elementor-heading-title{font-family:"DM Sans", Sans-serif;font-size:24px;color:#222222;}.woocommerce .elementor-widget-woocommerce-product-etheme_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-13993 .elementor-element.elementor-element-4efe3f15 .price{color:#888888;font-size:20px;font-weight:normal;}.woocommerce .elementor-13993 .elementor-element.elementor-element-4efe3f15 .price ins{color:#000000;}.woocommerce .elementor-13993 .elementor-element.elementor-element-6cab4613 .woocommerce-product-details__short-description{color:#555555;font-size:16px;line-height:26px;}.elementor-13993 .elementor-element.elementor-element-3a0cb469 > .elementor-widget-container{margin:0px 0px 5px 0px;}.elementor-13993 .elementor-element.elementor-element-3a0cb469 .single_add_to_cart_button .button-text:last-child{margin-left:7px;}.elementor-13993 .elementor-element.elementor-element-3a0cb469 .single_add_to_cart_button .button-text:first-child{margin-right:7px;}.elementor-13993 .elementor-element.elementor-element-da4564c .button-text:last-child, .elementor-13993 .elementor-element.elementor-element-da4564c .mtips .button-text:nth-last-child(2){margin-left:7px;padding-left:0;}.elementor-13993 .elementor-element.elementor-element-da4564c .button-text:first-child{margin-right:7px;padding-right:0;}.elementor-13993 .elementor-element.elementor-element-da4564c .elementor-button{fill:#222222;color:#222222;--loader-side-color:#222222;background-color:#00000000;padding:0px 0px 0px 0px;}.elementor-13993 .elementor-element.elementor-element-5f3c4a42 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:5px;}.elementor-widget-woocommerce-product-etheme_meta .product_meta .detail-container:not(:last-child):after{border-color:var( --e-global-color-text );}.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-13993 .elementor-element.elementor-element-6abe1a83{width:auto;max-width:auto;}.elementor-13993 .elementor-element.elementor-element-6abe1a83 > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-13993 .elementor-element.elementor-element-6abe1a83 .elementor-heading-title{font-family:"DM Sans", Sans-serif;font-size:16px;font-weight:400;line-height:32px;color:#222222;}.elementor-13993 .elementor-element.elementor-element-242dcb25{width:auto;max-width:auto;--alignment:left;--grid-side-margin:0px;--grid-column-gap:0px;--grid-row-gap:5px;--grid-bottom-margin:5px;--e-share-buttons-primary-color:#FFFFFF00;--e-share-buttons-secondary-color:#888888;}.elementor-13993 .elementor-element.elementor-element-242dcb25 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-13993 .elementor-element.elementor-element-242dcb25 .elementor-share-btn{font-size:calc(0.7px * 10);}.elementor-13993 .elementor-element.elementor-element-242dcb25 .elementor-share-btn__icon{--e-share-buttons-icon-size:15px;}.elementor-13993 .elementor-element.elementor-element-242dcb25 .elementor-share-btn:hover{--e-share-buttons-secondary-color:#222222;}.elementor-13993 .elementor-element.elementor-element-242dcb25 .elementor-share-btn__title{font-family:"Arial", Sans-serif;font-size:24234px;}.elementor-13993 .elementor-element.elementor-element-ab768b4 > .elementor-container{max-width:1170px;}.elementor-13993 .elementor-element.elementor-element-ab768b4{margin-top:0px;margin-bottom:15px;}.woocommerce .elementor-13993 .elementor-element.elementor-element-64aef842 .woocommerce-tabs.horizontal .wc-tabs{justify-content:center;}.woocommerce .elementor-13993 .elementor-element.elementor-element-64aef842 .woocommerce-tabs.vertical .wc-tabs{align-content:center;}.elementor-13993 .elementor-element.elementor-element-64aef842 .wc-tabs .et-woocommerce-tab a{font-size:14px;text-transform:uppercase;}.woocommerce .elementor-13993 .elementor-element.elementor-element-64aef842 .woocommerce-tabs .panel{padding:20px 0px 15px 0px;}.elementor-13993 .elementor-element.elementor-element-788ee8f1{--slides-per-view:4;}.elementor-13993 .elementor-element.elementor-element-788ee8f1 .related-products-title{margin-bottom:20px;}@media(max-width:1024px) and (min-width:768px){.elementor-13993 .elementor-element.elementor-element-44c5f29e{width:100%;}.elementor-13993 .elementor-element.elementor-element-4c30e4ea{width:100%;}}@media(max-width:1024px){ .elementor-13993 .elementor-element.elementor-element-242dcb25{--grid-side-margin:0px;--grid-column-gap:0px;--grid-row-gap:5px;--grid-bottom-margin:5px;}.elementor-13993 .elementor-element.elementor-element-788ee8f1{--slides-per-view:2;}}@media(max-width:767px){ .elementor-13993 .elementor-element.elementor-element-242dcb25{--grid-side-margin:0px;--grid-column-gap:0px;--grid-row-gap:5px;--grid-bottom-margin:5px;}.elementor-13993 .elementor-element.elementor-element-788ee8f1{--slides-per-view:2;}}/* Start custom CSS */.mesh-grid-section {
  margin-bottom: 40px;
}

.mesh-grid-section h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 24px;
}

.mesh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 150px;
  gap: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px 20px; /* Changed: 0 padding on top, 20px on sides and bottom */
}

.grid-header {
  background: #4CAF50;
  color: white;
  font-weight: bold;
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 150px;
  gap: 10px;
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 10;
  margin-top: 0; /* Ensure no margin pushing it down */
}

.grid-header .grid-col {
  text-align: center;
  padding: 10px;
}

.grid-row {
  display: contents;
}

.grid-row:hover .grid-col {
  background: #e8f5e8;
}

.grid-col {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Explicit column positioning to fix alignment */
.grid-col.size {
  grid-column: 1;
  font-weight: 500;
}

.grid-col.gauge {
  grid-column: 2;
  font-weight: 500;
}

.grid-col.width {
  grid-column: 3;
  font-weight: 500;
}

.grid-col.stock {
  grid-column: 4;
}

.grid-col.price {
  grid-column: 5;
  font-weight: bold;
  color: #333;
}

.grid-col.link {
  grid-column: 6;
}

.stock.in-stock {
  color: #4CAF50;
  font-weight: bold;
}

.stock.out-stock {
  color: #f44336;
  font-weight: bold;
}

.view-btn {
  background: #2196F3;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  display: inline-block;
  cursor: pointer;
}

.view-btn:hover {
  background: #1976D2;
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
.mesh-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 100px;
  font-size: 14px;
  padding: 0 15px 15px 15px; /* No top padding */
  gap: 8px;
}
  .grid-header {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 100px;
  gap: 8px;
  padding: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}
  .grid-col {
    padding: 10px;
  }
  .view-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Mobile Landscape (481px - 768px) */
@media (max-width: 768px) {
  .mesh-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 80px;
  font-size: 12px;
  padding: 0 12px 12px 12px; /* No top padding */
  gap: 6px;
}
.grid-header {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 80px;
  gap: 6px;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 10;
}
  .grid-header .grid-col {
    padding: 8px;
    font-size: 11px;
  }
  .grid-col {
    padding: 8px;
  }
  .view-btn {
    padding: 5px 8px;
    font-size: 10px;
  }
}

/* Mobile Portrait (max 480px) */
@media (max-width: 480px) {
  .mesh-grid-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .mesh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 65px;
  font-size: 10px;
  padding: 0 8px 8px 8px; /* No top padding */
  gap: 3px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
  
.grid-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 65px;
  gap: 3px;
  padding: 8px;
  grid-column: 1 / -1;
  background: #4CAF50;
  color: white;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 10;
}
  
  .grid-header .grid-col {
    padding: 6px 3px;
    font-size: 8px;
    line-height: 1.1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
  }
  
  .grid-row {
    display: contents;
  }
  
  .grid-col {
    padding: 5px 3px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    font-size: 10px;
    min-height: 40px;
  }
  
  .grid-col.size, .grid-col.gauge, .grid-col.width {
    font-weight: 500;
    font-size: 9px;
  }
  
  .stock.in-stock {
    color: #4CAF50;
    font-weight: bold;
    font-size: 9px;
  }
  
  .stock.out-stock {
    color: #f44336;
    font-weight: bold;
    font-size: 9px;
  }
  
  .grid-col.price {
    font-size: 9px;
    font-weight: bold;
  }
  
  .view-btn {
    padding: 4px 3px;
    font-size: 8px;
    white-space: nowrap;
    background: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-width: 50px;
    height: 28px;
  }
  
  .view-btn:hover {
    background: #1976D2;
  }
}
/* Smooth scrollbar for grid */
#dynamic-mesh-grid::-webkit-scrollbar {
  width: 8px;
}

#dynamic-mesh-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#dynamic-mesh-grid::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

#dynamic-mesh-grid::-webkit-scrollbar-thumb:hover {
  background: #555;
}/* End custom CSS */