.detail-container {
    width: min(1150px, 92%);
    margin: 35px auto 60px;
}

.detail-breadcrumb {
    font-size: 13px;
    color: #987b76;
    margin-bottom: 30px;
}

.detail-breadcrumb a:hover {
    color: #a96378;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

.detail-image-wrapper {
    background: #f6e8e4;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ead8d4;
}

.detail-image {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: contain;
}

.detail-no-image {
    min-height: 400px;
    display: grid;
    place-items: center;
    font-size: 100px;
}

.detail-information {
    background: white;
}

.detail-category {
    color: #b77c70;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-information h1 {
    font-family: Georgia, serif;
    color: #522920;
    font-size: 42px;
    margin: 8px 0 12px;
}

.detail-stock {
    display: inline-block;
    color: #159d58;
    background: #e7f7ed;
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: bold;
}

.detail-section {
    margin-top: 28px;
}

.detail-section h3 {
    font-family: Georgia, serif;
    color: #522920;
    font-size: 19px;
    margin: 0 0 14px;
}

.detail-dimensions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.detail-dimensions div {
    background: #fff7f4;
    border: 1px solid #eeded9;
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
}

.detail-dimensions strong {
    display: block;
    color: #673d36;
    font-size: 22px;
}

.detail-dimensions span {
    color: #91736e;
    font-size: 11px;
}

.detail-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.detail-colors span {
    padding: 9px 15px;
    background: #fff5f3;
    border: 1px solid #e9d1cb;
    border-radius: 20px;
    color: #774d46;
    font-size: 12px;
    font-weight: 600;
}

.detail-price-list {
    border: 1px solid #ecd9d4;
    border-radius: 14px;
    overflow: hidden;
}

.detail-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 17px;
    border-bottom: 1px solid #f1e5e1;
}

.detail-price-row:last-child {
    border-bottom: none;
    background: #fff5f3;
}

.detail-price-row span {
    color: #5f4944;
    font-weight: 600;
}

.detail-price-row small {
    display: block;
    color: #9b7b75;
    font-size: 11px;
    margin-top: 4px;
}

.detail-price-row strong {
    color: #991c13;
    font-size: 19px;
    white-space: nowrap;
}

.detail-wa-button {
    display: block;
    background: #06ae56;
    color: white;
    text-align: center;
    padding: 17px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 28px;
}

.detail-wa-button:hover {
    background: #079849;
}

.detail-note {
    color: #967a74;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.detail-description {
    background: #fff8f5;
    border: 1px solid #ecd9d4;
    border-radius: 16px;
    padding: 28px;
    margin-top: 45px;
}

.detail-description h2 {
    font-family: Georgia, serif;
    color: #522920;
}

.detail-description p {
    line-height: 1.9;
    white-space: normal;
}

.detail-back {
    margin-top: 35px;
    text-align: center;
}

.detail-back a {
    display: inline-block;
    padding: 13px 24px;
    border: 1px solid #c18c80;
    border-radius: 25px;
    color: #9c6458;
    font-weight: bold;
}

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

    .detail-information h1 {
        font-size: 32px;
    }

    .detail-container {
        margin-top: 20px;
    }

    .detail-price-row strong {
        font-size: 16px;
    }

    .detail-description {
        padding: 20px;
    }
}

/* GALERI FOTO PRODUK */

.detail-gallery {
    min-width: 0;
}

.detail-image-wrapper {
    background: #f8ebe8;
    border-radius: 16px;
    overflow: hidden;
}

.detail-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
}

.detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.detail-thumbnail {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #f8ebe8;
    padding: 0;
}

.detail-thumbnail.active {
    border-color: #a96378;
}

.detail-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.detail-thumbnail:hover {
    border-color: #c996a5;
}

@media (max-width: 620px) {
    .detail-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
}

/* FORM PEMESANAN */

.rtl-order-form {
    margin-top: 28px;
    padding: 22px;
    background: #fff6f3;
    border: 1px solid #ecd9d4;
    border-radius: 16px;
}

.rtl-order-form label {
    display: block;
    margin: 16px 0 7px;
    font-weight: 700;
    font-size: 13px;
    color: #67443d;
}

.rtl-order-form select,
.rtl-order-form input {
    display: block;
    width: 100%;
    min-height: 45px;
    padding: 11px 13px;
    background: white;
    border: 1px solid #e6cbc5;
    border-radius: 9px;
    color: #513d3b;
}

.rtl-order-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e6cbc5;
}

.rtl-order-total strong {
    color: #991c13;
    font-size: 22px;
}

.rtl-order-hint {
    color: #98756d;
    font-size: 12px;
}

.rtl-order-error {
    color: #b42318;
    font-size: 13px;
}

.rtl-order-form .detail-wa-button {
    width: 100%;
    border: 0;
    cursor: pointer;
}


/* FIX DROPDOWN PILIHAN WARNA */
.rtl-order-form {
    position: relative;
    z-index: 10;
    overflow: visible;
}

.rtl-order-form select,
.rtl-order-form input {
    position: relative;
    z-index: 11;
    pointer-events: auto;
    cursor: pointer;
    background-color: #ffffff;
    opacity: 1;
}

.rtl-order-form select:focus {
    outline: 2px solid #a96378;
    outline-offset: 2px;
}
