@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #fff;
    color: #111;
    line-height: 1.5;
}

/* HEADER - now matches your desktop file perfectly */
.header-left {
    display: flex;
    align-items: center;
    gap: 48px;          /* ← this controls the distance between logo and menu */
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    border-bottom: 1px solid #eee;
    max-width: 1280px;
    margin: 0 auto;
}
.logo img {
    height: 28px;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

nav a:hover {
    color: #f97316;
}

.right-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cart {
    cursor: pointer;
    width: 24px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #111;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 9999;
    padding: 24px;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
}

.mobile-menu-header span {
    font-size: 32px;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

/* MAIN */
main {
    max-width: 1280px;
    margin: 48px auto;
    padding: 0 48px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.product-left {
    flex: 1;
    max-width: 520px;
}

.main-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s;
}

.main-image:hover {
    transform: scale(1.02);
}

.main-image img {
    width: 100%;
    display: block;
}

.thumbnails {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    justify-content: center;
}

.thumb {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #f3f3f3;
    cursor: pointer;
    transition: all 0.2s;
}

.thumb:hover,
.thumb.active {
    border-color: #111;
    transform: scale(1.05);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-right {
    flex: 1;
    max-width: 520px;
    padding-top: 40px;
}

.brand {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #666;
    text-transform: uppercase;
}

h1 {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    margin: 12px 0 24px;
}

.description {
    font-size: 17px;
    color: #555;
    margin-bottom: 32px;
}

/* PRICE AREA - exactly matches your desktop design */
.price-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 32px;
}

/* This makes $125 + 50% badge stay on the same line */
.price-area > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.discount-badge {
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-top: 2px;
}

.original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: #f97316;
}

.qty-btn img {
    width: 18px;
}

.qty-value {
    font-size: 22px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.add-to-cart {
    background: #f97316;
    color: white;
    border: none;
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart:hover {
    background: #ea580c;
}

.add-to-cart img {
    width: 20px;
}


/* LIGHTBOX - exact match to desktop-design-lightbox.jpg */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 580px;
    width: 90%;
    position: relative;
}

.lightbox-main {
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.lightbox img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #111;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: none;
    z-index: 2;
}

.lightbox-arrow.left {
    left: -1px;
}

.lightbox-arrow.right {
    right: -1px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.lightbox-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.lightbox-thumb.active {
    border-color: #f97316;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CART MODAL */
.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.cart-content {
    background: white;
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
}

.cart-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.remove-btn {
    color: #f97316;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    padding: 20px;
    border-top: 1px solid #eee;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        padding: 20px 24px;
    }
    .hamburger {
        display: block;
    }
    nav {
        display: none;
    }
    main {
        flex-direction: column;
        padding: 0 24px;
        margin: 24px auto;
        gap: 32px;
    }
    .product-left,
    .product-right {
        max-width: 100%;
    }
    h1 {
        font-size: 32px;
    }
    .thumbnails {
        gap: 12px;
    }
    .thumb {
        width: 68px;
        height: 68px;
    }
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
}