/* Aquariumzoo Imports - Tienda + ficha de producto */

.woocommerce ul.products {
    align-items: stretch !important;
}

.woocommerce ul.products li.product {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    background: #000 !important;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px) scale(1.018);
    box-shadow: 0 14px 34px rgba(0,0,0,.45);
    border-color: rgba(34,220,245,.65);
}

.woocommerce ul.products li.product img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
    background: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    transition: transform .35s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.04);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .az-product-short-description,
.woocommerce ul.products li.product .az-product-simple-model {
    padding-left: 18px;
    padding-right: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 58px;
    margin: 20px 0 10px !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: -.4px;
    color: #fff !important;
}

.az-product-short-description,
.az-product-simple-model {
    min-height: 52px;
    margin: 0 0 16px;
    font-size: 16px;
    font-style: italic;
    line-height: 1.45;
    opacity: .9;
    color: rgba(255,255,255,.78);
}

.woocommerce ul.products li.product .price {
    margin-top: auto !important;
    margin-bottom: 18px !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    color: #fff !important;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount,
.woocommerce ul.products li.product .price bdi {
    color: #fff !important;
}

.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
    font-size: 24px !important;
}

.woocommerce ul.products li.product .price small,
.woocommerce ul.products li.product .price .tax_label,
.woocommerce ul.products li.product .price .woocommerce-price-suffix {
    color: #22DCF5 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.az-product-badge {
    position: static;
    z-index: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 20px);
    margin: 10px 10px 0;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .35px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
    color: #000;
    white-space: nowrap;
}

