.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: #081a2e;
    pointer-events: none;
    background-color:none;
    border-color: #081a2e;
    opacity: var(--bs-btn-disabled-opacity);
}

.news{
  font-family: 'Montserrat', sans-serif;
  /* background-color: #f8f9fa; */
  color: #081A2E;
}

section.news {
  padding: 80px 0;
}

section.news h6 {
  letter-spacing: 2px;
  font-weight: 700;
  color: #081A2E;
}

section.news h2 {
  font-weight: 700;
  color: #081A2E;
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.card img {
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 230px;
    object-fit: cover;
    max-width: 100%;
    right: 0;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-weight: 700;
  color: #081A2E;
}

.card-text {
  color: #6c757d;
  font-size: 0.95rem;
}

.card a {
  color: #081A2E;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card a:hover {
  color: #0d6efd;
}


/* Estilos para o botão de wishlist */
.wishlist-toggle {
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    padding: 0 !important;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #061728;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    line-height: 1;
}

.wishlist-toggle:hover {
    background: rgba(6, 23, 40, 0.04);
    transform: none;
    color: #061728;
}

.wishlist-active {
    color: #061728 !important;
}

.wishlist-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* .card-shop-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.card-shop-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
} */

.card-shop-wrapper {
    position: relative;
}

/* Badges */
.sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Imagem da Carta - AGORA COM LAYOUT SIMILAR AO CATÁLOGO */
.card-image-link {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.card-art-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-art-image {
    max-height: 90%;
    max-width: 80%;
    /* max-width: 90%; */
    object-fit: contain;
    transition: all 0.3s ease;
}

.card-overlay {
    position: absolute;
    width:84%;
    /* width: 94%; */
    margin: 6px auto;
    border-radius: 14px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-image-link:hover .card-overlay {
    opacity: 1;
}

.card-image-link:hover .card-art-image {
    transform: scale(1.05);
}

.view-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.7);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Informações da Carta */
.card-info {
  width:90%;
  margin:0 auto;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    background:none;
    border-bottom: 1px solid #dedede;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    height:57px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-property {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    display:none;
}

.property-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.property-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-rating {
    display: flex;
    margin-bottom: 16px;
    gap: 8px;
    margin-top: 48px;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right:14px;
}

.star-icon {
    font-size: 14px;
    color: #fbbf24;
}

.rating-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    margin-left: 4px;
}

.review-count {
    font-size: 0.8rem;
    color: #718096;
    margin-left:12px;
}

.card-pricing {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: -78px;
    margin-right: 12px;
    align-items: center;
    justify-content: flex-end;
}

