/**
 * WBF Solutions - Akira Theme Specific Styling
 *
 * This CSS file provides Akira theme-compatible styling for WBF Solutions module
 * Matches Akira's design language and TouchSpin controls
 *
 * @version 1.0.3 - Bootstrap 4.0.0-alpha.5 with Product Tabs Accordion Style
 * @theme Akira
 */

/* ========================================
   ACCORDION CUSTOMIZATION STYLING
   Matches Akira product tabs accordion style
   Uses Bootstrap 4 collapse API (Akira's native framework)
   ======================================== */

/* Accordion title - matches .wc-tabs-wrapper .accordion-title */
#wbf_solutions-block .accordion-title {
  position: relative;
  display: block;
  color: var(--color-title);
  text-transform: uppercase;
  font-weight: var(--font-weight-semi);
  font-family: var(--font-family-semi);
  font-size: 1.6rem;
  border: 1px solid var(--ax-line-color);
  text-decoration: none !important;
  cursor: pointer;
  background: #F8F8F8;
  padding: 10px;
}

/* Arrow icon - matches product tabs */
#wbf_solutions-block .accordion-title::after {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -10px;
  width: 20px;
  height: 20px;
  color: var(--color-body);
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  transition: transform 0.3s ease;
  font-family: 'Line Awesome Free';
  font-weight: 900;
  content: "\f107";
  background-color: #F8F8F8;
}

/* Active state - rotate arrow and change color */
#wbf_solutions-block .accordion-title.active_accordion::after,
#wbf_solutions-block .accordion-title[aria-expanded="true"]::after {
  transform: rotate(180deg);
  color: var(--aq-red, #D90812) !important;
}

#wbf_solutions-block .accordion-title.active_accordion,
#wbf_solutions-block .accordion-title[aria-expanded="true"] {
  color: var(--aq-red, #D90812) !important;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  #wbf_solutions-block .accordion-title {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: var(--font-size-body);
  }
}

/* Customization content padding */
#wbf_solutions-block .customization-content {
  padding-top: 0;
  padding-bottom: 0;
}

/* Smooth collapse transition - no bounce */
#wbf_solutions-block .wc-tab.collapse {
  transition: none;
}

#wbf_solutions-block .wc-tab.collapsing {
  transition: height 0.25s ease;
}

@media (max-width: 1024px) {
  #wbf_solutions-block .customization-content {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* ========================================
   WBF Solutions BLOCK - GENERAL
   ======================================== */
.mt-3 {
  margin-top: 1.8rem !important;
}

#wbf_solutions-block {
  margin-top: 0;
  margin-bottom: 2rem;
}

#wbf_solutions-block .h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #232323;
  margin-bottom: 1rem;
}

/* ========================================
   PRODUCT ITEM CARDS
   ======================================== */

/* FORCE spacing between rows - ID-based specificity beats Bootstrap */
#wbf_solutions-block .wbf_solutions-product-item {
  margin-bottom: 2.5rem !important;
  padding: 1.5rem !important;
  border: 1px solid var(--ax-line-color, #E6E6E6) !important;
  border-radius: 0 !important;
  background-color: #fff !important;
  transition: box-shadow 0.3s ease !important;
}

#wbf_solutions-block .wbf_solutions-product-item:not(:last-child) {
  margin-bottom: 2.5rem !important;
}

#wbf_solutions-block .wbf_solutions-product-item:last-child {
  margin-bottom: 0 !important;
}

/* Override ANY Bootstrap margin classes */
#wbf_solutions-block .wbf_solutions-product-item.mb-3,
#wbf_solutions-block .wbf_solutions-product-item.mb-2,
#wbf_solutions-block .wbf_solutions-product-item.mb-1 {
  margin-bottom: 2.5rem !important;
}

