/* Albero Group standard pdoMenu + pdoPage catalog — v147 */

.delivery-catalog-page {
    --catalog-accent: var(--brand-primary, #7a0000);
    --catalog-accent-dark: #5d0000;
    --catalog-text: #111827;
    --catalog-muted: #667085;
    --catalog-line: rgba(16, 24, 40, 0.12);
    background: #f7f8fa;
    color: var(--catalog-text);
    min-height: 65vh;
}

.delivery-catalog-page[data-context="pioppo"] {
    --catalog-accent: var(--brand-primary, #735f36);
    --catalog-accent-dark: #524326;
}

.delivery-catalog-page[data-context="cedro"] {
    --catalog-accent: var(--brand-primary, #466145);
    --catalog-accent-dark: #30432f;
}

.delivery-catalog-hero {
    background: var(--catalog-accent);
    color: #fff;
    padding: 25px 0 29px;
    text-align: center;
}

.delivery-catalog-hero h1 {
    color: inherit;
    font-size: clamp(2rem, 2.45vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}

.delivery-catalog-docs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: center;
    margin-top: 14px;
}

.delivery-catalog-doc {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 0.98rem;
    font-weight: 700;
    gap: 8px;
    opacity: 1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.delivery-catalog-doc:hover,
.delivery-catalog-doc:focus-visible {
    color: #fff;
    opacity: 0.72;
    transform: translateY(-1px);
}

.delivery-catalog-doc svg {
    flex: 0 0 auto;
}

.delivery-catalog-doc__pdf {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 4px;
    display: inline-flex;
    font-size: 0.62rem;
    font-weight: 900;
    height: 19px;
    justify-content: center;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 0 4px;
    text-decoration: none;
}

.delivery-catalog-hero__intro {
    margin: 14px auto 0;
    max-width: 760px;
    opacity: 0.86;
}

.albero-catalog-tabs {
    background: #fff;
    border-bottom: 1px solid var(--catalog-line);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.albero-catalog-tabs__viewport {
    cursor: grab;
    margin: 0 auto;
    max-width: 1320px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 14px clamp(16px, 4vw, 40px);
    scrollbar-width: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.albero-catalog-tabs__viewport::-webkit-scrollbar {
    display: none;
}

.albero-catalog-tabs__viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.albero-catalog-tabs__track {
    display: flex;
    gap: 10px;
    min-width: max-content;
}

.albero-catalog-tab {
    -webkit-user-drag: none;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(122, 0, 0, 0.25);
    border-radius: 999px;
    color: var(--catalog-accent-dark);
    display: inline-flex;
    font-size: 0.98rem;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
    user-select: none;
    white-space: nowrap;
}

.albero-catalog-tab:hover {
    border-color: var(--catalog-accent);
    color: var(--catalog-accent);
    transform: translateY(-1px);
}

.albero-catalog-tab.is-active,
.albero-catalog-tab.active {
    background: var(--catalog-accent);
    border-color: var(--catalog-accent);
    color: #fff;
}

.albero-catalog-main {
    margin: 0 auto;
    max-width: 1320px;
    padding:
        clamp(34px, 5vw, 68px)
        clamp(16px, 4vw, 40px)
        clamp(60px, 8vw, 110px);
}

.albero-catalog-count {
    color: var(--catalog-muted);
    margin: 0 0 24px;
}

.albero-catalog-count strong {
    color: inherit;
    font-weight: 500;
}

.albero-catalog-grid {
    display: grid;
    gap: clamp(18px, 2.2vw, 28px);
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.albero-product-card {
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.06);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(16, 24, 40, 0.07);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.albero-product-card__media {
    aspect-ratio: 4 / 3;
    background: #eceff2;
    display: block;
    overflow: hidden;
}

.albero-product-card__media picture,
.albero-product-card__media img {
    display: block;
    height: 100%;
    width: 100%;
}

.albero-product-card__media img {
    object-fit: cover;
    transition:
        transform 420ms
        cubic-bezier(0.2, 0.7, 0.2, 1);
}

.albero-product-card:hover
.albero-product-card__media img {
    transform: scale(1.035);
}

.albero-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 22px;
}

.albero-product-card__title {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.albero-product-card__title a {
    color: var(--catalog-text);
    text-decoration: none;
}

.albero-product-card__description {
    color: var(--catalog-muted);
    display: -webkit-box;
    font-size: 0.96rem;
    line-height: 1.45;
    margin: 8px 0 0;
    min-height: 2.8em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.albero-product-card__weight {
    align-items: center;
    color: #475467;
    display: flex;
    gap: 7px;
    margin-top: 17px;
}

.albero-product-card__weight svg,
.albero-product-card__cart svg {
    display: block;
    flex: 0 0 auto;
}

.albero-product-card__footer {
    align-items: flex-end;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 22px;
}

.albero-product-card__prices {
    display: flex;
    flex-direction: column;
    min-width: 86px;
}

.albero-product-card__old-price {
    color: #98a2b3;
    font-size: 0.86rem;
    margin-bottom: 4px;
    text-decoration: line-through;
}

.albero-product-card__price {
    color: var(--catalog-text);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.albero-product-card__actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.albero-product-card__info {
    align-items: center;
    border: 1px solid rgba(122, 0, 0, 0.3);
    border-radius: 50%;
    color: var(--catalog-accent);
    display: inline-flex;
    flex: 0 0 42px;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    text-decoration: none;
}

.albero-product-card__cart {
    margin: 0;
}

.albero-product-card__cart button {
    align-items: center;
    background: #fff;
    border: 2px solid var(--catalog-accent);
    border-radius: 14px;
    color: var(--catalog-accent-dark);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    transition:
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
    white-space: nowrap;
}

.albero-product-card__cart button:hover {
    background: var(--catalog-accent);
    color: #fff;
    transform: translateY(-1px);
}

.albero-catalog-pagination {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.albero-catalog-pagination .pagination {
    margin: 0;
}

.pdopage-loading {
    opacity: 0.58;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .albero-catalog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .delivery-catalog-hero {
        padding: 22px 0 25px;
    }

    .delivery-catalog-hero h1 {
        font-size: 2rem;
    }

    .delivery-catalog-docs {
        gap: 10px 18px;
        margin-top: 12px;
    }

    .delivery-catalog-doc {
        font-size: 0.92rem;
    }

    .albero-catalog-tabs__viewport {
        padding: 12px 16px;
    }

    .albero-catalog-tab {
        min-height: 40px;
        padding: 0 17px;
    }

    .albero-catalog-main {
        padding: 30px 16px 72px;
    }

    .albero-catalog-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .albero-product-card {
        border-radius: 17px;
    }

    .albero-product-card__body {
        padding: 18px;
    }

    .albero-product-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .albero-product-card__actions {
        justify-content: space-between;
    }

    .albero-product-card__cart {
        flex: 1;
    }

    .albero-product-card__cart button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .delivery-catalog-doc,
    .albero-product-card__media img,
    .albero-catalog-tab,
    .albero-product-card__cart button {
        transition: none;
    }
}

/* ALBERO_CATALOG_TABS_DESKTOP_V3125_START */
@media (min-width: 1400px) {
    .albero-catalog-tabs__viewport {
        max-width: 1440px;
        padding-inline: 24px;
        cursor: default;
        touch-action: auto;
    }

    .albero-catalog-tabs__track {
        width: 100%;
        min-width: 0;
        justify-content: center;
        gap: 8px;
    }

    .albero-catalog-tab {
        padding-inline: 12px;
    }
}
/* ALBERO_CATALOG_TABS_DESKTOP_V3125_END */
