/* Auros Tabs Products Widget */
.auros-tp { font-family: inherit; color: #333; }

/* Header row: heading on left, tabs on right */
.auros-tp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
.auros-tp-heading {
    margin: 0;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: #111;
}
.auros-tp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.auros-tp-tab-title {
    background: none;
    border: 0;
    padding: 4px 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #999;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.auros-tp-tab-title:hover { color: #111; }
.auros-tp-tab-title.is-active {
    color: #111;
    border-bottom-color: #e6c8a8;
}

/* Panels */
.auros-tp-panel { display: none; }
.auros-tp-panel.is-active { display: block; }

.auros-tp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Category card (left) */
.auros-tp-cat {
    position: relative;
    background: #f4f4f4;
    height: 100%;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}
.auros-tp-cat-img {
    max-width: 70%;
    height: auto;
    margin-bottom: 30px;
}
.auros-tp-cat-meta { margin-top: auto; }
.auros-tp-cat-title a {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}
.auros-tp-cat-title a:hover { color: #b48a64; }
.auros-tp-cat-count {
    margin-top: 8px;
    color: #777;
    font-size: 14px;
}

/* Products grid (right) — manual mode uses our self-contained grid.
   In WooCommerce mode the theme (e.g. Olla) styles `ul.products` itself,
   so we only reset list-style there and let the theme do the rest. */
.auros-tp-products {
    list-style: none;
    margin: 0;
    padding: 0;
}
.auros-tp-products--manual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
/* Safety net: if the active theme doesn't grid-ify ul.products itself,
   at least keep our 2-column layout in WooCommerce mode. */
.auros-tp-wc-wrap .products.columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}
.auros-tp-wc-wrap .products.columns-2 > li.product {
    width: 100% !important;
    margin: 0;
    float: none;
    clear: none;
}
.auros-tp-product { margin: 0; }
.auros-tp-product-block { position: relative; }

.auros-tp-product-img {
    position: relative;
    background: #f4f4f4;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.auros-tp-product-img img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    transition: transform .4s ease;
}
.auros-tp-product-block:hover .auros-tp-product-img img { transform: scale(1.04); }
.auros-tp-product-link { display: block; width: 100%; height: 100%; text-align: center; }

.auros-tp-onsale,
.auros-tp-outstock {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e6c8a8;
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 2;
    font-weight: 600;
}
.auros-tp-outstock { background: #999; }

.auros-tp-product-caption {
    text-align: center;
    padding: 18px 8px 8px;
}
.auros-tp-product-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}
.auros-tp-product-title a { color: inherit; text-decoration: none; }
.auros-tp-product-title a:hover { color: #b48a64; }
.auros-tp-price {
    color: #999;
    font-size: 14px;
}
.auros-tp-price del { opacity: .6; margin-left: 6px; }

/* Responsive */
@media (max-width: 900px) {
    .auros-tp-header { flex-direction: column; align-items: flex-start; }
    .auros-tp-row { grid-template-columns: 1fr; }
    .auros-tp-cat { min-height: 320px; }
}
@media (max-width: 480px) {
    .auros-tp-products--manual { grid-template-columns: 1fr; }
    .auros-tp-heading { font-size: 28px; }
}