#wbf_solutions-block .wbf_solutions-product-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Product title matching Akira main product */
.wbf_solutions-product-item h5 {
  font-size: 1.8rem !important;
  line-height: 1.2 !important;
  font-weight: var(--font-weight-title, 700) !important;
  color: var(--color-title, #282828) !important;
  margin-bottom: 1rem !important;
}

.wbf_solutions-product-item h5 a {
  color: var(--color-title, #282828) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  font-weight: 600 !important;
}

.wbf_solutions-product-item h5 a:hover {
  color: var(--color-primary, #1367ef) !important;
}

/* Product description short matching Akira */
.wbf_solutions-product-item .product-description-short {
  margin-bottom: 20px !important;
  color: var(--color-body, #7a7a7a) !important;
  font-size: var(--font-size-body, 1.4rem) !important;
  line-height: 1.5 !important;
}

.wbf_solutions-product-item .product-description-short p:last-child {
  margin-bottom: 0 !important;
}

.wbf_solutions-product-item .product-description-short.text-muted {
  color: var(--color-body, #7a7a7a) !important;
}

/* Product prices matching Akira - using ID-based specificity */
#wbf_solutions-block .wbf_solutions-product-item .product-pricing {
  margin-bottom: 20px !important;
}

#wbf_solutions-block .wbf_solutions-product-item .product-prices {
  margin-bottom: 0 !important;
}

#wbf_solutions-block .wbf_solutions-product-item .product-price {
  font-size: 2.2rem !important;
  line-height: 1.2 !important;
}

#wbf_solutions-block .wbf_solutions-product-item .current-price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 10px !important;
}

#wbf_solutions-block .wbf_solutions-product-item .product__current-price,
#wbf_solutions-block .wbf_solutions-product-item .current-price-value {
  font-size: 1.8rem !important;
  line-height: 1.2 !important;
}

#wbf_solutions-block .wbf_solutions-product-item .product__regular-price,
#wbf_solutions-block .wbf_solutions-product-item .regular-price {
  font-size: 1.6rem !important;
  color: #999 !important;
  text-decoration: line-through !important;
}

#wbf_solutions-block .wbf_solutions-product-item .product__discount {
  font-size: 1.4rem !important;
  color: var(--color-price, #dc3545) !important;
  font-weight: 600 !important;
}

#wbf_solutions-block .wbf_solutions-product-item .product__unit-price,
#wbf_solutions-block .wbf_solutions-product-item .product-unit-price {
  font-size: 1.2rem !important;
  color: #7b858a !important;
  margin-bottom: 0 !important;
}

/* VAT label styling - now inside current-price div */
#wbf_solutions-block .wbf_solutions-product-item .tax-shipping-delivery-label {
  font-size: 1.2rem !important;
  color: #7b858a !important;
  font-weight: normal !important;
}

/* ========================================
   PRODUCT IMAGE
   ======================================== */

.wbf_solutions-product-item img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

/* ========================================
   PRODUCT DESCRIPTION
   ======================================== */

.wbf_solutions-row-description {
  color: #666;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.product-description-short {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #666;
}

/* ========================================
   SECTION HEADER STYLING
   ======================================== */

#wbf_solutions-block .wbf_solutions-section-header {
  margin-top: 1.5rem !important;
  margin-bottom: 5rem !important;
  padding-bottom: 1.5rem !important;
}

#wbf_solutions-block .wbf_solutions-section-title {
  font-size: var(--font-size-h3, 2rem) !important;
  font-weight: var(--font-weight-title, 700) !important;
  color: var(--color-title, #282828) !important;
  text-transform: uppercase !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.2 !important;
}

#wbf_solutions-block .wbf_solutions-section-description {
  font-size: var(--font-size-body, 1.4rem) !important;
  color: var(--color-body, #7a7a7a) !important;
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
}

#wbf_solutions-block .wbf_solutions-section-description p {
  margin-bottom: 0.5rem !important;
}

#wbf_solutions-block .wbf_solutions-section-description p:last-child {
  margin-bottom: 0 !important;
}

/* First product closer to section header */
#wbf_solutions-block .wbf_solutions-section-header+.wbf_solutions-product-item,
#wbf_solutions-block .wbf_solutions-section-header~.wbf_solutions-product-item:first-of-type {
  margin-top: 1.5rem !important;
}

/* ========================================
   PRODUCT VARIANTS - AKIRA THEME STRUCTURE
   ======================================== */

/* Main variants container - inline layout matching ProductCCA */
#wbf_solutions-block .wbf_solutions-product-item .product-variants {
  margin-bottom: 0.75rem !important;
  display: block !important;
  width: 100%;
}

/* Individual variant item (row) - inline flex layout matching ProductCCA */
#wbf_solutions-block .wbf_solutions-product-item .product-variants-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
  flex-wrap: wrap !important;
}