.az-product-badge-stock { background: #8dffb5; }
.az-product-badge-a_pedido { background: #ffc107; }
.az-product-badge-internacion { background: #22DCF5; }
.az-product-badge-proximamente { background: #fff; }
.az-product-badge-sin_stock { background: #e32727; color: #fff; }

/* Oculta controles que Blocksy pueda inyectar fuera de nuestro formulario. */
.woocommerce ul.products li.product > .quantity,
.woocommerce ul.products li.product > .ct-quantity,
.woocommerce ul.products li.product > .quantity-wrap,
.woocommerce ul.products li.product > div.quantity,
.woocommerce ul.products li.product.azds-store-card > form:not(.az-loop-cart-form),
.woocommerce ul.products li.product.azds-store-card > form:not(.az-loop-cart-form) .quantity,
.woocommerce ul.products li.product .ct-card-actions > .quantity,
.woocommerce ul.products li.product .ct-card-actions .quantity,
.woocommerce ul.products li.product .ct-woo-card-actions > .quantity,
.woocommerce ul.products li.product .ct-woo-card-actions .quantity {
    display: none !important;
}

.az-loop-action-area {
    width: 100%;
    padding: 0 18px 18px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.az-loop-action-proximamente {
    margin-top: auto;
}

.az-loop-cart-form {
    width: 100%;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.az-loop-qty {
    width: 100%;
    height: 52px;
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    border: 1px solid rgba(34,220,245,.45);
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.az-loop-qty-btn {
    width: 56px;
    height: 52px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    line-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
}

.az-loop-qty-btn:hover {
    background: rgba(34,220,245,.16);
    color: #22DCF5;
}

.az-loop-qty-input {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 52px !important;
    box-shadow: none !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.az-loop-qty-input::-webkit-inner-spin-button,
.az-loop-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.az-loop-button,
.az-loop-view-cart {
    width: 100% !important;
    min-height: 56px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
    text-decoration: none !important;
}

.az-loop-button:hover,
.az-loop-view-cart:hover {
    transform: translateY(-1px);
}

.az-loop-button-stock,
.az-loop-button-internacion,
.az-loop-button-ver-producto {
    background: #2b2b2b !important;
    color: #22DCF5 !important;
}

.az-loop-button-stock:hover,
.az-loop-button-internacion:hover,
.az-loop-button-ver-producto:hover {
    background: #22DCF5 !important;
    color: #000 !important;
}

.az-loop-button-a_pedido {
    background: #ffc107 !important;
    color: #000 !important;
    border-color: rgba(255,193,7,.85) !important;
}

.az-loop-button-a_pedido:hover {
    background: #000 !important;
    color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.az-loop-button-proximamente {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

.az-loop-button-proximamente:hover,
.az-loop-button-proximamente:active {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

.az-loop-view-cart {
    background: #1f1f1f !important;
    color: #22DCF5 !important;
    border-color: rgba(34,220,245,.25) !important;
}

.az-loop-view-cart:hover {
    background: #22DCF5 !important;
    color: #000 !important;
}

.woocommerce ul.products li.product a.added_to_cart {
    display: none !important;
}

/* Ficha individual */
.az-single-product-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 16px;
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700 !important;
    line-height: 1.35;
    letter-spacing: .005em;
}

.az-single-product-status-stock {
    background: rgba(141,255,181,.14);
    border: 1px solid rgba(141,255,181,.55);
    color: #8dffb5;
}

.az-single-product-status-a_pedido {
    background: rgba(255,193,7,.12);
    border: 1px solid rgba(255,193,7,.55);
    color: #ffc107;
}

.az-single-product-status-internacion {
    background: rgba(34,220,245,.12);
    border: 1px solid rgba(34,220,245,.55);
    color: #22DCF5;
}

.az-single-product-status-proximamente {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}

.az-single-product-status-sin_stock {
    background: rgba(227,39,39,.12);
    border: 1px solid rgba(227,39,39,.62);
    color: #ff5b5b;
}

.az-single-product-sku {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 66px;
    margin: 18px 0 22px;
    padding: 12px 15px;
    gap: 13px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(34,220,245,.58);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(34,220,245,.13), rgba(34,220,245,.035) 52%, rgba(255,255,255,.015)), #050909;
    box-shadow: 0 10px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
}

.az-single-product-sku::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle at 88% 50%, rgba(34,220,245,.11), transparent 34%);
    pointer-events: none;
}

.az-single-product-sku::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,220,245,.65), transparent);
    opacity: .55;
    pointer-events: none;
}

.az-single-product-sku-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 1px solid rgba(34,220,245,.48);
    border-radius: 10px;
    background: rgba(34,220,245,.10);
    color: #22DCF5;
    box-shadow: inset 0 0 14px rgba(34,220,245,.055);
}

.az-single-product-sku-icon svg { width: 21px; height: 21px; }
.az-single-product-sku-content { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.az-single-product-sku-label { margin-bottom: 5px; color: rgba(255,255,255,.64); font-size: 10.5px; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.az-single-product-sku-value { color: #22DCF5; font-size: 16px; font-weight: 900; letter-spacing: .045em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(34,220,245,.12); }
.az-single-product-sku-vacio { display: none; }

.single-product div.product .summary .product_meta,
.single-product .product_meta .sku_wrapper {
    display: none !important;
}

@media (max-width: 1024px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px !important; }
    .woocommerce ul.products li.product .price { font-size: 24px !important; }
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product:hover { transform: none; }
    .az-single-product-sku { min-height: 62px; margin: 16px 0 20px; padding: 11px 13px; }
    .az-single-product-sku-value { font-size: 14px; letter-spacing: .025em; }
}


/* v0.5.43 - relacionados: imagen completa, sin recorte del thumbnail nativo. */
body.single-product .related.products ul.products li.product .ct-media-container {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #000 !important;
}

body.single-product .related.products ul.products li.product .ct-media-container img,
body.single-product .related.products ul.products li.product .woocommerce-LoopProduct-link img,
body.single-product .related.products ul.products li.product > a img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000 !important;
    transform: none !important;
}

body.single-product .related.products ul.products li.product:hover .ct-media-container img,
body.single-product .related.products ul.products li.product:hover .woocommerce-LoopProduct-link img,
body.single-product .related.products ul.products li.product:hover > a img {
    transform: none !important;
}