.stock-info {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 16px;
    margin-top: -40px;
    margin-right: 14px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.low-stock {
    color: #e53e3e;
    font-weight: 600;
    margin-left:12px;
}

.in-stock {
    color: #38a169;
    font-weight: 600;
    margin-left:12px;
}

.shipping-info {
    color: #718096;
    font-weight: 500;
}

/* Ações */
.card-actions {
    padding: 0 20px 20px;
    display: grid;
    gap: 10px;
    margin-top: 50px;
}

.btn-primary {
    flex: 1;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: #061728;
    color: white;
    border:0;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary.in-cart {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.btn-primary.in-cart:hover {
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.secondary-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.btn-secondary {
    background: white;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding:15px;
    /* padding: 10px; */
    /* border-radius: 8px; */
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.btn-secondary.in-wishlist {
    color: #061728 !important;
    border-color: rgba(6, 23, 40, .18);
    background: rgba(6, 23, 40, .05);
}

.btn-icon {
    font-size: 16px;
}

/* Features */
.card-features {
    padding: 0 20px 20px;
    display: flex;
    gap: 16px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #718096;
}

.feature-icon {
    font-size: 14px;
    color: #48bb78;
}

/* Responsive */
@media (max-width: 768px) {
    .card-art-container {
        height: 240px;
    }
    
    .card-info {
        /* padding: 16px; */
    }
    
    .card-actions {
        padding: 0 16px 16px;
        flex-direction: column;
    }
    
    .secondary-actions {
        justify-content: center;
    }
    
    .card-features {
        padding: 0 16px 16px;
        padding-top: 16px;
    }
}

@media (max-width: 480px) {
    .card-art-container {
        height: 200px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .card-id {
        align-self: flex-start;
    }
}


/* ====== CONTAINER PRINCIPAL ====== */
.search-container {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ====== DESCRIÇÃO ====== */
.deck-description {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.95;
}

.deck-description br {
  display: block;
  margin: 0.5rem 0;
  content: "";
}

/* ====== CARD STATUS ====== */
#card-status {
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: 42px;
  padding: 0.75rem 1.25rem;
  margin-right: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#card-status:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
}

.card-counter {
  font-weight: bold;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #1e293b;
}

.card-counter img {
  width: 20px;
  height: 20px;
  filter: invert(18%) sepia(13%) saturate(1538%) hue-rotate(180deg) brightness(95%) contrast(90%);
  transition: transform 0.3s ease;
}

.card-counter:hover img {
  transform: scale(1.1);
}

.cart-count {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-left: 8px;
  transition: all 0.3s ease;
  border: 1px solid #cbd5e1;
}

.cart-count:hover {
  transform: scale(1.05);
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ====== FILTROS ====== */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ====== SELECT PERSONALIZADO ====== */
.filter-select-wrapper {
  position: relative;
  min-width: 180px;
}

.filter-select {
  background-color: #f1f5f9;
  border: 2px solid #e2e8f0;
  color: #1e293b;
  border-radius: 50px;
  padding: 10px 20px;
  padding-right: 45px;
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
  width: 100%;
}

.filter-select:hover {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.05);
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* REMOVER A SETA PADRÃO E ADICIONAR O ÍCONE DO BOOTSTRAP */
.filter-select-wrapper::after {
  content: "\f282"; /* Código Unicode do bi-chevron-down */
  font-family: "bootstrap-icons";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.8rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.filter-select-wrapper:hover::after {
  color: #3b82f6;
}

.filter-select option {
  background-color: #ffffff;
  color: #1e293b;
  padding: 12px;
}

/* ====== INPUT DE BUSCA ====== */
.search-wrapper {
  position: relative;
  flex-grow: 1;
  min-width: 280px;
}

.input-search {
  background-color: #f1f5f9;
  border: 2px solid #e2e8f0;
  color: #1e293b;
  border-radius: 50px;
  padding: 10px 45px 10px 20px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.input-search::placeholder {
  color: #64748b;
}

.input-search:hover {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.05);
}

.input-search:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background-color: #f1f5f9;
}

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  transition: all 0.3s ease;
}

.input-search:focus + .search-icon {
  color: #3b82f6;
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
  .search-container {
    padding: 1rem;
  }
  
  .filter-group {
    flex-direction: column;
    width: 100%;
  }
  
  .filter-select-wrapper,
  .search-wrapper {
    width: 100%;
  }
  
  #card-status {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
  }
}

/* ====== ANIMAÇÕES ====== */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.cart-count.pulse {
  animation: pulse 1.5s infinite;
}

.custom-h6-home {
    letter-spacing: 2px; 
    font-weight: 700; 
    color: #081A2E;
}

.custom-shop-info{
    color: #000000;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
}

/* OWL HOME - desktop padrão */
.owl-carousel .item {
  position: relative;
  width: 100%;
  height: 540px; /* agora o item ocupa 100% do container */
  background-size: contain; /* faz a imagem caber inteira */
  background-repeat: no-repeat; /* evita repetição */
  background-position: center center; /* centraliza a imagem */
  color: #fff;
  object-fit: cover;
}

/* Se quiser controlar altura do carousel via media queries */
@media (max-width: 1024px) { /* tablet */
  .owl-carousel .item {
    height: 400px; /* ou qualquer valor proporcional */
    object-fit: cover;
  }
}

@media (max-width: 600px) { /* mobile */
  .owl-carousel .item {
    height: 500px; /* ajuste conforme necessidade */
    object-fit: cover;
  }
}

.border-store{
  border:2px solid #D3D3D3;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot
{
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    border-radius: 50px;
}

/* ===============================
   SKELETON LOADER APENAS PARA NEWS
================================ */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-news-card {
    width: 100%;
    height: 350px;
    background: #f0f0f0;
    background-image: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

#pagination-container{
  margin-top:40px;
}

@media (max-width: 576px) {
    #pagination-container{
      margin-top:70px;
    }
}

/* =========================================================
   Wishlist - padronização de cor e círculo
   Light mode: coração #061728, sem vermelho e sem alteração de tamanho no clique.
   ========================================================= */
.wishlist-toggle,
.btn-secondary.wishlist-toggle,
.secondary-actions .wishlist-toggle,
.secondary-actions .btn-secondary.wishlist-toggle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex: 0 0 48px;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    box-sizing: border-box;
    color: #061728 !important;
    background: #fff;
    border: 1px solid rgba(6, 23, 40, .12);
    transform: none !important;
    overflow: hidden;
}

.wishlist-toggle:hover,
.btn-secondary.wishlist-toggle:hover,
.secondary-actions .wishlist-toggle:hover,
.secondary-actions .btn-secondary.wishlist-toggle:hover {
    color: #061728 !important;
    background: rgba(6, 23, 40, .04);
    border-color: rgba(6, 23, 40, .18);
    transform: none !important;
}

.wishlist-toggle.wishlist-active,
.wishlist-toggle.in-wishlist,
.btn-secondary.wishlist-active,
.btn-secondary.in-wishlist,
.secondary-actions .wishlist-toggle.wishlist-active,
.secondary-actions .wishlist-toggle.in-wishlist,
.secondary-actions .btn-secondary.wishlist-active,
.secondary-actions .btn-secondary.in-wishlist {
    color: #061728 !important;
    background: rgba(6, 23, 40, .05);
    border-color: rgba(6, 23, 40, .18);
}

.wishlist-toggle:active,
.wishlist-toggle:focus,
.wishlist-toggle:focus-visible,
.wishlist-toggle:disabled,
.btn-secondary.wishlist-toggle:active,
.btn-secondary.wishlist-toggle:focus,
.btn-secondary.wishlist-toggle:focus-visible,
.btn-secondary.wishlist-toggle:disabled {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0 !important;
    border-radius: 999px !important;
    transform: none !important;
    box-shadow: none !important;
}

.wishlist-toggle ion-icon,
.wishlist-toggle i,
.btn-secondary.wishlist-toggle ion-icon,
.btn-secondary.wishlist-toggle i {
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor !important;
    transform-origin: center center;
}

.wishlist-toggle .pulse-once,
.btn-secondary.wishlist-toggle .pulse-once {
    transform-origin: center center;
}
