/* ----- Estilos herdados da página antiga ----- */
.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    font-size: 1.2rem;
}
.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.wishlist-active {
    color: #ff4444;
    border-color: #ff4444;
}

/* NOVO ESTILO PARA QUANTIDADE (apenas input elegante) */
.quantity-input {
    width: 100px;
    height: 48px;
    border: 1px solid #ced4da;
    border-radius: 30px;
    padding: 0 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    background-color: #f8f9fa;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -moz-appearance: textfield;
}
.quantity-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    background-color: #fff;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    /* -webkit-appearance: none; */
    margin: 0;
}

/* NOVO ESTILO PARA INPUT DE CEP E BOTÃO REDONDO */
.cep-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 50px;
    overflow: hidden;
    padding-left: 1rem;
    transition: box-shadow 0.2s;
}
.cep-input-group:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    border-color: #80bdff;
}
.cep-input-group input {
    flex: 1;
    border: none;
    padding: 0.75rem 0.5rem;
    outline: none;
    font-size: 1rem;
}
.cep-input-group button {
    width: 48px;
    height: 48px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 50%;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-size: 1.2rem;
}
.cep-input-group button:hover {
    background: #0056b3;
    transform: scale(0.97);
}
.cep-input-group button:disabled {
    background: #6c757d;
    cursor: wait;
}
.spinner-border-sm {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.2em;
}

/* Estilo da galeria (mantido) */
.main-image-container {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* mantém proporção sem distorcer */
    object-position: center; /* centraliza */
    cursor: pointer;
}
.zoom-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.zoom-btn:hover {
    opacity: 1;
}
.thumbnail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.thumbnail-item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}
.thumbnail-item.active {
    border-color: #0d6efd;
}
.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lightbox-modal .modal-content {
    background-color: rgba(0,0,0,0.9);
}
.lightbox-modal .btn-close {
    filter: invert(1);
}

/* Ícones de confiabilidade */
.details-shipping p {
    margin-bottom: 0.5rem;
}

/* Estrelas */
#averageStars i {
    font-size: 1.2rem;
}

/* Zoom image */
.product-main-image {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    height: 465px !important; /* altura fixa para imagem de produtos */
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-main-image img {
    transition: transform 0.15s ease;
    transform-origin: center;
    will-change: transform;
}
.product-main-image.zoom-active img {
    cursor: grab;
}

/* normalize */
.item::before {
    content: "";
    position:relative;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
    z-index: 1;
}

/* ----- NOVOS ESTILOS PARA FRETE ----- */
.shipping-calculator {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
}
.shipping-calculator h5 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.shipping-address-detail {
    font-size: 0.95rem;
    background: #e9ecef;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
}
.free-shipping-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}
.shipping-options {
    margin-top: 15px;
}
.shipping-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}
.shipping-option:last-child {
    border-bottom: none;
}
.shipping-option .delivery-time {
    font-size: 0.9rem;
    color: #6c757d;
}
.shipping-option .price {
    font-weight: bold;
    color: #28a745;
}

/* ----- AJUSTES PARA REDUZIR ALTURA E MELHORAR ORGANIZAÇÃO ----- */
.product-info-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.product-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-right: 1rem;
}
.stock-badge {
    display: inline-flex;
    align-items: center;
}
.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0.5rem 0 1rem;
}
.purchase-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.purchase-row .quantity-col {
    flex: 0 0 auto;
}
.purchase-row .button-col {
    flex: 1 1 auto;
    min-width: 200px;
}
@media (max-width: 576px) {
    .product-info-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .stock-badge {
        margin-left: 0;
        margin-top: 5px;
    }
}

/* ----- AJUSTES OWL CAROUSEL ----- */
.related-products-card {
    position: relative;
}
.custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s;
    font-size: 1.5rem;
    color: #333;
}
.custom-nav:hover {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.custom-nav-prev {
    left: -20px;
}
.custom-nav-next {
    right: -20px;
}
.custom-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
@media (max-width: 768px) {
    .custom-nav-prev {
        left: -10px;
    }
    .custom-nav-next {
        right: -10px;
    }
}

/* ----- ESTILOS PARA AS TABS (Descrição / Especificações) ----- */
.product-tabs {
    margin-top: 3rem;
}
.nav-tabs {
    border-bottom: 1px solid #eaeaea;
}
.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    background: transparent;
    transition: all 0.2s;
    border-radius: 30px 30px 0 0;
}
.nav-tabs .nav-link:hover {
    color: #495057;
    background-color: #f8f9fa;
    border-color: transparent;
}
.nav-tabs .nav-link.active {
    color: #0d6efd;
    background-color: #fff;
    border-bottom: 3px solid #0d6efd;
    font-weight: 600;
}
.tab-content {
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: none;
    padding: 2rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.specs-list li {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}
.specs-list li:last-child {
    border-bottom: none;
}
.specs-list strong {
    width: 160px;
    color: #495057;
    font-weight: 600;
}
.specs-list span {
    color: #212529;
}

.related-products-card .owl-stage{
display:flex;
justify-content:center;
}

.related-products-card .owl-item{
display:flex;
justify-content:center;
}

.product-card{
width:100%;
max-width:280px;
}

.product-image{
height:220px;
display:flex;
align-items:center;
justify-content:center;
}

.product-image img{
max-height:100%;
width:auto;
object-fit:contain;
}

.product-card{
border-radius:12px;
overflow:hidden;
}

.product-image{
height:320px;
background:#f5f5f5;
display:flex;
align-items:center;
justify-content:center;
}

.product-image img{
width:100%;
height:100%;
object-fit:cover;
}

.product-card .card-title{
font-size:16px;
font-weight:600;
}

.product-card .price{
font-size:18px;
}

.product-card .btn{
width:100%;
}

.shipping-option{
display:flex;
justify-content:space-between;
align-items:center;
border-bottom:1px solid #ddd;
padding:10px 0;
}

.shipping-company{
display:flex;
align-items:center;
gap:10px;
}

.shipping-company img{
margin:14px;
height:24px;
width:auto;
}

.delivery-time{
font-size:12px;
color:#777;
}

/* =========================================================
   INKMANA 20260811 MOBILE PRODUCTS ALWAYS GRID
   ========================================================= */
@media (max-width:767.98px) {
  #products-page .view-toggle { display:none!important; }
  #products-page #productsContainer.products-grid,
  #products-page #productsContainer.products-list {
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  #products-page #productsContainer.products-list .shop-product-card {
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
  }
  #products-page #productsContainer.products-list .product-image {
    min-height:240px!important;
    border-right:0!important;
  }
  #products-page #productsContainer.products-list .product-body {
    display:flex!important;
    flex-direction:column!important;
  }
  #products-page #productsContainer.products-list .product-card-footer {
    display:grid!important;
    width:100%!important;
    grid-template-columns:minmax(104px,.8fr) minmax(122px,1.2fr)!important;
  }
}
