
/* Tab panel typography — sensible defaults (overridden by display settings when saved) */
.fme-ctpc-tab-content {
  color: inherit;
  word-wrap: break-word;
}

.fme-ctpc-tab-content p:last-child,
.fme-ctpc-tab-content ul:last-child,
.fme-ctpc-tab-content ol:last-child {
  margin-bottom: 0;
}

.fme-ctpc-tab-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1em;
}

.fme-ctpc-tab-content table th,
.fme-ctpc-tab-content table td {
  padding: 0.5em 0.75em;
  border: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}

.fme-ctpc-tab-content .product-attributes-table table th {
  background: #f8f9fa;
  font-weight: 600;
}

/* Product comparison tab */
.compare-tab-button {
  text-align: center;
  margin: 20px auto;
  padding: 20px 0;
}

.show-comparison-tab {
  background-color: #fff;
  color: #4da8da;
  padding: 12px 24px;
  border: 2px solid #4da8da;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.show-comparison-tab:hover {
  background-color: #4da8da;
  color: #fff;
}

.comparison-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
}

.comparison-popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  z-index: 1000000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.comparison-popup .close-popup {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 24px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #f0f0f0;
  border-radius: 50%;
  transition: background 0.3s ease;
  color: #333;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comparison-popup .close-popup:hover {
  background: #e0e0e0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  max-height: 80vh;
}

.comparison-table {
  border-collapse: separate;
  min-width: 800px;
  border-spacing: 0;
  border: 1px solid #e0e0e0;
  background: #fff;
  margin: 20px 0;
}

.comparison-table th {
  position: sticky;
  top: 0;
  background: #4da8da;
  color: #fff;
  padding: 15px;
  text-align: left;
  border-bottom: 2px solid #3d8ab0;
}

.comparison-table tr {
  transition: background-color 0.3s ease;
}

.comparison-attribute-label {
  font-weight: bold;
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.comparison-attribute-value {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-product-image {
  text-align: center;
}

.comparison-product-name {
  font-weight: bold;
  color: #333;
}

.comparison-product-price {
  font-size: 1.1em;
  color: #4da8da;
}

.comparison-product-rating {
  color: #ffa41c;
}

.comparison-in-stock {
  color: #2ecc71;
  font-weight: bold;
}

.comparison-out-of-stock {
  color: #e74c3c;
  font-weight: bold;
}

.comparison-product-description {
  color: #666;
  line-height: 1.4;
}

.comparison-table .attribute-table {
  background: #f8f9fa;
  border-radius: 4px;
  padding: 10px;
}

.comparison-attribute-row {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.comparison-attribute-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.comparison-attribute-name {
  color: #666;
  font-size: 0.9em;
}

.comparison-attribute-val {
  color: #333;
  font-weight: 500;
}

/* Best seller products */
.best-selling-slider {
  margin: 20px 0;
  padding: 0 20px;
}
.slide-item {
  padding: 10px;
}
.product-card {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
}
.product-card img {
  max-width: 100%;

  margin-bottom: 10px;
  object-fit: cover;
}
.product-card h3 {
  font-size: 14px;
  margin: 10px 0;
}
.product-card .price {
  color: #333;
  font-size: 12px !important;
  margin: 0.41575000000000006em 0 !important;
}
.view-product {
  display: inline-block;
  padding: 6px 12px;
  background: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  font-size: 13px;
}
.view-product:hover {
  background: #45a049;
}




/* related products slider */

.related-products-slider {
  margin: 20px 0 !important;
  padding: 0 20px !important;
}
.related-product-slide {
  padding: 10px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  text-align: center !important;
  margin: 5px !important;
}
.related-product-link {
  display: block !important;
  text-decoration: none !important;
  padding-bottom: 10px !important;
}
.related-product-image img {
  max-width: 100% !important;
  margin-bottom: 10px !important;
  object-fit: cover !important;
}
.related-product-info {
  margin-bottom: 10px !important;
}
.related-product-title {
  font-size: 14px !important;
  margin: 10px 0 !important;
}
.related-product-price {
  color: #333 !important;
  font-size: 12px !important;
  margin: 0.415em 0 !important;
}
.related-product-cart {
  margin-top: 10px !important;
}
.fme_add_to_cart_button {
  display: inline-block !important;
  padding: 6px 12px !important;
  background: #4caf50 !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  transition: background 0.3s !important;
  font-size: 13px !important;
}
.fme_add_to_cart_button:hover {
  background: #928b89 !important;
}



/* size chart table css */
.size-chart-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.size-chart-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: #f0f8ff;
  border: 2px solid #eceff1;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: auto;
  max-height: 600px;
  scrollbar-width: thin;
  scrollbar-color: #add8e6 #f0f8ff;
  transition: all 0.3s ease;
}

.size-chart-scroll {
  min-width: 100%;
}

.size-chart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6f3ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.size-chart-header-row {
  background: linear-gradient(to right, #e6f3ff, #f0f8ff);
  position: sticky;
  top: 0;
  z-index: 10;
}

.size-chart-table th {
  padding: 15px;
  text-align: center;
  border: 1px solid #e6f3ff;
  color: #2c5777;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95em;
  letter-spacing: 0.5px;
}

.size-chart-body-row {
  transition: all 0.3s ease;
}

.size-chart-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #e6f3ff;
  color: #2c5777;
  transition: all 0.3s ease;
}
.size-chart-container:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.size-chart-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.size-chart-container::-webkit-scrollbar-track {
  background: #f0f8ff;
  border-radius: 4px;
}
.size-chart-container::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #add8e6, #87ceeb);
  border-radius: 4px;
  border: 2px solid #f0f8ff;
}
.size-chart-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #87ceeb, #5fb8e3);
}
.size-chart-container table tr:hover,
.size-chart-table tr:hover {
  background-color: #f8fbff;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.size-chart-container table td,
.size-chart-table td {
  transition: all 0.3s ease;
}

.size-chart-container table td:hover,
.size-chart-table td:hover {
  background-color: #e6f3ff;
}
@media screen and (max-width: 600px) {
  .size-chart-wrapper {
      padding: 10px;
      margin: 0 10px;
  }
  .size-chart-container {
      padding: 15px;
      border-radius: 6px;
  }
  .size-chart-scroll {
      min-width: 500px;
  }
  .size-chart-container table th,
  .size-chart-table th {
      font-size: 0.9em;
      padding: 12px 8px;
  }
  .size-chart-container table td,
  .size-chart-table td {
      font-size: 0.9em;
      padding: 10px 8px;
  }
}

/* To show icons on frontend */

#icon_meta_box_select, .icon_meta_box_select2{
  font-family: 'FontAwesome', Helvetica;
}

.fontas
{

  float: left;
  font-family: "FontAwesome",Helvetica;
  font-size: 14px;
  margin-right: 5px;
  padding-top: 5px;
}
.ftext
{
  float: left;
  padding-top: 5px;
  text-transform: capitalize;
  width: 60%;
}
.fontas_bt
{
  float: left;
  font-family: "FontAwesome",Helvetica;
  font-size: 14px;
  margin-right: 5px;
}

.se2
{
  font-family: "FontAwesome",Helvetica;
}


.tabs
{
  font-family: "FontAwesome",Helvetica;
}

.widget-title-action{
  font-family: "FontAwesome",Helvetica;
}
.fme-icon{
  font-family: "FontAwesome",Helvetica;
}


.video-slider {
  margin: 0 auto;
}

.video-slide {
  display: block !important;
  margin: 0;
  padding: 0;
}

.video-slider .slick-track {
  display: flex;
  align-items: center;
}

.slick-slide:empty {
  display: none !important;
}
