/* =============================================
   KrishiaCare — Mobile-First Responsive CSS
   Background: #FDFBF5 | Green: #5A7A4B | Gold: #C8A96E
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #FDFBF5;
    --green: #5A7A4B;
    --green-light: #EAF2E3;
    --green-dark: #3D5C33;
    --gold: #C8A96E;
    --text: #2C2C2C;
    --text-light: #6B6B6B;
    --border: #E8E3D8;
    --white: #FFFFFF;
    --red: #D32F2F;
    --shadow: 0 2px 16px rgba(0,0,0,0.07);
    --radius: 10px;
    --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---- HEADER ---- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}
.site-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.logo-text {
    font-family: 'Lora', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--green-dark);
    letter-spacing: 0.5px;
}

.main-nav { display: none; }
@media (min-width: 900px) {
    .main-nav { display: block; }
    .main-nav ul { display: flex; gap: 4px; }
    .main-nav a {
        font-size: 13.5px;
        font-weight: 500;
        color: var(--text-light);
        padding: 6px 12px;
        border-radius: 6px;
        transition: var(--transition);
        letter-spacing: 0.2px;
    }
    .main-nav a:hover { color: var(--green); background: var(--green-light); }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}
.icon-btn:hover { background: var(--green-light); color: var(--green); }

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
@media (min-width: 900px) { .mobile-menu-btn { display: none; } }

.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px 16px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}
.mobile-nav a:hover { background: var(--green-light); color: var(--green); }

/* ---- HERO ---- */
.hero {
    background: linear-gradient(135deg, #EAF2E3 0%, #F5EDDA 100%);
    padding: 56px 16px;
    text-align: center;
}
.hero-badge {
    display: inline-block;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(26px, 6vw, 48px);
    color: var(--green-dark);
    margin-bottom: 14px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero p {
    font-size: clamp(14px, 2vw, 17px);
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto 28px;
    font-style: italic;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #b8955a; border-color: #b8955a; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---- FEATURES BAR ---- */
.features-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 600px) { .features-list { grid-template-columns: repeat(4, 1fr); } }
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}
.feature-item .fi { font-size: 22px; }

/* ---- SECTION HEADINGS ---- */
.section { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-header h2 { font-size: clamp(22px, 4vw, 32px); color: var(--green-dark); margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 15px; }
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 8px;
}

/* ---- PRODUCT GRID ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.product-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #F5EFE4;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
}
.product-badge.gold { background: var(--gold); }
.product-badge.new-badge { background: #1976D2; }
.product-body { padding: 13px; }
.product-name {
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
    color: var(--text);
}
@media (min-width: 600px) { .product-name { font-size: 15px; } }
.product-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.price-current { font-size: 16px; font-weight: 700; color: var(--green-dark); }
.price-original {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}
.price-save {
    font-size: 11px;
    color: #E53935;
    font-weight: 600;
    background: #FEE9E8;
    padding: 2px 6px;
    border-radius: 4px;
}
.btn-atc {
    width: 100%;
    background: var(--green-light);
    color: var(--green-dark);
    border: none;
    border-radius: 7px;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}
.btn-atc:hover { background: var(--green); color: #fff; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    padding: 14px 0;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { color: var(--border); }

/* ---- FILTERS BAR ---- */
.filters-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 7px 16px;
    border-radius: 30px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* ---- PRODUCT DETAIL ---- */
.product-detail { padding: 24px 0 48px; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 700px) {
    .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.product-gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #F5EFE4;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-info-panel { display: flex; flex-direction: column; gap: 16px; }
.product-info-panel h1 { font-size: clamp(20px, 4vw, 28px); }
.product-info-panel .product-price { font-size: 18px; }
.product-info-panel .price-current { font-size: 22px; }
.product-desc-full { font-size: 14.5px; color: var(--text-light); line-height: 1.75; }
.ingredients-block {
    background: var(--green-light);
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-light);
}
.ingredients-block strong { color: var(--green-dark); display: block; margin-bottom: 4px; }
.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}
.qty-btn {
    width: 38px;
    height: 38px;
    background: var(--bg);
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-weight: 700;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--green-light); }
.qty-display {
    width: 44px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    padding: 0 4px;
    background: var(--white);
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
}
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.stock-dot.out { background: var(--red); }

