/*
 * HERO
 */
.products-hero {
    background-color: rgba(25, 185, 185, 0.12);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.products-hero::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 14px;
    background-color: rgba(25, 185, 185, 0.12);
    clip-path: polygon(
        0% 0%, 0% 50%, 3% 0%, 8% 60%, 15% 10%, 22% 55%, 30% 0%, 38% 50%, 45% 5%, 52% 60%, 60% 0%, 68% 55%, 75% 10%, 82% 50%, 90% 0%, 95% 45%, 100% 15%, 100% 0%
    );
}

.products-hero-title {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #08525F;
}

@media (min-width: 768px) {
    .products-hero-title {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}

/*
 * PRODUCTS SECTION
 */
.products-section {
    padding: 3rem 0 2rem;
    text-align: center;
}

.products-section-label {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.8rem;
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
    background-color: #08525F;
    margin-bottom: 1rem;
    clip-path: var(--rough-edge);
}

.products-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.7rem;
    color: #08525F;
    max-width: 800px;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .products-subtitle {
        font-size: 1.3rem;
        line-height: 1.9rem;
    }
}

.products-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.product-item {
    text-align: center;
    transition: transform 0.3s ease;
    width: calc(50% - 1rem);
}

.product-item:hover {
    transform: translateY(-8px);
}

a.product-item,
a:link.product-item,
a:visited.product-item,
a:hover.product-item,
a:active.product-item {
    color: currentColor;
    text-decoration: none;
}

.product-item-img {
    padding: 0.5rem 0;
}

.product-item-img img {
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
    transition: filter 0.3s ease;
}

.product-item:hover .product-item-img img {
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.18));
}

.product-title {
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    padding: 0.7rem 1rem;
    text-align: center;
    background-color: var(--product-color);
    text-transform: uppercase;
    margin: 0.5rem 0 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    clip-path: var(--rough-edge);
    transition: transform 0.3s ease;
}

/* Dry food: nomes de palavra única ficam sempre numa só linha */
.products-list--dry-food .product-title {
    white-space: nowrap;
}

.product-item:hover .product-title {
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .product-item {
        width: calc(33.333% - 1.5rem);
        max-width: 280px;
    }

    .product-title {
        font-size: 1.05rem;
        letter-spacing: 0.08em;
        padding: 0.7rem 1.8rem;
    }

    .products-list--wet-food .product-item:nth-child(n+4) {
        width: calc(25% - 1.5rem);
        max-width: none;
    }
}

/*
 * INFO SECTION
 */
.products-info {
    background-color: #f7f7f5;
    padding: 3rem 0 4rem;
    margin-bottom: -4rem;
    padding-bottom: 8rem;
    position: relative;
    margin-top: 2rem;
}

.products-info::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 14px;
    background-color: #f7f7f5;
    clip-path: polygon(
        0% 100%, 0% 50%, 3% 0%, 8% 60%, 15% 10%, 22% 55%, 30% 0%, 38% 50%, 45% 5%, 52% 60%, 60% 0%, 68% 55%, 75% 10%, 82% 50%, 90% 0%, 95% 45%, 100% 15%, 100% 100%
    );
}

.products-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.products-info-content {
    flex: 1;
}

.products-info-label {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.8rem;
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
    background-color: #08525F;
    margin-bottom: 1.5rem;
    clip-path: var(--rough-edge);
}

.products-info-text {
    font-size: 1rem;
    line-height: 1.8rem;
    color: var(--grey-500);
}

.products-info-image {
    flex-shrink: 0;
}

.products-info-image img {
    width: 100%;
    border-radius: 0.5rem;
    max-height: 300px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .products-info-grid {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .products-info-image {
        max-width: 400px;
    }
}

/*
 * CTA SECTION (wet food)
 */
.products-cta {
    background-color: rgba(25, 185, 185, 0.12);
    padding: 3rem 0 4rem;
    margin-bottom: -4rem;
    padding-bottom: 8rem;
    position: relative;
    margin-top: 2rem;
}

.products-cta::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 14px;
    background-color: rgba(25, 185, 185, 0.12);
    clip-path: polygon(
        0% 100%, 0% 50%, 3% 0%, 8% 60%, 15% 10%, 22% 55%, 30% 0%, 38% 50%, 45% 5%, 52% 60%, 60% 0%, 68% 55%, 75% 10%, 82% 50%, 90% 0%, 95% 45%, 100% 15%, 100% 100%
    );
}

.products-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.products-cta-image {
    max-width: 280px;
    width: 100%;
    flex-shrink: 0;
}

.products-cta-image img {
    width: 100%;
    height: auto;
}

.products-cta-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 500px;
}

.products-cta-text {
    font-size: 1.1rem;
    line-height: 1.8rem;
    color: var(--grey-500);
}

@media (min-width: 768px) {
    .products-cta-content {
        flex-direction: row;
        gap: 3rem;
        justify-content: center;
        align-items: center;
    }

    .products-cta-image {
        max-width: 320px;
    }
}

.products-cta-btn {
    display: inline-block;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.7rem 2.5rem;
    background-color: #08525F;
    transition: opacity 0.2s ease;
    clip-path: var(--rough-edge);
}

.products-cta-btn:hover {
    opacity: 0.85;
}
