/*
 * PRODUCT HERO
 */
.product-hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
}

.product-hero-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.product-hero-info {
    text-align: center;
    padding: 1rem 0;
}

.product-hero-title {
    font-size: 2.2rem;
    line-height: 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-hero-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.product-hero-desc {
    font-size: 1rem;
    line-height: 1.7rem;
    color: var(--grey-500);
    max-width: 540px;
    margin: 0 auto 1.5rem;
}

.product-hero-weight {
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    background-color: var(--primary-color);
    padding: 0.5rem 2rem;
    margin-right: 0.75rem;
    clip-path: var(--rough-edge);
}

.product-hero-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.55rem 1.2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-top: 0.5rem;
}

.product-hero-pdf:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-hero-pdf svg {
    flex-shrink: 0;
}

.product-hero-image {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.product-chicken-badge {
    position: absolute;
    top: 4rem;
    left: -1.5rem;
    width: 120px;
    height: auto;
    transform: rotate(-8deg);
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.product-chicken-badge svg {
    width: 100%;
    height: auto;
    display: block;
}

.product-chicken-badge .cls-3 {
    fill: var(--secondary-color);
}

.product-chicken-badge .cls-1,
.product-chicken-badge .cls-2 {
    fill: var(--tertiary-color);
}

.product-chicken-badge .cls-1 {
    stroke: var(--tertiary-color);
}

@media (max-width: 767px) {
    .product-chicken-badge {
        width: 90px;
        left: -0.5rem;
        top: 2rem;
    }
}

.product-hero-image img {
    width: 100%;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.15));
}

.product-hero-image--dual {
    max-width: 500px;
}

.product-hero-image--dual .product-hero-image-main {
    width: 82%;
    display: block;
}

.product-hero-image--dual .product-hero-image-small {
    position: absolute;
    width: 50%;
    right: 0;
    bottom: 0;
    filter: drop-shadow(-8px 8px 20px rgba(0,0,0,0.2));
    z-index: 2;
}

@media (min-width: 768px) {
    .product-hero {
        min-height: auto;
    }

    .product-hero-content {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .product-hero-info {
        flex: 1;
        text-align: left;
    }

    .product-hero-title {
        font-size: 2.8rem;
        line-height: 3.2rem;
    }

    .product-hero-desc {
        margin: 0 0 1.5rem;
    }

    .product-hero-image {
        max-width: 460px;
        flex-shrink: 0;
    }
}

@media (min-width: 1024px) {
    .product-hero-image {
        max-width: 540px;
    }

    .product-hero-title {
        font-size: 3rem;
        line-height: 3.4rem;
    }
}

/*
 * COMPOSITION (running text)
 */
.product-composition {
    padding: 5rem 1rem 1rem;
}

.product-composition-text {
    font-size: 1rem;
    line-height: 1.7rem;
    color: var(--grey-500);
    margin-top: 1rem;
}

/*
 * CLAIMS
 */
.product-claims-section {
    padding: 3rem 1rem;
    text-align: center;
    overflow: hidden;
}

.product-claims-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    opacity: 0;
    transform: scale(0.85) translateY(40px);
    transition: opacity 1s ease-out, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-claims-image.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .product-claims-image {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/*
 * PRODUCT DETAILS
 */
.product-details {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.product-detail-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: start;
}

.product-detail-label {
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.6rem 1.1rem;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
    clip-path: var(--rough-edge);
}

.product-detail-content {
    font-size: 0.95rem;
    line-height: 1.6rem;
    color: var(--grey-500);
}

.product-detail-content table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0.4rem;
}

.product-detail-content table td {
    padding: 0.35rem 0.6rem;
    color: white;
    background-color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    white-space: normal;
    overflow-wrap: break-word;
    clip-path: var(--rough-edge);
}

.product-detail-content table td:first-child {
    width: 70%;
    text-align: left;
    background-color: var(--tertiary-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.8rem;
}

.product-detail-content table td:last-child {
    text-align: center;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .product-details {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        padding: 4rem 1rem;
    }

    .product-detail-label {
        font-size: 1rem;
        letter-spacing: 0.08em;
        padding: 0.6rem 1.8rem;
    }
}

/*
 * FEEDING GUIDE SECTION
 */
.product-feeding {
    padding: 2rem 1rem 4rem;
}

.product-feeding-label {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.8rem;
    display: inline-block;
    width: fit-content;
    margin-bottom: 1.5rem;
    clip-path: var(--rough-edge);
}


.product-feeding-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-feeding-table .quantaties-table,
.product-feeding-table table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0.4rem;
    font-size: 0.85rem;
}

.product-feeding-table .quantaties-table th,
.product-feeding-table table th,
.product-feeding-table .quantaties-table td,
.product-feeding-table table td {
    text-align: center;
    padding: 0.35rem 0.4rem;
    color: white;
    font-weight: 700;
    white-space: nowrap;
    height: auto;
    clip-path: var(--rough-edge);
}

.product-feeding-table .quantaties-table th,
.product-feeding-table table th {
    background-color: var(--secondary-color);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-feeding-table .quantaties-table td,
.product-feeding-table table td {
    background-color: var(--tertiary-color);
    font-size: 0.9rem;
}

.product-feeding-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--grey-400);
    font-style: italic;
}

@media (min-width: 768px) {
    .product-feeding-table .quantaties-table td,
    .product-feeding-table .quantaties-table th,
    .product-feeding-table table td,
    .product-feeding-table table th {
        padding: 0.45rem 0.6rem;
        font-size: 0.9rem;
    }
}

/*
 * DISCOVER OTHER PRODUCTS
 */
.product-discover {
    padding: 4rem 1rem;
    position: relative;
    margin-top: 2rem;
    margin-bottom: -4rem;
    padding-bottom: 8rem;
}

.product-discover-title {
    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;
    background-color: var(--primary-color);
    margin-bottom: 2.5rem;
    clip-path: var(--rough-edge);
}

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

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

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

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

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

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

.product-discover-item-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    padding: 0.6rem 1.5rem;
    text-align: center;
    background-color: var(--product-color);
    text-transform: uppercase;
    margin: 0.5rem 0 0;
    clip-path: var(--rough-edge);
}

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