/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    padding-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* TOP NAV */
.top-nav {
    background-color: #fdf2f3;
    border-bottom: 1px solid #f2b1b6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    border-bottom: 1px solid #f2cfd3;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #d15c69;
    letter-spacing: 1px;
}

.search-bar, .cart-icon {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.nav-links {
    display: flex;
    justify-content: center;
    background-color: #eba5ab; 
    padding: 10px 0;
}

.nav-links a {
    color: white;
    margin: 0 15px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

/* BREADCRUMB */
.breadcrumb {
    padding: 15px 5%;
    font-size: 13px;
    color: #888;
}

/* PRODUCT TOP (Dual Column) */
.product-top {
    display: flex;
    padding: 20px 5% 40px;
    gap: 40px;
    align-items: flex-start;
}

.product-images {
    flex: 0 0 45%;
}

.main-img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail-list .thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
}

.thumbnail-list .thumb.active {
    border-color: #d15c69;
}

.product-info {
    flex: 1;
}

.prod-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.price {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #d15c69;
}

.old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.sale-badge {
    background: #e74c3c;
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: bold;
}

.details-section h3 {
    font-size: 16px;
    margin: 15px 0 10px;
    color: #444;
}

.details-section ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.details-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.details-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d15c69;
}

.actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.qty-selector {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.qty-selector button {
    background: #f9f9f9;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.qty-selector input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.add-to-cart {
    background: #f4c2c5;
    color: #d15c69;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.add-to-cart:hover {
    background: #eba5ab;
    color: white;
}

.offer-box {
    background: #fdf5f5;
    padding: 15px;
    border: 1px dashed #d15c69;
    border-radius: 4px;
    font-size: 14px;
}

/* STACKED DETAILED IMAGES */
.product-detail-images {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    color: #d15c69;
    text-transform: uppercase;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #d15c69;
}

.story-block {
    text-align: left;
    margin: 30px 15px;
    padding: 20px;
    background: #fdfdfd;
    border-left: 4px solid #eba5ab;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.story-block p {
    font-size: 15px;
    color: #444;
    margin-bottom: 10px;
}

.full-img {
    width: 100%;
    margin-bottom: 15px;
    display: block;
}

/* SIMILAR PRODUCTS */
.similar-products {
    padding: 0 5% 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    text-align: center;
}

.card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 10px;
}

.card h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.card p {
    color: #d15c69;
    font-weight: 700;
}

.card del {
    color: #999;
    font-weight: 400;
    font-size: 12px;
    margin-left: 5px;
}

/* FOOTER */
.footer {
    background-color: #eba5ab;
    color: #fff;
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.f-col {
    flex: 1;
}

.f-col h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.f-col p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-top {
        flex-direction: column;
    }
    .product-images {
        width: 100%;
    }
    .footer {
        flex-direction: column;
    }
    .nav-links {
        display: none;
    }
    .actions {
        flex-direction: column;
        align-items: stretch;
    }
    .qty-selector {
        width: max-content;
        margin: 0 auto 10px;
    }
}
