
/* Hide all swatch-related elements for grouped products */
.product-type-grouped .swatch-attribute,
.product-type-grouped .swatch-attribute-options,
.product-type-grouped .product-options-wrapper,
.product-type-grouped .swatch-opt {
    display: none !important;
}

/* Ensure grouped product table is visible */
.product-type-grouped .table-wrapper.grouped,
.product-type-grouped .grouped-products-grid {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force table display */
.product-type-grouped .table.grouped > tbody > tr {
    display: table-row !important;
}

/* Additional styles for grouped products */
.grouped-products-grid {
    margin: 20px 0;
    overflow-x: auto;
}

.grouped-products-table {
    border-collapse: collapse;
    min-width: 1300px;
    display: block;
    overflow-x: auto;
}

.grouped-products-table th,
.grouped-products-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
}

.grouped-products-table th {
    background-color: #f4f4f4;
}

.header-cell {
    color: #000;
    font-weight: bold;
    text-align: left;
}

.input-text.qty {
    width: 60px;
}

.grouped-products-table td {
    color: #000;
}

.grouped-products-table td input {
    text-align: center;
}

.grouped-products-table td span {
    text-align: center;
}

.grouped-products-table td:first-child {
    text-align: left;
} 

/* Move all modal popups down for better visibility */
.modal-popup {
    top: 200px !important;
} 

/* Quick Order - Compact Price Display */
.amqorder-price-column {
    display: flex;
    flex-direction: column;
	max-width:300px !important;
	width:100% !important;
}

.amqorder-price-column .main-price {
    margin-bottom: 5px;
}

.custom-price-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    white-space: nowrap;
}

.custom-price-row small {
    color: #666;
}

.custom-price-row strong {
    color: #000;
    margin: 0 2px;
}



/* Torino Prices Styling */
.catalog-product-view .contenedor-precios .product-attribute .value {
  display: flex;
  flex-direction: column;
  row-gap: .2rem;
  font-size: 25px;
}

.catalog-product-view .contenedor-precios .torino-neto .value {
  color: #F07E2F;
  font-weight: 600;
}

.catalog-product-view .contenedor-precios .torino-pvp .value {
  color: #777777 !important;
}

.catalog-product-view .contenedor-precios .tax-label {
  text-transform: none !important;
  font-size: 14px;
}

/* Wishlist hearts – show orange filled icon when active */
body .page-wrapper .product-item .action.towishlist.added::before,
body .page-wrapper .product-item .action.towishlist.active::before {
    color: #ff5501 !important;
    font-family: "porto-icons" !important;
    content: "\e889" !important;
}

body .page-wrapper .product-item .action.towishlist.added,
body .page-wrapper .product-item .action.towishlist.active {
    color: #ff5501 !important;
}


body.catalog-product-view .page-title-wrapper h1.page-title,
body.catalog-product-view h1.page-title,
.product-info-main h1.page-title {
    text-align: left !important;
    justify-content: flex-start !important;
    display: block !important;
}


body .contenedor-precios,
.product-info-main .contenedor-precios {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    justify-content: flex-start !important;
}

body .contenedor-precios > div,
body .contenedor-precios .product-attribute {
    margin: 0 !important;
    margin-right: 0 !important;
    flex: 0 0 auto !important;
}

/* CAROUSEL */
.gama-colores-carousel .owl-item {
    width: 280px !important;
}

.gama-colores-carousel .item {
    text-align: center !important;
}

.gama-colores-carousel .item img {
    max-width: 250px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto 10px auto !important;
    display: block !important;
}

