body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}

.breadcrumb-container {
    background-color: #F9F1E7;
    padding: 38px 100px;
    width: 100%;
    box-sizing: border-box;
}

.breadcrumb {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.breadcrumb-item:nth-child(1)::after {
    content: '>';
    margin: 0 24px;
    color: #000;
}

.breadcrumb-item:nth-child(2)::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 25px;
    background-color: #9F9F9F;
    margin: 0 24px;
}

.breadcrumb-item a {
    color: #000;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease-in-out;
}

.breadcrumb-item a:hover {
    color: #9F9F9F;
}

.breadcrumb-item.active {
    color: #000000;
    font-weight: 400;
}



.product-section {
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
    padding: 50px 100px;
}

.product-gallery {
    display: flex;
    gap: 30px;
    flex: 0 0 55%;
    min-width: 320px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.thumb-item {
    width: 76px;
    height: 80px;
    background-color: #F9F1E7;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumb-item.active {
    border-color: #B88E2F;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image {
    background-color: #F9F1E7;
    border-radius: 10px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply;
}

.main-image img:hover {
    transform: scale(1.05);
}

.product-details {
    flex: 0 0 41%;
    min-width: 320px;
}

.product-title {
    font-size: 42px;
    margin: 0;
    font-weight: 400;
}

.product-price {
    font-size: 24px;
    color: #9F9F9F;
    font-weight: 500;
    margin: 5px 0 15px 0;
}

.product-review {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.stars {
    color: #FFC837;
    font-size: 14px;
}

.review-count {
    color: #9F9F9F;
    padding-left: 20px;
    border-left: 1px solid #9F9F9F;
}

.product-description {
    font-size: 13px;
    line-height: 1.5;
    max-width: 420px;
}

.options-group {
    margin-top: 22px;
}

.option-label {
    font-size: 14px;
    color: #9F9F9F;
    margin-bottom: 12px;
}

.size-options,
.color-options {
    display: flex;
    gap: 16px;
    align-items: center;
}

.size-btn {
    background-color: #F9F1E7;
    border: none;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.size-btn.active {
    background-color: #B88E2F;
    color: white;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-swatch.active {
    outline: 2px solid #B88E2F;
    outline-offset: 2px;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #9F9F9F;
    border-radius: 10px;
    padding: 10px;
}

.quantity-selector button {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 15px;
}

.quantity-selector span {
    font-size: 16px;
    font-weight: 500;
}

.btn-action {
    padding: 10px 48px;
    border: 1px solid #000;
    background: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-action:hover {
    background-color: #000;
    color: #fff;
}

.meta-divider {
    border: none;
    border-top: 1px solid #D9D9D9;
    margin: 60px 0;
}

.product-meta p,
.share-options {
    color: #9F9F9F;
    font-size: 16px;
    margin: 0 0 12px 0;
}

.product-meta span,
.share-options span {
    margin-right: 12px;
}

.share-options {
    display: flex;
    align-items: center;
}

.share-options a {
    margin-left: 15px;
}

.product-container {
    width: 90%;
    max-width: 1200px;
    background-color: #fff;
    padding: 40px;
    margin: 0 auto;
}

.product-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    justify-content: center;
}

.tab-link {
    padding: 15px 25px;
    text-decoration: none;
    color: #888;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.tab-link.active {
    color: #000;
    border-bottom: 2px solid #000;
    font-weight: 600;
}

.tab-link:hover {
    color: #000;
}

.product-content p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.image-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.image-gallery img {
    width: 100%;
    max-width: 48%;
    height: auto;
    object-fit: cover;
    background-color: #f7f3ed;
    padding: 20px;
}

.product-grid-title h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 32px;
    margin-top: 56px;
    font-weight: 700;
    color: #3A3A3A;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1236px;
    margin: 0 auto;
    margin-top: 46px;
}

.product-card {
    background-color: #F4F5F7;
    overflow: hidden;
    position: relative;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.product-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    visibility: hidden;
    position: absolute;
}


.product-card:hover .product-overlay {
    opacity: 1;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    color: white;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.badge.sale {
    background-color: #E97171;
}

.badge.new {
    background-color: #2EC1AC;
}

.product-info {
    padding: 16px 16px 30px;
}

.product-title {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 8px;
    color: #3A3A3A;
}

.product-description {
    color: #898989;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-price {
    font-weight: 600;
    color: #3A3A3A;
    font-size: 20px;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #B0B0B0;
    margin-left: 16px;
    font-size: 16px;
    font-weight: 400;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 58, 58, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-overlay button {
    background-color: #FFFFFF;
    border: none;
    padding: 12px 52px;
    margin-bottom: 24px;
    cursor: pointer;
    color: #B88E2F;
    font-weight: 600;
    font-size: 16px;
}


.show-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 70px;
}

.show-more button {
    padding: 12px 82px;
    border: 1px solid #B88E2F;
    background-color: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #B88E2F;
    transition: all 0.3s ease;
}

.show-more button:hover {
    background-color: #B88E2F;
    color: #FFFFFF;
}

@media (max-width: 768px) {

    .breadcrumb-container {
        padding: 20px;
    }
    
    .product-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }


    .product-details {
        width: 100%;
        margin-top: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card {
        height: auto;
    }
}