/* ===================== Base Styles ===================== */
body {
    font-family: system-ui;
    background: #f4f6f8;
    padding: 30px;
    margin: 0;
}

h1 {
    font-size: 32px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ===================== Grid & Cards ===================== */
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    width: 200px;
}

.card img {
    width: 100%;
    border-radius: 8px;
}

.card a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

/* ===================== Product Page ===================== */
.product-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background: #f4f6f8;
}

.product-page .card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.product-page .product-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.product-page .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-page .product-details h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111;
}

.product-page .product-details p {
    font-size: 18px;
    color: #111;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-page .product-details .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Customizable input and Add-to-Cart button */
.product-page .product-details input#pers {
    padding: 14px 20px;
    width: 100%;
    max-width: 300px;
    border-radius: 6px;
    border: none;
    margin-bottom: 20px;
    background: #ff9900;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.product-page .product-details input#pers::placeholder {
    color: rgba(255,255,255,0.8);
}

.product-page .product-details button {
    background: #ff9900;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    width: fit-content;
}

.product-page .product-details button:hover,
.product-page .product-details input#pers:hover {
    opacity: 0.9;
}

/* Responsive product page */
@media (max-width: 768px) {
    .product-page .card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-page .product-img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-bottom: 20px;
    }
}

/* ===================== Header ===================== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #111;
    color: white;
}

.site-header .logo {
    font-size: 24px;
    font-weight: bold;
}

.site-header nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

.site-header nav a:hover {
    color: #ff9900;
}

/* ===================== Hero Banner ===================== */
.hero-banner {
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
}

.hero-banner-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 0; /* no rounding for banner */
}

/* ===================== Featured & About ===================== */
.featured h2 {
    text-align: center;
    margin: 60px 0 30px;
}

.about {
    background: #eee;
    padding: 60px 20px;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    max-width: 700px;
    margin: auto;
}

/* ===================== Footer ===================== */
.site-footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}
