:root {
  /* Paleta oficial Nakki */
  --nakkibr-primary: #cb5353;  /* vermelho principal */
  --nakkibr-primary-dark: #b01c1c; /* mais escuro, para hover */
  --nakkibr-primary-light: #f69d9d; /* bem clarinho, fundos suaves */
  --nakkibr-accent: #dc8559;  /* tom cor de pele/laranja */
  --nakkibr-brown: #944013;  /* marrom de apoio */

  --nakkibr-light: #f69d9d;
  --nakkibr-soft: #fce3e3;   /* você pode usar #f69d9d ou algo derivado */
  --nakkibr-gray: #eeeeee;
  --nakkibr-dark: #111827;

  /* texto padrão */
  --nakkibr-text: #4b5563;
}

/* RESET básico já vem do Bootstrap, então aqui é identidade */

body {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: var(--nakkibr-dark);
}

/* ===== HEADER ===== */

.nk-logo {
  color: var(--nakkibr-primary);
}
.nk-logo-img {
  height: 38px;  
  width: auto;
  display: block;
}

.navbar-toggler-icon{
  width: 1em;
  height: 1em;
}

.nk-header .navbar-nav .nav-link {
  font-weight: 500;
  color: #4b5563;
}

.nk-header .navbar-nav .nav-link:hover,
.nk-header .navbar-nav .nav-link:focus {
  color: var(--nakkibr-primary);
}

.nk-header-icons button {
  font-size: 1.1rem;
}

.nk-cart-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  background: var(--nakkibr-primary);
  color: #fff;
  font-size: 0.65rem;
  border-radius: 999px;
  padding: 0.05rem 0.35rem;
}

/* ===== HERO ===== */

.nk-hero {
  position: relative;
  min-height: 70vh;
  /* Garanta que a imagem de fundo esteja definida aqui */
  background-color:var(--nakkibr-primary-soft); 
  overflow: hidden;
  z-index: 0;
}

.nk-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 250px; 
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,   
    rgba(255, 255, 255, 0.6) 50%, 
    #ffffff 100%                 
  );

  pointer-events: none;
}

.nk-pill {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.nk-hero-title {
  font-size: clamp(2.5rem, 3vw + 1.5rem, 3.75rem);
  font-weight: 700;
  color: #111827;
}

.nk-highlight {
  color: var(--nakkibr-primary);
}

.nk-hero-text {
  font-size: 1rem;
  color: #4b5563;
  max-width: 480px;
}

.btn-nakki {
  background-color: var(--nakkibr-primary);
  border-color: var(--nakkibr-primary);
  color: #fff;
  font-weight: 500;
  padding-inline: 1.5rem;
}

.btn-nakki:hover {
  background-color: #a33e41;
  border-color: #a33e41;
  color: #fff;
}

.btn-outline-nakki {
  border-color: var(--nakkibr-primary);
  color: var(--nakkibr-primary);
  font-weight: 500;
}

.btn-outline-nakki:hover {
  background-color: var(--nakkibr-primary);
  color: #fff;
}

/* imagem do hero */

.nk-hero-image-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.nk-hero-image {
  border-radius: 18px;
}

/* Containers dos slides */
.nk-hero-slider {
  position: relative;
  width: 100%;
}

.nk-hero-slide {
  display: none;
}

.nk-hero-slide.nk-hero-active {
  display: block;
}

/* Dots */
.nk-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background-color: rgba(196, 79, 82, 0.3);
  transition: all 0.2s ease;
  z-index:2;
}

.nk-dot-active {
  width: 24px;
  background-color: var(--nakkibr-primary);
  z-index:2;
}

/* Setas laterais */
.nk-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--nakkibr-primary);
  transition: all 0.2s ease;
  z-index: 2;
}

.nk-hero-arrow-left {
  left: 20px;
}

.nk-hero-arrow-right {
  right: 20px;
}

.nk-hero-arrow:hover {
  background-color: var(--nakkibr-primary);
  color: #fff;
}

