/* ================================================================
    JACARÉ UTILIDADES - GLOBAL CONFIG & VARIABLES
================================================================ 
*/

:root {
    --green: #008037;
    --gold: #FFD700;
    --dark: #111;
    --bg: #f8f9fa;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg);
    font-family: 'Inter', sans-serif;
}

.main-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================================
    HEADER & NAVIGATION
================================================================ 
*/

.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (min-width: 768px) {
    .header-layout {
        flex-direction: row;
        justify-content: space-between;
    }
}

.logo h1 {
    color: var(--green);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
}

.logo span {
    color: var(--gold);
}

.search-area {
    display: flex;
    width: 100%;
    max-width: 500px;
}

.search-area input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px 0 0 25px;
    outline: none;
}

.search-area button {
    padding: 0 20px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-weight: bold;
}

/* ================================================================
    HERO SECTION
================================================================ 
*/

.hero {
    padding: 30px 0;
    background: #fff;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-banner {
    flex: 1.5;
    min-width: 300px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: #eee;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.cta-button {
    display: inline-block;
    padding: 14px 35px;
    background: var(--gold);
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        aspect-ratio: 16 / 9;
        margin-top: 20px;
    }
    .hero-grid {
        text-align: center;
    }
}

/* ================================================================
    CATEGORIES
================================================================ 
*/

.category-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.category-item {
    text-align: center;
    width: 85px;
    cursor: pointer;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

/* ================================================================
    PRODUCT VITRINE & CARDS
================================================================ 
*/

.section-title {
    margin: 25px 0;
    color: var(--green);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

.product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4d4d;
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: bold;
    z-index: 5;
}

.price-old {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 2px;
}

.product-img-bg {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img-bg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Trava para a imagem não esticar */
}

/* Horizontal Scroll Promotions */
#grid-promocoes {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    gap: 20px;
    padding: 10px 6px 18px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: auto;
    scrollbar-color: var(--gold) #f1f1f1;
    justify-content: flex-start;
}

#grid-promocoes .product-card {
    min-width: 240px;
    max-width: 240px;
    flex: 0 0 240px;
    scroll-snap-align: start;
}

@media (max-width: 767px) {
    #grid-promocoes .product-card {
        min-width: 170px;
        max-width: 170px;
        flex-basis: 170px;
    }
}

/* Scrollbar Styling */
#grid-promocoes::-webkit-scrollbar {
    height: 8px;
}

#grid-promocoes::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#grid-promocoes::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

#grid-promocoes::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

/* ================================================================
    MODAL & PRODUCT GALLERY (SOLUÇÃO DEFINITIVA MOBILE)
================================================================ 
*/

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    margin: 2vh auto;
    padding: 20px;
    width: 92%;
    max-width: 550px;
    border-radius: 20px;
    max-height: 96vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column; /* Força tudo a ficar um embaixo do outro */
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 35px;
    height: 35px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
}

.modal-body {
    padding-top: 10px;
    display: block; /* Mudado de flex para block para evitar sobreposição de floats */
    width: 100%;
}

/* Container que agrupa a foto grande e as pequenas */
.image-container-branded {
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px; /* Espaço generoso para separar do texto */
    position: relative;
}

.main-modal-img {
    width: 100%;
    height: auto;
    max-height: 250px; /* Reduzi um pouco para dar mais tela no mobile */
    object-fit: contain;
    display: block;
}

/* Miniaturas com respiro garantido */
.thumbnails-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
    padding: 15px 5px; /* Aumentei o padding vertical */
    margin-top: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #eee; /* Linha sutil para separar visualmente do texto */
}

.thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
    flex-shrink: 0;
}

.thumb-img.active {
    border-color: var(--green);
}

/* Texto de descrição - AGORA COM MARGIN FORÇADA */
.modal-desc-text {
    display: block;
    width: 100%;
    margin-top: 20px !important; /* Força o distanciamento */
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

/* ================================================================
    SHOPPING CART (FAB & ITEMS)
================================================================ 
*/

.cart-fab {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 65px;
    height: 65px;
    background: var(--gold);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #fff;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
}

#cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--green);
    color: var(--gold);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid #fff;
}

.cart-item-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 12px;
}

.btn-remover-unitario {
    background: #fff0f0;
    border: none;
    color: #ff4d4d;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.3;
}

.cart-item-price {
    font-weight: bold;
    color: var(--green);
    white-space: nowrap;
}