/* Control label (variant name) - flex layout with closer spacing */
#wbf_solutions-block .wbf_solutions-product-item .product-variants .control-label {
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  padding-right: 10px !important;
  color: var(--color-label) !important;
  white-space: nowrap !important;
  font-weight: var(--font-weight-semi) !important;
  font-family: var(--font-family-semi) !important;
  min-width: auto !important;
  line-height: 30px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  flex-shrink: 0 !important;
}

.wbf_solutions-product-item .product-variants .control-label::after {
  content: ':';
  margin-left: 2px;
}

/* Select container */
#wbf_solutions-block .wbf_solutions-product-item .product-variants .select-container {
  position: relative;
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
}

/* Select dropdowns - EXACT Akira theme styling */
#wbf_solutions-block .wbf_solutions-product-item .product-variants-item select.form-control {
  border: 1px solid var(--ax-line-color) !important;
  box-shadow: none !important;
  height: 34px !important;
  padding: 0 10px !important;
  margin: 2px !important;
  font-size: var(--font-size-body) !important;
  background-color: rgba(255, 255, 255, 0) !important;
  color: #232323 !important;
  border-radius: 0 !important;
  transition: all 0.2s ease !important;
  min-width: auto !important;
 width: 10vh !important;
}

.wbf_solutions-product-item .product-variants-item select.form-control:hover {
  border-color: var(--color-primary, #1367ef);
}

.wbf_solutions-product-item .product-variants-item select.form-control:focus {
  outline: none;
  border-color: var(--color-primary, #1367ef);
  box-shadow: 0 0 0 2px rgba(19, 103, 239, 0.1);
  background-color: rgba(19, 103, 239, 0.05);
  font-weight: 500;
}

/* Selected state for dropdowns */
.wbf_solutions-product-item .product-variants-item select.form-control.selected {
  background-color: rgba(19, 103, 239, 0.05);
  border-color: var(--color-primary, #1367ef);
  font-weight: 500;
}

/* UL container for radio and color variants */
#wbf_solutions-block .wbf_solutions-product-item .product-variants-item ul {
  margin: 0;
  padding: 0;
  font-size: 0;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 3px !important;
  list-style: none;
  flex: 1 !important;
}

#wbf_solutions-block .wbf_solutions-product-item .product-variants-item ul li,
#wbf_solutions-block .wbf_solutions-product-item .product-variants>.product-variants-item ul li {
  line-height: 1 !important;
  margin: 0 !important;
  font-size: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Input container (for radio and color) */
.wbf_solutions-product-item .input-container {
  display: inline-block;
  position: relative;
}

.wbf_solutions-product-item .input-container label {
  margin: 0;
  cursor: pointer;
  display: inline-block;
}

/* Radio button variants */
.wbf_solutions-product-item .product-variants-item.type_radio .input-container {
  margin-right: 5px;
}

.wbf_solutions-product-item .input-radio {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

#wbf_solutions-block .wbf_solutions-product-item .radio-label {
  min-width: 32px !important;
  line-height: 30px !important;
  padding: 0 8px !important;
  text-align: center !important;
  font-weight: normal !important;
  border: 1px solid var(--ax-line-color) !important;
  color: var(--color-body) !important;
  font-size: 12px !important;
  box-shadow: none !important;
  display: inline-block !important;
  background: var(--ax-bg-wrapper) !important;
  -webkit-transition: all 0.2s ease-in-out 0s !important;
  -ms-transition: all 0.2s ease-in-out 0s !important;
  -moz-transition: all 0.2s ease-in-out 0s !important;
  -o-transition: all 0.2s ease-in-out 0s !important;
  transition: all 0.2s ease-in-out 0s !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

#wbf_solutions-block .wbf_solutions-product-item .radio-label:hover {
  border-color: var(--color-primary, #1367ef) !important;
  background-color: rgba(19, 103, 239, 0.05) !important;
}

#wbf_solutions-block .wbf_solutions-product-item .input-radio:checked+.radio-label {
  background-color: var(--color-primary, #1367ef) !important;
  border-color: var(--color-primary, #1367ef) !important;
  color: #fff !important;
  font-weight: normal !important;
}

/* Color variants */
.wbf_solutions-product-item .product-variants-item.type_color .input-container {
  margin-right: 3px;
}

.wbf_solutions-product-item .input-color {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.wbf_solutions-product-item .color {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid #d6d4d4;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}

.wbf_solutions-product-item .color.texture {
  background-size: cover;
  background-repeat: no-repeat;
}

.wbf_solutions-product-item .input-color:checked+.color {
  border-color: var(--color-primary, #1367ef);
  box-shadow: 0 0 0 2px rgba(19, 103, 239, 0.3);
}

.wbf_solutions-product-item .color:hover {
  border-color: var(--color-primary, #1367ef);
}

/* Color tooltip */
.wbf_solutions-product-item .corlor-tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid #d6d4d4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
  white-space: nowrap;
}

.wbf_solutions-product-item .input-container:hover .corlor-tooltip {
  display: block;
}

.wbf_solutions-product-item .bg-tooltip {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 1px solid #d6d4d4;
  margin-bottom: 5px;
  background-size: cover;
  background-position: center;
}

.wbf_solutions-product-item .name-tooltip {
  display: block;
  font-size: 12px;
  color: #232323;
  text-align: center;
}

/* ========================================
   PRODUCT ADD TO CART SECTION
   ======================================== */

.wbf_solutions-product-item .product-add-to-cart {
  margin-top: 0.5rem;
}

/* Minimal quantity message */
.wbf_solutions-product-item .product-minimal-quantity {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

.wbf_solutions-product-item .product-minimal-quantity span {
  display: inline-block;
}

/* Product quantity section */
.wbf_solutions-product-item .product-quantity {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

/* ========================================
   AKIRA QUANTITY CONTROLS - WBF Solutions Structure
   ======================================== */

#wbf_solutions-block .wbf_solutions-product-item .qty {
  display: inline-block;
  flex-shrink: 0;
  width: 80px !important;
  min-width: 80px !important;
}

/* WBF Solutions uses .quantity-button .input-group structure */
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .input-group {
  display: inline-flex !important;
  position: relative !important;
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .2) !important;
  border-radius: var(--ax-form-bi-rd, 0) !important;
  margin-bottom: 0 !important;
}

/* Quantity input - matching main product - MAXIMUM SPECIFICITY */
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .input-group .form-control.js-quantity-wanted,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .form-control.js-quantity-wanted,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button input.form-control.js-quantity-wanted,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button input.js-quantity-wanted {
  height: 42px !important;
  padding: 0 10px !important;
  text-align: center !important;
  width: 80px !important;
  min-width: 80px !important;
  border: 1px solid var(--ax-line-color) !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--color-title) !important;
  display: block !important;
  font-size: var(--font-size-body) !important;
  -webkit-transition: all 0.2s ease-in-out !important;
  -ms-transition: all 0.2s ease-in-out !important;
  transition: all 0.2s ease-in-out !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
  flex: 1 !important;
  margin: 0 !important;
}

#wbf_solutions-block .wbf_solutions-product-item .quantity-button .input-group .form-control.js-quantity-wanted::-webkit-outer-spin-button,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .input-group .form-control.js-quantity-wanted::-webkit-inner-spin-button,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .form-control.js-quantity-wanted::-webkit-outer-spin-button,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .form-control.js-quantity-wanted::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

#wbf_solutions-block .wbf_solutions-product-item .quantity-button .input-group .form-control.js-quantity-wanted:focus,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .form-control.js-quantity-wanted:focus {
  outline: none !important;
  border-color: var(--color-primary, #1367ef) !important;
  box-shadow: 0 0 0 2px rgba(19, 103, 239, 0.1) !important;
}

/* Decrement and Increment buttons - matching theme exactly */
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .btn.decrement,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .btn.increment {
  height: 42px !important;
  width: 30px !important;
  min-width: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #fff !important;
  border: 1px solid var(--ax-line-color) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  color: var(--color-title, #282828) !important;
  font-size: 1.6rem !important;
}

#wbf_solutions-block .wbf_solutions-product-item .quantity-button .btn.decrement:hover,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .btn.increment:hover {
  background-color: var(--bg-color-btn-hover, #1367ef) !important;
  color: var(--color-btn-hover, #ffffff) !important;
}

#wbf_solutions-block .wbf_solutions-product-item .quantity-button .btn.decrement:active,
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .btn.increment:active {
  background-color: var(--bg-color-btn-hover, #1367ef) !important;
  opacity: 0.9 !important;
}

/* Decrement button - left side with border-radius */
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .btn.decrement {
  border-radius: var(--ax-form-bi-rd) 0 0 var(--ax-form-bi-rd) !important;
  border-right: none !important;
}

/* Increment button - right side with border-radius */
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .btn.increment {
  border-radius: 0 var(--ax-form-bi-rd) var(--ax-form-bi-rd) 0 !important;
  border-left: none !important;
}

/* Material Icons inside buttons */
#wbf_solutions-block .wbf_solutions-product-item .quantity-button .material-icons {
  font-size: 18px !important;
  line-height: 1 !important;
}

/* Additional theme compatibility - input-group-btn-vertical buttons */
#wbf_solutions-block .wbf_solutions-product-item .product-quantity .input-group-btn-vertical .btn {
  height: auto !important;
  padding: 0 !important;
  border-color: var(--ax-line-color) !important;
  margin: 0 !important;
  position: absolute !important;
  z-index: 3 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 25px !important;
  border-radius: 0 !important;
  border: 1px solid var(--ax-line-color) !important;
}

/* Bootstrap touchspin compatibility for WBF Solutions */
#wbf_solutions-block .wbf_solutions-product-item .bootstrap-touchspin input.form-control,
#wbf_solutions-block .wbf_solutions-product-item .bootstrap-touchspin input.input-group {
  background-color: unset !important;
  border: 1px solid var(--ax-line-color) !important;
  color: var(--color-title) !important;
  display: block !important;
  font-size: var(--font-size-body) !important;
  height: 45px !important;
  padding: 0 30px !important;
  padding-right: 31px !important;
  -webkit-transition: all 0.2s ease-in-out !important;
  -ms-transition: all 0.2s ease-in-out !important;
  transition: all 0.2s ease-in-out !important;
  width: 100% !important;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08) inset !important;
}

/* ========================================
   ADD TO CART BUTTON SECTION
   ======================================== */

.wbf_solutions-product-item .add {
  flex-grow: 1;
  display: inline-block;
}

/* Buttons */
.wbf_solutions-product-item .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

/* Add to cart button matching Akira - EXACT styling */
#wbf_solutions-block .wbf_solutions-product-item .add-to-cart.btn.btn-primary,
#wbf_solutions-block .wbf_solutions-product-item .btn-primary {
  background-color: var(--aq-red, #D90812) !important;
  border-color: var(--aq-red, #D90812) !important;
  color: #ffffff !important;
  padding: 0.625rem 1.5rem !important;
  font-size: 1.3rem !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  width: inherit !important;
  height: 42px !important;
  margin-bottom: 0.625rem;
  margin-left: 0.625rem;
}

.wbf_solutions-product-item .add-to-cart.btn.btn-primary:hover,
.wbf_solutions-product-item .btn-primary:hover {
  color: #ffffff !important;
  background-color: var(--aq-red-dark, #B8060F) !important;
  border-color: var(--aq-red-dark, #B8060F) !important;

}

.wbf_solutions-product-item .btn-primary:disabled {
  background-color: #ccc !important;
  border-color: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  transform: none !important;
}

#wbf_solutions-block .wbf_solutions-product-item button[name="submitCustomizedData"].btn-outline-primary {
  background-color: transparent !important;
  border: 1px solid var(--aq-red, #D90812) !important;
  color: var(--aq-red, #D90812) !important;
  padding: 0.625rem 1.5rem !important;
  font-size: 1.3rem !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  height: 42px !important;
  margin: 0 0 0.625rem 0 !important;
}

#wbf_solutions-block .wbf_solutions-product-item button[name="submitCustomizedData"].btn-outline-primary:hover {
  background-color: var(--aq-red, #D90812) !important;
  border-color: var(--aq-red, #D90812) !important;
  color: #ffffff !important;
}

/* Success button (customization saved) - same style as primary but green */
#wbf_solutions-block .wbf_solutions-product-item .btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #ffffff !important;
  padding: 0.625rem 1.5rem !important;
  font-size: 1.3rem !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  width: inherit !important;
  height: 42px !important;
  margin-bottom: 0.625rem;
  margin-left: 0.625rem;
}

#wbf_solutions-block .wbf_solutions-product-item .btn-success:hover {
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
  color: #ffffff !important;
}

.wbf_solutions-product-item .btn-secondary {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
  padding: 0.625rem 1.5rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}

.wbf_solutions-product-item .btn-secondary:hover {
  background-color: #5a6268 !important;
  border-color: #545b62 !important;
}

.wbf_solutions-product-item .btn .material-icons {
  margin-right: 0.25rem;
  font-size: 18px;
}

/* ========================================
   VOLUME DISCOUNTS TABLE
   ======================================== */

.wbf_solutions-product-item .product__discounts {
  margin-bottom: 1rem;
}

.wbf_solutions-product-item .product__discounts .h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.wbf_solutions-product-item .product__discounts table {
  font-size: 0.875rem;
}

.wbf_solutions-product-item .product__discounts th {
  background-color: #f8f8f8;
  font-weight: 600;
  padding: 0.5rem;
  border: 1px solid #e8e8e8;
}

.wbf_solutions-product-item .product__discounts td {
  padding: 0.5rem;
  border: 1px solid #e8e8e8;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .wbf_solutions-product-item {
    padding: 1rem !important;
  }
  
  /* Center product image on mobile */
  #wbf_solutions-block .wbf_solutions-product-item .col-md-3 {
    text-align: center !important;
    margin-bottom: 1rem !important;
  }
  
  #wbf_solutions-block .wbf_solutions-product-item .col-md-3 img {
    max-width: 200px !important;
    margin: 0 auto !important;
  }
  
  /* Variants layout - label above values, aligned left */
  #wbf_solutions-block .wbf_solutions-product-item .product-variants-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    margin-bottom: 10px !important;
  }
  
  #wbf_solutions-block .wbf_solutions-product-item .product-variants .control-label {
    width: 100% !important;
    text-align: left !important;
    padding-right: 0 !important;
    margin-bottom: 5px !important;
  }
  
  #wbf_solutions-block .wbf_solutions-product-item .product-variants .select-container,
  #wbf_solutions-block .wbf_solutions-product-item .product-variants-item ul {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  
  #wbf_solutions-block .wbf_solutions-product-item .product-variants-item select.form-control {
    width: 100% !important;
  }
  
  /* Quantity and Add to Cart inline on mobile */
  #wbf_solutions-block .wbf_solutions-product-item .product-quantity {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }
  
  #wbf_solutions-block .wbf_solutions-product-item .qty {
    width: auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
  }
  
  /* Fix touchspin container to prevent overlap */
  #wbf_solutions-block .wbf_solutions-product-item .bootstrap-touchspin,
  #wbf_solutions-block .wbf_solutions-product-item .input-group.bootstrap-touchspin {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    position: relative !important;
    display: inline-flex !important;
  }
  
  /* Fix vertical button positioning */
  #wbf_solutions-block .wbf_solutions-product-item .input-group-btn-vertical {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
  }
  
  #wbf_solutions-block .wbf_solutions-product-item .input-group-btn-vertical .btn {
    position: relative !important;
    width: 30px !important;
    height: 42px !important;
  }
  
  #wbf_solutions-block .wbf_solutions-product-item .add {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: stretch !important;
  }
  
  #wbf_solutions-block .wbf_solutions-product-item .add-to-cart.btn.btn-primary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .wbf_solutions-product-item .product__current-price {
    font-size: 1.25rem;
  }

  .wbf_solutions-product-item .product-minimal-quantity {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  #wbf_solutions-block .h4 {
    font-size: 1.25rem;
  }

  .wbf_solutions-product-item h5 {
    font-size: 1rem;
  }

  .wbf_solutions-product-item .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  /* Even smaller touchspin on very small screens */
  #wbf_solutions-block .wbf_solutions-product-item .bootstrap-touchspin,
  #wbf_solutions-block .wbf_solutions-product-item .input-group.bootstrap-touchspin {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.wbf_solutions-product-item .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wbf_solutions-product-item *:focus-visible {
  outline: 2px solid #232323;
  outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .wbf_solutions-product-item .product-actions {
    display: none;
  }

  .wbf_solutions-product-item {
    border: 1px solid #000 !important;
    page-break-inside: avoid;
  }
}

