/* Quantity dropdown - Clean & Minimal */
tr .label label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    letter-spacing: 0.2px;
}

/* Table cells - remove top spacing */
td.label {
    padding: 0 0 8px 0 !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
}

td.value {
    padding: 0 !important;
    vertical-align: middle !important;
    position: relative !important;
    margin-top: 0 !important;
}

/* Dropdown select - Clean no top margin */
#quantity,
select[name="attribute_quantity"] {
    width: 100% !important;
    max-width: 280px !important;
    padding: 10px 36px 10px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' 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") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

/* Hover state - subtle */
#quantity:hover,
select[name="attribute_quantity"]:hover {
    border-color: #5B0F27 !important;
}

/* Focus state */
#quantity:focus,
select[name="attribute_quantity"]:focus {
    outline: none !important;
    border-color: #5B0F27 !important;
    box-shadow: 0 0 0 1px rgba(91, 15, 39, 0.1) !important;
}

/* DROPDOWN OPTIONS STYLING - Override default blue colors */
/* Placeholder option */
#quantity option[value=""],
select[name="attribute_quantity"] option[value=""] {
    color: #999 !important;
    font-style: normal !important;
    background: #fff !important;
}

/* Regular options */
#quantity option,
select[name="attribute_quantity"] option {
    padding: 10px 12px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
}

/* Hover colors for dropdown options - OVERRIDE BLUE */
#quantity option:hover,
select[name="attribute_quantity"] option:hover {
    background-color: rgba(91, 15, 39, 0.15) !important;
    color: #5B0F27 !important;
}

/* Selected option - OVERRIDE DEFAULT BLUE */
#quantity option:checked,
select[name="attribute_quantity"] option:checked,
#quantity option.attached.enabled:checked,
select[name="attribute_quantity"] option.attached.enabled:checked {
    background-color: rgba(91, 15, 39, 0.1) !important;
    color: #5B0F27 !important;
    font-weight: 500 !important;
}

/* Selected option hover */
#quantity option:checked:hover,
select[name="attribute_quantity"] option:checked:hover {
    background-color: rgba(91, 15, 39, 0.2) !important;
    color: #5B0F27 !important;
}

/* For Firefox specific overrides */
@-moz-document url-prefix() {
    #quantity option:hover,
    select[name="attribute_quantity"] option:hover {
        background-color: rgba(91, 15, 39, 0.15) !important;
        color: #5B0F27 !important;
    }
    
    #quantity option:checked,
    select[name="attribute_quantity"] option:checked {
        background-color: rgba(91, 15, 39, 0.1) !important;
        color: #5B0F27 !important;
    }
    
    #quantity:focus,
    select[name="attribute_quantity"]:focus {
        box-shadow: 0 0 0 1px rgba(91, 15, 39, 0.1) !important;
    }
}

/* Clear button - compact */
.reset_variations {
    display: inline-block !important;
    margin-left: 10px !important;
    padding: 5px 10px !important;
    background: rgba(91, 15, 39, 0.05) !important;
    color: #5B0F27 !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
    letter-spacing: 0.1px !important;
    vertical-align: middle !important;
}

.reset_variations:hover {
    background: rgba(91, 15, 39, 0.1) !important;
    color: #5B0F27 !important;
    text-decoration: none !important;
    border-color: rgba(91, 15, 39, 0.15) !important;
}

/* When reset button is visible */
.reset_variations[style*="visibility: visible"] {
    opacity: 1 !important;
}

/* Remove all top margins from parent containers */
tr {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

table {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    
    td.label,
    td.value {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    td.label {
        margin-bottom: 6px !important;
        padding-bottom: 0 !important;
    }
    
    /* Full width dropdown */
    #quantity,
    select[name="attribute_quantity"] {
        max-width: 100% !important;
        padding: 11px 36px 11px 12px !important;
        width: 100% !important;
    }
    
    /* Stack clear button */
    .reset_variations {
        margin: 8px 0 0 0 !important;
        padding: 6px 12px !important;
        display: inline-block !important;
    }
}

/* Small screens */
@media (max-width: 480px) {
    #quantity,
    select[name="attribute_quantity"] {
        padding: 10px 32px 10px 10px !important;
        font-size: 13px !important;
    }
    
    .label label {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }
    
    .reset_variations {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }
}

/* Disabled state */
#quantity:disabled,
select[name="attribute_quantity"]:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background-color: #f9f9f9 !important;
}

/* Focus accessibility */
#quantity:focus-visible,
select[name="attribute_quantity"]:focus-visible {
    outline: 1px solid #5B0F27 !important;
    outline-offset: 1px !important;
}

/* JavaScript fallback classes for better browser support */
.quantity-option-hover {
    background-color: rgba(91, 15, 39, 0.15) !important;
    color: #5B0F27 !important;
}

.quantity-option-selected {
    background-color: rgba(91, 15, 39, 0.1) !important;
    color: #5B0F27 !important;
    font-weight: 500 !important;
}

/* Override any blue highlight/selection colors */
::selection {
    background: rgba(91, 15, 39, 0.2) !important;
    color: #5B0F27 !important;
}

::-moz-selection {
    background: rgba(91, 15, 39, 0.2) !important;
    color: #5B0F27 !important;
}

/* Override browser's default blue focus */
#quantity:focus,
select[name="attribute_quantity"]:focus {
    background-color: #fff !important;
}

/* Remove any blue outline/border from browser defaults */
#quantity,
select[name="attribute_quantity"] {
    outline: none !important;
}

/* Force remove any browser default blue backgrounds */
option {
    background: #fff !important;
}

option:hover {
    background: rgba(91, 15, 39, 0.15) !important;
}


/* Add to Cart Button - Simple Design */
.single_add_to_cart_button {
	background: #5B0F27 !important;
	color: white !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 11px 24px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	top: 2px;
}
.reset_variations{
	padding:10px 20px !important;
}


/* Hover Effect */
.single_add_to_cart_button:not(.disabled):not(.wc-variation-selection-needed):hover {
    background: #8a2b52 !important;
    transform: translateY(-1px) !important;
}

/* Active/Click Effect */
.single_add_to_cart_button:not(.disabled):not(.wc-variation-selection-needed):active {
    background: #4a0a1d !important;
    transform: translateY(0) !important;
}

/* Focus State */
.single_add_to_cart_button:focus {
    outline: 2px solid #5B0F27 !important;
    outline-offset: 2px !important;
}

/* Disabled State */
.single_add_to_cart_button.disabled,
.single_add_to_cart_button.wc-variation-selection-needed {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
}

/* Disabled Hover - No effect */
.single_add_to_cart_button.disabled:hover,
.single_add_to_cart_button.wc-variation-selection-needed:hover {
    background: #cccccc !important;
    transform: none !important;
}



/* ===== WooCommerce Product Tabs – Premium Design ===== */

.woocommerce div.product .woocommerce-tabs {
  margin-top: 40px;
  font-family: inherit;
}

/* Tabs UL */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 12px;
  border: none;
  padding: 0;
  margin: 0 0 25px;
  flex-wrap: wrap;
}

/* Remove default line */
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none;
}