.checkout-summary {
    background: #fff;
    border: 1px solid #e8ece9;
    border-radius: 18px;
    padding: 18px;
    margin: 0;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.checkout-summary-title {
    font-weight: 800;
    color: var(--green);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.95rem;
    color: #333;
    padding: 4px 0;
}

.checkout-summary-row span:first-child {
    color: #666;
}

.checkout-summary-row strong {
    text-align: right;
}

.checkout-summary-total {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 1.08rem;
}

.checkout-summary-total-wrap {
    margin-top: 14px;
    padding: 14px 14px 10px;
    background: linear-gradient(180deg, #f3fbf6 0%, #ebf7ef 100%);
    border: 1px solid #d5e8db;
    border-radius: 16px;
}

.checkout-summary-total strong {
    color: var(--green);
    font-size: 1.3rem;
}

.checkout-summary-total-note {
    margin-top: 4px;
    color: #6a746f;
    font-size: 0.8rem;
    text-align: right;
}

#modal-area-checkout {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#modal-lista-carrinho {
    order: 1;
}

.checkout-box {
    order: 2;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
    border: 1px solid #e7eee9;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

#checkout-resumo-pedido {
    order: 3;
}

#modal-footer-preco {
    order: 4;
}

.checkout-section-heading {
    margin-bottom: 14px;
}

.checkout-section-heading h3 {
    margin: 0 0 6px;
    color: var(--green);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.checkout-section-heading p {
    margin: 0;
    color: #6b736f;
    font-size: 0.9rem;
    line-height: 1.45;
}

.delivery-inline-note {
    margin-top: 10px;
    color: var(--green);
    font-size: 0.87rem;
    font-weight: 700;
    background: #eef8f1;
    border: 1px solid #d3ead7;
    border-radius: 12px;
    padding: 12px 14px;
}

.delivery-choice-label {
    display: block;
    margin: 10px 0 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #365243;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.delivery-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}

.delivery-option {
    border: 1px solid #dce5df;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.delivery-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.delivery-option.is-selected {
    border-color: #008fd6;
    background: linear-gradient(180deg, #eaf7ff 0%, #dff1ff 100%);
    box-shadow: 0 12px 24px rgba(0, 158, 227, 0.16);
}

.delivery-option-title {
    display: block;
    font-weight: 800;
    color: #11333f;
    font-size: 1rem;
}

.delivery-option-subtitle {
    display: block;
    color: #5b6b73;
    font-size: 0.84rem;
    margin-top: 4px;
}

.delivery-choice-error {
    color: #c62828;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.delivery-info-card {
    background: #f4f9ff;
    border: 1px solid #d5e7f7;
    border-radius: 14px;
    padding: 14px 15px;
    color: #254252;
    line-height: 1.5;
    margin-bottom: 12px;
    font-size: 0.92rem;
}

.delivery-info-card.delivery-info-warning {
    background: #fff5f5;
    border-color: #efb4b4;
    color: #9f1d1d;
}

.checkout-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.bairro-field-wrap {
    display: flex;
    flex-direction: column;
}

.bairro-helper {
    margin-top: -2px;
    font-size: 0.8rem;
    color: #4b6471;
}

.bairro-helper button {
    background: none;
    border: none;
    color: #0b7ec1;
    padding: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.checkout-calc-btn {
    margin-top: 14px;
    background: linear-gradient(135deg, #008037 0%, #00a648 100%);
}

.delivery-status {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.delivery-helper-text {
    margin-top: 8px;
    font-size: 0.82rem;
    color: #66706c;
    line-height: 1.45;
}

/* ================================================================
    CHECKOUT & CONTROLS
================================================================ 
*/

.modal-qtd-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 25px auto;
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 50px;
    width: fit-content;
}

.btn-qtd-modal {
    background: var(--green);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}

#modal-qtd-numero {
    font-weight: 800;
    font-size: 1.6rem;
    min-width: 40px;
    text-align: center;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.28rem;
    margin: 0;
    color: var(--green);
    border-top: none;
    padding: 0 4px;
}

.add-btn {
    width: 100%;
    background: linear-gradient(135deg, #0092da 0%, #1476ff 100%);
    color: #fff;
    padding: 18px;
    border-radius: 16px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 16px 26px rgba(20, 118, 255, 0.22);
}

.add-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    box-shadow: none;
}

.form-select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #d6dfd9;
    margin-bottom: 12px;
    background: #fff;
    font-size: 1rem;
    min-height: 48px;
}

@media (max-width: 640px) {
    .delivery-choice-grid,
    .checkout-fields-grid {
        grid-template-columns: 1fr;
    }

    .checkout-box {
        padding: 16px;
    }

    .checkout-summary-total strong {
        font-size: 1.18rem;
    }
}

/* ================================================================
    FOOTER & BRANDING
================================================================ 
*/

.footer-premium {
    background: var(--dark);
    color: #fff;
    padding: 40px 0 20px;
    text-align: center;
    margin-top: 50px;
}

.social-btn {
    display: inline-block;
    background: var(--green); /* WhatsApp Verde */
    color: #fff !important; /* Força cor branca */
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
    transition: var(--transition);
}

.social-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Classe para o Instagram voltar a ser rosa */
.insta-bg {
    background: #E1306C !important;
}

.dev-credit {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0.9;
}

.dev-credit img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #555;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.75rem;
    opacity: 0.4;
    border-top: 1px solid #222;
    padding-top: 15px;
}

/* ================================================================
    ANIMATIONS & WATERMARKS
================================================================ 
*/

.image-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 128, 55, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    pointer-events: none;
}

.btn-share {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
}

.pulse-cart {
    animation: pulse-green 0.5s ease-in-out;
}

@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 128, 55, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 15px rgba(0, 128, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 128, 55, 0); }
}

