/* =========================
   PRODUCT PAGE WRAPPER
   ========================= */
.product-page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
}




/* =========================
   INTER FONT
   ========================= */

.product-page-wrapper,
.product-page-wrapper * {
    font-family: 'Inter', sans-serif;
}

/* =========================
   LAYOUT
   ========================= */
.item-page {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.item-images {
    width: 40%;
}

.item-details {
    width: 60%;
}

/* =========================
   MAIN IMAGE
   ========================= */
.main-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #dbdbdb;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

/* =========================
   THUMBNAILS
   ========================= */
.thumbnail-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail-row img {
    width: 75px;
    height: 75px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #dbdbdb;
    object-fit: contain;
}

.thumbnail-row img.active {
    border: 2px solid #007bff;
}

/* =========================
   ATTRIBUTES TABLE (COMPACT)
   ========================= */

.attr-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;   /* 🔥 keeps columns aligned */
    margin-top: 10px;
}

/* ROW */
.attr-table tr {
    border-bottom: 1px solid #e5e5e5;
}

/* CELLS */
.attr-table td {
    padding: 8px 6px;      /* 🔥 reduced spacing */
    vertical-align: middle;
    font-size: 14px;
}

/* LABEL */
.attr-label {
    width: 20%;
    font-weight: 600;
    color: #666;           /* softer than value */
    white-space: nowrap;
}

/* VALUE */
.attr-value {
    width: 30%;
    font-weight: 700;
    color: #111;
}

/* COLON */
.attr-label::after {
    content: ":";
    margin-left: 4px;
    color: #999;
}

/* =========================
   ALIGNMENT FIX
   ========================= */

/* ensure equal spacing for 4 columns */
.attr-table td:nth-child(1),
.attr-table td:nth-child(3) {
    text-align: left;
}

.attr-table td:nth-child(2),
.attr-table td:nth-child(4) {
    text-align: left;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {

    .item-page {
        flex-direction: column;
    }

    .item-images,
    .item-details {
        width: 100%;
    }

    .attr-table td {
        display: block;
        width: 100%;
    }
}







/* =========================
   DESCRIPTION
   ========================= */

.product-section {
    margin-top: 40px;
}

.product-section h2 {
    font-size: 30px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-description {
    background: #ffffff;
    border: 1px solid rgba(64,64,64,0.3) ;
    border-radius: 12px;
    padding: 28px;
    font-size: 15px;
    line-height: 1.9;
    color: #000;
    font-weight: 400;
}

.product-description p {
    margin: 0 0 18px;
}

.product-description p:last-child {
    margin-bottom: 0;
}

.product-description ul,
.product-description ol {
    margin: 16px 0;
    padding-left: 24px;
}

.product-description li {
    margin-bottom: 10px;
}

.product-description strong,
.product-description b {
    color: #111827;
    font-weight: 700;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4 {
    margin-top: 24px;
    margin-bottom: 14px;
    color: #111827;
    line-height: 1.3;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}


@media (max-width: 768px) {

    .product-section h2 {
        font-size: 30px;
    }

    .product-description {
        padding: 20px;
        font-size: 16px;
        line-height: 1.8;
    }

}




#itemName {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin-bottom: 20px;
}



.item-price {
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    margin: 18px 0;
}





