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

body {
    font-family: 'Amazon Ember', Arial, sans-serif;
    background-color: #eaeded;
}

/* Header Styles */
.navbar {
    background-color: #232f3e;
    color: white;
    padding: 8px 0;
}

.nav-belt {
    display: flex;
    align-items: center;
    /* max-width: 1500px; */
    margin: 0 auto;
    padding: 0 15px;
}

.nav-logo {
    padding: 8px;
    border: 1px solid transparent;
    cursor: pointer;
}

.nav-logo:hover {
    border: 1px solid white;
}

.logo {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30"><text x="5" y="20" fill="white" font-size="20" font-weight="bold">amazon</text><path d="M20 25 Q35 30 50 25" stroke="%23ff9900" stroke-width="2" fill="none"/></svg>') no-repeat;
    width: 97px;
    height: 30px;
    background-size: contain;
}

.nav-location {
    padding: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-location:hover {
    border: 1px solid white;
}

.location-icon {
    margin-right: 5px;
}

.location-text {
    font-size: 12px;
    line-height: 14px;
}

.location-main {
    font-weight: bold;
    font-size: 14px;
}

.nav-search {
    flex: 1;
    display: flex;
    margin: 0 10px;
}

.product-item a {
    text-decoration: none !important;
}

.owl-item {
    padding-top: 1px;
}

.product-image-container img {
    border-radius: 8px;
    /* box-shadow: 1px -1px 17px #878787;
    border: 2px solid #ffebdf */
}

.search-select {
    background-color: #f3f3f3;
    border: none;
    padding: 8px;
    border-radius: 4px 0 0 4px;
    color: #555;
    font-size: 12px;
}

.search-input {
    flex: 1;
    padding: 8px;
    border: none;
    font-size: 16px;
}

.search-button {
    background-color: #febd69;
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-button:hover {
    background-color: #f3a847;
}

.nav-tools {
    display: flex;
    align-items: center;
}

.nav-item {
    padding: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    line-height: 14px;
    color: white;
    margin: 0 5px;
}

.nav-item:hover {
    border: 1px solid white;
}

.nav-item-main {
    font-weight: bold;
    font-size: 14px;
}

.cart {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    left: 15px;
    background-color: #ff9900;
    color: #131921;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
}

/* Sub Navigation */
.nav-subnav {
    background-color: #37475a;
    padding: 8px 0;
    overflow-x: auto;
}

.nav-subnav-belt {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
}

.subnav-items {
    display: flex;
    align-items: center;
}

.subnav-item {
    color: white;
    padding: 8px 10px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid transparent;
}

.subnav-item:hover {
    border: 1px solid white;
}

.menu-icon {
    margin-right: 5px;
}

/* Main Content */
.main-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
}

/* Hero Banner */
.hero-section {
    position: relative;
    margin-bottom: 20px;
}

.hero-banner {
    background: linear-gradient(135deg, #ff9900, #ff6b35);
    color: white;
    padding: 40px 20px;
    text-align: center;
    /* border-radius: 8px; */
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-brands {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.hero-image {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect width="200" height="200" fill="%23f0f0f0" opacity="0.2"/><text x="100" y="100" text-anchor="middle" fill="white" font-size="16">Fashion Image</text></svg>');
}

/* Product Sections */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: white;
    padding: 10px;
    margin: 0px 5px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0f1111;
}

.card-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-item {
    text-align: center;
}

.product-image {
    width: 100%;
    height: 120px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
}

.product-name {
    font-size: 12px;
    color: #565959;
    line-height: 16px;
}

.see-more {
    color: #007185;
    text-decoration: none;
    font-size: 13px;
    margin-top: 15px;
    display: inline-block;
}

.see-more:hover {
    text-decoration: underline;
}

/* Related Items Carousel */
.carousel-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 8px;
}

.carousel-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
}

.carousel-item {
    flex: 0 0 300px;
    text-align: center;
}

.carousel-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    background: #f0f0f0;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Inspired by browsing history */
.browsing-history {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.history-title {
    font-size: 18px;
    font-weight: bold;
}

.page-indicator {
    color: #565959;
    font-size: 14px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.history-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: white;
}

.history-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.history-image {
    width: 100%;
    height: 160px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.history-title-text {
    font-size: 14px;
    color: #007185;
    text-decoration: none;
    margin-bottom: 5px;
    display: block;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.stars {
    color: #ff9900;
    margin-right: 5px;
}

.rating-count {
    color: #007185;
    font-size: 12px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #B12704;
    margin-bottom: 5px;
}

.original-price {
    color: #565959;
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 5px;
}

.discount {
    background: #cc0c39;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 5px;
}

/* Enhanced Pricing Display Styles */
.pricing-container {
    margin-bottom: 1rem;
}

.current-sale-price,
.current-price {
    font-size: 28px !important;
    color: #B12704 !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
}

.discount-badge {
    background-color: #dc3545 !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

.original-price-wrapper {
    font-size: 14px;
    color: #565959;
    margin-bottom: 8px;
}

.original-price {
    text-decoration: line-through !important;
    font-weight: 500 !important;
}

.savings-info {
    font-size: 13px;
    color: #007600;
    font-weight: 500;
}

/* Responsive Design for Pricing */
@media (max-width: 768px) {

    .current-sale-price,
    .current-price {
        font-size: 24px !important;
    }

    .sale-price-wrapper {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .discount-badge {
        align-self: flex-start;
    }
}

@media (max-width: 576px) {

    .current-sale-price,
    .current-price {
        font-size: 22px !important;
    }

    .original-price-wrapper {
        font-size: 13px;
    }

    .savings-info {
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .current-sale-price,
    .current-price {
        font-size: 20px !important;
    }
}

/* Button Icon Color Fixes */
.btn i,
.button i {
    color: inherit !important;
}

.add-to-cart-btn i,
.buy-now-btn i {
    color: #0F1111 !important;
}

.btn-primary i {
    color: white !important;
}

.btn-success i {
    color: white !important;
}


.btn-warning i {
    color: #0F1111 !important;
}

/* Enhanced Stock Status Styles */
.stock-status-display {
    margin-bottom: 1rem;
}

.stock-status-display .alert {
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.stock-status-display .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.stock-status-display .alert-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #856404;
}

/* Enhanced Alert Styles - Modern & Attractive */
.alert {
    border-radius: 12px !important;
    border: none !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.alert::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
}

.alert::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%) !important;
    transform: rotate(45deg) !important;
    transition: all 0.6s ease !important;
    opacity: 0 !important;
}

.alert:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.alert:hover::after {
    opacity: 1 !important;
    left: 100% !important;
    top: 100% !important;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 50%, #b8dcc8 100%) !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}

.alert-success::before {
    background: linear-gradient(180deg, #28a745 0%, #20c997 100%) !important;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 50%, #f1b0b7 100%) !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}

.alert-danger::before {
    background: linear-gradient(180deg, #dc3545 0%, #c82333 100%) !important;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffecb5 50%, #ffe69c 100%) !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}

.alert-warning::before {
    background: linear-gradient(180deg, #ffc107 0%, #e0a800 100%) !important;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 50%, #abdde5 100%) !important;
    color: #0c5460 !important;
    border-left: 4px solid #17a2b8 !important;
}

.alert-info::before {
    background: linear-gradient(180deg, #17a2b8 0%, #138496 100%) !important;
}

.btn-close {
    background: none !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: inherit !important;
    opacity: 0.7 !important;
    padding: 8px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-close:hover {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.1) !important;
    transform: scale(1.1) !important;
}

.alert-dismissible .btn-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
}

.stock-status-display .text-success {
    color: #155724 !important;
    font-weight: 500;
}

/* Out of Stock Actions */
.out-of-stock-actions .btn {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

.out-of-stock-actions .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.out-of-stock-actions .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Cart Item Stock Status */
.cart-item-row .alert {
    border-radius: 6px;
    font-size: 0.85rem;
}

.cart-item-row .text-success {
    font-size: 0.9rem;
}

/* Product Card Stock Indicators */
.amazon-product-card.out-of-stock {
    /* Removed opacity to fix visibility issue */
}

.amazon-product-card .stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.amazon-product-card .stock-status.out-of-stock {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.amazon-product-card .stock-indicator {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #ffc107;
    color: #212529;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.amazon-product-card .stock-indicator.low-stock {
    background: #fd7e14;
    color: white;
}

/* Summary Box Enhancements */
.summary-box .alert {
    border-radius: 8px;
    font-size: 0.9rem;
}

.summary-box .btn-proceed:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

/* Responsive Stock Status */
@media (max-width: 768px) {
    .stock-status-display .alert {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .out-of-stock-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .out-of-stock-actions .btn {
        width: 100%;
        font-size: 0.8rem;
    }

    .amazon-product-card .stock-indicator {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Sign In Section */
.signin-section {
    text-align: center;
    padding: 40px 20px;
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
}

.signin-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.signin-button {
    background: #ffd814;
    border: 1px solid #fcd200;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    color: #0f1111;
    display: inline-block;
    font-weight: 500;
}

.signin-button:hover {
    background: #f7ca00;
}

.new-customer {
    margin-top: 10px;
    font-size: 13px;
    color: #565959;
}

.new-customer a {
    color: #007185;
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: #232f3e;
    color: white;
    margin-top: 40px;
}

.back-to-top {
    background-color: #37475a;
    text-align: center;
    padding: 15px;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #485769;
}

.footer-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 15px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #3a4553;
    padding-top: 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.language-currency {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.footer-link-group {
    text-align: center;
}

.footer-link-group h4 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.footer-link-group p {
    font-size: 11px;
    color: #999;
    line-height: 14px;
}

.copyright {
    font-size: 11px;
    color: #999;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-belt {
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .nav-search {
        order: 3;
        width: 100%;
        margin: 10px 0;
    }

    .nav-tools {
        font-size: 12px;
    }

    .subnav-items {
        overflow-x: auto;
        white-space: nowrap;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-image {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-item {
        flex: 0 0 300px;
    }

    .carousel-item img {
        width: 120px;
        height: 120px;
    }

    .footer-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-belt {
        padding: 0 5px;
    }

    .main-content {
        padding: 0;
    }

    .card-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-grid {
        grid-template-columns: 1fr;
    }

    .carousel-track {
        gap: 10px;
    }

    .footer-sections {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}




/* ============================================= */
/* ========== NEW CSS FOR SIDE MENU ============ */
/* ============================================= */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 365px;
    max-width: 90%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    transform: translateX(0);
}

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #232f3e;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.side-menu-header .user-info i {
    margin-right: 10px;
}

.close-button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.side-menu-content {
    overflow-y: auto;
    flex-grow: 1;
}

.menu-section {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.menu-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #111;
}

.menu-links {
    list-style: none;
}

.menu-links li a {
    display: block;
    padding: 10px 0;
    color: #444;
    text-decoration: none;
    font-size: 14px;
}

.menu-links li a:hover {
    color: #c45500;
}

/* ============================================= */
/* ========== NEW CSS FOR FOOTER =============== */
/* ============================================= */
.amazon-footer {
    background-color: #232f3e;
    color: white;
    margin-top: 40px;
}

.back-to-top {
    background-color: #37475a;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-size: 13px;
}

.back-to-top:hover {
    background-color: #485769;
}

.footer-main {
    background-color: #232f3e;
    padding: 40px 0;
    text-align: center
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.widget_title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.widget_links {
    list-style: none;
    padding: 0;
}

.widget_links li {
    margin-bottom: 10px;
}

.widget_links a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
}

.widget_links a:hover {
    text-decoration: underline;
}

.footer-sub {
    border-top: 1px solid #3a4553;
    padding: 30px 0;
}

.footer-logo-lang-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-logo img {
    height: 30px;
}

.footer-lang-buttons {
    display: flex;
    gap: 10px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #888;
    padding: 6px 12px;
    font-size: 13px;
    color: #ccc;
    text-decoration: none;
    border-radius: 3px;
}

.lang-btn img {
    height: 12px;
}

.footer-bottom {
    background-color: #131921;
    padding: 20px 0;
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: #ddd;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #ddd;
}




* {
    margin: 0;
    padding: 0;
    /* ... */
}

/* ============================================= */
/* ====== NEW CSS FOR SUB-NAV CATEGORIES ======= */
/* ============================================= */

.subnav-category-item {
    text-align: center;
}

/* DEFAULT (DESKTOP) STATE: Hide the image, show only the name */
.subnav-category-item .subnav-item-image {
    display: none;
}

.subnav-category-item .subnav-item-name {
    display: inline;
    white-space: nowrap;
}


/* --- Keep your existing @media queries --- */

/* UPDATED MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {

    .subnav-items {
        overflow-x: auto;
        white-space: nowrap;
        /* Add some padding for better spacing */
        padding: 5px 0;
    }

    .subnav-item {
        /* Adjust padding for the new layout */
        padding: 5px;
    }

    /* This targets only the category items, not the "All" button */
    .subnav-category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-width: 80px;
        /* Give each item a minimum width */
        font-size: 12px;
        font-weight: 500;
    }

    /* SHOW the image on mobile */
    .subnav-category-item .subnav-item-image {
        display: block;
        height: 45px;
        width: 45px;
        object-fit: contain;
        /* Use 'contain' to prevent stretching */
        margin-bottom: 5px;
    }

    .subnav-category-item .subnav-item-name {
        line-height: 1.2;
        white-space: normal;
        /* Allow name to wrap to two lines if needed */
    }
}



.hero-section .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Allows clicks to go through to elements behind */
}

.hero-section .owl-nav button.owl-prev,
.hero-section .owl-nav button.owl-next {
    font-size: 2rem !important;
    color: white !important;
    background: rgba(0, 0, 0, 0.3) !important;
    width: 50px;
    height: 100px;
    margin: 0 20px;
    border-radius: 8px;
    pointer-events: all;
    /* Make buttons clickable */
    transition: background 0.3s ease;
}

.hero-section .owl-nav button.owl-prev:hover,
.hero-section .owl-nav button.owl-next:hover {
    background: rgba(0, 0, 0, 0.6) !important;
}


.hero-and-grid-wrapper {
    position: relative;
    /* This is the key for z-index context */
    /* margin-bottom: -250px;  */
}

.hero-section {
    /* No changes needed here, it stays as the bottom layer */
    margin-bottom: 0;
    /* Remove the old margin */
}

.product-grid {
    position: relative;
    /* Allows it to be placed on top */
    z-index: 10;
    /* Ensures the grid is on top of the banner */
    margin-top: -300px;
    /* PULLS the grid UP over the banner */
    /* This value should be adjusted based on the height of your banner and desired overlap */
}

.hero-banner {
    /* You might want to ensure a minimum height */
    min-height: 500px;
    /* Example height */
    background-position: center top;
    /* Position the banner image nicely */
}


/* --- Keep your existing @media queries --- */

/* Mobile Responsive adjustments for the overlap */
@media (max-width: 768px) {
    .product-grid {
        margin-top: -79px;
    }

    .hero-section .owl-nav button.owl-prev,
    .hero-section .owl-nav button.owl-next {
        display: none;
    }

    .hero-banner {
        height: 222px !important;
    }

    .product-grid {
        margin-top: -113px !important;
    }



    .hero-banner {
        min-height: 250px;
        /* Reduce banner height on mobile */
    }
}






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

body {
    font-family: 'Amazon Ember', Arial, sans-serif;
    background-color: #eaeded;
}

.main-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
}

/* =================================================================== */
/* ================== DESKTOP HEADER STYLES ======================== */
/* =================================================================== */
.main-header {
    background-color: #131A22;
}

.mobile-top-bar {
    display: none;
}

/* Hide mobile bar on desktop */
.nav-search-mobile {
    display: none;
}

/* Hide mobile search on desktop */

.desktop-nav-belt {
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.nav-logo,
.nav-location {
    padding: 8px;
    border: 1px solid transparent;
    cursor: pointer;
}

.nav-logo:hover,
.nav-location:hover {
    border-color: white;
}

.nav-location {
    display: flex;
    align-items: center;
    color: white;
}

.nav-location i {
    margin-right: 5px;
}

.location-text {
    font-size: 12px;
    line-height: 14px;
}

.location-main {
    font-weight: bold;
    font-size: 14px;
}

.nav-search-desktop {
    flex: 1;
    display: flex;
    margin: 0 20px;
}

.nav-search-desktop select {
    background-color: #f3f3f3;
    border: none;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    color: #555;
    font-size: 12px;
}

.nav-search-desktop input {
    flex: 1;
    padding: 10px;
    border: none;
    font-size: 16px;
}

.nav-search-desktop button {
    background-color: #febd69;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.bottom-nav-section {
    background-color: #232F3E;
}

.nav-subnav {
    display: flex;
    align-items: center;
    padding: 0 15px;
    overflow-x: auto
}

.subnav-item {
    color: white;
    padding: 8px 10px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid transparent;
}

.subnav-item:hover {
    border-color: white;
}

.menu-icon {
    margin-right: 5px;
}

.subnav-item-image {
    display: none;
}

/* Hide images on desktop */

/* =================================================================== */
/* ======================== BANNER & OVERLAP ========================= */
/* =================================================================== */
.hero-and-grid-wrapper {
    position: relative;
}

.hero-section {
    margin-bottom: 0;
}

.product-grid {
    position: relative;
    z-index: 10;
    margin-top: -245px;
}

.hero-banner {
    min-height: 600px;
    background-position: center top;
    background-size: cover;
}

.hero-section .owl-nav {
    /* ... owl nav styles ... */
}

/* Other base styles for product cards, carousels, etc. */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5px;
}

.card-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.carousel-section {
    /* ... */
}

/* =================================================================== */
/* =================== MOBILE RESPONSIVE STYLES ====================== */
/* =================================================================== */
@media (max-width: 991px) {

    /* --- HIDE DESKTOP ELEMENTS --- */
    .desktop-nav-belt {
        display: none;
    }

    #hamburger-menu-button-desktop {
        display: none;
    }

    /* --- SHOW & STYLE MOBILE ELEMENTS --- */
    .main-header {
        padding: 0;
    }

    .mobile-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        background-color: #ffeacf;
        color: #000000;
    }

    .fa-solid,
    .fas {
        color: black !important
    }

    .mobile-nav-trigger {
        color: white;
        font-size: 24px;
    }

    .mobile-logo img {
        height: 50px;
    }

    .mobile-top-tools a {
        color: rgb(0, 0, 0);
        text-decoration: none;
        margin-left: 15px;
    }

    .mobile-cart-link {
        position: relative;
        font-size: 24px;
    }

    .mobile-cart-link .cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #f08804;
        font-size: 12px;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .bottom-nav-section {
        background: none;
    }

    .nav-search-mobile {
        display: flex;
        padding: 15px;
        background-color: #232f3e;
        margin: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-search-mobile form {
        display: flex;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .nav-search-mobile input {
        flex: 1;
        padding: 12px 15px;
        border-radius: 4px 0 0 4px;
        border: 2px solid #ddd;
        font-size: 16px;
        outline: none;
        transition: border-color 0.3s ease;
    }

    .nav-search-mobile input:focus {
        border-color: #ff9916;
        box-shadow: 0 0 0 2px rgba(255, 153, 22, 0.2);
    }

    .nav-search-mobile button {
        background: #ff9916;
        padding: 12px 20px;
        border-radius: 0 4px 4px 0;
        border: 2px solid #ff9916;
        color: white;
        font-size: 16px;
        cursor: pointer;
    }

    /* Search suggestions styling */
    .search-suggestions {
        font-family: inherit;
        font-size: 14px;
    }

    .search-suggestions .suggestion-item.active {
        background-color: #f8f9fa !important;
    }

    .search-suggestions .suggestion-item:last-child {
        border-bottom: none;
    }

    .search-suggestions .suggestion-item:hover {
        background-color: #f8f9fa;
    }

    /* Improve search input focus states */
    .nav-search input:focus {
        border-color: #ff9900;
        box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
    }

    /* Search results highlighting */
    .search-highlight {
        background-color: #fff3cd;
        padding: 2px 4px;
        border-radius: 3px;
        font-weight: 500;
        transition: background-color 0.3s ease;
    }

    .nav-search-mobile button:hover {
        background: #e88b00;
        border-color: #e88b00;
    }

    .nav-search-mobile button i {
        font-size: 16px;
    }

    /* Sub-nav category bar */
    .nav-subnav {
        background-color: white;
        padding: 0;
        overflow-x: auto
    }

    .subnav-items {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0;
    }

    .subnav-item {
        padding: 0;
        color: #555;
    }

    .subnav-category-item {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        min-width: 70px;
        font-size: 12px;
        font-weight: 500;
        padding: 0px 5px;
    }

    .subnav-item-image {
        display: block;
        height: 45px;
        width: 45px;
        object-fit: contain;
        margin-bottom: 5px;
    }

    /* --- ADJUST BANNER OVERLAP ON MOBILE --- */
    .hero-banner {
        min-height: 250px;
    }

    .product-grid {
        margin-top: 0;
    }

    /* Remove the overlap entirely on mobile */
    .hero-and-grid-wrapper {
        margin-bottom: 20px;
    }
}



.carousel-section {
    position: relative;
    /* This is crucial for positioning the nav arrows */
}

.product-owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-150%);
    /* Adjust vertical position */
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.product-owl-carousel .owl-nav button.owl-prev,
.product-owl-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: white !important;
    color: #111 !important;
    font-size: 16px !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    pointer-events: all;
    transition: all 0.2s ease-in-out;
}

.product-owl-carousel .owl-nav button.owl-prev {
    margin-left: -20px;
}

.product-owl-carousel .owl-nav button.owl-next {
    margin-right: -20px;
}

.product-owl-carousel .owl-nav button:hover {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .product-owl-carousel .owl-nav {
        display: none;
        /* Hide arrows on mobile for a cleaner look */
    }
}

footer .widget_title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.nav-search-desktop select {
    height: 100% !important;
}

footer .widget_title {
    color: white !important;
}

/* ==========================================================================
   Product Availability Styling
   ========================================================================== */

/* Availability badges */
.availability-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.availability-badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
    animation: pulse-warning 2s infinite;
}

.availability-badge.bg-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
    animation: pulse-danger 2s infinite;
}

/* Pulse animations for availability badges */
@keyframes pulse-warning {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

@keyframes pulse-danger {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Button styling for different availability states */
.arriving-soon-btn {
    background-color: #ffc107 !important;
    color: #000 !important;
    border-color: #ffc107 !important;
    opacity: 0.8;
}

.unavailable-btn {
    background-color: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
    opacity: 0.7;
}

/* Product image overlay for out-of-stock items */
.product_img.out-of-stock img {
    filter: grayscale(80%) opacity(0.7);
    transition: filter 0.3s ease;
}

.product_img.out-of-stock::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(128, 128, 128, 0.3);
    pointer-events: none;
}

/* Enhanced out-of-stock styling for all product cards */
.history-item.out-of-stock {
    opacity: 0.8;
    position: relative;
}

.history-item.out-of-stock .history-image {
    filter: grayscale(80%) brightness(0.9);
    position: relative;
}

.history-item.out-of-stock .history-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    pointer-events: none;
}

.history-item.out-of-stock .history-title-text {
    color: #999 !important;
}

.history-item.out-of-stock .price {
    color: #999 !important;
}

.history-item.out-of-stock:hover {
    transform: none;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5);
}

/* ==========================================================================
   Product Availability Badge Styles - Enhanced & Attractive
   ========================================================================== */
.availability-badge {
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 0 6px !important;
    border-radius: 12px !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 1px solid transparent !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.availability-badge::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s !important;
}

.availability-badge:hover::before {
    left: 100% !important;
}

.availability-badge.text-success {
    color: #ffffff !important;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border-color: #28a745 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.availability-badge.text-success::after {
    content: '✓' !important;
    margin-left: 4px !important;
    font-weight: bold !important;
}

.availability-badge.text-warning {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff6b35, #f39c12) !important;
    border-color: #ff6b35 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    animation: pulse-glow 2s infinite !important;
}

.availability-badge.text-warning::after {
    content: '⏰' !important;
    margin-left: 4px !important;
}

.availability-badge.text-danger {
    color: #ffffff !important;
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    border-color: #dc3545 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    opacity: 0.8 !important;
}

.availability-badge.text-danger::after {
    content: '✕' !important;
    margin-left: 4px !important;
    font-weight: bold !important;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(255, 107, 53, 0.7) !important;
        transform: scale(1) !important;
    }

    50% {
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 107, 53, 0.3) !important;
        transform: scale(1.02) !important;
    }

    100% {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(255, 107, 53, 0.7) !important;
        transform: scale(1) !important;
    }
}

/* Product card availability styling */
.availability-status {
    margin-top: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.history-item .availability-status {
    text-align: left !important;
}

/* Hover effects for product cards */
.history-item:hover .availability-badge {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .availability-badge {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
}

.availability-badge.out_of_stock {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%) !important;
    color: white !important;
    box-shadow: 0 2px 6px rgba(229, 62, 62, 0.4) !important;
    font-weight: 800 !important;
    animation: pulse-red 2s infinite !important;
}

.availability-badge.text-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.4) !important;
    font-weight: 800 !important;
    border: none !important;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 2px 6px rgba(229, 62, 62, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 4px 12px rgba(229, 62, 62, 0.6);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 2px 6px rgba(229, 62, 62, 0.4);
        transform: scale(1);
    }
}

.availability-badge.pending_restock {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%) !important;
    color: white !important;
}

.availability-badge.in_stock {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%) !important;
    color: white !important;
}

.availability-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.availability-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.availability-badge:hover::before {
    transform: translateX(100%);
}

/* Product Page Enhancements */
.product-unavailable-notice {
    border-left: 4px solid #f56565;
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-unavailable-notice i {
    color: #e53e3e;
}

.amazon-product-page {
    padding: 20px 0;
}

.product-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #0f1111;
}

.store-link {
    color: #007185;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
}

.store-link:hover {
    color: #c7511f;
    text-decoration: underline;
}

.add-to-cart-box {
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-warning {
    background: linear-gradient(135deg, #ff9900 0%, #e88900 100%);
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e88900 0%, #d17800 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #ff9900 0%, #e88900 100%);
    border: 1px solid #ff9900;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e88900 0%, #d17800 100%);
    border-color: #e88900;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-block {
    width: 100%;
    margin-bottom: 10px;
}

.price {
    font-size: 18px;
    font-weight: 400;
    color: #b12704;
}

.mrp-line {
    font-size: 14px;
    color: #565959;
}

.delivery-info {
    font-size: 14px;
    margin-bottom: 8px;
}

.stock-info,
.ships-from,
.sold-by {
    font-size: 14px;
    color: #565959;
    margin-bottom: 4px;
}

.stock-status-main {
    color: #007600;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.quantity-selector label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.form-select {
    border-radius: 8px;
    border: 1px solid #d5d9d9;
    padding: 8px 12px;
}

.icon-features {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #565959;
}

.feature-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.info-badges {
    margin: 15px 0;
}

.info-badges span {
    display: block;
    font-size: 14px;
    color: #565959;
    margin-bottom: 4px;
}

.about-item-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f1111;
}

.product-specs {
    margin-top: 20px;
}

/* Tab Styling */
.nav-tabs {
    border-bottom: 2px solid #e7e7e7;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #565959;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #ff9900;
}

.nav-tabs .nav-link.active {
    background: none;
    border-color: #ff9900;
    color: #ff9900;
}

.tab-content {
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-title {
        font-size: 20px;
    }

    .price {
        font-size: 18px;
    }

    .icon-features {
        gap: 15px;
    }

    .feature-item {
        font-size: 11px;
    }

    .add-to-cart-box {
        margin-top: 20px;
    }
}

/* Product Image Gallery Optimization */
.product-image-gallery-v2 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
    height: 600px;
    position: relative;
}

.gallery-thumbnails-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 200px;
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbnails-v2::-webkit-scrollbar {
    width: 6px;
}

.gallery-thumbnails-v2::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.gallery-thumbnails-v2::-webkit-scrollbar-thumb {
    background: #ff9900;
    border-radius: 3px;
}

.thumbnail-item-v2 {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border: 2px solid #d5d9d9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.thumbnail-item-v2:hover,
.thumbnail-item-v2.active {
    border-color: #ff9900;
    box-shadow: 0 2px 8px rgba(255, 153, 0, 0.3);
}

.thumbnail-item-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.product-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-image-container.loaded {
    background: transparent;
}

.image-loading-spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ff9900;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.product-image-container.loaded .image-loading-spinner {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.thumbnail-item-v2:hover img {
    transform: scale(1.05);
}

.more-images-trigger {
    background: #f7f8fa;
    color: #565959;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    border: 2px dashed #d5d9d9;
}

.more-images-trigger:hover {
    background: #ff9900;
    color: white;
    border-color: #ff9900;
}

.main-image-container-v2 {
    flex: 1;
    max-width: 600px;
    height: 600px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* border: 1px solid #d5d9d9; */
    border-radius: 8px;
    background: #fff;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    overflow: hidden;
}

#main_product_image_v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

#main_product_image_v2:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Image Loading States */
.main-image-container-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
}

.main-image-container-v2.loading::before {
    z-index: 1;
    opacity: 1;
}

.main-image-container-v2.loaded::before {
    display: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Review Section Enhancements */
.verified-purchaser-badge {
    margin-bottom: 1rem;
}

.verified-purchaser-badge .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.review-form-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    margin-top: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review-form-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.review-form-title i {
    color: #ff6900;
}

.review-form-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.review-form {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.rating-input-container {
    position: relative;
}

.rating-select {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
}

.rating-select:focus {
    border-color: #ff6900;
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 0, 0.15);
}

.review-textarea {
    font-size: 1rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.review-textarea:focus {
    border-color: #ff6900;
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 0, 0.15);
}

.review-form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-submit-review,
.btn-update-review {
    background: linear-gradient(135deg, #ff6900 0%, #ff8533 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit-review:hover,
.btn-update-review:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff6900 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 0, 0.4);
    color: white;
}

.btn-submit-review:active,
.btn-update-review:active {
    transform: translateY(0);
}

.non-purchaser-notice .alert {
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(23, 162, 184, 0.1);
}

.non-purchaser-notice .alert-heading {
    color: #0c5460;
    font-weight: 700;
}

.login-prompt .alert {
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.1);
}

.login-prompt .alert-heading {
    color: #856404;
    font-weight: 700;
}

.login-prompt .alert-link {
    color: #ff6900;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.login-prompt .alert-link:hover {
    color: #e55a00;
    text-decoration: underline;
}

/* Review Display Enhancements */
.review-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6900 0%, #ff8533 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.reviewer-name {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.review-date {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.review-rating .star {
    color: #F44336 !important;
    font-size: 12px;
}

.review-content {
    color: #495057;
    line-height: 1.6;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .product-image-gallery-v2 {
        flex-direction: row;
        gap: 15px;
        width: 100%;
        height: 500px;
        align-items: flex-start;
    }

    .gallery-thumbnails-v2 {
        flex-direction: column;
        max-width: 90px;
        width: 90px;
        height: 500px;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0 10px 0 0;
        gap: 8px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-thumbnails-v2::-webkit-scrollbar {
        width: 6px;
    }

    .gallery-thumbnails-v2::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .gallery-thumbnails-v2::-webkit-scrollbar-thumb {
        background: #ff9900;
        border-radius: 3px;
    }

    .thumbnail-item-v2 {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        border: 2px solid #d5d9d9;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .thumbnail-item-v2:hover,
    .thumbnail-item-v2.active {
        border-color: #ff9900;
        box-shadow: 0 2px 8px rgba(255, 153, 0, 0.3);
        transform: translateY(-1px);
    }

    .thumbnail-item-v2 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .thumbnail-item-v2.more-images-trigger {
        background: #f7f8fa;
        color: #565959;
        font-size: 10px;
        font-weight: 600;
        text-align: center;
        border: 2px dashed #d5d9d9;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .thumbnail-item-v2.more-images-trigger:hover {
        background: #ff9900;
        color: white;
        border-color: #ff9900;
    }

    .main-image-container-v2 {
        max-width: 100%;
        width: 100%;
        height: 500px;
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        background: #fff;
        /* border: 1px solid #d5d9d9; */
        border-radius: 8px;
        overflow: hidden;
        /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    }

    #main_product_image_v2 {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: none;
        border-radius: 8px;
        background: #fff;
    }
}

/* Extra small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .product-image-gallery-v2 {
        gap: 10px;
        height: 400px;
    }

    .gallery-thumbnails-v2 {
        max-width: 70px;
        width: 70px;
        height: 400px;
        padding: 0 8px 0 0;
        gap: 6px;
    }

    .thumbnail-item-v2 {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        border-radius: 4px;
    }

    .thumbnail-item-v2.more-images-trigger {
        font-size: 8px;
    }

    .main-image-container-v2 {
        height: 400px;
        border-radius: 6px;
        flex: 1;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        /* border: 1px solid #d5d9d9; */
        background: #fff;
        overflow: hidden;
    }

    #main_product_image_v2 {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
    }
}

/* Large mobile devices (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .product-image-gallery-v2 {
        height: 550px;
    }

    .gallery-thumbnails-v2 {
        max-width: 80px;
        width: 80px;
        height: 550px;
    }

    .thumbnail-item-v2 {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }

    .main-image-container-v2 {
        height: 550px;
        flex: 1;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        /* border: 1px solid #d5d9d9; */
        background: #fff;
        overflow: hidden;
    }

    #main_product_image_v2 {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .review-form-container {
        padding: 1.5rem;
    }

    .review-form {
        padding: 1rem;
    }

    .btn-submit-review,
    .btn-update-review {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .review-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.amazon-category-mobile-filter-title {

    color: #0f1111;
}