/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7; /* Light gray body background */
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
    /* Smooth transition for hover effects */
    transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --- Header & Top Bar --- */

.main-header {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    padding: 0 20px;
}

.header-top-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-search-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo Styling */
.logo-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.bigbasket-logo {
    font-size: 24px;
    font-weight: bold;
    color: #84cc16; /* Green */
}



/* Search Bar Styling */
.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
  
    width: 400px; /* Approximate width */
    height: 40px;
}



.search-input {
    border: none;
    flex-grow: 1;
    padding: 10px 0;
    font-size: 14px;
    outline: none;
}

/* Action Buttons */
.actions-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.delivery-location {
    background-color: #f3f4f6; /* Light gray background */
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1.2;
}

.delivery-text {
    font-size: 12px;
    font-weight: bold;
    color: #84cc16; /* Green */
}

.location-text {
    font-size: 10px;
    color: #4b5563;
}

.login-button {
    background-color: #1f2937; /* Dark gray/black */
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}


/* --- Category Navigation --- */

.category-nav {
    border-top: 1px solid #eee;
    padding: 10px 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-menu {
    display: flex;
    align-items: center;
}

.shop-category-button {
    background-color: #65a30d; /* Olive Green */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin-right: 20px;
}

/* HOVER: Shop by Category Button */
.shop-category-button:hover {
    background-color: #4d7c0f; /* Darker green on hover */
}

.nav-links {
    display: flex;
    gap: 25px;
    font-size: 14px;
    font-weight: bold;
    color: #1f2937;
    align-items: center;
}

/* HOVER: Navigation Links */
.nav-links a:hover {
    color: red}


    /* 2 */

    /* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

h1, h2, p, span {
    margin: 0;
    padding: 0;
}

/* --- Main Product Detail Layout --- */

.product-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

/* --- Left Column: Image Gallery --- */

.image-gallery-column {
    display: flex;
    gap: 10px;
}

.thumbnail-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 60px; /* Width for the vertical strip */
}

.thumbnail {
    border: 1px solid #eee;
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
}

.active-thumbnail {
    border-color: #4CAF50; /* Green border for active thumbnail */
}

