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

body {
    font-family: 'Bebas Neue', sans-serif;
    background: #fff;
    color: #000;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: 'Bebas Neue', sans-serif; }
input, select, textarea { font-family: 'Bebas Neue', sans-serif; }

/* HEADER */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 199;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.nav-left { display: flex; gap: 30px; flex: 1; }
.nav-left a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #000;
    transition: opacity 0.3s;
}
.nav-left a:hover { opacity: 0.6; }

.logo-center { flex: 1; display: flex; justify-content: center; align-items: center; }

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 6px;
    color: #000;
    font-weight: 400;
}

.nav-right { display: flex; gap: 20px; flex: 1; justify-content: flex-end; align-items: center; }
.nav-right a {
    font-size: 20px;
    color: #000;
    transition: opacity 0.3s;
    position: relative;
    cursor: pointer;
}
.nav-right a:hover { opacity: 0.6; }

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #000;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* PRODUCTS */
.products-section {
    padding: 100px 50px 60px;
    min-height: 80vh;
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 38px;
    letter-spacing: 6px;
    font-weight: 400;
    margin-bottom: 12px;
}

.line {
    width: 50px;
    height: 1px;
    background: #000;
    margin: 0 auto;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid #ddd;
    color: #888;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.filter-btn:hover { border-color: #000; color: #000; }

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

.products-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.product-card {
    display: block;
    color: #000;
    cursor: pointer;
}

.product-media {
    width: 100%;
    height: 450px;
    background: #f5f5f5;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.03);
}

.product-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 6px;
}

.product-card .price {
    font-size: 15px;
    color: #555;
    letter-spacing: 1px;
}

.product-card .color-dots {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: border-color 0.3s;
}

.color-dot:hover, .color-dot.active { border-color: #000; }

/* PRODUCT MODAL */
.product-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 500;
    background: #fff;
    overflow-y: auto;
}

.product-modal.active { display: block; }

.modal-close {
    position: fixed;
    top: 20px;
    right: 40px;
    z-index: 501;
    background: none;
    border: none;
    color: #000;
    font-size: 22px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.modal-close:hover { opacity: 0.5; }

.modal-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 100vh;
    padding: 80px 50px 50px;
    gap: 50px;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-main-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: #f5f5f5;
    overflow: hidden;
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumbnails {
    display: flex;
    gap: 8px;
}

.modal-thumb {
    width: 70px;
    height: 90px;
    object-fit: cover;
    background: #f5f5f5;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s;
    border: 1px solid transparent;
}

.modal-thumb:hover, .modal-thumb.active {
    opacity: 1;
    border-color: #000;
}

.modal-info {
    padding: 20px 0;
}

.modal-info h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 12px;
    font-weight: 400;
}

.modal-info .price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #333;
}

.stock-info {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.option-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    color: #666;
}

.color-section { margin-bottom: 22px; }
.color-options { display: flex; gap: 10px; }

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.color-option:hover { transform: scale(1.1); }
.color-option.active { border-color: #000; }
.color-option.active::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px;
    right: -4px; bottom: -4px;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 50%;
}

.size-section { margin-bottom: 22px; }

.size-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.size-btn {
    padding: 13px;
    border: 1px solid #ddd;
    background: transparent;
    color: #000;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 1px;
}

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

.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }

.variant-btn {
    padding: 13px 22px;
    border: 1px solid #ddd;
    background: transparent;
    color: #000;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.variant-btn:hover { border-color: #000; }
.variant-btn.active { background: #000; color: #fff; border-color: #000; }
.variant-btn.disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

/* QUANTITY SELECTOR */
.qty-section { margin-bottom: 22px; }
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    height: 46px;
}
.qty-btn {
    width: 46px;
    height: 46px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: #f3f3f3; }
.qty-value {
    width: 52px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    line-height: 46px;
}

/* INLINE CHECKOUT IN PRODUCT PAGE */
.checkout-inline-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 18px;
    font-weight: 400;
    margin-top: 8px;
}
.checkout-form { margin-top: 4px; }
.summary-box {
    background: #f9f9f9;
    padding: 18px 20px;
    border: 1px solid #eee;
    margin: 6px 0 20px;
}
.summary-box .summary-line { padding: 8px 0; }

.modal-features {
    list-style: none;
    margin-bottom: 20px;
}

.modal-features li {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #888;
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    text-transform: uppercase;
}

.modal-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: #000;
}

.modal-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #999;
    margin-bottom: 28px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 17px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}

