body{
    background-color: var(--color-white);
}

button {
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-default);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.product-image {
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.productInfo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.productTitle {
    margin: 0;
}

.category {
    opacity: 0.6;
    font-size: 0.85em;
    font-weight: bold;
}

.purchaseActions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.purchaseActions button {
    padding: 0.75em 1.5em;
    font-size: 1rem;
}


.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* description */
.description h3 {
    margin-bottom: 0.25rem;
}

.description p {
    margin: 0;
    line-height: 1.6;
}

.productDetails {
    margin-top: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--borderRadius);
}

.productDetails summary {
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    padding: 2rem;
}

.productDetails summary::-webkit-details-marker {
    display: none;
}

.productDetails summary::after {
    content: "＋";
    float: right;
}

.productDetails[open] summary::after {
    content: "−";
}

.productDetails ul {
    margin-top: 1rem;
    padding-left: 1rem;
}

@media screen and (max-width: 768px) {
    .productPage {
    grid-template-columns: 1fr;
    }
}

/*  CARD SHARED STYLE  */
.card {
    background-color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.2);
    padding: 1.5rem;
}

/* PRODUCT GRID  */
.productPage {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.fullWidth {
    grid-column: 1 / -1;
}
.productMedia {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* MAIN IMAGE */
.mainImage {
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 4px;
}

/* THUMBNAILS */
.thumbnailRow {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
}

.thumbnailRow img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.2s ease, outline 0.2s ease;
}

/* ACTIVE / HOVER STATE */
.thumbnailRow img:hover,
.thumbnailRow img.active {
opacity: 1;
outline: 2px solid #735943;
}

.mainImage img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
}

.thumbnailRow {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
}

.thumbnailRow img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.thumbnailRow img:hover {
    opacity: 1;
}

.productPurchase {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.priceBox {
    border: 1px solid #403022;
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
}

.priceBox .sku {
    font-size: 0.85rem;
    opacity: 0.6;
}

.priceBox .price {
    font-size: 2rem;
    font-weight: bold;
}

.purchaseActions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.buyNow {
    background-color: #BF8C6F;
    color: #0D0D0D;
}

.buy {
    background-color: #735943;
    color: #F8F8F8;
}

.action:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0,0,0,0.25);
}

@media (max-width: 960px) {
.productPage {
    grid-template-columns: 1fr;
}

.purchaseActions {
    flex-direction: row;
}

.action {
    flex: 1;
}
}

@media (max-width: 768px) {
.mainImage img {
    height: 300px;
}

.purchaseActions {
    flex-direction: column;
}

.priceBox .price {
    font-size: 1.75rem;
}
}

