:root {
    --primary: #0077b6;
    --primary-dark: #023e8a;
    --accent: #00b4d8;
    --whatsapp: #25D366;
    --whatsapp-dark: #1da851;
    --bg: #f8f9fa;
    --card-bg: #ffffff;
    --text: #212529;
    --text-muted: #6c757d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-bottom: 90px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img, video, canvas {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Header / Banner */
header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.category-title {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-4px) translateX(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #eef5f9;
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

.product-features li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f3f5;
    padding: 8px 12px;
    border-radius: 8px;
}

.quantity-btn {
    background: white;
    border: 1px solid #ced4da;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quantity-val {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Bottom Fixed WhatsApp Bar */
.cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.cart-info {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.cart-count {
    color: var(--primary);
    font-size: 1.2rem;
}

.whatsapp-btn {
    background-color: var(--whatsapp);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-dark);
}

.whatsapp-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.install-btn {
    background-color: var(--primary-dark);
    border-color: transparent;
}

.offline-banner {
    display: none;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.order-summary {
    background: #ffffff;
    border: 1px solid #e9ecef;
    padding: 20px;
    border-radius: 14px;
    margin: 20px auto;
    max-width: 1100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.order-summary label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.order-summary input,
.order-summary select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 16px;
    background: #fff;
    color: var(--text);
}

.order-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
}

.order-row .order-total {
    flex: 1;
    min-width: 180px;
    background: #f1f3f5;
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-price {
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 700;
    margin: 10px 0 14px;
}
