* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #ffffff;
    color: #333;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid #E67E22;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2em;
    margin-bottom: 5px;
    color: #E67E22;
}

.logo p {
    font-size: 0.9em;
    opacity: 0.9;
    color: #666;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #E67E22;
}

.cart-button {
    background: #E67E22;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
}

.cart-button:hover {
    transform: scale(1.05);
    background: #d35400;
}

.hero {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.hero p {
    color: #555;
    font-size: 1.1em;
}

.products {
    padding: 60px 0;
}

.products h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    /* Use a consistent image box size across all products */
    aspect-ratio: 4 / 3;
    height: auto;

    /* Ensure images don't stretch */
    object-fit: contain;
    object-position: center;

    /* Nice background for transparent or non-4:3 images */
    background: #f2f2f2;
    padding: 10px;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.product-features {
    list-style: none;
    margin-bottom: 15px;
    /* fallback visibility */
    display: block;
    padding-left: 0;
}

.product-features li {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E67E22;
    font-weight: bold;
}

.product-pricing {
    margin-bottom: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.current-price {
    font-size: 1.8em;
    font-weight: bold;
    color: #E67E22;
}

.discount-badge {
    display: inline-block;
    background: #E74C3C;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 10px;
}

.add-to-cart {
    width: 100%;
    background: #E67E22;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #d35400;
}

.noscript {
    background: #fff5eb;
    color: #333;
    border-bottom: 1px solid #ffe0c2;
    padding: 10px 16px;
    text-align: center;
    font-size: 0.95em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
    margin-bottom: 5px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #E67E22;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.qty-btn:hover {
    background: #d35400;
}

.remove-btn {
    background: #E74C3C;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.remove-btn:hover {
    background: #c0392b;
}

.cart-summary {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

.cart-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-summary .total {
    font-size: 1.3em;
    font-weight: bold;
    color: #E67E22;
    border-top: 2px solid #ddd;
    padding-top: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E67E22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.checkout-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.checkout-items {
    margin-bottom: 15px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.btn-primary {
    width: 100%;
    background: #E67E22;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #d35400;
}

footer {
    background: #2c2c2c;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.contact {
    padding: 60px 0;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.contact-lead {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-hint {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

.contact-status {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.95em;
    display: none;
}

.contact-status:empty {
    display: none;
}

.contact-status:not(:empty) {
    display: block;
}

.contact-status[data-kind="info"] {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #eee;
}

.contact-status[data-kind="success"] {
    background: #e7f6ee;
    color: #145a32;
    border: 1px solid #b7e4c7;
}

.contact-status[data-kind="error"] {
    background: #fdecea;
    color: #7f1d1d;
    border: 1px solid #f5c2c7;
}

.location-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.location-details {
    padding: 20px;
    color: #333;
}

.location-details a {
    color: #E67E22;
    text-decoration: none;
}

.location-details a:hover {
    text-decoration: underline;
}

.map-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f2f2f2;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav {
        flex-direction: column;
    }
    
    .hero h2 {
        font-size: 1.8em;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}
