/* ── PRODUCT DETAIL PAGE ── */

/* ── BREADCRUMB ── */

.breadcrumb {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    padding: 80px 120px 0;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb-sep {
    margin: 0 8px;
    color: #555;
}

.breadcrumb-current {
    color: #555;
}

/* ── PRODUCT DETAIL SECTION ── */

.product-detail {
    display: flex;
    flex-direction: row;
    gap: 80px;
    padding: 50px 120px 70px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ── LEFT: IMAGES ── */

.detail-images {
    flex-shrink: 0;
    width: 460px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-main-img {
    width: 460px;
    height: 455px;
    object-fit: contain;
    padding: 22px;
    display: block;
}

.detail-thumbs {
    display: flex;
    gap: 19px;
}

.detail-thumb {
    width: 104px;
    height: 104px;
    object-fit: contain;
    padding: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.detail-thumb:hover,
.detail-thumb.active {
    opacity: 1;
}

/* ── RIGHT: INFO ── */

.detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
}

.detail-title-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 30px;
    gap: 20px;
}

.detail-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
    margin: 0;
}

.detail-price {
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000;
}

.detail-price em {
    font-style: normal;
    font-weight: 600;
    color: #F8630D ;
    font-size: 22px;
}

/* ── BUTTONS ── */

.detail-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
}

.detail-buy-btn,
.detail-info-btn {
    flex: 1;
    height: 43px;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.detail-buy-btn {
    background: #F0956A;
    color: #fff;
    border: none;
    transition: background 0.2s;
}

.detail-info-btn {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.detail-info-btn:hover {
    opacity: 0.75;
}

.detail-buy-btn:hover {
    background: #F8630D;
}

/* ── ACCORDION ── */

.detail-accordion {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-top: 0.5px solid #000;
}

.accordion-item:last-child {
    border-bottom: 0.5px solid #000;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    cursor: pointer;
    user-select: none;
}

.accordion-label {
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #000;
}

.accordion-icon {
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: #000;
    line-height: 1;
}

.accordion-item:not(.open) .accordion-body {
    display: none;
}

.accordion-body {
    padding-bottom: 25px;
}

.accordion-body p {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
    margin: 0;
}

/* ── FULL DESCRIPTION & HIGHLIGHTS ── */

.dh-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 120px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    background: #F5F4EF;
}

.dh-label {
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #F8630D ;
    margin: 0 0 14px;
}

.dh-rule {
    width: 36px;
    height: 1px;
    background: #F8630D ;
    margin-bottom: 28px;
}

.dh-full-desc {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    line-height: 1.85;
    margin: 0;
}

.dh-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dh-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
}

.dh-highlights svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 2px;
}

/* ── EXTRAS SECTION (How to use / Careful for / Ingredients) ── */

.extras-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: start;
}

.extras-text {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    line-height: 1.85;
    margin: 0;
    white-space: pre-line;
}

/* ── RELATED PRODUCTS ── */

.related-section {
    padding: 60px 120px 80px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.related-heading {
    font-family: 'Times New Roman', Times, serif;
    font-size: 25px;
    font-weight: 400;
    color: #000;
    margin: 0 0 40px;
    text-align: center;
}

.related-grid {
    display: flex;
    gap: 19px;
    justify-content: center;
}

.related-grid .product-card {
    width: 245px;
}

.related-grid .product-card img {
    width: 245px;
    height: 245px;
    object-fit: contain;
    padding: 22px;
    display: block;
    transition: opacity 0.2s;
}

.related-grid .product-card-link:hover .product-card img {
    opacity: 0.88;
}

.related-grid .product-name {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: -0.45px;
    text-align: center;
    margin: 12px 0 4px;
    color: #000;
}

.related-grid .product-price {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: -0.45px;
    text-align: center;
    margin: 0;
    color: #000;
}

/* ── CONTACT POPUP ── */

@keyframes cpopBackdropIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes cpopModalIn {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cpop-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.cpop-backdrop.active {
    display: flex;
    animation: cpopBackdropIn 0.3s ease both;
}

.cpop-modal {
    background: #fff;
    padding: 56px 60px 52px;
    max-width: 680px;
    width: 90%;
    position: relative;
    animation: cpopModalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    box-sizing: border-box;
    border-radius: 8px;
}

.cpop-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 26px;
    font-weight: 300;
    color: #000;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.cpop-close:hover {
    color: #F0956A;
}

.cpop-head {
    margin-bottom: 44px;
}

.cpop-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 60px;
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1;
    color: #000;
    margin: 0 0 18px;
}

.cpop-tagline {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: #000;
    margin: 0;
}

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

.cpop-cell {
    padding: 20px 24px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: opacity 0.3s ease;
}

.cpop-cell:nth-child(even) {
    padding-left: 32px;
    padding-right: 0;
}

.cpop-grid:has(.cpop-cell:hover) .cpop-cell {
    opacity: 0.35;
}

.cpop-grid:has(.cpop-cell:hover) .cpop-cell:hover {
    opacity: 1;
}

.cpop-label {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F8630D;
    margin: 0 0 6px;
}

.cpop-value {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    margin: 0;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

a.cpop-value:hover {
    color: #F0956A;
}

.cpop-sub {
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: #888;
    margin: 0;
}

.cpop-link {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    margin-top: 8px;
    transition: color 0.25s;
    width: fit-content;
}

.cpop-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #F0956A;
    transition: width 0.25s;
}

.cpop-link:hover {
    color: #F0956A;
}

.cpop-link:hover::after {
    width: 100%;
}

.cpop-arrow {
    font-size: 11px;
    transition: transform 0.25s;
}

.cpop-link:hover .cpop-arrow {
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .cpop-modal {
        padding: 40px 24px 36px;
    }

    .cpop-title {
        font-size: 42px;
    }

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

    .cpop-cell:nth-child(even) {
        padding-left: 0;
        border-left: none;
    }
}

/* ── RESPONSIVE ── */

@media (max-width: 1130px) {
    .breadcrumb {
        padding: 36px 20px 0;
    }

    .product-detail {
        flex-direction: column;
        padding: 30px 20px 50px;
        gap: 36px;
    }

    .detail-images {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }

    .detail-main-img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .detail-thumb {
        width: 80px;
        height: 80px;
    }

    .dh-inner {
        grid-template-columns: 1fr;
        padding: 50px 20px;
        gap: 48px;
    }

    .extras-inner {
        grid-template-columns: 1fr;
        padding: 50px 20px;
        gap: 48px;
    }

    .detail-divider {
        margin: 0 20px;
        max-width: none;
    }

    .related-section {
        padding: 40px 20px 60px;
    }

    .related-grid {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .related-grid .product-card {
        width: calc(33.333% - 12px);
        min-width: 140px;
    }

    .related-grid .product-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .product-card-link {
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .detail-images {
        max-width: 320px;
    }

    .detail-thumb {
        width: 64px;
        height: 64px;
    }
}
