/* Product Detail Redesign */
.product-breadcrumb-wrap {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.product-breadcrumb {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
}

.product-breadcrumb .breadcrumb-item {
    font-size: .95rem;
    line-height: 1.35;
}

.product-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #9ca3af;
    padding-right: .55rem;
}

.product-breadcrumb .breadcrumb-item a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.product-breadcrumb .breadcrumb-item a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.product-breadcrumb .breadcrumb-item.active {
    color: #1f2937;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .nav-cats {
        display: none !important;
    }

    main.container.py-4 {
        padding-top: .65rem !important;
    }

    .product-breadcrumb-wrap {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .product-breadcrumb .breadcrumb-item {
        font-size: 1rem;
    }

    .product-breadcrumb .breadcrumb-item:not(.active) {
        display: inline;
    }

    .product-breadcrumb .breadcrumb-item.active {
        display: block;
        width: 100%;
        margin-top: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-breadcrumb .breadcrumb-item.active::before {
        content: "";
        padding: 0;
    }
}

.prod-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prod-thumb-item {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.prod-thumb-item:hover,
.prod-thumb-item.active {
    border-color: #0b1e3c;
    border-width: 2px;
}

.prod-main-img-wrap {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    min-height: 400px;
}

/* Badges Detail */
.badge-detail-novo {
    background-color: #2e1065;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-detail-destaque {
    background-color: #2e1065;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Price Detail */
.price-detail {
    font-size: 2rem;
    font-weight: 700;
    color: #e11d48;
    /* Red/Pinkish from ref */
}

.price-detail-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

/* Qty Controls */
.qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    max-width: 120px;
    height: 48px;
}

.btn-qty {
    background: #f8f9fa;
    border: none;
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
}

.btn-qty:hover {
    background: #e9ecef;
}

.qty-input {
    border: none;
    text-align: center;
    width: 100%;
    height: 100%;
    font-weight: 700;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ribbon Stlye Promo */
.promo-ribbon {
    background: #e11d48;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 0.5rem;
}

.promo-ribbon::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #9f1239;
}

/* Buttons Detail */
.btn-add-cart-outline {
    border: 2px solid #0b1e3c;
    color: #0b1e3c;
    font-weight: 700;
    background: #fff;
    padding: 12px 0;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.2s;
    height: 48px;
}

.btn-add-cart-outline:hover {
    background: #0b1e3c;
    color: #fff;
}

.btn-buy-custom {
    background-color: #10b981;
    /* Vivid Green (Emerald 500 equivalent) */
    /* original was #00d4c5 (Cyan) */
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    transition: all 0.2s;
}

.btn-buy-custom:hover {
    background-color: #059669;
    /* Emerald 600 */
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.btn-doubt-custom {
    background-color: #fce7f3;
    /* Light pink bg */
    border: 1px solid #f9a8d4;
    color: #db2777;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 0;
}

.btn-doubt-custom:hover {
    background-color: #fbcfe8;
    color: #be185d;
}

/* Tabs */
.nav-tabs-custom {
    border-bottom: 2px solid #eee;
}

.nav-tabs-center {
    border-bottom: none !important;
    justify-content: center !important;
    display: flex !important;
}

.nav-tabs-custom .nav-link,
.nav-tabs-center .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
    margin-bottom: -2px;
    padding: 1rem 1.5rem;
}

.nav-tabs-custom .nav-link.active,
.nav-tabs-center .nav-link.active {
    color: #db2777;
    /* Pink active */
    border-bottom: 2px solid #db2777;
    background: transparent;
}

.tab-content-custom {
    padding: 2rem 0;
    color: #555;
    line-height: 1.6;
}

/* Related Carousel */
.related-section {
    background: #fff;
    padding-top: 2rem;
}