
:root{
    --main-color : #fff ;
    --second-color : #AEE4FF ;

}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: flex-end;
    padding: 20px 5%;
}

.cart-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.product-page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.gallery-section {
    flex: 1.5;
    min-width: 300px;
}

.details-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 20px;
}

.product-gallery {
    display: flex;
    gap: 10px;
    height: 600px;
}

.main-image-container {
    flex: 1;
    height: 100%;
    position: relative;
}

.main-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sub-gallery-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.sub-gallery-top {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.sub-gallery-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sub-gallery-bottom-row {
    flex: 1;
    display: flex;
    gap: 10px;
}

.sub-gallery-item {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.sub-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 5px;
    line-height: 1.2;
}

.price {
    font-size: 1.5rem;
    color: var(--second-color);
    margin-bottom: 15px;
}

.description,
.spec-section p {
    font-size: 0.9rem;
    color: #aaaaaa;
    line-height: 1.6;
}

.spec-section span {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--second-color);
}

.product-stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.stat-item {
    flex: 1;
}

.stat-item .label {
    display: block;
    font-size: 0.8rem;
    color: var(--second-color);
    margin-bottom: 4px;
}

.stat-item .value {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 4px;
}

.stat-item .desc {
    font-size: 0.7rem;
    color: #555;
    line-height: 1.3;
}

.color-selector,
.size-selector {
    margin-top: 10px;
}

.color-selector span,
.size-selector span {
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #ddd;
}

.color-options {
    display: flex;
    gap: 15px;
}

.color-option {
    width: 50px;
    height: 65px;
    border: 1px solid #333;
    padding: 3px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.color-option:hover,
.color-option.active {
    border-color: #fff;
}

.color-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.size-btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    min-width: 45px;
    height: 35px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    padding: 0 10px;
}

.size-btn:hover {
    border-color: #fff;
}

.size-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* --- Buttons --- */
.actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-add-cart {
    flex: 1;
    background-color: #B2E7FF;
    color: #000;
    border: none;
    padding: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-add-cart:hover {
    opacity: 0.9;
}

.btn-wishlist {
    width: 50px;
    background: #B2E7FF;
    
    border: 1px solid #444;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist:hover {
    border-color: #fff;
}

.collection-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.collection-title {
    font-weight: 300;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #aaaaaa;
}

.ring-collection-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
}

.collection-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 15px;
    background: #111;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.collection-item:hover .img-wrapper img {
    transform: scale(1.05);
}

.item-name {
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #fff;
}

.item-price {
    display: block;
    font-size: 0.85rem;
    color: #888;
}

.shop-all-btn {
    background: transparent;
    border: 1px solid #444;
    color: white;
    padding: 12px 50px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.shop-all-btn:hover {
    background: white;
    color: black;
}

@media (max-width: 992px) {
    .product-page-layout {
        flex-direction: column;
    }

    .gallery-section,
    .details-section {
        flex: auto;
        padding-left: 0;
    }

    .product-gallery {
        flex-direction: column;
        height: auto;
    }

    .sub-gallery-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sub-gallery-top,
    .sub-gallery-bottom-row {
        flex: 100%;
    }
}