@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #fff;
    color: #111;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Top Banner & Header (Same as Home) */
.top-banner {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}
.top-banner img { height: 32px; object-fit: contain; }

.header-container {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.logo img { height: 32px; }
.nav-links { display: none; }
@media (min-width: 768px) {
    .nav-links { display: flex; gap: 24px; }
}
.nav-links a { font-size: 14px; font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: #f59e0b; }

.header-icons { display: flex; gap: 15px; align-items: center; }
.icon-btn { background: none; border: none; cursor: pointer; position: relative; padding: 5px; }
.icon-btn svg { width: 24px; height: 24px; }
.cart-badge {
    position: absolute; top: 0; right: 0; background-color: #eab308;
    color: white; font-size: 10px; font-weight: bold; width: 16px; height: 16px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}

/* Product Layout Container */
.product-container {
    max-width: 600px; /* Focused mobile-first style like the screenshot */
    margin: 0 auto;
    padding: 0 15px 50px 15px;
}
@media (min-width: 1024px) {
    .product-container {
        max-width: 1000px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .product-details { padding-top: 20px; }
}

/* Main Image */
.main-image {
    width: 100%;
    margin-bottom: 20px;
}
.main-image img {
    width: 100%;
    border-radius: 8px;
}
.thumb-small {
    width: 60px;
    height: 60px;
    border: 2px solid #eaeaea;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Product Info */
.product-title {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 10px;
}

.reviews {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}
.reviews svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
    color: #f59e0b;
}
.reviews span { margin-left: 8px; }

.prices-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}
.price-old {
    font-size: 18px;
    color: #6b7280;
    text-decoration: line-through;
    font-weight: 500;
}
.price-current {
    font-size: 36px;
    font-weight: 800;
    color: #000;
}
.discount-tag {
    background-color: #f59e0b;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
}

.installments {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}
.installments strong {
    color: #000;
    font-weight: 700;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 30px;
}
.shipping-info svg {
    width: 20px;
    height: 20px;
    color: #f59e0b;
}

/* Color & Size selection */
.variant-label {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    display: block;
}
.color-box {
    border: 1px solid #f59e0b;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    color: #f59e0b;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    width: 100%;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.size-btn {
    border: 1px solid #eaeaea;
    background-color: #fff;
    border-radius: 4px;
    padding: 10px 0;
    min-width: 50px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: all 0.2s;
}
.size-btn:hover, .size-btn.active {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

/* Action row */
.action-row {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 0 15px;
    width: 120px;
    height: 54px;
}
.qty-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
    cursor: pointer;
    padding: 5px;
}
.qty-number {
    font-size: 16px;
    font-weight: 600;
}

.checkout-btn {
    flex: 1;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    padding: 0 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 54px;
}
.checkout-btn:hover {
    background-color: #333;
}

/* Trust Badges */
.trust-badges {
    background-color: #f9fafa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.trust-icon {
    width: 40px;
    height: 40px;
    background-color: #e6f6eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}
.trust-text p {
    font-size: 12px;
    color: #6b7280;
}

/* Description Area */
.description-section {
    grid-column: 1 / -1;
    margin-top: 20px;
}
.description-title {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}
.banner-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Footer (Same as Home) */
footer { background-color: #f3f4f6; margin-top: 50px; }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 50px 15px; }
.footer-logo { margin-bottom: 30px; }
.footer-logo img { height: 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col h3 { font-size: 14px; font-weight: bold; text-transform: uppercase; margin-bottom: 5px; }
.footer-divider { width: 32px; height: 2px; background-color: #eab308; margin-bottom: 15px; }
.footer-col p, .footer-col a { font-size: 14px; color: #6b7280; margin-bottom: 10px; display: block; }
.footer-col a:hover { color: #000; }
.security-icons { display: flex; gap: 15px; }
.security-icons img { height: 40px; }
.footer-bottom { background-color: #000; color: #fff; text-align: center; padding: 15px; font-size: 12px; }
.footer-bottom p { margin-bottom: 5px; }

/* Reviews Section */
.reviews-section {
    grid-column: 1 / -1;
    margin-top: 40px;
    border-top: 1px solid #eaeaea;
    padding-top: 40px;
}
.reviews-header {
    text-align: center;
    margin-bottom: 30px;
}
.reviews-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}

.reviews-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.score-number {
    font-size: 48px;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}
.score-max {
    font-size: 20px;
    color: #6b7280;
    font-weight: 500;
}
.score-stars {
    display: flex;
    gap: 4px;
    margin: 10px 0;
}
.score-stars svg {
    width: 20px;
    height: 20px;
    fill: #f59e0b;
    color: #f59e0b;
}
.score-subtitle {
    font-size: 14px;
    color: #6b7280;
}

.reviews-bars {
    max-width: 400px;
    margin: 0 auto 30px auto;
}
.bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #000;
}
.bar-star svg {
    width: 14px;
    height: 14px;
    fill: #f59e0b;
    color: #f59e0b;
    margin-left: 4px;
}
.bar-track {
    flex: 1;
    height: 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background-color: #f59e0b;
    border-radius: 4px;
}
.bar-count {
    color: #6b7280;
    width: 25px;
    text-align: right;
}

.leave-review-btn {
    background-color: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: block;
    margin: 0 auto 30px auto;
    transition: background-color 0.3s;
}
.leave-review-btn:hover { background-color: #333; }

.reviews-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    font-size: 14px;
    color: #111;
}
.reviews-filter select {
    border: none;
    background: transparent;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.review-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.author-name {
    font-weight: 700;
    color: #000;
}
.verified-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 500;
}
.verified-badge svg {
    width: 14px;
    height: 14px;
}
.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}
.review-stars svg {
    width: 14px;
    height: 14px;
    fill: #f59e0b;
    color: #f59e0b;
}
.review-text {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 15px;
}
.review-date {
    font-size: 12px;
    color: #9ca3af;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 600;
}
.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #111;
    cursor: pointer;
}
.page-btn.active {
    background-color: #111;
    color: #fff;
}
.page-dots { color: #6b7280; }

/* ===== COLOR SELECTOR ===== */
.color-selector-group { margin-bottom: 1.2rem; }
.color-row { margin-bottom: 0.8rem; }
.color-label { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; font-family: 'Montserrat', sans-serif; }
.color-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.color-btn { padding: 0.35rem 0.85rem; border: 2px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; font-size: 0.8rem; font-family: 'Montserrat', sans-serif; transition: all 0.2s; }
.color-btn.active { border-color: #f59e0b; background: #fef3c7; font-weight: 700; }
.color-btn:hover { border-color: #f59e0b; }

.description-copy {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 16px;
    letter-spacing: 0.1px;
}

.description-copy:last-of-type {
    margin-bottom: 24px;
}

.measure-table-image {
    width: 100%;
    border-radius: 12px;
    margin-top: 6px;
    border: 1px solid #ededed;
}
