/* =========================================================
   Shree Sitara Stationery - custom styles
   Palette: purple #7a3e9d (primary) / orange #ff7f27 (accent)
   ========================================================= */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f7f7f5;
    color: #333;
}

a {
    color: #7a3e9d;
}

a:hover, a:focus {
    color: #ff7f27;
    text-decoration: none;
}

/* ============================
   Navbar
   ============================ */

.navbar-brand {
    font-weight: bold;
    font-size: 22px;
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

.navbar-shreesitara {
    background: linear-gradient(90deg, #7a3e9d, #602f7d);
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 0;
}

.navbar-shreesitara .navbar-nav > li > a {
    color: #f2e9f7;
    font-weight: 500;
}

.navbar-shreesitara .navbar-nav > li > a:hover,
.navbar-shreesitara .navbar-nav > li > a:focus {
    color: #ffffff;
    background-color: rgba(255,255,255,0.08);
}

.navbar-shreesitara .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-header-cart {
    float: right;
    display: block;
    position: relative;
    color: #fff;
    font-size: 18px;
    padding: 14px 12px;
    margin: 0;
}

.navbar-header-cart:hover,
.navbar-header-cart:focus {
    color: #ffe6cc;
    text-decoration: none;
}

.navbar-header-cart-badge {
    position: absolute;
    top: 8px;
    right: 4px;
    background-color: #ff7f27;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 3px;
    text-align: center;
}

/* The header cart icon exists only for the collapsed (mobile/tablet) navbar -
   on desktop widths the hamburger is hidden and the full navbar (with its own
   Cart link) is always visible, so a second cart icon there would be a duplicate. */
@media (min-width: 768px) {
    .navbar-header-cart {
        display: none;
    }
}

.badge-cart {
    background-color: #ff7f27;
}

/* ============================
   Buttons
   ============================ */

.btn-shreesitara {
    background-color: #7a3e9d;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 14px;
    transition: all 0.15s ease-in-out;
}

.btn-shreesitara:hover,
.btn-shreesitara:focus {
    background-color: #602f7d;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(122,62,157,0.35);
}

.btn-outline-shreesitara {
    background-color: transparent;
    color: #7a3e9d;
    border: 1px solid #7a3e9d;
    font-size: 13px;
    font-weight: 400;
    padding: 5px 13px;
    transition: all 0.15s ease-in-out;
}

.btn-outline-shreesitara:hover,
.btn-outline-shreesitara:focus {
    background-color: #7a3e9d;
    color: #fff;
}

.btn-accent {
    background-color: #ff7f27;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 14px;
    transition: all 0.15s ease-in-out;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: #e6691a;
    color: #fff;
    transform: translateY(-1px);
}

/* ============================
   Section headings (reusable across pages)
   ============================ */

.section-title {
    text-align: center;
    margin: 45px 0 8px;
    font-weight: 700;
    color: #2f2f2f;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 15px;
}

.section-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, #7a3e9d, #ff7f27);
    border-radius: 2px;
}

/* ============================
   Hero banner
   ============================ */

.hero-banner {
    background: linear-gradient(135deg, #7a3e9d, #ff7f27);
    color: #fff;
    padding: 55px 25px;
    border-radius: 8px;
    margin: 25px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner h1 {
    margin-top: 0;
    font-size: 34px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-banner p {
    font-size: 17px;
    opacity: 0.95;
    max-width: 640px;
    margin: 0 auto 20px;
}

.hero-banner .btn {
    margin: 4px 6px;
}

.hero-search {
    max-width: 560px;
    margin: 25px auto 0;
}

.hero-search .form-control {
    height: 46px;
    border-radius: 4px 0 0 4px;
    border: none;
}

.hero-search .btn {
    height: 46px;
    border-radius: 0 4px 4px 0;
}

/* ============================
   Category grid
   ============================ */

.category-card {
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 22px 10px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: all 0.2s ease-in-out;
    color: #333;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(122,62,157,0.18);
    border-color: #e2d3ee;
    color: #7a3e9d;
    text-decoration: none;
}

.category-icon {
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f2e9f7, #ffe6d4);
    color: #7a3e9d;
    font-size: 24px;
    margin: 0 auto 12px;
}

.category-card .category-name {
    font-weight: 600;
    font-size: 13px;
    display: block;
}

/* ============================
   Promo / trust strip
   ============================ */

.promo-strip {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 25px 10px;
    margin: 10px 0 20px;
}

.promo-item {
    text-align: center;
    padding: 10px;
}

.promo-item .promo-icon {
    font-size: 26px;
    color: #ff7f27;
    margin-bottom: 8px;
}

.promo-item strong {
    display: block;
    color: #2f2f2f;
}

.promo-item span {
    color: #888;
    font-size: 13px;
}

/* ============================
   Product cards
   ============================ */

.product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 8px 5px;
    margin-bottom: 0;
    text-align: center;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.product-card img {
    max-height: 100px;
    margin: 0 auto 6px auto;
    object-fit: contain;
}

.product-card h4 {
    font-size: 12px;
    font-weight: 500;
    min-height: 30px;
    overflow: hidden;
    margin: 2px 0 4px;
}

.product-price {
    color: #7a3e9d;
    font-weight: bold;
    font-size: 18px;
}

/* ============================
   Product card: clickable image, highlighted price, qty stepper
   ============================ */

.product-card-image {
    display: block;
}

.product-card-image img {
    cursor: pointer;
}

.product-card-title-link {
    display: block;
    color: #333;
}

.product-card-title-link:hover {
    color: #7a3e9d;
    text-decoration: none;
}

.product-card-title-link h4 {
    margin: 4px 0 6px;
}

.price-tag {
    display: inline-block;
    background: linear-gradient(90deg, #ffe0b3, #ffc670);
    border: 1px solid #ffb347;
    padding: 2px 10px;
    border-radius: 20px;
}

/* ============================
   Price row: struck-through MRP + highlighted offer price
   ============================ */

.product-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 6px 0;
    font-size: 14px;
    font-weight: 600;
}

/* Product cards are centered top-to-bottom (image, name, price all centered),
   but the price row is a flex container so it ignores the card's text-align
   and defaults to left-aligned content - center it explicitly here. Left as
   left-aligned on ProductDetails.aspx, where it sits under a left-aligned
   title/description, not inside a .product-card. */
.product-card .product-price-row {
    justify-content: center;
}

.price-mrp {
    position: relative;
    display: inline-block;
    color: #999;
    font-size: 0.8em;
    font-weight: 400;
}

.price-mrp::after {
    content: '';
    position: absolute;
    left: -3px;
    right: -3px;
    top: 50%;
    height: 1px;
    background: #aaa;
    opacity: 0.8;
    transform: rotate(-10deg);
}

.price-offer {
    color: #7a3e9d;
}

.qty-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    margin: 8px auto 6px;
    background: #f5f0f8;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2d3ee;
}

.qty-btn {
    display: inline-block;
    background: #3d1a52;
    color: #ffffff;
    border: none;
    width: 26px;
    height: 26px;
    line-height: 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-align: center;
    text-decoration: none;
}

.qty-btn:hover,
.qty-btn:focus {
    background: #591f7a;
    color: #ffffff;
    text-decoration: none;
}

.qty-value {
    flex: 1 1 auto;
    text-align: center;
    font-weight: 500;
    font-size: 12px;
    color: #999;
    background: #fff;
    height: 26px;
    line-height: 26px;
}

.qty-stepper.has-qty .qty-value {
    color: #7a3e9d;
}

.qty-stepper.has-qty {
    border-color: #7a3e9d;
}

.qty-stepper input.qty-value {
    border: none;
    box-shadow: none;
    text-align: center;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.qty-stepper input.qty-value:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

/* Product Details page: stepper sits under the main image */
.pd-qty-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0 6px;
}

.pd-qty-row .qty-stepper {
    width: 124px;
    margin: 0;
}

.pd-qty-row .qty-btn {
    width: 36px;
    height: 36px;
    line-height: 34px;
    font-size: 18px;
}

.pd-qty-row .qty-value {
    height: 36px;
    line-height: 36px;
    font-size: 16px;
}

/* Cart page: stepper under the thumbnail */
.cart-product-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.cart-product-cell img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cart-product-cell .qty-stepper {
    margin: 4px 0 0;
}

/* ============================
   Full-width layout (Blinkit-style) with small side margins
   ============================ */

.container {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

/* ============================
   Product grid: tight gutters, small cards, 4-up on mobile
   ============================ */

.product-grid-row {
    margin-left: -3px;
    margin-right: -3px;
}

.product-col {
    padding-left: 3px;
    padding-right: 3px;
    margin-bottom: 6px;
}

/* ============================
   Why choose us
   ============================ */

.why-us-item {
    text-align: center;
    padding: 20px 12px;
    margin-bottom: 20px;
}

.why-us-icon {
    width: 68px;
    height: 68px;
    line-height: 68px;
    border-radius: 50%;
    background: #7a3e9d;
    color: #fff;
    font-size: 28px;
    margin: 0 auto 15px;
    box-shadow: 0 6px 14px rgba(122,62,157,0.3);
}

.why-us-item h4 {
    font-weight: 700;
    color: #2f2f2f;
}

.why-us-item p {
    color: #888;
    font-size: 14px;
}

/* ============================
   Testimonials
   ============================ */

.testimonial-section {
    background: #fff;
    padding: 10px 0 30px;
}

.testimonial-card {
    background: #f9f6fb;
    border-radius: 8px;
    padding: 25px 20px;
    margin-bottom: 20px;
    position: relative;
    height: 100%;
}

.testimonial-quote {
    color: #ffb98a;
    font-size: 26px;
    display: block;
    margin-bottom: 8px;
}

.testimonial-card p.testimonial-text {
    color: #555;
    font-style: italic;
    min-height: 90px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #7a3e9d;
    color: #fff;
    display: inline-block;
    text-align: center;
    line-height: 42px;
    font-weight: bold;
    margin-right: 10px;
}

.testimonial-name {
    font-weight: 700;
    color: #2f2f2f;
}

.testimonial-stars {
    color: #ff7f27;
    font-size: 13px;
}

/* ============================
   Newsletter
   ============================ */

.newsletter-section {
    background: linear-gradient(90deg, #602f7d, #7a3e9d);
    color: #fff;
    border-radius: 8px;
    padding: 40px 25px;
    text-align: center;
    margin: 10px 0 40px;
}

.newsletter-section h3 {
    margin-top: 0;
    font-weight: 700;
}

.newsletter-section p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.newsletter-form {
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    height: 46px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form .btn {
    height: 46px;
    border-radius: 0 4px 4px 0;
}

/* ============================
   Footer (rich, multi-column)
   ============================ */

.footer-shreesitara {
    background-color: #232323;
    color: #b7b7b7;
    padding: 50px 0 0;
    margin-top: 20px;
    font-size: 14px;
}

.footer-shreesitara h5 {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.footer-shreesitara p {
    color: #b7b7b7;
    line-height: 1.7;
}

.footer-shreesitara ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-shreesitara ul li {
    margin-bottom: 10px;
}

.footer-shreesitara ul li a {
    color: #b7b7b7;
}

.footer-shreesitara ul li a:hover {
    color: #ff7f27;
    padding-left: 3px;
}

.footer-shreesitara .footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-shreesitara .footer-contact li i {
    color: #ff7f27;
    width: 20px;
    margin-right: 8px;
    margin-top: 3px;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    margin: 0 6px 6px 0;
    transition: all 0.2s ease-in-out;
}

.footer-social a:hover {
    background: #ff7f27;
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding: 18px 0;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: #ff7f27;
}

/* ============================
   Legal / static content pages (About, Terms, Privacy, Refund, Disclaimer)
   ============================ */

.legal-hero {
    background: linear-gradient(135deg, #7a3e9d, #602f7d);
    color: #fff;
    text-align: center;
    padding: 45px 20px;
    border-radius: 8px;
    margin: 25px 0 30px;
}

.legal-hero h1 {
    margin: 0 0 6px;
    font-weight: 700;
}

.legal-hero p {
    opacity: 0.9;
    margin: 0;
}

.legal-page .legal-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 30px 25px;
    margin-bottom: 40px;
}

.legal-page h2 {
    color: #7a3e9d;
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.legal-page h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-page p, .legal-page li {
    color: #555;
    line-height: 1.8;
}

.legal-page .updated-badge {
    display: inline-block;
    background: #f2e9f7;
    color: #7a3e9d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-value-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 25px 18px;
    text-align: center;
    margin-bottom: 20px;
    height: 100%;
}

.about-value-card .about-icon {
    font-size: 30px;
    color: #7a3e9d;
    margin-bottom: 12px;
}

/* ============================
   Admin panel
   ============================ */

.admin-brand-tag {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

.admin-user-pill > a {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.admin-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

.admin-sidebar {
    background-color: #232323;
    min-height: 100vh;
    padding-top: 10px;
}

.admin-sidebar-label {
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 18px 6px;
}

.admin-sidebar a {
    display: block;
    color: #dddddd;
    padding: 12px 18px;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease-in-out;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background-color: #3d3d3d;
    color: #ffffff;
    border-left: 3px solid #ff7f27;
}

.admin-content {
    padding: 24px 20px;
}

.admin-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e5e5;
}

.admin-page-header .admin-page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f2e9f7, #ffe6d4);
    color: #7a3e9d;
    font-size: 18px;
    flex-shrink: 0;
}

.admin-page-header h2 {
    margin: 0;
    font-size: 22px;
}

.admin-page-header .admin-page-subtitle {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-top: 2px;
}

/* Panels used as cards around admin forms/tables */
.admin-content .panel {
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.admin-content .panel-heading {
    background: #f9f6fb;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #5a2d78;
    border-radius: 8px 8px 0 0;
}

/* Table polish across every admin grid */
.admin-content .table-responsive {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

.admin-content .table {
    margin-bottom: 0;
}

.admin-content .table > thead > tr > th {
    background: #f5f0f8;
    color: #5a2d78;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 700;
    border-bottom: 2px solid #e2d3ee;
    white-space: nowrap;
}

.admin-content .table > tbody > tr:hover > td {
    background-color: #faf7fc;
}

.admin-content .table > tbody > tr > td {
    vertical-align: middle;
    font-size: 13px;
}

/* Status pills (Active/Inactive, order status) - softer than raw Bootstrap labels */
.status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-pill-active,
.status-pill-delivered {
    background: #eafaf0;
    color: #1a7d3c;
    border: 1px solid #b9e8c9;
}

.status-pill-inactive,
.status-pill-cancelled {
    background: #f5f5f5;
    color: #888;
    border: 1px solid #e0e0e0;
}

.status-pill-pending {
    background: #fff8e1;
    color: #a8710a;
    border: 1px solid #f0dca0;
}

.status-pill-confirmed {
    background: #eaf2fb;
    color: #1d5fa8;
    border: 1px solid #bcd7f2;
}

.status-pill-shipped {
    background: #f2e9f7;
    color: #7a3e9d;
    border: 1px solid #e2d3ee;
}

/* Admin action-confirmation messages (Products/Categories/Orders/Customers all use
   an asp:Label with class "alert alert-success|danger"). asp:Label renders as an
   inline <span>, so without an explicit block display Bootstrap's .alert padding
   doesn't push the following content down - it just overlaps it. Force block, and
   make it small and centered instead of a full-width bar. */
.admin-content .alert {
    display: block;
    max-width: 360px;
    margin: 0 auto 15px;
    padding: 8px 14px;
    font-size: 13px;
    text-align: center;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease-in-out;
}

.stat-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.stat-card .stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #7a3e9d;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-card .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    font-size: 20px;
    flex-shrink: 0;
    color: #fff;
}

.stat-card .stat-label {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-card-products .stat-icon { background: linear-gradient(135deg, #7a3e9d, #a566c9); }
.stat-card-products .stat-number { color: #7a3e9d; }

.stat-card-orders .stat-icon { background: linear-gradient(135deg, #ff7f27, #ffa15c); }
.stat-card-orders .stat-number { color: #ff7f27; }

.stat-card-customers .stat-icon { background: linear-gradient(135deg, #1d5fa8, #4f8fd6); }
.stat-card-customers .stat-number { color: #1d5fa8; }

.stat-card-revenue .stat-icon { background: linear-gradient(135deg, #1a7d3c, #3fae66); }
.stat-card-revenue .stat-number { color: #1a7d3c; }

/* ============================
   Navbar categories dropdown + search
   ============================ */

.navbar-shreesitara .dropdown-menu {
    max-height: 380px;
    overflow-y: auto;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.navbar-shreesitara .dropdown-menu > li > a:hover {
    background-color: #f2e9f7;
    color: #7a3e9d;
}

.nav-search-form {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* ============================
   "Order on WhatsApp" nav button
   ============================ */

.navbar-nav .btn-whatsapp-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: #fff !important;
    border-radius: 20px;
    padding: 7px 14px !important;
    margin: 8px 6px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
}

.navbar-nav .btn-whatsapp-nav:hover,
.navbar-nav .btn-whatsapp-nav:focus {
    background: #1ebd5a;
    color: #fff !important;
    text-decoration: none;
}

.navbar-nav .btn-whatsapp-nav i {
    font-size: 16px;
}

@media (max-width: 767px) {
    .navbar-nav .btn-whatsapp-nav {
        display: inline-flex;
        margin: 6px 15px;
    }
}

.nav-search-form .input-group {
    width: 100%;
    max-width: 320px;
}

@media (min-width: 768px) {
    .nav-search-form {
        margin-left: 6px;
    }
}

/* ============================
   Compact / responsive hero (Blinkit-style)
   ============================ */

.hero-compact {
    background: none;
    color: #333;
    padding: 6px 0;
    border-radius: 0;
    margin: 14px 0 20px;
    text-align: center;
    min-height: 380px;
    display: flex;
    align-items: stretch;
}

.hero-flex {
    display: flex;
    align-items: stretch;
    gap: 28px;
    width: 100%;
    text-align: left;
}

.hero-image {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.hero-compact h1 {
    margin: 0 0 4px;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-compact p {
    font-size: 14px;
    opacity: 0.95;
    margin: 0 0 14px;
}

.hero-search-bar {
    max-width: 640px;
    margin: 0;
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* ============================
   Hero delivery info panel (right column)
   ============================ */

.hero-delivery-panel {
    flex: 0 0 300px;
    max-width: 300px;
    background: #e8f4fc;
    color: #333;
    border-radius: 10px;
    padding: 20px 20px 24px;
    text-align: left;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-delivery-title {
    font-weight: 700;
    font-size: 16px;
    color: #7a3e9d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-delivery-title i {
    font-size: 30px;
    color: #ff7f27;
    flex: 0 0 auto;
}

.hero-delivery-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.hero-delivery-row i {
    color: #ff7f27;
    font-size: 20px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.hero-delivery-row strong {
    display: block;
    font-size: 14.5px;
    color: #333;
}

.hero-delivery-row span {
    display: block;
    font-size: 13px;
    color: #666;
}

.hero-delivery-note {
    background: #fff3e0;
    border: 1px solid #ffd9a8;
    color: #8a5a1e;
    font-size: 12.5px;
    line-height: 1.5;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 0 0 12px 32px;
}

.hero-delivery-checklist {
    list-style: none;
    margin: 8px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #c9e0f0;
}

.hero-delivery-checklist li {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.hero-delivery-checklist li:last-child {
    margin-bottom: 0;
}

.hero-delivery-checklist i {
    color: #2e9e4f;
    margin-right: 6px;
}

.hero-search-bar .form-control,
.hero-search-bar .btn {
    height: 44px;
    border-radius: 0;
    border: none;
}

.hero-cat-select {
    flex: 0 0 150px;
    max-width: 150px;
    background: #f2e9f7;
    color: #5c2d78;
    font-size: 13px;
    font-weight: 600;
    border-right: 1px solid rgba(0,0,0,0.1) !important;
}

.hero-search-bar input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
}

.hero-search-bar .btn {
    flex: 0 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

.hero-cta {
    margin: 14px 0 0;
}

.hero-cta .btn {
    margin: 0 4px;
}

@media (max-width: 767px) {
    .hero-compact {
        padding: 0;
        margin: 10px 0 16px;
        min-height: 0;
        display: block;
    }

    .hero-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        text-align: center;
    }

    .hero-left {
        text-align: center;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        max-height: 160px;
    }

    .hero-compact h1 {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .hero-search-bar {
        margin: 0 auto;
        border-radius: 5px;
    }

    .hero-search-bar .form-control,
    .hero-search-bar .btn {
        height: 38px;
        font-size: 13px;
    }

    .hero-cat-select {
        flex: 0 0 90px;
        max-width: 90px;
        font-size: 11px;
        padding-left: 6px;
        padding-right: 2px;
    }

    .hero-search-bar .btn {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-delivery-panel {
        flex: 1 1 auto;
        max-width: 100%;
        align-self: stretch;
    }

    .hero-image {
        min-height: 160px;
    }
}

/* ============================
   Horizontal category strip
   ============================ */

.cat-scroll-wrapper {
    margin: 0 0 20px;
}

.cat-scroll {
    display: flex;
    overflow-x: auto;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.cat-strip-item {
    flex: 0 0 auto;
    width: 84px;
    text-align: center;
    margin-right: 14px;
    color: #333;
}

.cat-strip-item:hover {
    color: #7a3e9d;
    text-decoration: none;
}

.cat-strip-icon {
    display: block;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border: 2px solid #fff;
    transition: transform 0.15s ease-in-out;
}

.cat-strip-item:hover .cat-strip-icon {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(122,62,157,0.3);
}

.cat-strip-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-strip-name {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
}

/* ============================
   Special offers bar
   ============================ */

.offer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 0;
    background: linear-gradient(90deg, #4a1f66, #7a3e9d 55%, #602f7d);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 22px 30px;
    margin: 0 0 22px;
    min-height: 96px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(74,31,102,0.35);
}

.offer-bar-badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff4d5e, #c81e3a);
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.offer-bar-badge i {
    font-size: 20px;
    color: #ffce00;
}

.offer-bar-badge span:last-child {
    color: #ffce00;
}

.offer-bar-item {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.offer-label {
    font-size: 12.5px;
    opacity: 0.9;
}

.offer-value {
    font-size: 14px;
    margin-top: 2px;
}

.offer-value strong {
    color: #ffce00;
    font-size: 19px;
}

.offer-bar-cta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,0.25);
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.btn-offer-shop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffce00;
    color: #4a1f66;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.btn-offer-shop:hover,
.btn-offer-shop:focus {
    background: #ffdd4d;
    color: #4a1f66;
    text-decoration: none;
}

@media (max-width: 767px) {
    .offer-bar {
        justify-content: center;
        padding: 14px;
        min-height: 0;
    }

    .offer-bar-badge {
        margin: 0 0 8px;
        width: 100%;
        justify-content: center;
    }

    .offer-bar-item {
        flex: 1 1 45%;
        border-right: none;
        padding: 8px 6px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .offer-bar-cta {
        margin: 8px 0 0;
        padding-left: 0;
        border-left: none;
        width: 100%;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================
   Section header row (title + View All)
   ============================ */

.section-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 30px 0 12px;
}

.section-header-row h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #2f2f2f;
}

.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #7a3e9d;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #ff7f27;
}

/* ============================
   Horizontal product scroll rows
   ============================ */

.product-scroll-row {
    display: flex;
    overflow-x: auto;
    padding: 2px 2px 14px;
    -webkit-overflow-scrolling: touch;
}

.product-card.scroll-card {
    flex: 0 0 auto;
    width: 148px;
    margin-right: 14px;
    margin-bottom: 0;
}

.product-card.scroll-card h4 {
    font-size: 13px;
    min-height: 34px;
}

.product-card.scroll-card img {
    max-height: 110px;
}

@media (max-width: 480px) {
    .product-card.scroll-card {
        width: 130px;
    }
}

/* ============================
   Auth pages (Login / Register) legal strip
   ============================ */

.auth-legal-strip {
    text-align: center;
    margin-top: 18px;
    font-size: 12px;
    color: #999;
}

.auth-legal-strip a {
    color: #999;
    margin: 0 6px;
}

.auth-legal-strip a:hover {
    color: #7a3e9d;
}

/* ============================
   Forms
   ============================ */

.form-control:focus {
    border-color: #7a3e9d;
    box-shadow: 0 0 0 3px rgba(122,62,157,0.15);
}

.panel, .well {
    border-radius: 8px;
}

/* ============================
   Responsive tweaks
   ============================ */

@media (max-width: 767px) {
    .hero-banner {
        padding: 26px 16px;
        margin: 12px 0;
    }

    .hero-banner h1 {
        font-size: 20px;
    }

    .hero-banner p {
        font-size: 14px;
    }

    .admin-sidebar {
        min-height: auto;
    }

    .product-card img {
        max-height: 70px;
        margin-bottom: 4px;
    }

    .product-card h4 {
        font-size: 10.5px;
        min-height: 26px;
    }

    .product-price-row {
        font-size: 11px;
        gap: 3px;
        margin: 3px 0;
    }

    .qty-stepper {
        width: 66px;
        margin: 5px auto 4px;
    }

    .qty-btn {
        width: 20px;
        height: 20px;
        line-height: 18px;
        font-size: 13px;
    }

    .qty-value {
        font-size: 10px;
        height: 20px;
        line-height: 20px;
    }

    .footer-shreesitara {
        text-align: center;
    }

    .footer-shreesitara .footer-contact li {
        justify-content: center;
    }

    body {
        padding-bottom: 58px;
    }

    .mobile-bottom-nav {
        display: flex;
    }
}

/* ============================
   Mobile bottom tab bar (Home / Categories / Cart / Orders)
   ============================ */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-nav-item {
    flex: 1;
    text-align: center;
    padding: 8px 4px 6px;
    color: #777;
    font-size: 11px;
    position: relative;
}

.mobile-nav-item i {
    display: block;
    font-size: 18px;
    margin-bottom: 2px;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus,
.mobile-nav-item:active {
    color: #7a3e9d;
    text-decoration: none;
}

.mobile-nav-badge {
    position: absolute;
    top: 2px;
    right: 24%;
    background: #ff7f27;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 3px;
}