/* (Você já tem isso, mas mantém aqui pra reforçar) */
.nk-hero {
  position: relative;
  min-height: 70vh;
  background-color: #f9e0e0;
  overflow: hidden;
  z-index: 0;
}

.nk-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 250px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    #ffffff 100%
  );
  pointer-events: none;
}


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

.nk-collection {
  background-color: #fff;
}

.nk-product-card {
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  padding: 0.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.nk-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0,0,0,0.08);
}

.nk-product-image {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #F9EDED, #F4DCDC);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}
.nk-product-image img{
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.nk-product-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.9rem;
  background-color: var(--nakkibr-primary);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}
.nk-product-tag a{
  text-decoration:none;
  font-size:12px;
  font-weight:bold !important;
  color:#F9EDED;

}

.nk-wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.8rem;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.nk-wishlist-btn:hover {
  color: var(--nakkibr-primary);
}

.nk-product-body {
  padding: 0.5rem 0.25rem 0.25rem;
}


.nk-product-desc {
  font-size: 0.8rem;
  color: #6b7280;
}

.nk-product-price {
  font-weight: 700;
  color: var(--nakkibr-primary);
}

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

.nk-footer {
  background: linear-gradient(to top, #f69d9d, #F9EDED);
}

.nk-footer-link {
  color: #6b7280;
  text-decoration: none;
}

.nk-footer-link:hover {
  color: var(--nakkibr-primary);
}
/* ==========================
   SINGLE POST / PRODUTO NAKKI
   ========================== */
   .nk-product-page {
    background-color: #fff;
    color: var(--nakkibr-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
  }
  
  /* Breadcrumb */
  .nk-product-breadcrumb {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-bottom: 1.5rem;
  }
  .nk-product-breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s;
  }
  .nk-product-breadcrumb a:hover {
    color: var(--nakkibr-primary);
  }
  .nk-product-breadcrumb .current {
    color: var(--nakkibr-dark);
    font-weight: 500;
  }
  
  /* GALERIA */
  .nk-product-gallery {
    background: transparent;
    padding: 0;
  }
  .nk-product-main-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--nakkibr-gray);
    margin-bottom: 1rem;
  }
  .nk-product-main-img img {
    width: 100%;
    height: auto;
    display: block;
  }
  .nk-product-placeholder {
    min-height: 450px;
    background: var(--nakkibr-gray);
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
  }
  
  /* Badge Frete Grátis */
  .nk-img-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--nakkibr-accent-dark);
  color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  /* Thumbs */
  .nk-product-thumbs {
    display: flex;
    gap: 0.75rem;
  }
  .nk-product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 1px solid var(--nakkibr-gray);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .nk-product-thumb:hover,
  .nk-product-thumb-active {
    border-color: var(--nakkibr-primary);
  }
  .nk-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* COL DIREITA */
  .nk-product-info {
    padding-left: 1.5rem;
  }
  
  /* Títulos */
  .nk-product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--nakkibr-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  .nk-product-title a{
    font-size: 18px;
    font-weight: 700;
    color: var(--nakkibr-dark) !important;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-decoration: none;
  }

  .nk-product-subtitle {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 1rem;
  }
  
  /* Avaliações */
  .nk-product-meta {
    margin-bottom: 1.5rem;
  }
  .nk-stars {
    color: #FBBF24;
    font-size: 1.1rem;
  }
  .nk-rating-count {
    font-size: 0.9rem;
    color: #6B7280;
    margin-left: 8px;
  }
  
  /* PREÇO + COMPRA */
  .nk-product-pricing-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nakkibr-gray);
  }
  .nk-old-price {
    display: block;
    font-size: 1rem;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
  }
  .nk-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0.5rem;
  }
  .nk-current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nakkibr-dark);
  }
  .nk-discount-tag {
    background: var(--nakkibr-accent-dark);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
  }
  .nk-installments {
    font-size: 0.95rem;
    color: var(--nakkibr-text);
    margin-bottom: 1.5rem;
  }
  
  /* Botão comprar */
  .btn-nakki {
    background-color: var(--nakkibr-primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    z-index: 3;
    border-radius: 0;
  }
  .add-btn:hover {
  background-color: #a33e41;
}

/* Ícone animando no hover */
.add-btn:hover .icon-cart {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(2px);
  }
}
  
  /* Wishlist */
  .btn-outline-nakki {
    width: fit-content;
    border: 1px solid !important;
    margin: 0;
    border-radius: 0px;
    padding: 10px 30px;
    color: #c44f52;
    background: #FFFFFF80;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    z-index:3;
  }
  .btn-outline-nakki:hover {
    color: var(--nakkibr-primary);
    text-decoration: underline;
  }
  
  /* Frete / CEP */
  .nk-shipping-calc {
    margin-top: 2.5rem;
  }
  .nk-shipping-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--nakkibr-dark);
    margin-bottom: 0.75rem;
  }
  .nk-free-shipping-msg {
    color: var(--nakkibr-success);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
  }
  .nk-input-group {
    display: flex;
    gap: 10px;
  }
  .nk-cep-input {
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 12px 16px;
    flex: 1;
    font-size: 1rem;
    color: var(--nakkibr-dark);
  }
  .nk-cep-input:focus {
    outline: none;
    border-color: var(--nakkibr-primary);
  }
  .btn-cep-ok {
    background: transparent;
    border: 1px solid var(--nakkibr-dark);
    color: var(--nakkibr-dark);
    border-radius: 6px;
    padding: 0 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
  }
  .btn-cep-ok:hover {
    background: var(--nakkibr-dark);
    color: #fff;
  }
  .nk-cep-help {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6B7280;
    text-decoration: underline;
  }
  
  /* DETALHES – faixa verde + caixa branca (sem abas) */
  .nk-product-details-accordion {
    margin-top: 4rem;
    border-top: 1px solid var(--nakkibr-gray);
    padding-top: 2rem;
  }
  .nk-details-header {
    background: var(--nakkibr-accent);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 6px 6px 0 0;
    font-size: 1rem;
    font-weight: 600;
  }
  .nk-details-body {
    border: 1px solid var(--nakkibr-gray);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 1.5rem;
    font-size: 1rem;
    color: var(--nakkibr-text);
    line-height: 1.6;
    background: #fff;
  }
  
  /* Responsivo */
  @media (max-width: 991px) {
    .nk-product-info {
      padding-left: 0;
      margin-top: 2rem;
    }
    .nk-product-title {
      font-size: 1.75rem;
    }
    .nk-current-price {
      font-size: 2rem;
    }
  }
  /* short desc */
