/* Basic styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5; /* Light grey background for the overall page */
    color: #1A2D87;
}

.container {
    display: flex;
    min-height: 100vh;
    background-color: #fff;
    border-radius: 15px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Sidebar styles */
.sidebar {
    width: 80px;
    background-color: #1A2D87;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Aligns icons to the top */
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.sidebar-icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.icon-link {
    color: #fff;
    font-size: 24px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.icon-link:hover {
    color: #FFE873;
    transform: scale(1.1);
}

.icon-link .tooltip {
    visibility: hidden;
    width: 80px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.icon-link:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Main content styles */
.main-content {
    flex-grow: 1;
    padding: 20px;
    width: calc(100% - 80px);
}

/* Navbar styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 32px;
}

.logo {
    /* The logo is now in the navbar, remove sidebar-specific margins */
    margin: 0;
}

.logo-image {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
}

.search-bar {
    position: relative;
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    width: 100%;
}

.search-bar i.fas.fa-search {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #1A2D87;
    font-size: 22px;
    pointer-events: none;
    z-index: 2;
}

.search-bar input {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 18px 8px 48px;
    font-size: 16px;
    width: 100%;
    min-width: 220px;
    max-width: 700px;
    flex: 1;
}

.veg-toggle label, .nonveg-toggle label {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    margin-left: 8px;
}

.veg-icon {
    width: 16px; height: 16px; background: #2ecc40; border-radius: 4px; display: inline-block; margin-right: 4px;
}

.nonveg-icon {
    width: 16px; height: 16px; background: #d7263d; border-radius: 4px; display: inline-block; margin-right: 4px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Removed category-icon styles from here as they are moved to .category-bar */

.action-icon {
    color: #1A2D87;
    font-size: 28px;
    transition: color 0.3s ease;
}

.action-icon:hover {
    color: #FFE873;
}

/* New styles for the category bar below the search bar */
.category-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.category-bar .category-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #1A2D87;
    cursor: pointer;
    transition: color 0.3s ease;
}

.category-bar .category-icon i {
    font-size: 20px;
    margin-bottom: 5px;
}

.category-bar .category-icon:hover {
    color: #FFE873;
}

/* Popular Items section */
.popular-items h2 {
    color: #1A2D87;
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- Product Card Horizontal Tile Layout --- */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    background-color: transparent;
    width: 100%;
}
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: #FFE873;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 18px 18px 16px 18px;
    min-width: 240px;
    max-width: 320px;
    min-height: 260px;
    margin: 12px;
    position: relative;
}
.product-card img {
    width: 90%;
    height: 200px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    margin: 0 auto 0 auto;
    display: block;
    box-shadow: none;
    max-width: 90%;
}
.product-card .product-content {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    flex: 1 1 auto;
    margin-top: auto;
    gap: 12px;
}
.product-card .product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 70%;
}
.product-card .product-name {
    font-weight: 600;
    color: #1A2D87;
    font-size: 1.1rem;
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: left;
    white-space: normal;
    width: 100%;
}
.product-card .product-price {
    font-weight: 500;
    color: #1A2D87;
    font-size: 1.1rem;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
    margin-left: 0;
}
.product-card .add-button {
    border-radius: 8px !important;
    font-weight: bold;
    font-size: 20px;
    padding: 6px 18px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(26,35,126,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    display: block;
    align-self: flex-end;
}
.product-card .wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #1A2D87;
    color: #FFD600;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 2px 8px rgba(26,35,126,0.08);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}
.product-card .wishlist-btn:hover, .product-card .wishlist-btn.active {
    background: #FFD600;
    color: #1A2D87;
}
.product-card .wishlist-btn i {
    pointer-events: none;
}
@media (max-width: 900px) {
    .product-card {
        width: 90vw;
        min-width: 0;
        max-width: 100vw;
    }
}

.cart-icon-card {
    display: none; /* Keep hidden if not used for other purposes */
}

.add-button {
    background-color: #1A2D87 !important;
    color: #FFD600 !important;
    border: none;
    border-radius: 20px !important;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(26,35,126,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    position: static;
    width: auto;
    height: auto;
}
.add-button .plus-icon {
    font-weight: bold;
    margin-left: 4px;
    font-size: 20px;
}
.add-button:hover {
    background: #FFD600 !important;
    color: #1A2D87 !important;
    box-shadow: 0 4px 16px rgba(26,35,126,0.15);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-icons {
        gap: 15px;
    }
}

@media (max-width: 900px) {
    .logo-image {
        height: 35px; /* Normal size for mobile */
        width: auto;
    }
    .menu-section {
        flex-direction: column;
    }
    .divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 15px;
        border-radius: 0;
        align-items: center;
    }
    .sidebar-icons {
        flex-direction: row;
        gap: 20px;
        margin-top: 0;
    }
    .icon-link .tooltip {
        display: none;
    }
    .logo {
        width: 100px;
        margin: 0;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }
    .logo-image {
        height: 35px; /* Normal size for mobile */
        width: 100px;
    }
    .main-content {
        width: 100%;
        padding: 15px;
    }
    .navbar {
        flex-wrap: wrap;
    }
    .search-bar {
        order: 3;
        margin: 10px 0;
        max-width: 100%;
    }
    .nav-icons {
        margin-left: auto;
    }
    .category-bar {
        flex-wrap: wrap;
        gap: 15px;
    }
    .category-bar .category-icon span {
        font-size: 10px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-icon span {
        display: none;
    }
    .action-icon {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .search-bar {
        padding: 5px 10px;
    }
    .search-bar input {
        font-size: 14px;
    }
    .category-bar .category-icon i {
        font-size: 18px;
    }
    .action-icon {
        font-size: 20px;
    }
    .popular-items h2 {
        font-size: 20px;
    }
    .product-card img {
        max-width: 60%;
    }
    .product-name {
        font-size: 16px;
    }
    .product-price {
        font-size: 14px;
    }
    .add-button {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
}

/* Shop By Store section */
.shop-by-store h2 {
    color: #1A2D87;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.store-card {
    background-color: #FFE873; /* Example: If you want yellow stores too */
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.store-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.store-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.store-name {
    font-size: 18px;
    font-weight: 600;
    color: #1A2D87;
    padding: 15px;
    text-align: center;
}

.login-button {
    background-color: #1A2D87;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #2a41a8;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Initially hidden */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 16px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-logo {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 22px;
}

.continue-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background-color: #1A2D87;
    color: #fff;
    border: none;
    transition: background-color 0.2s ease-in-out;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.continue-btn:hover {
    background-color: #2a41a8; /* A slightly lighter blue for hover */
}

.phone-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 10px;
    margin-bottom: 20px; /* Increased margin to space it from the button */
}

.phone-input-container .country-code {
    padding-right: 10px;
    font-weight: 600;
    color: #555;
}

.phone-input-container input {
    border: none;
    outline: none;
    flex-grow: 1;
    padding: 12px 0;
    font-size: 16px;
}

.terms {
    font-size: 12px;
    color: #888;
}

.terms a {
    color: #1A2D87;
    text-decoration: none;
}

.otp-input-container {
    margin: 20px 0;
}

#otp-input {
    width: 60%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    letter-spacing: 10px;
}

#otp-verification-container h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

#otp-verification-container p {
    color: #666;
    margin-bottom: 20px;
}

.resend-otp {
    margin-top: 15px;
    font-size: 14px;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa;
    margin: 15px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.separator span {
    padding: 0 10px;
}

.recent-searches-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 10;
    display: none;
    padding: 10px 0;
    max-height: 200px;
    overflow-y: auto;
}
.recent-searches-dropdown.active {
    display: block;
}
.recent-search-item {
    padding: 10px 20px;
    cursor: pointer;
    color: #1A2D87;
    font-size: 16px;
}
.recent-search-item:only-child {
    cursor: default;
    color: #1A2D87;
    background: none;
    user-select: none;
    pointer-events: none;
}
.recent-search-item:hover {
    background: #f0f2f5;
}
.hide-on-search.hide-main-content {
    display: none !important;
}

.whats-on-your-mind-panel {
    display: none;
    background: #fff;
    border-radius: 15px;
    margin: 20px 0;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 20;
}
.whats-on-your-mind-panel.active {
    display: block;
}

.hide-on-search.hide-main-content .popular-items-wrapper {
    display: none !important;
}

.ice-cream-grid,
.chips-crisps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.search-suggestions-area {
    margin-top: 70px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.3s;
}
.search-suggestions-area.active {
    opacity: 1;
    pointer-events: auto;
}

.clear-search-btn {
    background: none;
    border: none;
    color: #1A2D87;
    font-size: 24px;
    cursor: pointer;
    margin-left: -35px;
    margin-right: 10px;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    transition: background 0.2s;
}
.clear-search-btn:hover {
    background: #f0f2f5;
}

.clear-recent-btn {
    width: 100%;
    background: #f0f2f5;
    border: none;
    color: #1A2D87;
    font-size: 16px;
    padding: 10px 0;
    cursor: pointer;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: background 0.2s;
}
.clear-recent-btn:hover {
    background: #e0e4ea;
}

.back-btn {
    background: none;
    border: none;
    color: #1A2D87;
    font-size: 24px;
    cursor: pointer;
    margin-right: 16px;
}

.nav-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #1A2D87;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Section: Two Columns */
.menu-section {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
}
.menu-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.divider {
    width: 4px;
    background: #1A237E;
    border-radius: 2px;
    min-height: 300px;
    align-self: stretch;
}
.menu-title-bar {
    background: #FFD600;
    color: #1A237E;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 6px 18px;
    border-radius: 2px;
    margin-bottom: 18px;
    text-transform: uppercase;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

/* --- Modern Menu Button --- */
.menu-btn {
    background: #FFD600 !important;
    color: #1A237E !important;
    border-radius: 12px;
    font-weight: bold;
    padding: 8px 20px;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: background 0.2s;
}
.menu-btn:hover {
    background: #FFEB3B !important;
}

/* --- Food Image Styling --- */
.food-img, .product-card img {
    border-radius: 16px !important;
    display: block;
    margin: 0 auto 8px auto;
    width: 100px !important;
    height: 80px !important;
    object-fit: cover;
    position: static !important;
}

/* --- Divider Styling --- */
.divider {
    width: 4px;
    background: #1A237E;
    border-radius: 2px;
    margin: 0 24px;
    min-height: 300px;
    align-self: stretch;
}

/* --- Responsive Two-Column Layout --- */
.menu-section {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
}
.menu-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (max-width: 900px) {
    .menu-section {
        flex-direction: column;
    }
    .divider {
        display: none;
    }
}

/* --- Yellow Title Bar --- */
.menu-title-bar {
    background: #FFD600;
    color: #1A237E;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 6px 18px;
    border-radius: 2px;
    margin-bottom: 18px;
    text-transform: uppercase;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.cart-sidebar {
    background: #fff;
    border-radius: 16px 0 0 16px;
    box-shadow: 0 4px 24px rgba(26,35,126,0.10);
    width: 400px;
    max-width: 95vw;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 32px 24px 24px 24px;
    overflow: hidden;
}
.cart-sidebar .cart-header {
    font-size: 2rem;
    font-weight: 700;
    color: #1A2D87;
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.cart-items {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
    min-height: 0;
    overflow-y: auto;
    max-height: 48vh;
    padding-right: 4px;
}
.cart-order-tile {
    display: flex;
    align-items: flex-start;
    background: #FFE873;
    border-radius: 20px;
    padding: 18px 24px;
    margin-bottom: 18px;
    gap: 18px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.cart-order-imgbox {
    background: #1A2D87;
    border-radius: 16px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}
.cart-order-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cart-order-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cart-order-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A2D87;
}
.cart-order-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #1A2D87;
}
.cart-order-qty {
    background: #1A2D87;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    padding: 2px 10px;
    font-weight: 600;
    margin-left: 4px;
}
.cart-order-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A2D87;
    margin-left: 18px;
    min-width: 60px;
    text-align: right;
    margin-top: auto;
}
.cart-order-remove-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    background: #D7263D;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(215,38,61,0.12);
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-order-remove-btn:hover {
    background: #a81c2a;
}
.cart-total-section {
    border-top: 4px solid #1A2D87;
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 0;
    flex-shrink: 0;
    background: #fff;
    z-index: 2;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A2D87;
    margin-bottom: 18px;
}
.cart-checkout-btn {
    width: 100%;
    background: #1A2D87;
    color: #FFD600;
    border: none;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 18px 0;
    margin-top: 6px;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    overflow: visible;
    white-space: normal;
    text-align: center;
}
.cart-checkout-btn:hover {
    background: #FFD600;
    color: #1A2D87;
}
.cart-sidebar:not(.active) {
    display: none !important;
}
.cart-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    background: #D7263D;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(215,38,61,0.12);
    transition: background 0.2s;
}
.cart-close-btn:hover {
    background: #a81c2a;
}

.modal-content input[type="text"],
.modal-content input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    display: block;
}

img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-img-box {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-img-box img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}