/* ===========================
   FRESHKART BASE RESET
=========================== */
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html, body {
    background:#f6f6f6;
    font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size:16px;
    color:#111;
}

a {
    text-decoration:none;
    color:inherit;
}

img {
    max-width:100%;
    border-radius:8px;
}

button, input, select {
    font-size:16px;
    font-family:inherit;
    outline:none;
    border:none;
}

/* ===========================
   HEADER
=========================== */
.fk-header {
    position:sticky;
    top:0;
    background:#fff;
    padding:10px 12px;
    z-index:100;
    border-bottom:1px solid #e6e6e6;
}

.fk-header-left {
    display:flex;
    align-items:center;
    gap:6px;
}

.fk-logo {
    font-weight:700;
    font-size:18px;
    color:#0a8a32;
}

.fk-location {
    font-size:14px;
    line-height:18px;
    margin-top:2px;
    cursor:pointer;
}

.fk-location strong {
    font-weight:600;
}

/* ===========================
   SEARCH BAR
=========================== */
.fk-search-bar {
    margin-top:8px;
}

.fk-search-bar input {
    width:100%;
    padding:10px 12px;
    border-radius:8px;
    background:#f1f1f1;
    border:1px solid #ddd;
}

/* ===========================
   HOME SECTION WRAPPER
=========================== */
.fk-section {
    padding:12px;
}

/* ===========================
   PRODUCT CARD (LIST)
=========================== */
.fk-product-card {
    background:#fff;
    border-radius:8px;
    padding:10px;
    margin-bottom:12px;
    display:flex;
    gap:10px;
}

.fk-product-info {
    flex:1;
}

.fk-product-title {
    font-size:15px;
    font-weight:600;
}

.fk-product-variant {
    font-size:13px;
    color:#555;
    margin-top:2px;
}

.fk-product-price {
    font-size:15px;
    font-weight:700;
    margin-top:4px;
}

/* ADD BUTTON */
.fk-add-btn {
    margin-top:6px;
    padding:6px 10px;
    background:#0a8a32;
    color:#fff;
    font-size:14px;
    border-radius:6px;
    text-align:center;
}

/* QUANTITY + ADD BUTTON (Cart UX) */
.fk-qty-box {
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:6px;
}

.fk-qty-box button {
    width:28px;
    height:28px;
    border-radius:6px;
    background:#e9e9e9;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:600;
}

.fk-qty-count {
    min-width:22px;
    text-align:center;
    font-weight:600;
}

/* ===========================
   BOTTOM NAVIGATION
=========================== */
.fk-bottom-nav {
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:58px;
    background:#fff;
    border-top:1px solid #e5e5e5;
    display:flex;
    justify-content:space-around;
    align-items:center;
    z-index:200;
}

.fk-bottom-nav a {
    font-size:13px;
    color:#444;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:2px;
}

.fk-bottom-nav a.active {
    color:#0a8a32;
    font-weight:600;
}

.fk-bottom-nav span {
    font-size:12px;
}

/* ===========================
   CART PAGE
=========================== */
.fk-cart-item {
    background:#fff;
    padding:12px;
    margin-bottom:8px;
    border-radius:8px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.fk-cart-price {
    font-weight:700;
}

/* ===========================
   CHECKOUT + ADDRESS
=========================== */
.fk-address-box {
    background:#fff;
    padding:12px;
    border-radius:8px;
    margin-bottom:12px;
    font-size:14px;
}

/* ===========================
   ORDER BADGES
=========================== */
.fk-badge {
    display:inline-block;
    font-size:12px;
    padding:4px 8px;
    border-radius:6px;
    font-weight:600;
}

.fk-badge-placed { background:#d9e9ff; color:#1b63c6; }
.fk-badge-picking { background:#fff3d2; color:#c4750e; }
.fk-badge-complete { background:#d6f8dd; color:#0d8a3e; }

/* ===========================
   FOR SAFE BOTTOM SPACING
=========================== */
body {
    padding-bottom:70px;
}
.fk-dropzone {
    border:2px dashed #0a8a32;
    background:#f9fff9;
    padding:20px;
    text-align:center;
    border-radius:10px;
    cursor:pointer;
    transition:0.2s;
}
.fk-dropzone:hover {
    background:#efffea;
}
.fk-preview {
    margin-top:10px;
}