/* ---- CART ---- */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 900px) {
    .cart-layout { grid-template-columns: 1fr 340px; gap: 32px; }
}
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
}
@media (min-width: 500px) {
    .cart-item { grid-template-columns: 100px 1fr auto; }
}
.cart-item-img {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #F5EFE4;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: 'Lora', serif; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-item-price { font-size: 13px; color: var(--text-light); }
.cart-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}
.cart-remove:hover { color: var(--red); }
.order-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    position: sticky;
    top: 80px;
}
.order-summary h3 { font-size: 17px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 0;
    color: var(--text-light);
}
.summary-row.total {
    border-top: 1.5px solid var(--border);
    margin-top: 10px;
    padding-top: 12px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}
.summary-row.total span:last-child { color: var(--green-dark); }

/* ---- CHECKOUT ---- */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 900px) {
    .checkout-layout { grid-template-columns: 1fr 360px; gap: 36px; }
}
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.form-card h2 { font-size: 18px; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
}
.form-control:focus { outline: none; border-color: var(--green); background: var(--white); }
.form-control.error { border-color: var(--red); }
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 500px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* Payment options */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.payment-option:hover { border-color: var(--green); background: var(--green-light); }
.payment-option.selected { border-color: var(--green); background: var(--green-light); }
.payment-option input[type="radio"] { width: 16px; height: 16px; accent-color: var(--green); margin-top: 2px; flex-shrink: 0; }
.payment-option-label { font-weight: 600; font-size: 14px; display: block; }
.payment-option-desc { font-size: 12px; color: var(--text-light); }

/* UPI box */
.upi-box {
    background: #FFF8E1;
    border: 1.5px dashed var(--gold);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    display: none;
}
.upi-box.show { display: block; }
.upi-id-display {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-dark);
    background: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    display: inline-block;
    margin: 12px 0;
    letter-spacing: 0.5px;
}

/* ---- ALERTS & MESSAGES ---- */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
.alert-error { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }
.alert-info { background: #E3F2FD; color: #1565C0; border: 1px solid #BBDEFB; }
.alert-warning { background: #FFF3E0; color: #E65100; border: 1px solid #FFE0B2; }

/* ---- AUTH PAGES ---- */
.auth-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: linear-gradient(135deg, #EAF2E3 0%, #FDFBF5 60%);
}
.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow);
}
@media (max-width: 480px) {
    .auth-card { padding: 28px 20px; border-radius: 12px; }
}
.auth-logo {
    text-align: center;
    margin-bottom: 24px;
}
.auth-logo img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}
.auth-logo span { font-family: 'Lora', serif; font-size: 22px; color: var(--green-dark); font-weight: 600; }
.auth-title { font-size: 22px; text-align: center; margin-bottom: 6px; color: var(--text); }
.auth-subtitle { font-size: 13px; color: var(--text-light); text-align: center; margin-bottom: 24px; }
.auth-divider { text-align: center; color: var(--text-light); font-size: 13px; margin: 18px 0; position: relative; }
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
    z-index: 0;
}
.auth-divider span { background: var(--white); padding: 0 12px; position: relative; z-index: 1; }
.auth-link { color: var(--green); font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

/* OTP input */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}
.otp-input {
    width: 48px;
    height: 52px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--green-dark);
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}
.otp-input:focus { outline: none; border-color: var(--green); background: var(--white); }

/* ---- ORDER SUCCESS ---- */
.success-page { text-align: center; padding: 60px 16px; }
.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 34px;
}
.success-page h1 { font-size: 26px; color: var(--green-dark); margin-bottom: 10px; }
.success-page p { color: var(--text-light); margin-bottom: 28px; }