.add-to-cart-btn:hover { background: #333; }
.add-to-cart-btn.added { background: #22c55e; }

/* CHECKOUT */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 600;
    background: #fff;
    overflow-y: auto;
}

.checkout-modal.active { display: block; }

.checkout-close { position: fixed; top: 20px; right: 40px; z-index: 601; }

.checkout-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    min-height: 100vh;
    padding: 50px;
    gap: 50px;
}

.checkout-left h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-weight: 400;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 7px;
    color: #666;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    color: #000;
    font-size: 14px;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #000; }

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 35px;
    cursor: pointer;
}

.delivery-section { margin-bottom: 22px; }

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.delivery-option input { display: none; }

.delivery-card {
    padding: 18px;
    border: 1px solid #e0e0e0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.delivery-option input:checked + .delivery-card {
    border-color: #000;
    background: #f9f9f9;
}

.delivery-card i { font-size: 22px; margin-bottom: 8px; display: block; }
.delivery-card span { display: block; font-size: 11px; letter-spacing: 1px; }
.delivery-price { color: #999; margin-top: 4px; }

.checkout-right {
    background: #f9f9f9;
    padding: 28px;
    border: 1px solid #eee;
    height: fit-content;
    position: sticky;
    top: 50px;
}

.checkout-right h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 22px;
    font-weight: 400;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 13px;
}

.summary-item-name { color: #333; }
.summary-item-meta { font-size: 11px; color: #999; }

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

.summary-line.total {
    border-top: 1px solid #ddd;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 17px;
    font-weight: 600;
    color: #000;
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 22px;
    text-transform: uppercase;
}

.place-order-btn:hover { background: #333; }

.back-to-shop-btn {
    width: 100%;
    padding: 13px;
    background: transparent;
    color: #999;
    border: none;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 8px;
    transition: color 0.3s;
}

.back-to-shop-btn:hover { color: #000; }

/* SUCCESS */
.success-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 700;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.success-modal.active { display: flex; }

.success-content {
    text-align: center;
    max-width: 400px;
    padding: 45px 40px;
    background: #fff;
    border-radius: 4px;
}

.success-check {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-check i { font-size: 30px; color: #fff; }

@keyframes popIn {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 4px;
    margin-bottom: 6px;
    font-weight: 400;
}

.success-sub { font-size: 14px; color: #888; margin-bottom: 22px; }

.order-number-box {
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 16px;
    margin-bottom: 18px;
}
.order-number-box span {
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    color: #aaa;
    margin-bottom: 6px;
}
.order-number-box strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 3px;
    font-weight: 400;
    color: #000;
}

.success-note { font-size: 13px; color: #999; margin-bottom: 28px; }

.success-content button {
    padding: 14px 40px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.success-content button:hover { background: #333; }

/* SCROLL */
.scroll-section {
    padding: 0;
    overflow: hidden;
}

.scroll-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.scroll-item {
    flex-shrink: 0;
    width: 280px;
    height: 400px;
    overflow: hidden;
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.5s;
}

.scroll-item img:hover { filter: grayscale(0%); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ABOUT */
.about-section {
    padding: 80px 50px;
    text-align: center;
}

.about-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 6px;
    font-weight: 400;
    margin-bottom: 12px;
}

.about-content p {
    font-size: 16px;
    line-height: 2;
    color: #777;
    letter-spacing: 2px;
    margin-top: 25px;
}

/* FOOTER */
.footer {
    padding: 35px 50px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 6px;
}

.footer-links { display: flex; gap: 25px; }

.footer-links a {
    font-size: 12px;
    letter-spacing: 2px;
    color: #999;
    transition: color 0.3s;
    text-transform: uppercase;
}

.footer-links a:hover { color: #000; }

.footer p { font-size: 11px; color: #bbb; letter-spacing: 1px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .header { padding: 15px 20px; }
    .nav-left { display: none; }
    .products-section { padding: 40px 20px; }
    .products-row { grid-template-columns: 1fr 1fr; gap: 15px; }
    .product-media { height: 300px; }
    .filter-btn { padding: 8px 14px; font-size: 10px; }
    .modal-content { grid-template-columns: 1fr; padding: 70px 20px 30px; gap: 25px; }
    .modal-main-image { aspect-ratio: 1/1; }
    .modal-info h1 { font-size: 34px; }
    .size-grid { grid-template-columns: repeat(3, 1fr); }
    .footer { padding: 25px 20px; }
    .footer-content { flex-direction: column; gap: 15px; text-align: center; }
    .scroll-item { width: 200px; height: 280px; }
    .checkout-content { grid-template-columns: 1fr; padding: 30px 20px; }
    .checkout-right { position: relative; top: 0; }
    .form-row { grid-template-columns: 1fr; }
    .delivery-options { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .products-row { grid-template-columns: 1fr; }
    .product-media { height: 420px; }
}
