/* Apple style font + Dark theme */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background: #0f0f0f;
    color: #e6e6e6;
    margin: 0;
    padding: 0;
}

/* HEADER */
.header {
    background: #0b0b0b;
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo img {
    width: 32px;
}

.cart-btn {
    cursor: pointer;
}

/* HERO */
.hero {
    background: radial-gradient(circle at top, #1b1b1b, #0f0f0f);
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 48px;
    margin: 20px 0 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.biglogo {
    max-width: 90%;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* CATALOG */
.catalog {
    padding: 60px 30px;
}

.catalog h2,
.category {
    color: #f2f2f2;
}

.category {
    margin: 50px 0 20px;
    font-size: 26px;
    letter-spacing: 1px;
    border-left: 4px solid #3f5a3c;
    padding-left: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card {
    background: #161616;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.card h4 {
    margin: 10px 0;
}

.card button {
    margin-top: 10px;
    padding: 10px;
    background: #2f5a3e;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-family: inherit;
}

.card button:hover {
    background: #3f7a55;
}

/* CART */
#overlay {
    position: fixed;
    top:0;
    left:0;
    width:0;
    height:0;
    background: rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    z-index: 900;
}

.cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #121212;
    color: #fff;
    padding: 0;
    overflow-y: auto;
    transition: width 0.3s ease, padding 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0,0,0,0.5);
}

.cart.open {
    width: 320px;
    padding: 20px;
}

.cart ul {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 6px 0;
}

.cart-item span {
    font-size: 14px;
}

.remove {
    background: transparent;
    border: none;
    color: #888;
    font-size: 16px;
    cursor: pointer;
}

.remove:hover {
    color: #ff5c5c;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 16px;
}

.checkout {
    background: #2f5a3e;
    color: #fff;
    border: none;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
    font-family: inherit;
}

.checkout:hover {
    background: #3f7a55;
}

.cart button.close {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    background: #555;
    color: #fff;
    cursor: pointer;
}

.cart button.close:hover {
    background: #777;
}