.thumbnail-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.main-image-container {
    width: 350px; /* Fixed width for the main image area */
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* --- Right Column: Product Info --- */

.product-info-column {
    flex-grow: 1;
    padding-top: 10px;
}

.delivery-status {
    float: right;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #FFA500; /* Orange color */
    font-weight: bold;
}

.delivery-icon {
    margin-right: 3px;
}

.brand {
    font-size: 14px;
    color: #4CAF50; /* Green brand name */
    font-weight: bold;
    margin-bottom: 5px;
}

.product-name {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 15px;
}

.price-mrp-label {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.price-section {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.current-price {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-right: 10px;
}

.per-unit-price {
    font-size: 14px;
    color: #999;
}

.discount-save {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.save-text {
    font-size: 14px;
    font-weight: bold;
    color: #4CAF50; /* Green save text */
}

.tax-info {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

/* Quantity Control and Add Button */
.add-to-basket-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-control {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.qty-button {
    background: #f7f7f7;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: #cc0000; /* Red for controls */
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0;
}

.add-button {
    background-color: #cc0000; /* Red Add button */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

/* --- Pack Sizes Selector --- */

.pack-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.pack-sizes-container {
    display: flex;
    gap: 10px;
}

.pack-size-option {
    display: block;
    cursor: pointer;
}

.pack-info-box {
    border: 1px solid #ccc;
    padding: 10px;
    width: 200px; /* Fixed width for consistency */
    border-radius: 4px;
    position: relative;
    line-height: 1.3;
}

/* Styling for selected option */
.pack-size-option input:checked + .pack-info-box {
    border-color: #4CAF50; /* Green border when checked */
    background-color: #e8f5e9; /* Very light green background */
}

.pack-size-option input {
    display: none; /* Hide the actual radio button */
}

.pack-weight {
    font-size: 14px;
    font-weight: bold;
    display: block;
}

.pack-details {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.pack-price-details {
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-top: 5px;
}

.pack-mrp {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.pack-current-price {
    font-weight: bold;
    color: #000;
    margin-right: 5px;
}

.pack-discount {
    font-weight: bold;
    color: #4CAF50; /* Green discount text */
}

.delivery-icon-small {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    color: #FFA500;
}

.check-mark {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 16px;
    color: #4CAF50;
    opacity: 0; /* Hidden by default */
}

.pack-size-option input:checked + .pack-info-box .check-mark {
    opacity: 1; /* Show checkmark when checked */
}

/* --- Product Highlights Section --- */

.highlights-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.highlights-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.highlight-badge {
    background-color: #f7f7f7;
    color: #333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid #ccc;
}
/* 3 */
/* .choose-reasons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
    display: inline-block;
    text-align: center;
}
.reason-box {
    text-align: center;
    max-width: 150px;
    border:#4b5563;
    padding: 10px;
    display: flex;
    
}
.reason-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    
}
.reason-text {
    font-size: 14px;
    font-weight: bold;
    color: #1f2937;
}
.delivery-icon{
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    color: #FFA500;
}
 */



/* 3 */


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

p {
    margin: 0;
    padding: 0;
}

/* --- Page Container --- */

.category-page-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* --- Section Styling --- */

.category-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* --- Grid Layouts --- */

.subcategory-grid {
    display: grid;
    gap: 15px;
}

.staples-grid {
    /* 6 columns for Staples */
    grid-template-columns: repeat(6, 1fr);
}

.beverages-grid {
    /* 6 columns for Beverages */
    grid-template-columns: repeat(6, 1fr);
}

/* --- Category Card Styling --- */

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px;
    background-color: #fff;
    border-radius: 4px;
}

/* Image Wrapper */
.image-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

/* Staples Grid: Larger, high-detail images (mostly squarish) */
.staples-grid .image-wrapper {
    height: 100px; 
    border-radius: 4px;
    background-color: #f7f7f7; /* Light background behind image */
}
.staples-grid .category-image {
    width: auto;
    max-height: 90%;
    object-fit: contain;
}

/* Beverages Grid: Small, boxed product thumbnails (white background cards) */
.beverages-grid .category-card {
    border: 1px solid #eee; /* Outline for the card */
    padding: 8px;
}
.beverages-grid .image-wrapper {
    height: 90px;
    background-color: #fff; 
    border-radius: 0;
}
.beverages-grid .category-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.name {
    font-size: 11px;
    color: #333;
    font-weight: bold;
    /* Ensure consistent height for names across two lines */
    min-height: 26px; 
    overflow: hidden;
    margin-bottom: 3px;
}

.offer {
    font-size: 12px;
    font-weight: bold;
    color: #cc0000; /* Red color for offers */
    /* Create the red underline effect */
    border-bottom: 2px solid #cc0000;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 2px;
}

/* Staples section text (no explicit offer line styling needed) */
.staples-grid .name {
    min-height: auto;
    font-weight: normal;
    font-size: 13px;
    padding-top: 5px;
}

/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --- Dark Footer Container --- */

.dark-footer {
    background-color: #121212; /* Very dark background */
    color: #fff;
    padding: 30px 0;
    width: 100%;
    font-size: 14px;
}

.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Section: Utility Links --- */

.footer-top-links {
    display: grid;
    /* 3 main columns: two link lists and one logo/social block */
    grid-template-columns: 1fr 1fr 2fr;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.link-column {
    margin-right: 40px; /* Space between columns */
}

.column-title {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.link-list li {
    margin-bottom: 8px;
}

.link-list a {
    color: #b0b0b0; /* Light gray text */
    font-size: 13px;
    line-height: 1.4;
}

/* Logo, App & Social Block */
.logo-app-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.logo-container {
    margin-bottom: 15px;
}

.bb-logo-text {
    font-weight: 900;
    font-size: 16px;
    color: #fff;
    padding: 2px 5px;
    background-color: #4CAF50; /* Green box */
    border-radius: 2px;
}

.bb-logo-large {
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    margin-left: 5px;
}

.tata-enterprise-text {
    display: block;
    font-size: 10px;
    color: #b0b0b0;
    margin-top: 5px;
}

.app-links {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.app-icon {
    /* Placeholder size for app badges */
    width: 100px; 
    height: 30px;
    object-fit: cover;
    background-color: #333;
    border-radius: 4px;
}

.social-links a {
    color: #fff;
    font-size: 18px;
    margin-left: 15px;
}

/* --- Cities Served Section --- */

.cities-served {
    padding-top: 30px;
}

.served-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.city-list {
    /* Use flex wrap or simply inline block/span to allow text flow */
    line-height: 2; /* Increased line height for clear separation */
}

.city-name {
    font-size: 13px;
    color: #b0b0b0;
    margin-right: 8px; /* Space after each city */
    white-space: nowrap;
}
/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Ensures the page background is black */
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --- Dark Footer Container --- */

.dark-footer {
    background-color: #131010; /* Very dark background for the footer block */
    color: #b0b0b0; /* Light gray text */
    padding-top: 20px;
    width: 100%;
    font-size: 14px;
}

.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Localized City Breadcrumb --- */

.city-breadcrumb {
    text-align: right;
    font-size: 13px;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.city-breadcrumb a {
    color: #b0b0b0;
    text-decoration: none;
    margin: 0 2px;
}

/* --- Dotted Separator --- */

.dotted-separator {
    border: none;
    /* Create a repeating pattern of dots using border image or gradient (using gradient for simplicity) */
    background-image: linear-gradient(to right, #b0b0b0 33%, rgba(255, 255, 255, 0) 0%);
    background-position: top;
    background-size: 8px 1px; /* Dot size and spacing */
    background-repeat: repeat-x;
    height: 1px;
    margin: 15px 0 25px 0;
}

/* --- Main Links Section --- */

.footer-links-grid {
    display: grid;
    /* Divide space for two main columns, with a gap */
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    diisplay: flex;
    text-align: center;
}

.links-column {
    /* Uses a multi-column layout for the list items within the column */
    columns: 2;
}

.column-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    /* Ensure title spans full width */
    column-span: all;
}

.link-list li {
    margin-bottom: 8px;
    /* Break list items smoothly across columns */
    break-inside: avoid;
}

.link-list a {
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.4;
}

.link-list a:hover {
    color: #fff; /* White on hover for contrast */
    text-decoration: underline;
}

/* --- Show More Link --- */

.show-more-row {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.show-more-link {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.show-more-link:hover {
    text-decoration: underline;
}

/* --- Copyright Section --- */

.copyright-section {
    border-top: 1px solid #333;
    padding: 15px 0;
}

.copyright-text {
    font-size: 11px;
    color: #888; /* Darker gray for copyright */
}
.service-guarantees-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.guarantees-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.guarantees-grid {
    display: grid;
    /* 5 equal columns for the guarantees */
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.guarantee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    border-radius: 8px;
    background-color: #fff;
    /* Subtle border/shadow combination for the soft card effect */
    border: 1px solid #eee;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.guarantee-icon {
    font-size: 24px;
    line-height: 1;
}

.card-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 3px;
}

.card-subtitle {
    font-size: 12px;
    color: #666;
}

/* --- 2. Standard Product Card Section (Example for a single product) --- */

.product-grid-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    /* Display the card in a grid container for layout context */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card-simple {
    border: 1px solid #eee;
    padding: 10px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 4px;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    display: block;
}

/* Offer Tags */
.offer-tag-red {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #CC0000; /* Red offer tag */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 2px;
}

.delivery-tag-orange {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #fff;
    color: #FFA500; /* Orange delivery time */
    font-size: 10px;
    font-weight: bold;
    padding: 3px 6px;
    border-top-left-radius: 4px;
    border: 1px solid #ccc;
    border-right: none;
    border-bottom: none;
}

/* Product Details */
.brand-green {
    font-size: 12px;
    color: #4CAF50;
    margin-bottom: 3px;
    font-weight: bold;
}

.name-bold {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3;
    min-height: 34px; /* Space for two lines */
    overflow: hidden;
    margin-bottom: 8px;
}

.pack-selector select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #333;
}

/* Price and Actions */
.price-actions-simple {
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.price-row-simple {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.price-current {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-right: 10px;
}

.price-mrp-crossed {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.buttons-row-simple {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.save-button-simple {
    background: none;
    border: 1px solid #ccc;
    color: #666;
    padding: 5px 8px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.add-button-simple {
    background: #fff;
    border: 1px solid #CC0000; /* Red border */
    color: #CC0000; /* Red text */
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}
 
