/* Brand colors: #F69946 (accent) and #40332E (dark) */
.dry-hero {
    background: linear-gradient(105deg, #40332E 0%, #5a4a42 100%);
    padding: 28vh 0;
}

.section-title .title span {
    color: #F69946;
}


.dry-insect-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.dry-insect-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
    border-color: #F69946;
}



.dry-insect-img {
    width: 100%;
    height: 200px; /* FIXED HEIGHT */
    overflow: hidden;
}

.dry-insect-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps image nicely cropped */
    display: block;
}

.dry-insect-info {
    padding: 12px;
    flex-grow: 1; /* makes all cards equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dry-insect-info h3 {
    font-size: 16px;
    margin: 8px 0;
}

.protein-badge {
    font-size: 12px;
    background: #F69946;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.click-hint {
    font-size: 12px;
    color: #666;
}


.click-hint i {
    margin-right: 5px;
}

/* Custom Modal (Popup) Styling */
.dry-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.dry-modal-content {
    background: #fff;
    margin: auto;
    max-width: 580px;
    width: 90%;
    border-radius: 36px;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header-custom {
    background: #40332E;
    padding: 20px 28px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-custom h3 {
    margin: 0;
    font-weight: 700;
    font-size: 26px;
}

.close-modal {
    font-size: 32px;
    font-weight: 400;
    cursor: pointer;
    color: #F69946;
    transition: 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: #fff;
}

.modal-body-custom {
    padding: 30px 28px;
}

.modal-detail-img {
    text-align: center;
    margin-bottom: 20px;
    background: #FEF5EB;
    border-radius: 28px;
    padding: 20px;
}

.modal-detail-img img {
    max-height: 160px;
    width: auto;
}

.nutrition-highlight {
    background: #FEF2E6;
    border-radius: 24px;
    padding: 18px;
    margin: 20px 0;
}

.nutrition-highlight p {
    margin: 6px 0;
    font-size: 16px;
}

.best-for-tag {
    background: #40332E;
    color: #F69946;
    border-radius: 30px;
    padding: 8px 18px;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
}

.feature-list-modal {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.feature-list-modal li {
    margin-bottom: 10px;
    font-size: 15px;
}

.feature-list-modal li i {
    color: #F69946;
    width: 24px;
    margin-right: 8px;
}

.btn-close-modal {
    background: #F69946;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    color: #40332E;
    width: 100%;
    transition: 0.2s;
}

.btn-close-modal:hover {
    background: #e07e2a;
    color: white;
}

.dry-cta-banner {
    background: #F69946;
    border-radius: 28px;
    padding: 45px 30px;
    margin: 40px 0 20px;
    text-align: center;
}

.dry-cta-banner h2 {
    color: #40332E;
    font-weight: 800;
}

.footer-bg {
    background-color: #40332E;
}

.breadcrumb-dry {
    background: transparent;
}

.breadcrumb-dry .breadcrumb-item a {
    color: #F69946;
}

.breadcrumb-dry .breadcrumb-item.active {
    color: #f0cfb3;
}

@media (max-width: 768px) {
    .modal-header-custom h3 {
        font-size: 22px;
    }

    .modal-body-custom {
        padding: 20px;
    }
}