.kits-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
}

.kits-section-subtitle {
    color: #666;
    margin-top: -10px;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

#secao-kits-home {
    margin-top: 18px;
}

#secao-kits-home .kits-section-header {
    margin-top: 14px;
    gap: 10px;
}

#secao-kits-home .section-title {
    margin-bottom: 6px;
    font-size: 1.35rem;
}

#secao-kits-home .kits-section-subtitle {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 0.86rem;
    line-height: 1.35;
}

.kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

#secao-kits-home .kit-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.kit-card {
    background: #fff;
    border: 1px solid #e8ece9;
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#secao-kits-home .kit-card {
    border-radius: 14px;
    padding: 12px 14px;
    gap: 7px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.kit-card-tag {
    align-self: flex-start;
    background: rgba(0, 128, 55, 0.09);
    color: var(--green);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

#secao-kits-home .kit-card-tag {
    padding: 4px 8px;
    font-size: 0.7rem;
}

.kit-card h3 {
    color: var(--green);
    font-size: 1rem;
    line-height: 1.3;
}

#secao-kits-home .kit-card h3 {
    font-size: 0.95rem;
    line-height: 1.2;
}

.kit-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

#secao-kits-home .kit-card p {
    font-size: 0.84rem;
    line-height: 1.35;
}

.kit-card-items {
    color: #555;
    font-size: 0.85rem;
}

#secao-kits-home .kit-card-items {
    font-size: 0.8rem;
}

.btn-secondary {
    background: #f7faf8;
    color: var(--green);
    border: 1px solid rgba(0, 128, 55, 0.18);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    width: fit-content;
}

#secao-kits-home .btn-secondary {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
}

.modal-content-kit {
    max-width: 680px;
}

.product-kit-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 128, 55, 0.15);
    background: linear-gradient(135deg, rgba(0, 128, 55, 0.05), rgba(255, 215, 0, 0.08));
    margin-top: 25px;
}

.product-kit-callout h3 {
    color: var(--green);
    margin-bottom: 6px;
    font-size: 1rem;
}

.product-kit-callout p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.kit-modal-header {
    margin-bottom: 20px;
}

.kit-modal-description {
    color: #555;
    line-height: 1.6;
}

.kit-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kit-item {
    border: 1px solid #e8ece9;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.kit-item-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
}

.kit-item-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

.kit-item-name {
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

.kit-item-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d8dedb;
    background: #f7faf8;
    color: var(--green);
    cursor: pointer;
    font-size: 1.15rem;
}

.kit-item-body {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 0 16px 16px 16px;
    border-top: 1px solid #f0f3f1;
}

.kit-item-body img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f9fa;
}

.kit-item-body p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.kit-item-price {
    color: var(--green);
    font-weight: 700;
}

.kit-summary-box {
    margin: 22px 0 18px;
    padding: 18px;
    border-radius: 16px;
    background: #f7faf8;
    border: 1px solid #e8ece9;
}

.kit-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #333;
}

.kit-summary-total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #dde6e1;
    color: var(--green);
}

.kit-summary-note {
    margin-top: 12px;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cart-kit-block {
    border: 1px solid #e7ece8;
    border-radius: 14px;
    background: #fbfcfb;
    padding: 14px;
    margin-bottom: 12px;
}

.cart-kit-header {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 10px;
}

.cart-kit-title {
    font-weight: 800;
    color: #1f2c24;
}

.cart-kit-total {
    color: var(--green);
    font-weight: 800;
    white-space: nowrap;
}

.cart-kit-toggle,
.cart-kit-delete {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d6ddd8;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.cart-kit-delete {
    color: #d62828;
    background: #fff7f7;
}

.cart-kit-body {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf1ee;
}

.cart-kit-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.cart-kit-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #444;
    font-size: 0.92rem;
}

.cart-kit-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.cart-kit-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.cart-kit-summary-total {
    font-weight: 800;
    color: var(--green);
    padding-top: 8px;
    border-top: 1px solid #edf1ee;
}

@media (max-width: 768px) {
    .product-kit-callout {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-secondary {
        width: 100%;
    }

    .kit-item-body {
        grid-template-columns: 1fr;
    }

    .kit-item-body img {
        width: 100%;
        height: 180px;
    }

    .cart-kit-header {
        grid-template-columns: 1fr auto auto;
    }

    .cart-kit-total {
        grid-column: 1 / -1;
    }
}
