.colour-swatch-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.colour-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  text-indent: -9999px;
  position: relative;
}

.colour-swatch:hover::after,
.colour-swatch:focus::after {
  content: attr(title);
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  white-space: nowrap;
  z-index: 9;
}

.colour-swatch.active {
  border-color: #000;
  color:  #fff;  
}


.colour-swatch.active::after {
    content: attr(title);
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    font-size: 12px;
    padding: 2px 6px;
    white-space: nowrap;
    z-index: 9;
    }

.size-quantity-matrix table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.size-quantity-matrix th, .size-quantity-matrix td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.custom-add-to-cart-button {
  background: #ccc;
  color: #fff;
  border: none;
  padding: 1rem;
  width: 100%;
  font-size: 1.1rem;
  cursor: not-allowed;
  transition: 0.3s;
}

.custom-add-to-cart-button.enabled {
  background: #000;
  cursor: pointer;
}

.custom-add-to-cart-button.enabled:hover {
  background: #01ADF0;
  color: #000;
}

.single-product #sidebar {
  display: none !important;
}

.single-product .content-area,
.single-product .site-main,
.single-product .grid_16 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

.custom-product-tabs {
  margin-top: 2rem;
  background: #f9f9f9;
  padding: 1.5rem;
  border: 1px solid #eee;
}
.tab-headings {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0;
  border-bottom: 2px solid #ddd;
}
.tab-link {
  cursor: pointer;
  padding: 0.5rem 1rem;
  background: #eee;
  border-radius: 5px 5px 0 0;
}
.tab-link.active {
  background: #000;
  color: #fff;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.tab-table {
  width: 100%;
  border-collapse: collapse;
}
.tab-table th, .tab-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
.single-product .custom-product-tabs {
  clear: both;
  width: 100%;
  max-width: 100%;
  margin-top: 2rem;
  padding: 2rem;
  background: #f9f9f9;
}

.woocommerce .woocommerce-tabs {
  margin-top: 2rem;
}

/* Tabs wrapper */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 3rem;
  border: 2px solid #01ADF0;
  border-radius: 6px;
  padding: 1rem;
  background: #fff;
}

/* Tab headers */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0 0 1rem 0;
  list-style: none;
  border: none;
  justify-content: flex-start;
  border-bottom: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0.75rem 1.25rem;
  border: 1px solid #01ADF0;
  border-bottom: none;
  background: #f2f2f2;
  color: #01ADF0;
  font-weight: 600;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #01ADF0;
  color: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: inherit;
  text-decoration: none;
}

/* Panel content */
.woocommerce div.product .woocommerce-tabs .panel {
  background: #fafafa;
  padding: 1.5rem;
  border-top: 1px solid #01ADF0;
  border-radius: 0 0 4px 4px;
}

/* Optional: smooth fade-in on tab switch */
.woocommerce div.product .woocommerce-tabs .panel {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Active tab with solid blue background and white text */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background-color: #01ADF0 !important;
  color: #fff !important;
  border-color: #01ADF0 !important;
}

/* Flatten the bottom edge of tab headings */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* (Optional) Ensure tab content matches */
.woocommerce div.product .woocommerce-tabs .panel {
  border-top-left-radius: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before, .woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
  box-shadow: none !important;
  content: none !important;
}

.colour-swatch {
  position: relative;
}





