:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --border-color: #e5e5e5;
    --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

a:hover {
    opacity: 0.6;
}

/* Header */
.header {
    text-align: center;
    padding: 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1.5rem;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav a {
    font-weight: 500;
}

.cart-link {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-weight: bold;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
    letter-spacing: 1px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    display: block;
    text-align: center;
}

.product-image-wrapper {
    background: #f4f4f4;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.product-card:hover .product-image-wrapper img {
    transform: scale(1.02);
}

.product-title {
    font-size: 12px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.product-price {
    font-size: 12px;
    color: #666;
}

/* Product Page */
.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .product-page {
        grid-template-columns: 1fr;
    }
}

.product-page-image img {
    width: 100%;
    background: #f4f4f4;
}

.product-page-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.product-page-price {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
}

.btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    border: 1px solid #000;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-family: inherit;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.btn:hover {
    background: #fff;
    color: #000;
    opacity: 1;
}

.product-description {
    margin-top: 3rem;
    font-size: 12px;
    text-transform: none;
    line-height: 1.6;
    color: #666;
}

/* Cart */
.cart-item {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background: #f4f4f4;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.cart-item-price {
    margin-bottom: 1rem;
    color: #666;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-controls input {
    width: 50px;
    padding: 0.3rem;
    text-align: center;
    border: 1px solid #ccc;
    font-family: inherit;
}

.remove-btn {
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 10px;
    color: #666;
}

.cart-summary {
    margin-top: 2rem;
    text-align: right;
}

.cart-summary h3 {
    margin-bottom: 1rem;
    font-weight: normal;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 1rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.footer-col p, .footer-col a {
    display: block;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 11px;
    text-transform: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 10px;
    color: #999;
}

/* Size Selector */
.size-selector { margin-bottom: 2rem; }
.size-selector label { display: block; margin-bottom: 0.5rem; font-size: 11px; }
.size-dropdown { width: 100%; padding: 1rem; border: 1px solid #000; font-family: inherit; font-size: 12px; text-transform: uppercase; cursor: pointer; background: #fff; border-radius: 0; appearance: none; }
/* Pagination */
.pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 4rem; }
.page-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #e5e5e5; font-size: 12px; transition: all 0.2s; }
.page-link:hover, .page-link.active { background: #000; color: #fff; border-color: #000; opacity: 1; }