/* Individual Tab */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 2px solid #5b0f27;
  background: transparent;
  border-radius: 40px;
  padding: 0;
  margin: 0;
  transition: all 0.35s ease;
}

/* Tab Links */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 26px;
  font-weight: 600;
  color: #5b0f27;
  text-decoration: none;
  transition: all 0.35s ease;
}

/* Hover Effect */
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover {
  background: #5b0f27;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a {
  color: #fbc23d;
}

/* Active Tab */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: linear-gradient(135deg, #5b0f27, #3f0a1a);
  border-color: #5b0f27;
/*   box-shadow: 0 10px 30px rgba(91, 15, 39, 0.35); */
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #fbc23d;
}

/* Tab Content Box */
.woocommerce div.product .woocommerce-tabs .panel {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  animation: tabFade 0.45s ease;
margin-top: 40px;	
}

/* Paragraph Styling */
.woocommerce div.product .woocommerce-tabs .panel p {
  line-height: 1.8;
  font-size: 15px;
  color: #333;
}

/* Tables (Nutrition etc.) */
.woocommerce div.product .woocommerce-tabs table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce div.product .woocommerce-tabs table th {
  background: #fbc23d;
  color: #5B0F27;
  padding: 12px;
  text-align: left;
}

.woocommerce div.product .woocommerce-tabs table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.related.products h2{
	font-weight: 600;
	color: #5B0F27;
}
.related.products .woocommerce ul.products, .woocommerce-page ul.products {
	padding-top: 5px;
}
/* Smooth animation */
@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    flex-direction: column;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    width: fit-content;
  }
	  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    width: 100%;
    text-align: center;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    width: 100%;
  }
 .woocommerce-tabs table,
  .woocommerce-tabs thead,
  .woocommerce-tabs tbody,
  .woocommerce-tabs th,
  .woocommerce-tabs td,
  .woocommerce-tabs tr {
    display: block;
    width: 100%;
  }

  /* Hide table header */
  .woocommerce-tabs thead {
    display: none;
  }

  /* Each row as a card */
  .woocommerce-tabs tbody tr {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  }

  /* Cell styling */
  .woocommerce-tabs td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 !important;
    border: none !important;
    font-size: 14px;
  }

  /* Left label */
  .woocommerce-tabs td:first-child {
    font-weight: 600;
    color: #5b0f27;
  }

  /* Right value */
  .woocommerce-tabs td:last-child {
    font-weight: 600;
    color: #000;
    text-align: right;
  }
}
#tab-description h3 {
	color: #5B0F27;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
}
#tab-description ul, #tab-description ol {
	margin-top: 0;
	margin-bottom: 10px;
	padding-left: 15px;
}