/* ---- INVOICE / BILL ---- */
.invoice-box {
    max-width: 700px;
    margin: 24px auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
@media (max-width: 500px) { .invoice-box { padding: 20px 16px; } }
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.invoice-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.invoice-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 16px; }
.invoice-table th {
    background: var(--green);
    color: #000;
    padding: 10px 12px;
    text-align: left;
}
.invoice-table td {
    color: #000;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}
.invoice-table tr:last-child td { border-bottom: none; }
.invoice-total {
    text-align: right;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 2px solid var(--border);
}

/* ---- MY ORDERS ---- */
.order-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}
.order-card-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 600px) {
    .order-card-header {
        grid-template-columns: repeat(3, 1fr) auto;
        align-items: center;
    }
}
.order-card-body { padding: 16px; }
.order-items-list { display: flex; flex-direction: column; gap: 10px; }
.order-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

/* ---- BADGES ---- */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-blue { background: #E3F2FD; color: #1565C0; }
.badge-yellow { background: #FFF9C4; color: #F57F17; }
.badge-purple { background: #EDE7F6; color: #6A1B9A; }
.badge-green { background: #E8F5E9; color: #2E7D32; }
.badge-red { background: #FFEBEE; color: #C62828; }

/* ---- PAGINATION ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}
.page-btn.active, .page-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* ---- EMPTY STATES ---- */
.empty-state {
    text-align: center;
    padding: 56px 20px;
}
.empty-icon { font-size: 56px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-light); }
.empty-state p { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--white); }
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}
.stars { color: var(--gold); font-size: 16px; margin-bottom: 10px; }
.testimonial-text { font-size: 14px; color: var(--text-light); font-style: italic; margin-bottom: 14px; line-height: 1.7; }
.testimonial-author { font-size: 13px; font-weight: 600; color: var(--text); }
.testimonial-location { font-size: 12px; color: var(--text-light); }

/* ---- WHY CHOOSE US ---- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.why-icon { font-size: 36px; margin-bottom: 10px; }
.why-card h4 { font-size: 14px; margin-bottom: 6px; color: var(--green-dark); }
.why-card p { font-size: 12px; color: var(--text-light); }

/* ---- FOOTER ---- */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
    margin-top: 56px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}
@media (min-width: 700px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-logo span {
    font-family: 'Lora', serif;
    font-size: 20px;
    color: var(--green-dark);
    font-weight: 600;
}
.footer-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}
.footer-brand p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; }
.footer-tagline { font-size: 12px; color: var(--text-light); margin-top: 8px; font-style: italic; }
.footer-links h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; color: var(--text-light); transition: var(--transition); }
.footer-links a:hover { color: var(--green); }
.footer-contact h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
.footer-contact p { font-size: 13.5px; color: var(--text-light); margin-bottom: 8px; }
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    transition: var(--transition);
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.instagram-btn:hover {
    opacity: 0.9;
}
.whatsapp-btn:hover { background: #1ebe5c; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-light);
}

/* ---- TOAST ---- */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: calc(100vw - 32px);
}
.toast {
    background: var(--text);
    color: var(--white);
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease;
    max-width: 360px;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.fw-bold { font-weight: 700; }
.hidden { display: none !important; }
.page-wrapper { min-height: calc(100vh - 60px); }

/* ---- PRINT INVOICE ---- */
@media print {
    .site-header, .site-footer, .no-print { display: none !important; }
    body { background: white; }
    .invoice-box { border: none; padding: 0; box-shadow: none; }
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
    position: fixed;
    bottom: 70px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    z-index: 998;
    font-size: 18px;
    transition: var(--transition);
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--green-dark); }

/* ---- QR ZOOM ---- */
.qr-clickable {
    cursor: zoom-in;
}
.qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
}
.qr-modal.show {
    display: flex;
}
.qr-modal img {
    width: min(88vw, 460px);
    height: auto;
    max-height: 88vh;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #d7e5d0;
    padding: 10px;
}
.qr-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