.nk-product-short-desc p {
  margin-bottom: 0.5rem;
}

/* Wrapper do add to cart do Woo */
.nk-add-to-cart-wrapper {
  margin-top: 1rem;
}

/* Botão oficial do Woo dentro do nosso layout */
.nk-add-to-cart-wrapper .single_add_to_cart_button,
.nk-add-to-cart-wrapper .single_add_to_cart_button.button,
.nk-add-to-cart-wrapper .single_add_to_cart_button.alt {
  background-color: var(--nakkibr-primary);
  border: 1px solid var(--nakkibr-primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 24px;
  border-radius: 8px;
  width: 100%;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nk-add-to-cart-wrapper .single_add_to_cart_button:hover,
.nk-add-to-cart-wrapper .single_add_to_cart_button.button:hover,
.nk-add-to-cart-wrapper .single_add_to_cart_button.alt:hover {
  background-color: #a63f42; /* tom mais escuro do primary */
  border-color: #a63f42;
  color: #fff;
  box-shadow: 0 4px 12px rgba(166, 63, 66, 0.3);
}

/* Ajuste do campo de quantidade pra não ficar feio */
.nk-add-to-cart-wrapper .quantity .qty {
  width: 80px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #D1D5DB;
  margin-right: 0.75rem;
}

.nk-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nk-header-cart i {
  font-size: 1.3rem;
}

.nk-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--nakkibr-primary);
  color: #fff;
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

/* Botões principais (comprar, add to cart) */
.btn-nakki,
.single_add_to_cart_button,
.add_to_cart_button {
  background-color: var(--nakkibr-primary);
  border-color: var(--nakkibr-primary);
  color: #fff !important;
}

.btn-nakki:hover,
.single_add_to_cart_button:hover,
.add_to_cart_button:hover {
  background-color: var(--nakkibr-primary-dark);
  border-color: var(--nakkibr-primary-dark);
}

/* customizaçoes plugin */
.single_add_to_cart_button {
  background-color: var(--nakkibr-accent) !important;
  margin-top: 10px !important;

}
.wc-block-components-product-name{
  color: black !important;
}
.wc-block-components-button,.wp-element-button .wc-block-cart__submit-button {
  background-color: var(--nakkibr-accent) !important;
  color: white;

}
/* =========================================
   MOBILE OPTIMIZATION (2 Colunas)
   ========================================= */
   @media (max-width: 767px) {

    /* Ajuste geral do espaçamento do card */
    .nk-product-card {
      padding: 0.5rem; /* Menos preenchimento interno */
      border-radius: 12px;
    }
  
    /* Ajuste da altura da imagem para não ficar muito alta */
    .nk-product-image img {
      height: 140px; /* Reduz altura fixa */
    }
    
    .nk-product-image {
      padding: 0.5rem; /* Menos borda no fundo rosa */
      border-radius: 10px;
      margin-bottom: 0.5rem;
    }
  
    /* Título menor e com limite de linhas */
    .nk-product-title a {
      font-size: 0.9rem;
      line-height: 1.2;
      display: -webkit-box;
      -webkit-line-clamp: 2; /* Limita a 2 linhas */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  
  
    /* Ajuste da tag de categoria (bolinha vermelha) */
    .nk-product-tag {
      font-size: 0.6rem;
      padding: 0.1rem 0.4rem;
      top: 0.5rem;
      left: 0.5rem;
    }
  
    /* Botão de wishlist menor */
    .nk-wishlist-btn {
      width: 24px;
      height: 24px;
      top: 0.5rem;
      right: 0.5rem;
      font-size: 0.8rem;
    }
  
    /* Preço e Botão */
    .nk-product-body .d-flex.align-items-center {
      flex-direction: column; /* Coloca preço em cima e botão embaixo */
      align-items: flex-start !important;
      gap: 8px;
    }
    .nk-product-body .d-flex.align-items-center .btn-nakki{
      flex-direction: row;
      padding: 15px;
    }

    .nk-product-price {
      font-size: 0.95rem;
    }
  
    /* Botão de comprar ocupa 100% da largura no mobile */
    .nk-product-body form.cart {
      width: 100%;
    }
  
    .nk-product-body button[type="submit"] {
      width: 100%;
      justify-content: center;
      padding: 6px 0;
      font-size: 0.8rem;
    }
    .nk-logo-img{
      height: 28px;
    }
  }
  /* ===== Estilo Premium para o select de ordenação ===== */
 
.woocommerce .woocommerce-ordering {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding: 10px 42px 10px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background-color: #fff;

  font-size: 0.95rem;
  font-weight: 500;
  color: #333;

  box-shadow: 0 6px 16px rgba(0,0,0,.04);
  cursor: pointer;
  transition: all .25s ease;
}

/* ícone da setinha */
.woocommerce .woocommerce-ordering::after {
  content: "▾";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #999;
  pointer-events: none;
}

/* hover */
.woocommerce .woocommerce-ordering select:hover {
  border-color: #ff9f9f;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* focus */
.woocommerce .woocommerce-ordering select:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,.2);
}
