/* Ficha de produto */

.container {
    padding: 2rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #999;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: #012a4a;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #e6b3cc;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-image-area {
    background: linear-gradient(135deg, #f0e8f5, #e8f0f5, #f5ede8);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.product-image-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-detail-carousel {
    position: relative;
    padding: 0;
}

.detail-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    height: 500px;
    border-radius: 12px;
}

.detail-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.detail-carousel-track {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.detail-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.detail-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.detail-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #012a4a;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

.detail-carousel-btn:hover {
    background: #e6b3cc;
    color: white;
}

.detail-carousel-prev {
    left: 10px;
}

.detail-carousel-next {
    right: 10px;
}

.detail-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}

.detail-carousel-dots .detail-carousel-dot {
    pointer-events: auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.detail-carousel-dots .detail-carousel-dot.active {
    background: #012a4a;
    transform: scale(1.25);
}

.product-detail .product-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1rem;
}

.product-detail .product-category {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.product-detail .product-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.product-detail .product-price {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-description {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1rem;
}

.product-description p {
    margin: 0 0 1rem;
}

.product-description p:last-child {
    margin-bottom: 0;
}

.product-description ul {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
    list-style: disc;
}

.product-description li {
    margin-bottom: 0.4rem;
}

.product-description ul:last-child {
    margin-bottom: 0;
}

.product-story {
    background: #faf8f5;
    border-left: 3px solid #e6b3cc;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.product-story h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #012a4a;
    margin-bottom: 0.5rem;
}

.product-story p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    font-style: italic;
}

.product-details {
    margin-bottom: 2rem;
}

.product-details h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #012a4a;
    margin-bottom: 1rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-label {
    color: #999;
    font-size: 0.85rem;
}

.detail-value {
    color: #2c2c2c;
    font-size: 0.85rem;
}

.buy-section {
    background: white;
    padding: 2rem;
    border: 2px solid #e6b3cc;
    border-radius: 10px;
    margin-top: auto;
}

.buy-button {
    background: #012a4a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.buy-button:hover {
    background: #e6b3cc;
    transform: translateY(-2px);
}

.contact-info {
    text-align: center;
    color: #999;
    font-size: 0.8rem;
    line-height: 1.5;
}

.process-peek {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.process-peek a {
    color: #012a4a;
    text-decoration: none;
    border-bottom: 1px solid #e6b3cc;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.process-peek a:hover {
    color: #e6b3cc;
    border-color: #012a4a;
}

.related-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #f0f0f0;
}

.related-products h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #012a4a;
    margin-bottom: 2rem;
}

.product-card .product-image-area {
    height: 200px;
    font-size: 2.5rem;
    border-radius: 0;
}

.product-card .product-info {
    padding: 1.2rem;
}

.product-card .product-title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.product-card .product-price {
    font-size: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-area {
        height: 300px;
        font-size: 4rem;
    }

    .detail-carousel-viewport {
        height: 300px;
    }

    .product-detail .product-title {
        font-size: 2rem;
    }

    .product-detail .product-price {
        font-size: 1.2rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .product-card .product-image-area {
        width: 100%;
        height: 180px;
        font-size: 2.5rem;
        border-radius: 0;
    }

    .product-card .product-info {
        padding: 1rem;
    }

    .product-card .product-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .product-image-area {
        height: 250px;
        font-size: 3rem;
    }

    .detail-carousel-viewport {
        height: 250px;
    }

    .product-detail .product-title {
        font-size: 1.8rem;
    }

    .buy-section {
        padding: 1rem;
    }

    .product-card .product-image-area {
        height: 150px;
        font-size: 2rem;
    }
}