/* End of WBF Solutions Akira Theme Styles */


/* ========================================
   ATTPPF HIDE OVERRIDES FOR AKIRA THEME
   ======================================== */

product-customization .product-customization__item .card-body, .js-product-customization .product-customization__item .card-body {
  padding-top: 1.5rem !important;
  background: #F8F8F8;
}

.customization-content p:first-child, .product-line-customization p:first-child {
  display: block !important;
}

.customization-content.py-3 {
  padding-top: 0 !important;
   padding-bottom: 0 !important;
}

/* ========================================
   CIRCLE BADGE MODE (Compact Icons)
   WBF Solutions circle badge styles for Akira theme
   ======================================== */

/* Hide badge mode labels when circle mode is active */
.cart-badges-wrapper .wbf_solutions-circle-badge ~ .wbf_solutions-dual-labels-js,
.product-line-grid-body .wbf_solutions-circle-badge ~ .wbf_solutions-dual-labels-js {
    display: none !important;
}

/* Circle badge base styling */
.wbf_solutions-circle-badge {
    position: relative;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    line-height: 1;
    padding: 0 !important;
    text-align: center;
    cursor: help;
    z-index: 100;
    transition: box-shadow 0.2s ease;
    margin: 2px !important;
}

@media (max-width: 767px) {
    .wbf_solutions-circle-badge {
        font-size: 11px !important;
    }
}

