/*
==================================================
10-product-details.css
Product details page image gallery and product information
==================================================
*/

.details-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: start;
}

.details-gallery-card,
.details-info-card {
    padding: 22px;
}

.main-details-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    background-color: #f7efe3;
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.thumbnail-button {
    border: 2px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    background-color: transparent;
    padding: 0;
}

.thumbnail-button.active {
    border-color: #c99a3d;
}

.thumbnail-button img {
    width: 100%;
    height: 88px;
    object-fit: cover;
}

.details-title {
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.05;
    margin-bottom: 12px;
}

.details-meta {
    margin-bottom: 16px;
}

.details-description {
    color: #74685f;
    margin-bottom: 18px;
}

.details-table {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.details-table div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e3d4bf;
}

.details-table span:first-child {
    color: #74685f;
}

.details-table span:last-child {
    font-weight: 900;
    color: #5b351d;
    text-align: right;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #e3d4bf;
    border-radius: 999px;
    background-color: #ffffff;
    margin: 12px 0 22px;
}

.quantity-selector button {
    width: 42px;
    height: 42px;
    border: none;
    background-color: #f7efe3;
    color: #5b351d;
    font-size: 19px;
    font-weight: 900;
}

.quantity-selector span {
    min-width: 48px;
    text-align: center;
    font-weight: 900;
}

.delivery-box {
    padding: 16px;
    border-radius: 18px;
    background-color: #f7efe3;
    color: #74685f;
    margin-bottom: 18px;
}
