@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --detail-bg: #f8f1e7;
    --detail-surface: rgba(255, 252, 247, 0.95);
    --detail-text: #2f2a25;
    --detail-soft: #6b6259;
    --detail-accent: #b47b46;
    --detail-accent-dark: #875a32;
    --detail-line: rgba(140, 104, 68, 0.2);
    --detail-shadow: 0 18px 34px rgba(65, 45, 27, 0.16);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--detail-text);
    background:
        radial-gradient(circle at 9% 12%, rgba(180, 123, 70, 0.16), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(152, 112, 74, 0.1), transparent 34%),
        linear-gradient(180deg, #fdf9f4 0%, var(--detail-bg) 100%);
    line-height: 1.7;
    letter-spacing: 0.01em;
    min-height: 100vh;
}

.product-top-nav {
    max-width: 1160px;
    margin: 1.2rem auto 0;
    padding: 0 1rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(149, 110, 74, 0.28);
    background: rgba(255, 250, 242, 0.9);
    color: #6b4828;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.back-btn:hover,
.back-btn:focus-visible {
    text-decoration: none;
    color: #5a3b20;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(97, 66, 39, 0.18);
}

.back-btn-icon {
    font-size: 1rem;
    line-height: 1;
}

.container {
    margin-top: clamp(2.4rem, 6vw, 4.5rem) !important;
    margin-bottom: clamp(2.4rem, 6vw, 4.5rem);
}

.product-layout-container {
    max-width: 1160px;
}

.row {
    align-items: stretch;
}

.product-layout-row {
    row-gap: 1.25rem;
}

.carousel {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--detail-line);
    box-shadow: var(--detail-shadow);
    background-color: #ffffff;
    animation: detailFadeUp 0.7s ease both;
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.product-details {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--detail-line);
    border-radius: 22px;
    padding: clamp(1.3rem, 2vw, 1.9rem);
    background: var(--detail-surface);
    box-shadow: var(--detail-shadow);
    animation: detailFadeUp 0.7s ease 0.12s both;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: #2e261d;
}

.product-price {
    font-size: clamp(1.3rem, 2.6vw, 1.65rem);
    color: var(--detail-accent-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.product-description {
    font-size: 0.97rem;
    color: var(--detail-soft);
    margin-bottom: 1.35rem;
}

.product-description a {
    color: var(--detail-accent-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(135, 90, 50, 0.35);
}

.product-description a:hover,
.product-description a:focus-visible {
    color: #6d4728;
    border-bottom-color: rgba(109, 71, 40, 0.58);
}

.product-description-list {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    display: grid;
    gap: 0.66rem;
}

.product-description-list li {
    border: 1px solid rgba(148, 111, 74, 0.2);
    border-radius: 12px;
    background: rgba(255, 250, 243, 0.7);
    padding: 0.6rem 0.72rem;
    display: grid;
    gap: 0.1rem;
}

.product-description-list li span {
    color: var(--detail-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-description-list li .bold {
    margin-right: 0.25rem;
    color: #3a2f25;
}

.bold {
    color: #3a2f25;
    font-weight: 700;
}

.warning {
    margin: 0.3rem 0 0;
    color: #7c6044;
    font-size: 0.83rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    height: auto;
}

.order-now-btn {
    align-self: flex-start;
    border: 0;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.86rem 1.4rem;
    background: linear-gradient(120deg, var(--detail-accent), #c78f58);
    color: #fff8ef;
    box-shadow: 0 10px 24px rgba(132, 90, 52, 0.34);
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.order-now-btn:hover,
.order-now-btn:focus-visible {
    background: linear-gradient(120deg, #a86f3f, #ba814f);
    color: #fffaf3;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(132, 90, 52, 0.42);
}

hr {
    border-top: 1px solid rgba(140, 104, 68, 0.2);
}

@keyframes detailFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .product-details {
        margin-top: 1.35rem;
    }
}

@media (max-width: 575.98px) {
    .product-top-nav {
        margin-top: 0.95rem;
    }

    .container {
        margin-top: 1rem !important;
    }

    .product-details {
        border-radius: 18px;
    }

    .order-now-btn {
        width: 100%;
    }
}
