/* ============================================
   VARIÁVEIS E CUSTOMIZAÇÃO
   ============================================ */

/* :root {
    --primary-color: #e84b8a;
    --primary-dark: #d63a74;
    --primary-light: #f5a3c7;
    --primary-extra-light: #e4cdd7;
    --secondary-color: #9b9b9b;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --dark-text: #333333;
    --light-text: #666666;
} */

/* ============================================
   OVERRIDE BOOTSTRAP
   ============================================ */
/* Swiper mobile - corrige altura do slide */

.swiper-wrapper{
    height: auto !important;
}


.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-extra-light) !important;
    border-color: var(--primary-color) !important;
}

.btn.btn-outline-primary.category-filter.active {
    background-color:  var(--primary-color) !important;
    color: var(--white) !important;
}

.badge-primary {
    background-color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */

header {
    background-color: var(--white);
    border-bottom: 1px solid #f0e6f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: clamp(36px, 6vw, 50px);
}


.logo-text {
    font-family: 'Allura';
    font-size: clamp(0.6rem, 4vw, 1.8rem);
    /* font-size: clamp(0.6rem, 3vw, 1.2rem); */
    font-weight: 700;
    color: var(--dark-text);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#modalDescription p {
    font-size: 0.95rem;
    line-height: 1.6;
}

#modalDescription ul {
    padding-left: 1.2rem;
    margin-top: .5rem;
}

#modalDescription li {
    margin-bottom: .3rem;
}

.btn-rosa-custom {
  color: #FFFFFF; /* Cor do texto (branco) */
  background-color: #FF69B4; /* Cor de fundo rosa */
  border-color: #FF69B4; /* Cor da borda rosa */
}

.btn-rosa-custom:hover {
  background-color: #ff4d94; /* Cor de fundo rosa mais escura ao passar o mouse */
  border-color: #ff4d94;
}

@media (max-width: 576px) {
    #modalImage {
        max-height: 350px;
    }
}
/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #faf5f9 0%, #fff 50%, #f5f0f9 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero h1 .highlight {
    color: var(--primary-color);
}

/* ============================================
   CARDS
   ============================================ */

/* .card {
    border: 1px solid #f0e6f0;
    transition: all 0.3s ease;
} */

.card {
    border: 1px solid #f0e6f0;
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(232, 75, 138, 0.1);
    transform: translateY(-4px);
}

/* .card-img-top {
    height: 250px;
    object-fit: cover;
} */

.card-img-top {
    height: 250px;
    object-fit: cover;
    background-color: var(--light-bg);
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ============================================
   CARRINHO
   ============================================ */

.cart-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cart-item-image {
    flex-shrink: 0;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
}

.cart-item-info {
    flex: 1;
    min-width: 150px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
    text-align: right;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1rem;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
}

.cart-empty {
    text-align: center;
    padding: 2rem;
    color: var(--light-text);
}

.cart-total {
    padding: 1rem;
    background-color: var(--light-bg);
    border-top: 2px solid var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-total-value {
    color: var(--primary-color);
}


/* ============================================
   OFFCANVAS (SIDEBAR CARRINHO)
   ============================================ */

.offcanvas {
    width: 400px !important;
}

@media (max-width: 576px) {
    .offcanvas {
        width: 100% !important;
    }
}

.offcanvas-header {
    background-color: var(--light-bg);
    border-bottom: 1px solid #e0e0e0;
}

.offcanvas-title {
    font-weight: 700;
    color: var(--dark-text);
}

/* ============================================
   FOOTER
   ============================================ */

/* footer {
    background-color: #1a1a1a;
    color: #999;
    margin-top: 3rem;
} */

footer {
    background-color: #1a1a1a;
    color: #b3b3b3;
}

footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

footer a {
    color: #999;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.text-muted-custom {
    color: var(--light-text);
}

.bg-light-custom {
    background-color: var(--light-bg);
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--light-text);
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }

    .card-img-top {
        height: 200px;
    }

    .offcanvas {
        width: 100% !important;
    }
}

@media (max-width: 315px) {
    .logo-text {
        visibility: hidden;
        width: 0;
        margin: 0;
    }    
}

@media (max-width: 375px) {
    .btn-outline-primary,
    .btn-primary {
        width: 7rem;
    }
}