.wbf_solutions-main-badge.wbf_solutions-circle-badge {
    color: white !important;
}

.wbf_solutions-circle-badge:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 10000;
}

/* Desktop tooltips */
@media (min-width: 768px) {
    .wbf_solutions-circle-badge::before {
        content: attr(data-tooltip);
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) scale(0);
        transform-origin: top center;
        padding: 6px 10px;
        background: rgba(0,0,0,0.9);
        color: #fff;
        border-radius: 3px;
        white-space: normal;
        width: 320px;
        max-width: calc(100vw - 40px);
        word-wrap: break-word;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.4;
        z-index: 99999;
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .wbf_solutions-circle-badge::after {
        content: '';
        position: absolute;
        top: calc(100% + 3px);
        left: 50%;
        transform: translateX(-50%) scale(0);
        border: 5px solid transparent;
        border-bottom-color: rgba(0,0,0,0.9);
        z-index: 99998;
        opacity: 0;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .wbf_solutions-circle-badge:hover::before,
    .wbf_solutions-circle-badge:hover::after {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* Mobile tooltips */
@media (max-width: 767px) {
    .wbf_solutions-circle-badge.active::before {
        content: attr(data-tooltip);
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px 14px;
        background: rgba(0,0,0,0.9);
        color: #fff;
        border-radius: 6px;
        max-width: 80vw;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
        font-size: 12px;
        font-weight: normal;
        line-height: 1.5;
        z-index: 9999;
        box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }
    
    .wbf_solutions-circle-badge.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
    }
}

.wbf_solutions-circle-labels {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 6px;
    margin-bottom: 4px;
    position: relative;
    z-index: 100;
}

/* Cart summary overflow fixes */
.cart-summary-top,
.js-cart-summary-top,
.cart-summary-products,
.cart-summary-products-wrapper,
.js-cart-summary-products,
.cart-summary-product-list,
.cart-summary-items-subtotal,
.media,
#js-checkout-summary {
    overflow: visible !important;
}

.cart-summary .wbf_solutions-dual-labels,
.cart-summary-products .wbf_solutions-dual-labels,
.js-cart-summary .wbf_solutions-dual-labels,
.media .wbf_solutions-dual-labels {
    position: relative;
    z-index: 10000;
    margin-bottom: 30px;
}

.cart-summary .wbf_solutions-circle-badge::before {
    z-index: 99999 !important;
}

.wbf_solutions-circle-labels .wbf_solutions-circle-badge {
    flex-shrink: 0;
}

.wbf_solutions-circle-badge:focus {
    outline: 2px solid #0066ff;
    outline-offset: 2px;
}

.wbf_solutions-circle-badge:focus::before,
.wbf_solutions-circle-badge:focus::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

@media print {
    .wbf_solutions-circle-badge::before {
        content: " [" attr(data-tooltip) "]";
        position: static;
        transform: none;
        background: none;
        color: inherit;
        opacity: 1;
        white-space: normal;
    }
}