body {
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

.container-fluid {
    max-width: 2000px;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.topbar {
    background-color: #333;
}

.topbar .list-inline-item a {
    transition: color 0.2s ease;
}

.topbar .list-inline-item a:hover {
    color: white !important;
}
@media (min-width: 992px) {
    .topbar .list-inline-item + .list-inline-item::before {
        content: '\00B7';
        color: rgba(255,255,255,0.4);
        margin: 0 0.5rem;
    }
}

header {
    background-color: #222;
    padding: 1.5rem 0;
    font-size: 13px;
}
img {
    max-width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    vertical-align: middle;
}
/* Navigation */
.navbar {
    padding-top: 0rem;
    padding-bottom: 0rem;
    background-color: #222;
    border-top: 1px solid #444;
}

.navbar-nav {
    gap: 0;
    height: 100%;
}

.navbar-nav .nav-item {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid #444;
}

.navbar-nav .nav-item:first-child {
    padding: 0;
    border-right: none;
}

.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:not(.shop-button):hover {
    color: #e21484 !important;
}

/* Appliance Repair hover effect */
.navbar-nav .nav-item:has(.nav-link i.bi-wrench):hover {
    background-color: #6f42ef !important;
}

.navbar-nav .nav-link:has(i.bi-wrench):hover {
    color: white !important;
}

/* Appliance Parts hover effect */
.navbar-nav .nav-item:has(.nav-link i.bi-gear):hover {
    background-color: #26c1ce !important;
}

.navbar-nav .nav-link:has(i.bi-gear):hover {
    color: white !important;
}

.shop-button {
    font-size: 16px;
    background-color: #333;
    color: white !important;
    border-radius: 0;
    padding: 10px 40px !important;
    margin-right: 0px;
}

.shop-button:hover {
    background-color: #e21484;
}

.brand-logo {
    height: 45px;
    width: auto;
}

.navbar-brand {
    display: block;
}

/* Ensure the column doesn't add padding */
.col-md-2 {
    
}

/* Mega Menu */
.mega-menu {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 0;
    margin: 0 !important;
    top: 100% !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    display: block !important;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    position: absolute;
    left: 0;
    right: 0;
    background-color: #fff;
    font-size: 13px;
}

.nav-item.dropdown:hover .mega-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Remove default Bootstrap dropdown arrow */
.dropdown-toggle::after {
    display: none;
}

/* Ensure dropdown parent has correct positioning */
.nav-item.dropdown.position-static {
    position: static;
}

.mega-menu .category-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.mega-menu .category-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu .category-items li a {
    color: #666;
    padding: 3px 0;
    display: block;
    text-decoration: none;
    font-size: 13px;
}

.mega-menu .category-items li a:hover {
    color: #0d6efd;
}

/* Region Selector */
.region-selector {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.region-selector .region-label {
    display: block;
    font-size: 10px;
    opacity: 0.8;
    margin-bottom: 2px;
    text-align: center;
}

.region-selector .btn {
    padding: 2px 8px;
    font-size: 11px;
}

.region-selector .btn i {
    font-size: 10px;
}

/* Header Buttons */
.header-buttons .btn {
    font-size: 11px;
    padding: 3px 10px;
}

.header-buttons .btn i {
    font-size: 11px;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-slide {
    height: 500px;
}

#heroCarousel .carousel-item {
    height: 500px;
}

.hero-slide h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-slide .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-slide .btn {
    font-size: 1rem;
    padding: 0.75rem 2rem;
}

/* Category Cards Styling */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
}

.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    text-decoration: none;
    color: inherit;
}

.category-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-card .card-title {
    color: #333;
    margin-bottom: 0;
    font-size: 13px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 120px;
    object-fit: contain;
    padding: 0.75rem 0.75rem 0 0.75rem;
}

/* Top Deals specific card image height */
.top-deals .card-img-top {
    height: 280px;
}

/* Mobile: Top Deals horizontal carousel (2.5 cards visible) */
@media (max-width: 575px) {
    .top-deals .row.g-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
    }
    .top-deals .row.g-4::-webkit-scrollbar { display: none; }
    .top-deals .row.g-4 { scrollbar-width: none; }

    .top-deals .row.g-4 > .col-5-cards {
        flex: 0 0 80%;
        max-width: 80%;
        scroll-snap-align: start;
    }
}

/* Mobile: Related Products horizontal carousel (same as home) */
@media (max-width: 575px) {
    .related-products .row.g-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
    }
    .related-products .row.g-4::-webkit-scrollbar { display: none; }
    .related-products .row.g-4 { scrollbar-width: none; }

    .related-products .row.g-4 > [class^="col-"] {
        flex: 0 0 80%;
        max-width: 80%;
        scroll-snap-align: start;
    }
}

/* Also apply carousel behavior on small devices up to 767px */
@media (max-width: 767px) {
    .related-products .row.g-4,
    .related-products .cards-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
    }
    .related-products .row.g-4::-webkit-scrollbar,
    .related-products .cards-carousel::-webkit-scrollbar { display: none; }
    .related-products .row.g-4,
    .related-products .cards-carousel { scrollbar-width: none; }

    .related-products .row.g-4 > .col-md-3,
    .related-products .row.g-4 > div[class^="col-"],
    .related-products .cards-carousel > .col-md-3,
    .related-products .cards-carousel > div[class^="col-"] {
        flex: 0 0 80% !important;
        max-width: 80% !important;
        scroll-snap-align: start;
    }
}

/* Desktop: Ensure 4 cards span full width in You May Also Like */
@media (min-width: 992px) {
    .ymal .row.g-4 > .col-5-cards {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
    /* Reset any mobile carousel overrides for related products on desktop */
    .ymal .row.g-4 {
        overflow: visible !important;
        flex-wrap: wrap !important;
    }
}

/* Featured Brands specific card image height */
.featured-brands .card-img-top {
    max-height: 120px;
    padding: 1.5rem;
}

.card-body {
    padding: 0.75rem;
}

.card-title {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 13px;
}

.btn-outline-primary {
    border-color: #e21484;
    color: #e21484;
    font-size: 12px;
}

.btn-outline-primary:hover {
    background-color: #e21484;
    border-color: #e21484;
    color: white;
}

/* Reviews Section Styling */
.reviews-section {
    background-color: #eee;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 2.5rem 0;
    margin-top: 2.5rem !important;
    margin-bottom: 0 !important;
}

#reviewsCarousel .carousel-item {
    height: 220px;
}

.review-content {
    background-color: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.review-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #444;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stars {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.reviewer-info {
    margin-top: 0.5rem;
}

.reviewer-name {
    color: #222;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.reviewer-info .small {
    font-size: 0.75rem;
}

#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
    width: 2rem;
    height: 2rem;
    background-color: rgba(0,0,0,0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#reviewsCarousel .carousel-control-prev {
    left: -1rem;
}

#reviewsCarousel .carousel-control-next {
    right: -1rem;
}

#reviewsCarousel .carousel-indicators {
    margin-bottom: -1rem;
}

#reviewsCarousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
}

/* Footer Styling */
footer {
    background-color: #222;
    color: #fff;
    padding: 2.5rem 0;
    margin-top: 0;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

footer ul {
    margin-bottom: 1.5rem;
}

footer ul li {
    margin-bottom: 0.4rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

footer a:hover {
    color: #e21484;
    text-decoration: none;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

footer .social-icons {
    margin-top: 0.75rem;
}

footer .social-icons a {
    margin-right: 0.75rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

footer .social-icons a:hover {
    opacity: 1;
}

footer .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Newsletter Signup Styling */
.newsletter-signup {
    margin-top: 0.75rem;
}

.newsletter-form .input-group {
    margin-bottom: 0.5rem;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #e21484;
    box-shadow: 0 0 0 0.25rem rgba(226, 20, 132, 0.25);
    color: #fff;
}

.newsletter-form .btn-primary {
    background: #e21484;
    border: 1px solid #e21484;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.newsletter-form .btn-primary:hover {
    background: #c0136b;
    border-color: #c0136b;
    transform: translateY(-1px);
}

.newsletter-note {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    line-height: 1.3;
}

/* Add spacing to newsletter column */
footer .col-md-4 {
    padding-right: 1.5rem;
}

/* Five columns layout */
.col-5-cards {
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

/* Product Page Styles */
.product-gallery {
    position: relative;
}

.product-gallery .main-image {
    height: 500px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eeeff2;
}

.product-gallery .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.product-gallery .thumbnail:hover,
.product-gallery .thumbnail.active {
    border-color: #e21484;
}

.product-info {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Product Page Title */
.product-info h1.h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    color: #333;
}

.product-price {
    font-size: 2rem;
    font-weight: 600;
    color: #e21484;
}

.product-price .original {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: #e21484;
    margin-right: 0.5rem;
}

.quantity-selector {
    width: 120px;
}

.related-products .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.related-products .card-img-top {
    height: 200px;
    padding: 1rem;
}

/* Product Page Dividers */
.product-info hr {
    border-color: #e9ecef;
    opacity: 0.8;
    margin: 1rem 0;
}

/* Product Page Stock Status */
.stock-status {
    font-size: 0.9rem;
}

.stock-status i {
    font-size: 1rem;
}

/* Product Page Pricing Section - Best Buy Inspired */
.pricing-section {
    padding: 1rem 0 0 0;
    background: none;
    border: none;
}

.pricing-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

/* Main Price Section */
.price-main {
    flex: 0 0 auto;
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    margin: 0;
    line-height: 1.2;
}

.price-original {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
    margin: 0;
    display: inline-block;
    margin-right: 0.75rem;
}

.price-savings {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Financing Section */
.price-financing {
    flex: 0 0 auto;
    text-align: left;
    padding-left: 1rem;
    border-left: 1px solid #dee2e6;
}

.financing-divider {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.financing-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
}

.financing-terms {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.financing-provider {
    font-size: 0.75rem;
    color: #007bff;
}

/* Delivery Estimate Form Styling */
.delivery-estimate {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
}

.delivery-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.delivery-form .input-group {
    margin-bottom: 0.5rem;
}

.delivery-form .form-control {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.delivery-form .form-control:focus {
    border-color: #e11584;
    box-shadow: 0 0 0 0.2rem rgba(225, 21, 132, 0.25);
}

.delivery-form .btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.delivery-form .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.delivery-form .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.delivery-form .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.delivery-result {
    animation: fadeIn 0.3s ease-in;
}

.delivery-result-hidden {
    display: none;
}

.summary-item-hidden {
    display: none;
}

.delivery-date {
    font-size: 0.85rem;
    line-height: 1.4;
}

.delivery-note {
    font-size: 0.75rem;
    line-height: 1.3;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Literature Tab Styling */
.literature-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.literature-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.literature-section h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.literature-section h5 i {
    font-size: 1.1rem;
}

.literature-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.literature-item:hover {
    background: #fff;
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
    transform: translateY(-1px);
}

.literature-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.literature-link:hover {
    text-decoration: none;
    color: #0d6efd;
}

.literature-link strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.9rem;
}

.literature-link .text-muted {
    font-size: 0.75rem;
    line-height: 1.3;
}

.literature-link i {
    font-size: 1.1rem;
    vertical-align: middle;
}

/* Product Features Section (Left Side) */
.product-features-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.product-features-section h6 {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.product-features-section .product-features {
    margin-bottom: 0;
}

.product-features-section .product-features li {
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

.product-features-section .product-features li:last-child {
    margin-bottom: 0;
}

.product-features-section .product-features i {
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

/* Literature tab specific icon colors */
.literature-section h5 i.bi-file-earmark-text {
    color: #0d6efd;
}

.literature-section h5 i.bi-shield-check {
    color: #198754;
}

.literature-section h5 i.bi-lightning-charge {
    color: #ffc107;
}

.literature-section h5 i.bi-link-45deg {
    color: #6f42c1;
}

/* Responsive adjustments for literature tab */
@media (max-width: 768px) {
    .literature-item {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .literature-section h5 {
        font-size: 0.9rem;
    }
    
    .literature-link strong {
        font-size: 0.85rem;
    }
    
    .literature-link .text-muted {
        font-size: 0.7rem;
    }
}

/* Product page tabs - prevent wrapping and allow horizontal scroll on mobile */
@media (max-width: 767px) {
    #productTabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        scrollbar-width: none; /* Firefox */
    }
    #productTabs::-webkit-scrollbar { display: none; } /* WebKit */
    #productTabs .nav-link {
        white-space: nowrap;
        padding: 0.45rem 0.6rem;
        font-size: 0.9rem;
    }
}

/* Financing Section */
.financing-section {
    padding: 0;
    border: none;
    background: none;
}

/* Top Deals Section - AJ Madison Style Product Cards */
.product-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-image-container {
  position: relative;
  background: #f8f9fa;
  padding: 2rem;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image-link {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  align-items: center;
  justify-content: center;
}

.product-image-link:hover {
  text-decoration: none;
  color: inherit;
}

.product-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-title-link:hover {
  text-decoration: none;
  color: inherit;
}

.save-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc3545;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.quick-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.quick-action-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.quick-action-btn:hover {
  background: #e11584;
}

.quick-action-btn:hover i {
  color: white;
}

.quick-action-btn i {
  font-size: 14px;
  color: #666;
}

.product-info {
  padding: 1.5rem;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-badge {
  display: inline-block;
  background: #e3f2fd;
  color: #1976d2;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  min-height: 2.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-model {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.stars {
  display: flex;
  gap: 1px;
}

.stars i {
  color: #ffc107;
  font-size: 0.7rem;
}

.rating-count {
  font-size: 0.7rem;
  color: #666;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.current-price {
  font-size: 1.2rem;
    font-weight: 600;
  color: #dc3445;
}

.original-price {
  font-size: 0.85rem;
  color: #999;
  text-decoration: line-through;
}

.savings-amount {
  font-size: 0.8rem;
  color: #dc3545;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.countdown-timer {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  padding: 0.3rem;
  margin-bottom: 0.4rem;
}

.countdown-label {
  font-size: 0.65rem;
  color: #856404;
  font-weight: 600;
  margin-bottom: 0.2rem;
  text-align: center;
}

.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 22px;
}

.countdown-number {
  background: #dc3545;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
  min-width: 22px;
  text-align: center;
  line-height: 1;
}

.countdown-label-small {
  font-size: 0.55rem;
  color: #856404;
  font-weight: 500;
  margin-top: 0.1rem;
}

.countdown-separator {
  font-size: 0.8rem;
  font-weight: 700;
  color: #dc3545;
  margin-top: -0.2rem;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-view-details {
  background: transparent;
  color: #666;
  border: 1px solid #dee2e6;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-view-details:hover {
  background: #e11584;
  color: white;
  border-color: #e11584;
}

/* Responsive adjustments for product cards */
@media (max-width: 1200px) {
  .col-5-cards {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (max-width: 992px) {
  .col-5-cards {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 768px) {
  .col-5-cards {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .product-image-container {
    height: 280px;
    padding: 1.5rem;
  }
  
  .product-info {
    padding: 1rem;
  }
  
  .current-price {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .col-5-cards {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .product-image-container {
    height: 300px;
  }
}

/* Category Page Styles */
.breadcrumb {
    font-size: 0.8rem;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #e21484;
}

.form-check {
    margin-bottom: 0.4rem;
}

.form-check-label {
    font-size: 0.8rem;
    color: #666;
}

.form-check-input:checked {
    background-color: #e21484;
    border-color: #e21484;
}

.range-slider {
    margin-bottom: 0.75rem;
}

.form-range::-webkit-slider-thumb {
    background: #e21484;
}

.form-range::-moz-range-thumb {
    background: #e21484;
}

.form-range::-ms-thumb {
    background: #e21484;
}

/* Sort dropdown styling */
.form-select {
    border-color: #dee2e6;
    font-size: 0.8rem;
}

.form-select:focus {
    border-color: #e21484;
    box-shadow: 0 0 0 0.25rem rgba(226, 20, 132, 0.25);
}

/* Pagination styling */
.pagination .page-link {
    color: #333;
    border-color: #dee2e6;
    font-size: 0.8rem;
}

.pagination .page-item.active .page-link {
    background-color: #e21484;
    border-color: #e21484;
}

.pagination .page-link:hover {
    color: #e21484;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link:hover {
    color: #fff;
}

/* Filter card styling */
.card-body h6 {
    color: #333;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Product grid specific styles */
.product-grid .card-img-top {
    height: 280px;
    padding: 1.5rem;
}

/* Category page product cards */
.category-products .card-img-top {
    height: 280px;
    padding: 1.25rem;
    object-fit: contain;
}

/* Section headings */
section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.financing-info {
    text-align: left;
}

/* Category Icons - Modern Line Drawings */
.category-icon {
    width: 100%;
    height: 180px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 25px 30px 25px;
}

/* Refrigerator SVG specific styling */
.category-icon svg {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    max-width: 100px;
}

/* Make all SVG strokes uniform thickness regardless of scaling */
.category-icon svg * {
    vector-effect: non-scaling-stroke;
    stroke-width: 3px !important;
}

/* Increase border radius on SVG rectangles and paths for smoother corners */
.category-icon svg rect {
    rx: 5px !important;
    ry: 5px !important;
}

.category-icon svg path {
    stroke-linejoin: round !important;
    stroke-linecap: round !important;
}

/* Checkout Pages Styles */
.checkout-progress {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #e11584;
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step.active .step-label {
    color: #e11584;
}

.step.completed .step-label {
    color: #28a745;
}

.checkout-form {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.step-title {
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.order-summary {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    gap: 1rem;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    flex-shrink: 0;
}

.item-details {
    flex: 1;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    background-color: #fff;
}

.item-details h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.item-details p {
    margin: 0.25rem 0;
    color: #6c757d;
}

.item-details small {
    color: #6c757d;
}

.item-price {
    font-weight: 600;
    color: #333;
}

.order-totals {
    margin-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.total-final {
    font-weight: 700;
    font-size: 1.1rem;
    color: #e11584;
    border-top: 2px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    border-color: #e11584;
    box-shadow: 0 0 0 0.2rem rgba(225, 21, 132, 0.25);
}

.btn-primary {
    background-color: #e11584;
    border-color: #e11584;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #c4126f;
    border-color: #c4126f;
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

.order-item.sub-item {
    padding-left: 1.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-right: 0.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    border-left: 2px solid #e11584;
    background-color: #f8f9fa;
    border-radius: 0 4px 4px 0;
}

.order-item.sub-item .item-details h6 {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.order-item.sub-item .item-price {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

.order-item.sub-item .item-details p {
    font-size: 0.65rem;
    color: #6c757d;
    margin-bottom: 0;
}

.order-item.main-item {
    border-bottom: 0px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

/* Delivery Button Styles */
.delivery-btn {
    padding: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.delivery-options {
    max-width: 500px;
    margin: 0 auto;
}

/* Payment Method Styling */
.payment-option {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.payment-option:hover {
    border-color: #e11584;
    background-color: #f8f9fa;
}

.payment-option .form-check {
    margin-bottom: 0;
}

.payment-option .form-check-input {
    margin-top: 0.25rem;
}

.payment-option .form-check-input:checked + .form-check-label {
    color: #e11584;
    font-weight: 600;
}

.payment-option .form-check-input:checked {
    background-color: #e11584;
    border-color: #e11584;
}

.payment-text {
    font-weight: 500;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.payment-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.payment-option:hover .payment-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.payment-option .form-check-input:checked ~ .form-check-label .payment-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Payment Logo Styling */
.payment-logo {
    height: 20px;
    width: auto;
}

/* Payment Section Styling */
.payment-section {
    display: none;
}

.payment-section.active {
    display: block;
}

@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 1rem;
    }
    
    .step-label {
        text-align: left;
    }
}

.financing-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0;
}

.financing-details {
    line-height: 1.1;
    margin-top: 2px;
}

/* Product Page Dividers */
.product-info hr {
    border-color: #e9ecef;
    opacity: 0.8;
    margin: 1rem 0;
}

/* Product Page Stock Status */
.stock-status {
    font-size: 0.9rem;
}

.stock-status i {
    font-size: 1rem;
}

/* Product Page Pricing Section - Best Buy Inspired */
.pricing-section {
    padding: 1rem 0 0 0;
    background: none;
    border: none;
}

.pricing-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

/* Main Price Section */
.price-main {
    flex: 0 0 auto;
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    margin: 0;
    line-height: 1.2;
}

.price-original {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
    margin: 0;
    display: inline-block;
    margin-right: 0.75rem;
}

.price-savings {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Financing Section */
.price-financing {
    flex: 0 0 auto;
    text-align: left;
    padding-left: 1rem;
    border-left: 1px solid #dee2e6;
}

.financing-divider {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.financing-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
}

.financing-terms {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.financing-provider {
    font-size: 0.75rem;
    color: #007bff;
}


/* Promo Section */
.promo-section {
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block !important;
    width: auto !important;
    max-width: fit-content !important;
    text-transform: uppercase;
}

/* Promo Banner Section */
.promo-banner-section {
    background: #444;
    border-bottom: 0;
}

.promo-banner {
    padding: 0.5rem;
    text-align: center;
    border-right: 1px solid #555;
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.promo-banner:last-child {
    border-right: none;
}

.promo-banner:hover {
    background-color: #555;
}

.promo-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: #666;
}

.col-md-4:last-child .promo-banner::after {
    display: none;
}



.promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.0rem;
}

.promo-title {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.promo-subtitle {
    font-size: 10px;
    margin: 0;
    color: #fff;
    font-weight: 500;
}

.promo-link {
    font-size: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.15rem;
}

.promo-link:hover {
    color: #fff;
    text-decoration: underline;
    opacity: 0.8;
}

/* Promo Banner Colors - All white */
.promo-closeouts .promo-title {
    color: #fff;
}

.promo-financing .promo-title {
    color: #fff;
}

.promo-delivery .promo-title {
    color: #fff;
}

.promo-warranty .promo-title {
    color: #fff;
}

.pricing-section .stock-status {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0;
    display: inline-block;
    font-size: 0.8rem;
}

.pricing-section .stock-status i {
    font-size: 0.8rem;
}

.pricing-section .stock-status span {
    font-size: 0.8rem;
}

/* Category Icons - Modern Line Drawings */
.category-icon {
    width: 100%;
    height: 180px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 25px 30px 25px;
}

/* Refrigerator SVG specific styling */
.category-icon svg {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    max-width: 100px;
}

/* Make all SVG strokes uniform thickness regardless of scaling */
.category-icon svg * {
    vector-effect: non-scaling-stroke;
    stroke-width: 3px !important;
}

/* Increase border radius on SVG rectangles and paths for smoother corners */
.category-icon svg rect {
    rx: 5px !important;
    ry: 5px !important;
}

.category-icon svg path {
    stroke-linejoin: round !important;
    stroke-linecap: round !important;
}

/* Checkout Pages Styles */
.checkout-progress {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #e11584;
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step.active .step-label {
    color: #e11584;
}

.step.completed .step-label {
    color: #28a745;
}

.checkout-form {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.step-title {
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.order-summary {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    gap: 1rem;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    flex-shrink: 0;
}

.item-details {
    flex: 1;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    background-color: #fff;
}

.item-details h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.item-details p {
    margin: 0.25rem 0;
    color: #6c757d;
}

.item-details small {
    color: #6c757d;
}

.item-price {
    font-weight: 600;
    color: #333;
}

.order-totals {
    margin-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.total-final {
    font-weight: 700;
    font-size: 1.1rem;
    color: #e11584;
    border-top: 2px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    border-color: #e11584;
    box-shadow: 0 0 0 0.2rem rgba(225, 21, 132, 0.25);
}

.btn-primary {
    background-color: #e11584;
    border-color: #e11584;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #c4126f;
    border-color: #c4126f;
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

.order-item.sub-item {
    padding-left: 1.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-right: 0.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    border-left: 2px solid #e11584;
    background-color: #f8f9fa;
    border-radius: 0 4px 4px 0;
}

.order-item.sub-item .item-details h6 {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.order-item.sub-item .item-price {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

.order-item.sub-item .item-details p {
    font-size: 0.65rem;
    color: #6c757d;
    margin-bottom: 0;
}

.order-item.main-item {
    border-bottom: 0px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

/* Delivery Button Styles */
.delivery-btn {
    padding: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.delivery-options {
    max-width: 500px;
    margin: 0 auto;
}

/* Payment Method Styling */
.payment-option {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.payment-option:hover {
    border-color: #e11584;
    background-color: #f8f9fa;
}

.payment-option .form-check {
    margin-bottom: 0;
}

.payment-option .form-check-input {
    margin-top: 0.25rem;
}

.payment-option .form-check-input:checked + .form-check-label {
    color: #e11584;
    font-weight: 600;
}

.payment-option .form-check-input:checked {
    background-color: #e11584;
    border-color: #e11584;
}

.payment-text {
    font-weight: 500;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.payment-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.payment-option:hover .payment-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.payment-option .form-check-input:checked ~ .form-check-label .payment-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Payment Logo Styling */
.payment-logo {
    height: 20px;
    width: auto;
}

/* Payment Section Styling */
.payment-section {
    display: none;
}

.payment-section.active {
    display: block;
}

@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 1rem;
    }
    
    .step-label {
        text-align: left;
    }
}

.financing-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0;
}

.financing-details {
    line-height: 1.1;
    margin-top: 2px;
}

/* Product Page Dividers */
.product-info hr {
    border-color: #e9ecef;
    opacity: 0.8;
    margin: 1rem 0;
}

/* Product Page Stock Status */
.stock-status {
    font-size: 0.9rem;
}

.stock-status i {
    font-size: 1rem;
}

/* Product Page Pricing Section - Best Buy Inspired */
.pricing-section {
    padding: 1rem 0 0 0;
    background: none;
    border: none;
}

.pricing-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

/* Main Price Section */
.price-main {
    flex: 0 0 auto;
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    margin: 0;
    line-height: 1.2;
}

.price-original {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
    margin: 0;
    display: inline-block;
    margin-right: 0.75rem;
}

.price-savings {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Financing Section */
.price-financing {
    flex: 0 0 auto;
    text-align: left;
    padding-left: 1rem;
    border-left: 1px solid #dee2e6;
}

.financing-divider {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.financing-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
}

.financing-terms {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.financing-provider {
    font-size: 0.75rem;
    color: #007bff;
}


/* Promo Section */
.promo-section {
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block !important;
    width: auto !important;
    max-width: fit-content !important;
    text-transform: uppercase;
}

/* Promo Banner Section */
.promo-banner-section {
    background: #444;
    border-bottom: 0;
}

.promo-banner {
    padding: 0.5rem;
    text-align: center;
    border-right: 1px solid #555;
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.promo-banner:last-child {
    border-right: none;
}

.promo-banner:hover {
    background-color: #555;
}

.promo-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: #666;
}

.col-md-4:last-child .promo-banner::after {
    display: none;
}



.promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.0rem;
}

.promo-title {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.promo-subtitle {
    font-size: 10px;
    margin: 0;
    color: #fff;
    font-weight: 500;
}

.promo-link {
    font-size: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.15rem;
}

.promo-link:hover {
    color: #fff;
    text-decoration: underline;
    opacity: 0.8;
}

/* Promo Banner Colors - All white */
.promo-closeouts .promo-title {
    color: #fff;
}

.promo-financing .promo-title {
    color: #fff;
}

.promo-delivery .promo-title {
    color: #fff;
}

.promo-warranty .promo-title {
    color: #fff;
}

.pricing-section .stock-status {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0;
    display: inline-block;
    font-size: 0.8rem;
}

.pricing-section .stock-status i {
    font-size: 0.8rem;
}

.pricing-section .stock-status span {
    font-size: 0.8rem;
}

/* Category Icons - Modern Line Drawings */
.category-icon {
    width: 100%;
    height: 180px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 25px 30px 25px;
}

/* Refrigerator SVG specific styling */
.category-icon svg {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    max-width: 100px;
}

/* Make all SVG strokes uniform thickness regardless of scaling */
.category-icon svg * {
    vector-effect: non-scaling-stroke;
    stroke-width: 3px !important;
}

/* Increase border radius on SVG rectangles and paths for smoother corners */
.category-icon svg rect {
    rx: 5px !important;
    ry: 5px !important;
}

.category-icon svg path {
    stroke-linejoin: round !important;
    stroke-linecap: round !important;
}

.appliance-icon {
    position: relative;
    width: 80px;
    height: 80px;
}

/* Base appliance body */
.appliance-body {
    width: 100%;
    height: 100%;
    border: 2px solid #333;
    border-radius: 4px;
    position: relative;
}

/* Refrigerator */
.refrigerator .appliance-body {
    width: 70px;
    height: 90px;
}

.refrigerator .door-seam {
    position: absolute;
    width: 2px;
    height: 90px;
    background: #333;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.refrigerator .freezer-compartment {
    position: absolute;
    width: 30px;
    height: 25px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 5px;
}

.refrigerator .fridge-compartment {
    position: absolute;
    width: 30px;
    height: 55px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 35px;
    left: 5px;
}

.refrigerator .door-handle {
    position: absolute;
    width: 3px;
    height: 40px;
    background: #333;
    border-radius: 1.5px;
    right: 5px;
    top: 25px;
}

.refrigerator .control-panel {
    position: absolute;
    width: 20px;
    height: 8px;
    border: 1px solid #333;
    border-radius: 1px;
    top: 5px;
    right: 5px;
}

/* Washer */
.washer .appliance-body {
    width: 70px;
    height: 70px;
    border-radius: 6px;
}

.washer .door-window {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid #333;
    border-radius: 50%;
    top: 10px;
    left: 10px;
}

.washer .door-handle {
    position: absolute;
    width: 3px;
    height: 20px;
    background: #333;
    border-radius: 1.5px;
    right: 10px;
    top: 25px;
}

.washer .control-panel {
    position: absolute;
    width: 60px;
    height: 10px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 5px;
}

.washer .water-inlet {
    position: absolute;
    width: 8px;
    height: 4px;
    border: 1px solid #333;
    border-radius: 1px;
    top: -2px;
    left: 10px;
}

/* Dryer */
.dryer .appliance-body {
    width: 70px;
    height: 70px;
    border-radius: 6px;
}

.dryer .door-window {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid #333;
    border-radius: 50%;
    top: 10px;
    left: 10px;
}

.dryer .door-handle {
    position: absolute;
    width: 3px;
    height: 20px;
    background: #333;
    border-radius: 1.5px;
    right: 10px;
    top: 25px;
}

.dryer .control-panel {
    position: absolute;
    width: 60px;
    height: 10px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 5px;
}

.dryer .lint-filter {
    position: absolute;
    width: 20px;
    height: 4px;
    border: 1px solid #333;
    border-radius: 1px;
    top: -2px;
    left: 10px;
}

/* Laundry Pair */
.laundry-pair {
    width: 100px;
    height: 70px;
}

.laundry-pair .washer-unit,
.laundry-pair .dryer-unit {
    position: absolute;
    width: 40px;
    height: 60px;
    border: 2px solid #333;
    border-radius: 4px;
    top: 10px;
}

.laundry-pair .washer-unit {
    left: 5px;
}

.laundry-pair .dryer-unit {
    right: 5px;
}

.laundry-pair .door-window {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid #333;
    border-radius: 50%;
    top: 20px;
    left: 7.5px;
}

.laundry-pair .connection-line {
    position: absolute;
    width: 10px;
    height: 2px;
    background: #333;
    top: 40px;
    left: 45px;
}

/* Range */
.range .appliance-body {
    width: 80px;
    height: 60px;
}

.range .oven-door {
    position: absolute;
    width: 60px;
    height: 35px;
    border: 2px solid #333;
    border-radius: 3px;
    bottom: 5px;
    left: 10px;
}

.range .door-handle {
    position: absolute;
    width: 3px;
    height: 25px;
    background: #333;
    border-radius: 1.5px;
    right: 10px;
    bottom: 12px;
}

.range .control-panel {
    position: absolute;
    width: 70px;
    height: 12px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 5px;
}

.range .burner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #333;
    border-radius: 50%;
    top: 20px;
}

.range .burner-1 { left: 15px; }
.range .burner-2 { left: 30px; }
.range .burner-3 { left: 45px; }
.range .burner-4 { left: 60px; }

/* Dishwasher */
.dishwasher .appliance-body {
    width: 80px;
    height: 70px;
}

.dishwasher .door-panel {
    position: absolute;
    width: 60px;
    height: 45px;
    border: 2px solid #333;
    border-radius: 3px;
    bottom: 5px;
    left: 10px;
}

.dishwasher .door-handle {
    position: absolute;
    width: 3px;
    height: 30px;
    background: #333;
    border-radius: 1.5px;
    right: 10px;
    bottom: 20px;
}

.dishwasher .control-panel {
    position: absolute;
    width: 70px;
    height: 10px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 5px;
}

.dishwasher .rack {
    position: absolute;
    width: 50px;
    height: 6px;
    border: 1px solid #333;
    border-radius: 1px;
    left: 15px;
}

.dishwasher .rack-1 { top: 15px; }
.dishwasher .rack-2 { top: 25px; }
.dishwasher .rack-3 { top: 35px; }

/* Cooktop */
.cooktop .appliance-body {
    width: 80px;
    height: 50px;
}

.cooktop .control-panel {
    position: absolute;
    width: 70px;
    height: 12px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 5px;
}

.cooktop .burner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #333;
    border-radius: 50%;
    top: 25px;
}

.cooktop .burner-1 { left: 15px; }
.cooktop .burner-2 { left: 30px; }
.cooktop .burner-3 { left: 45px; }
.cooktop .burner-4 { left: 60px; }

.cooktop .center-burner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    top: 35px;
    left: 30px;
}

/* Microwave */
.microwave .appliance-body {
    width: 70px;
    height: 60px;
}

.microwave .door-window {
    position: absolute;
    width: 50px;
    height: 35px;
    border: 2px solid #333;
    border-radius: 3px;
    bottom: 5px;
    left: 10px;
}

.microwave .door-handle {
    position: absolute;
    width: 3px;
    height: 25px;
    background: #333;
    border-radius: 1.5px;
    right: 10px;
    bottom: 17px;
}

.microwave .control-panel {
    position: absolute;
    width: 50px;
    height: 12px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 10px;
}

.microwave .turntable {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid #333;
    border-radius: 50%;
    bottom: 15px;
    left: 20px;
}

.microwave .ventilation {
    position: absolute;
    width: 60px;
    height: 4px;
    border: 1px solid #333;
    border-radius: 1px;
    top: -2px;
    left: 5px;
}

/* Ventilation */
.ventilation .appliance-body {
    width: 80px;
    height: 50px;
}

.ventilation .chimney {
    position: absolute;
    width: 50px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 2px;
    top: -10px;
    left: 15px;
}

.ventilation .control-panel {
    position: absolute;
    width: 70px;
    height: 10px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 5px;
}

.ventilation .fan-blades {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    top: 15px;
    left: 20px;
}

.ventilation .grease-filter {
    position: absolute;
    width: 60px;
    height: 6px;
    border: 1px solid #333;
    border-radius: 1px;
    bottom: 5px;
    left: 10px;
}

/* Freezer */
.freezer .appliance-body {
    width: 70px;
    height: 90px;
}

.freezer .door-handle {
    position: absolute;
    width: 3px;
    height: 50px;
    background: #333;
    border-radius: 1.5px;
    right: 5px;
    top: 20px;
}

.freezer .compartment {
    position: absolute;
    width: 30px;
    height: 20px;
    border: 1px solid #333;
    border-radius: 2px;
    left: 5px;
}

.freezer .compartment-1 { top: 5px; }
.freezer .compartment-2 { top: 30px; }
.freezer .compartment-3 { top: 55px; }

.freezer .ice-maker {
    position: absolute;
    width: 25px;
    height: 12px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    right: 5px;
}

/* Wall Oven */
.wall-oven .appliance-body {
    width: 80px;
    height: 70px;
}

.wall-oven .oven-door {
    position: absolute;
    width: 60px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 3px;
    bottom: 5px;
    left: 10px;
}

.wall-oven .door-handle {
    position: absolute;
    width: 3px;
    height: 30px;
    background: #333;
    border-radius: 1.5px;
    right: 10px;
    bottom: 20px;
}

.wall-oven .control-panel {
    position: absolute;
    width: 70px;
    height: 12px;
    border: 1px solid #333;
    border-radius: 2px;
    top: 5px;
    left: 5px;
}

.wall-oven .oven-rack {
    position: absolute;
    width: 50px;
    height: 2px;
    background: #333;
    bottom: 25px;
    left: 15px;
}

.wall-oven .heating-element {
    position: absolute;
    width: 50px;
    height: 2px;
    background: #333;
    bottom: 10px;
    left: 15px;
}

/* Clearance */
.clearance {
    width: 80px;
    height: 80px;
}

.clearance .sale-tag {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 2px;
    top: 10px;
    left: 10px;
    transform: rotate(-15deg);
}

.clearance .price-tag {
    position: absolute;
    width: 40px;
    height: 25px;
    border: 2px solid #333;
    border-radius: 3px;
    top: 15px;
    right: 10px;
}

.clearance .sale-text {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.clearance .discount-text {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #666;
}

.clearance .product-box {
    position: absolute;
    width: 60px;
    height: 25px;
    border: 1px solid #333;
    border-radius: 2px;
    bottom: 10px;
    left: 10px;
}

/* Product Page Add to Cart Button */
.btn-primary {
    background-color: #e11584;
    border-color: #e11584;
}

.btn-primary:hover {
    background-color: #c4126f;
    border-color: #c4126f;
}



/* Top Deals Section - AJ Madison Style Product Cards */
.product-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-image-container {
  position: relative;
  background: #f8f9fa;
  padding: 2rem;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image-link {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  align-items: center;
  justify-content: center;
}

.product-image-link:hover {
  text-decoration: none;
  color: inherit;
}

.product-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-title-link:hover {
  text-decoration: none;
  color: inherit;
}

.save-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc3545;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.quick-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.quick-action-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.quick-action-btn:hover {
  background: #e11584;
}

.quick-action-btn:hover i {
  color: white;
}

.quick-action-btn i {
  font-size: 14px;
  color: #666;
}

.product-info {
  padding: 1.5rem;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-badge {
  display: inline-block;
  background: #e3f2fd;
  color: #1976d2;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  min-height: 2.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-model {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.stars {
  display: flex;
  gap: 1px;
}

.stars i {
  color: #ffc107;
  font-size: 0.7rem;
}

.rating-count {
  font-size: 0.7rem;
  color: #666;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.current-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #dc3445;
}

.original-price {
  font-size: 0.85rem;
  color: #999;
  text-decoration: line-through;
}

.savings-amount {
  font-size: 0.8rem;
  color: #dc3545;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.countdown-timer {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  padding: 0.3rem;
  margin-bottom: 0.4rem;
}

.countdown-label {
  font-size: 0.65rem;
  color: #856404;
  font-weight: 600;
  margin-bottom: 0.2rem;
  text-align: center;
}

.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 22px;
}

.countdown-number {
  background: #dc3545;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
  min-width: 22px;
  text-align: center;
  line-height: 1;
}

.countdown-label-small {
  font-size: 0.55rem;
  color: #856404;
  font-weight: 500;
  margin-top: 0.1rem;
}

.countdown-separator {
  font-size: 0.8rem;
  font-weight: 700;
  color: #dc3545;
  margin-top: -0.2rem;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-view-details {
  background: transparent;
  color: #666;
  border: 1px solid #dee2e6;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-view-details:hover {
  background: #e11584;
  color: white;
  border-color: #e11584;
}

/* Responsive adjustments for product cards */
@media (max-width: 1200px) {
  .col-5-cards {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (max-width: 992px) {
  .col-5-cards {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 768px) {
  .col-5-cards {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .product-image-container {
    height: 280px;
    padding: 1.5rem;
  }
  
  .product-info {
    padding: 1rem;
  }
  
  .current-price {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .col-5-cards {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .product-image-container {
    height: 300px;
  }
}

/* Category Page Styles */
.breadcrumb {
    font-size: 0.8rem;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #e21484;
}

.form-check {
    margin-bottom: 0.4rem;
}

.form-check-label {
    font-size: 0.8rem;
    color: #666;
}

.form-check-input:checked {
    background-color: #e21484;
    border-color: #e21484;
}

.range-slider {
    margin-bottom: 0.75rem;
}

.form-range::-webkit-slider-thumb {
    background: #e21484;
}

.form-range::-moz-range-thumb {
    background: #e21484;
}

.form-range::-ms-thumb {
    background: #e21484;
}

/* Sort dropdown styling */
.form-select {
    border-color: #dee2e6;
    font-size: 0.8rem;
}

.form-select:focus {
    border-color: #e21484;
    box-shadow: 0 0 0 0.25rem rgba(226, 20, 132, 0.25);
}

/* Pagination styling */
.pagination .page-link {
    color: #333;
    border-color: #dee2e6;
    font-size: 0.8rem;
}

.pagination .page-item.active .page-link {
    background-color: #e21484;
    border-color: #e21484;
}

.pagination .page-link:hover {
    color: #e21484;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link:hover {
    color: #fff;
}

/* Filter card styling */
.card-body h6 {
    color: #333;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Product grid specific styles */
.product-grid .card-img-top {
    height: 280px;
    padding: 1.5rem;
}

/* Category page product cards */
.category-products .card-img-top {
    height: 280px;
    padding: 1.25rem;
    object-fit: contain;
}

/* Section headings */
section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* --- From product.html --- */
.product-gallery {
  position: relative;
}
.product-gallery .main-image {
  height: 500px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #eeeff2;
}
.product-gallery .thumbnail {
  width: 80px;
  height: 80px;
  object-fit: contain;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.product-gallery .thumbnail:hover,
.product-gallery .thumbnail.active {
  border-color: #e21484;
}
.product-info {
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Product Page Title */
.product-info h1.h2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  color: #333;
}
.product-price {
  font-size: 2rem;
  font-weight: 600;
  color: #e21484;
}
.product-price .original {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
}
.product-features {
  list-style: none;
  padding: 0;
}
.product-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.product-features li i {
  color: #e21484;
  margin-right: 0.5rem;
}
.quantity-selector {
  width: 120px;
}
.related-products .card {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.related-products .card-img-top {
  height: 200px;
  padding: 1rem;
}

/* --- From cart.html --- */
.cart-product-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #f8f9fa;
  border-radius: 8px;
}
.cart-summary {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 0rem;
}
.warranty-options label, .service-options label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.warranty-group, .service-group {
  margin-bottom: 1.5rem;
}
.remove-btn {
  color: #e21484;
  background: none;
  border: none;
  font-size: 0.65rem;
  cursor: pointer;
}
.cart-total-box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}
.cart-total-box .btn {
  width: 100%;
}
.in-stock {
  color: #28a745;
  font-weight: 500;
}
.savings {
  color: #e21484;
  font-weight: 500;
}

.row-total {
  color: #dc3445 !important;
  font-weight: 600;
  font-size: 1rem;
}

.cart-total {
  color: #dc3445 !important;
  font-weight: 700;
  font-size: 1.3rem;
}
.old-price {
  color: #999;
  text-decoration: line-through;
  font-size: 1rem;
}
.cart-qty {
  width: 110px;
}
.warranty-group label, 
.additional-services-group label {
  font-size: 12px !important;
}
.btn-checkout {
  background-color: #e21484;
  color: #fff;
  border: none;
}
.btn-checkout:hover, .btn-checkout:focus {
  background-color: #c0136b;
  color: #fff;
}

/* Condensed Filters Sidebar */
.filters-sidebar {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    font-size: 0.8rem;
}

.filters-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.filter-group {
    border-bottom: 1px solid #f8f9fa;
    margin-bottom: 0.5rem;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.filter-header:hover {
    color: #e21484;
}

.filter-header i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.filter-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.filter-options {
    padding: 0.25rem 0 0.5rem 0;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    cursor: pointer;
    font-size: 0.75rem;
    color: #666;
    transition: color 0.2s ease;
}

.filter-option:hover {
    color: #333;
}

.filter-option input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 14px;
    height: 14px;
    accent-color: #e21484;
}

.filter-option span {
    flex: 1;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-inputs input {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 3px;
}

.price-inputs span {
    color: #666;
    font-size: 0.75rem;
}

.form-range {
    height: 4px;
    margin: 0.5rem 0;
}

.form-range::-webkit-slider-thumb {
    background: #e21484;
    width: 12px;
    height: 12px;
}

.form-range::-moz-range-thumb {
    background: #e21484;
    width: 12px;
    height: 12px;
    border: none;
}

.form-range::-ms-thumb {
    background: #e21484;
    width: 12px;
    height: 12px;
}

/* Responsive adjustments for filters */
@media (max-width: 992px) {
    .filters-sidebar {
        margin-bottom: 1rem;
    }
    
    .filter-header {
        padding: 0.75rem 0;
    }
    
    .filter-options {
        padding: 0.5rem 0 0.75rem 0;
    }
}

/* Quick Filters at Top */
.quick-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-section {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    min-width: 45px;
    margin-top: 0.1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.2rem;
    flex-wrap: wrap;
    flex: 1;
}

.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    line-height: 1.2;
}

.filter-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #333;
    text-decoration: none;
}

.filter-btn.active {
    background: #333;
    border-color: #333;
    color: white;
}

.filter-btn.active:hover {
    background: #222;
    border-color: #222;
    color: white;
}

/* Responsive adjustments for quick filters */
@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .filter-label {
        min-width: auto;
        margin-top: 0;
    }
    
    .filter-buttons {
        gap: 0.15rem;
    }
    
    .filter-btn {
        padding: 0.1rem 0.4rem;
        font-size: 0.6rem;
    }
}

/* Checkout Pages Styles */
.checkout-progress {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #e11584;
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step.active .step-label {
    color: #e11584;
}

.step.completed .step-label {
    color: #28a745;
}

.checkout-form {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.step-title {
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.order-summary {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    gap: 1rem;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    flex-shrink: 0;
}

.item-details {
    flex: 1;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    background-color: #fff;
}

.item-details h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.item-details p {
    margin: 0.25rem 0;
    color: #6c757d;
}

.item-details small {
    color: #6c757d;
}

.item-price {
    font-weight: 600;
    color: #333;
}

.order-totals {
    margin-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.total-final {
    font-weight: 700;
    font-size: 1.1rem;
    color: #e11584;
    border-top: 2px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    border-color: #e11584;
    box-shadow: 0 0 0 0.2rem rgba(225, 21, 132, 0.25);
}

.btn-primary {
    background-color: #e11584;
    border-color: #e11584;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #c4126f;
    border-color: #c4126f;
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

.order-item.sub-item {
    padding-left: 1.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-right: 0.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    border-left: 2px solid #e11584;
    background-color: #f8f9fa;
    border-radius: 0 4px 4px 0;
}

.order-item.sub-item .item-details h6 {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.order-item.sub-item .item-price {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

.order-item.sub-item .item-details p {
    font-size: 0.65rem;
    color: #6c757d;
    margin-bottom: 0;
}

.order-item.main-item {
    border-bottom: 0px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 1rem;
    }
    
    .step-label {
        text-align: left;
    }
}

/* Delivery Button Styles */
.delivery-btn {
    padding: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.delivery-options {
    max-width: 500px;
    margin: 0 auto;
}

/* Payment Method Styling */
.payment-option {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.payment-option:hover {
    border-color: #e11584;
    background-color: #f8f9fa;
}

.payment-option .form-check {
    margin-bottom: 0;
}

.payment-option .form-check-input {
    margin-top: 0.25rem;
}

.payment-option .form-check-input:checked + .form-check-label {
    color: #e11584;
    font-weight: 600;
}

.payment-option .form-check-input:checked {
    background-color: #e11584;
    border-color: #e11584;
}

.payment-text {
    font-weight: 500;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.payment-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.payment-option:hover .payment-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.payment-option .form-check-input:checked ~ .form-check-label .payment-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Delivery Estimate Form Styling */
.delivery-estimate {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
}

.delivery-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.delivery-form .input-group {
    margin-bottom: 0.5rem;
}

.delivery-form .form-control {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.delivery-form .form-control:focus {
    border-color: #e11584;
    box-shadow: 0 0 0 0.2rem rgba(225, 21, 132, 0.25);
}

.delivery-form .btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.delivery-form .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.delivery-form .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.delivery-form .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.delivery-result {
    animation: fadeIn 0.3s ease-in;
}

.delivery-result-hidden {
    display: none;
}

.summary-item-hidden {
    display: none;
}

.delivery-date {
    font-size: 0.85rem;
    line-height: 1.4;
}

.delivery-note {
    font-size: 0.75rem;
    line-height: 1.3;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Literature Tab Styling */
.literature-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.literature-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.literature-section h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.literature-section h5 i {
    font-size: 1.1rem;
}

.literature-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.literature-item:hover {
    background: #fff;
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
    transform: translateY(-1px);
}

.literature-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.literature-link:hover {
    text-decoration: none;
    color: #0d6efd;
}

.literature-link strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.9rem;
}

.literature-link .text-muted {
    font-size: 0.75rem;
    line-height: 1.3;
}

.literature-link i {
    font-size: 1.1rem;
    vertical-align: middle;
}

/* Product Features Section (Left Side) */
.product-features-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.product-features-section h6 {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.product-features-section .product-features {
    margin-bottom: 0;
}

.product-features-section .product-features li {
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

.product-features-section .product-features li:last-child {
    margin-bottom: 0;
}

.product-features-section .product-features i {
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

/* Literature tab specific icon colors */
.literature-section h5 i.bi-file-earmark-text {
    color: #0d6efd;
}

.literature-section h5 i.bi-shield-check {
    color: #198754;
}

.literature-section h5 i.bi-lightning-charge {
    color: #ffc107;
}

.literature-section h5 i.bi-link-45deg {
    color: #6f42c1;
}

/* Responsive adjustments for literature tab */
@media (max-width: 768px) {
    .literature-item {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .literature-section h5 {
        font-size: 0.9rem;
    }
    
    .literature-link strong {
        font-size: 0.85rem;
    }
    
    .literature-link .text-muted {
        font-size: 0.7rem;
    }
}

/* Cart summary - remove horizontal dividers */
.cart-summary tfoot tr {
    border-top: none !important;
    border-bottom: none !important;
}

.cart-summary tfoot tr td {
    border-top: none !important;
    border-bottom: none !important;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.cart-summary tfoot tr:first-child td {
    border-top: none !important;
}

.cart-summary tfoot tr:last-child td {
    border-bottom: none !important;
}

/* Payment Logo Styling */
.payment-logo {
    height: 20px;
    width: auto;
}

/* Payment Section Styling */
.payment-section {
    display: none;
}

.payment-section.active {
    display: block;
}

/* Cart Page Styling */
.cart-container {
    background: #fff;
    margin-bottom: 2rem;
}

.cart-table {
    margin-bottom: 0;
}

.cart-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #333;
    padding: 1rem 0.75rem;
}

.cart-table tbody td {
    padding: 1.5rem 0.75rem;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

/* Product Info Styling */
.product-info-header {
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    line-height: 1.1;
    min-height: auto;
}

.product-model {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Warranty and Services Styling */
.warranty-group, .additional-services-group {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.warranty-group .fw-bold, .additional-services-group .fw-bold {
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-label {
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #e11584;
    border-color: #e11584;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #f8f9fa;
    border-color: #e11584;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem;
}

/* Price Styling */
.price-current {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e11584;
    margin-bottom: 0.25rem;
}

.price-original {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.row-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Cart Summary Styling */
.cart-summary-section {
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
}

.cart-summary tfoot tr {
    border-top: none !important;
    border-bottom: none !important;
}

.cart-summary tfoot tr td {
    border-top: none !important;
    border-bottom: none !important;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background: transparent;
    line-height: 1.4;
}

.cart-summary tfoot tr:first-child td {
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
}

.cart-summary tfoot tr:not(:first-child):not(:last-child) td {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.cart-summary tfoot tr:last-child td {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e11584;
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid #dee2e6;
}

/* Buttons */
.btn-primary {
    background-color: #e11584;
    border-color: #e11584;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: #c4126f;
    border-color: #c4126f;
}

.remove-btn {
    color: #dc3545;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: #a71e2a;
    text-decoration: none;
}

/* Status Messages */
.text-success {
    color: #28a745 !important;
    font-weight: 500;
}

/* Cart Table Column Widths */
.cart-table th.col-image {
    width: 120px;
}

.cart-table th.col-quantity {
    width: 180px;
}

.cart-table th.col-price {
    width: 140px;
}

.cart-table th.col-total {
    width: 140px;
}

/* Responsive */
@media (max-width: 768px) {
    /* Normalize radio/checkbox sizing and spacing in cart page */
    .cart-container .form-check-input[type="radio"],
    .cart-container .form-check-input[type="checkbox"] {
        min-height: 0 !important;
        height: 1.1rem;
        width: 1.1rem;
    }
    .cart-container .form-check-input {
        margin-top: 0 !important;
    }
    .cart-container .form-check {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .cart-container {
        padding: 1rem;
    }
    
    .cart-table tbody td {
        padding: 1rem 0.5rem;
    }
    
    .warranty-group, .additional-services-group {
        padding: 0.75rem;
    }
}

/* ========================================
   MOBILE NAVIGATION STYLES
   ======================================== */

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mobile-nav-toggle:focus {
    outline: 2px solid #e11584;
    outline-offset: 2px;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icons .btn {
    padding: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.header-icons .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Smaller cart count badge */
.cart-count-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    transform: translate(-50%, -50%) !important;
}

/* Desktop header icon-only buttons */
@media (min-width: 992px) {
    .header-buttons .header-icon-only {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff !important;
        border-color: rgba(255,255,255,0.5);
        background: transparent;
    }
    .header-buttons .header-icon-only i {
        font-size: 1.2rem;
        line-height: 1;
    }
    .header-buttons .header-icon-only:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255,255,255,0.6);
    }

    .call-us {
        color: #fff;
        font-weight: 600;
    }
    .call-us i {
        color: #fff;
    }
    .call-us .call-label {
        font-size: 0.9rem;
        font-weight: 500;
        opacity: 0.85;
    }
    .call-us .call-number {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.1;
        margin-top: 2px;
    }
}

/* Mobile Search Bar - positioned in navigation area */
.mobile-search-bar {
    background: #222;
    border-top: 1px solid #444;
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 1000;
    display: block;
}

/* Remove borders from mobile header buttons */
@media (max-width: 991px) {
    /* Remove side padding from mobile search bar */
    .mobile-search-bar {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .mobile-search-bar .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .header-icons .btn-outline-light {
        border: none;
        background: none;
    }
    
    .header-icons .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border: none;
    }
}


.mobile-search-form .input-group {
    margin-bottom: 0;
    /* Sleek style to match desktop */
    background: #ffffff;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

.mobile-search-form .form-control {
    border: 0 !important;
    border-radius: 0;
    font-size: 16px;
    padding: 0.8rem 1rem;
    background: transparent !important;
    color: #333 !important;
    box-shadow: none;
}

.mobile-search-form .form-control::placeholder {
    color: #888;
}

.mobile-search-form .form-control:focus {
    border-color: transparent;
    box-shadow: none;
    outline: none;
    background: transparent;
}

.mobile-search-form .btn {
    border-radius: 0;
    padding: 0.8rem 1rem;
    background: transparent !important;
    border: 0 !important;
    color: #333 !important;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border-left: 1px solid #eee;
}

.mobile-search-form .btn:hover {
    background-color: #f5f5f5 !important;
    border-color: transparent;
}

.mobile-search-form .btn:focus {
    box-shadow: none;
}


@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%; /* Explicitly set height */
    background: white;
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.mobile-nav.active {
    transform: translateX(0);
    pointer-events: auto;
}

body.nav-open {
    overflow: hidden;
}

.mobile-nav-header {
    background: #222;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    flex-shrink: 0;
}

.mobile-nav-brand {
    flex: 1;
}

.mobile-nav-logo {
    height: 40px;
    width: auto;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: all 0.2s ease;
}

.mobile-nav-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mobile-nav-content {
    flex: 1;
    overflow-y: auto;
    background: white;
    min-height: 0; /* Prevent flex item from overflowing */
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-section {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-section:last-child {
    border-bottom: none;
}

.mobile-nav-section-title {
    display: block;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-submenu li {
    border-bottom: 1px solid #f8f9fa;
}

.mobile-nav-submenu li:last-child {
    border-bottom: none;
}

.mobile-nav-submenu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
}

.mobile-nav-submenu a:hover {
    background-color: #f8f9fa;
    color: #e11584;
    border-left-color: #e11584;
    text-decoration: none;
}

.mobile-nav-submenu a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    padding-top: 100px;
}

.search-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.search-container {
    background: white;
    margin: 0 1rem;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    max-height: 80vh;
    overflow-y: auto;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.search-header h5 {
    color: #333;
    margin: 0;
}

.search-form .input-group {
    margin-bottom: 0;
}

.search-form .form-control {
    font-size: 16px;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px 0 0 6px;
}

.search-form .btn {
    border-radius: 0 6px 6px 0;
    padding: 0.75rem 1rem;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1rem;
}

.search-result-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

/* Hide search overlay on mobile devices - only use slide-down bar */
@media (max-width: 991px) {
    .search-overlay {
        display: none !important;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar:not(.active) {
    transform: translateX(100%);
}

.cart-sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cart-sidebar-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-sidebar-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.cart-sidebar-footer {
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); /* Add safe area padding for iOS */
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cart-sidebar-footer .btn {
    flex: 1;
}

/* Fix stretched radio/checkbox controls in cart sidebar on mobile */
@media (max-width: 767px) {
    .cart-sidebar .form-check-input[type="radio"],
    .cart-sidebar .form-check-input[type="checkbox"] {
        min-height: 0 !important;
        height: 1.1rem;
        width: 1.1rem;
    }
    .cart-sidebar .form-check-input {
        margin-top: 0 !important;
    }
    .cart-sidebar .form-check {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile Navigation */
.mobile-nav-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons .btn {
    padding: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.header-icons .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

 

/* Mobile Navigation Overlay - AJ Madison Style */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    pointer-events: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    transform: translateX(0);
    pointer-events: auto;
}

body.nav-open {
    overflow: hidden;
}

.mobile-nav-header {
    background: #222;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
}

.mobile-nav-brand {
    flex: 1;
}

.mobile-nav-logo {
    height: 40px;
    width: auto;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.mobile-nav-content {
    flex: 1;
    overflow-y: auto;
    background: white;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-section {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-section:last-child {
    border-bottom: none;
}

.mobile-nav-section-title {
    display: block;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-submenu li {
    border-bottom: 1px solid #f8f9fa;
}

.mobile-nav-submenu li:last-child {
    border-bottom: none;
}

.mobile-nav-submenu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
}

.mobile-nav-submenu a:hover {
    background-color: #f8f9fa;
    color: #e11584;
    border-left-color: #e11584;
}

.mobile-nav-submenu a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    padding-top: 100px;
}

.search-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.search-container {
    background: white;
    margin: 0 1rem;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.search-header h5 {
    color: #333;
    margin: 0;
}

.search-form .input-group {
    margin-bottom: 0;
}

.search-form .form-control {
    font-size: 16px;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px 0 0 6px;
}

.search-form .btn {
    border-radius: 0 6px 6px 0;
    padding: 0.75rem 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container-fluid1 {
        max-width: 1680px;
    }
    
    .brand-logo {
        height: 45px;
    }
}

/* Large Devices (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .brand-logo {
        height: 40px;
    }
    
    .header-buttons .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Medium Devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .brand-logo {
        height: 35px;
    }
    
    .navbar-nav .nav-link {
        font-size: 13px;
        padding: 0.5rem 1rem;
    }
    
    .shop-button {
        font-size: 14px;
        padding: 8px 30px !important;
    }
}

/* Small Devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .brand-logo {
        height: 30px;
    }
    
    .mobile-nav-toggle {
        font-size: 1.3rem;
    }
    
    .header-icons .btn {
        font-size: 1.4rem;
        min-width: 48px;
        min-height: 48px;
        padding: 0.75rem;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575px) {
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Tighter spacing for shop by category on mobile */
    body section.container-fluid.shop-by-category.my-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    body section.shop-by-category h2.mb-4 {
        margin-bottom: 0.75rem !important;
    }
    
    body section.shop-by-category .row.g-4 {
        --bs-gutter-y: 0.5rem !important;
        --bs-gutter-x: 0.5rem !important;
        row-gap: 0.5rem !important;
        column-gap: 0.5rem !important;
        gap: 0.5rem !important;
        margin-top: 0 !important;
    }
    
    /* Featured brands: 2 across on extra small devices */
    body section.featured-brands .row.g-4 {
        --bs-gutter-y: 0.5rem !important;
        --bs-gutter-x: 0.5rem !important;
        row-gap: 0.5rem !important;
        column-gap: 0.5rem !important;
        gap: 0.5rem !important;
    }
    
    .brand-logo {
        height: 28px;
    }
    
    .mobile-nav-toggle {
        font-size: 1.2rem;
        padding: 0.4rem;
    }
    
    .header-icons .btn {
        font-size: 1.2rem;
        min-width: 44px;
        min-height: 44px;
        padding: 0.6rem;
    }
    
    .mobile-nav-content {
        margin: 0;
        padding: 0;
    }
    
    .search-container {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    /* Extra small mobile adjustments */
    .mobile-nav-submenu a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .mobile-nav-section-title {
        padding: 0.75rem 1rem 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .search-results {
        max-height: 250px;
    }
    
    /* Product cards on extra small screens */
    .col-5-cards {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-image-container {
        height: 250px;
        padding: 1rem;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    /* Typography adjustments */
    h1, .h1 { font-size: 1.4rem; }
    h2, .h2 { font-size: 1.2rem; }
    h3, .h3 { font-size: 1.1rem; }
    h4, .h4 { font-size: 1rem; }
    h5, .h5 { font-size: 0.95rem; }
    h6, .h6 { font-size: 0.9rem; }
    
    /* Button adjustments */
    .btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Make wishlist button full-width on mobile */
    .product-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .product-actions .btn-view-details {
        width: 100%;
        margin-right: 0 !important;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.6rem 1.25rem;
    }
}

/* ========================================
   MOBILE-SPECIFIC STYLES
   ======================================== */

@media (max-width: 991px) {
    /* Hide desktop elements on mobile */
    .navbar {
        display: none;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .region-selector {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
    
    .promo-banner-section {
        display: none;
    }
    
    /* Hide search icon on mobile */
    #mobile-search-btn {
        display: none;
    }
    
    /* Cart sidebar mobile behavior */
    .cart-sidebar {
        right: 0;
        transform: translateX(100%);
    }
    
    .cart-sidebar.active {
        transform: translateX(0);
    }
    
    /* Prevent horizontal scrolling on mobile */
    body {
        overflow-x: hidden;
    }
    
    /* Center text in sales/service/parts boxes on mobile */
    .container-fluid .row .col-md-4 > div {
        text-align: center;
    }
    
    /* Shop by category mobile layout - 2 cards across */
    section.container-fluid.shop-by-category.my-5 {
        margin-top: 0.75rem !important;
        margin-bottom: 0.75rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    section.shop-by-category h2.mb-4 {
        margin-bottom: 0.5rem !important;
        margin-top: 0 !important;
    }
    
    .shop-by-category .row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        margin-top: 0 !important;
    }

    /* Reduce Bootstrap gutters for category grid on mobile */
    section.shop-by-category .row.g-4 {
        --bs-gutter-y: 0.5rem !important;
        --bs-gutter-x: 0.5rem !important;
    }

    /* Remove extra card bottom margin inside category grid */
    section.shop-by-category .card {
        margin-bottom: 0 !important;
    }
    
    .shop-by-category .row > * {
        flex: 0 0 calc(50% - 0.25rem) !important;
        max-width: calc(50% - 0.25rem) !important;
        width: calc(50% - 0.25rem) !important;
        padding-top: 0 !important;
    }

    /* Featured brands: 2 across on mobile */
    section.featured-brands .row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    section.featured-brands .row > * {
        flex: 0 0 calc(50% - 0.25rem) !important;
        max-width: calc(50% - 0.25rem) !important;
        width: calc(50% - 0.25rem) !important;
    }
    
    /* Mobile header adjustments */
    .navbar-brand {
        text-align: center;
        justify-content: center;
    }
    
    .navbar-brand .brand-logo {
        height: 45px;
        width: auto;
    }
    
    /* Mobile navigation adjustments */
    .mobile-nav-menu a {
        font-size: 0.95rem;
    }
    
    .mobile-nav-submenu a {
        font-size: 0.85rem;
    }
    
    
    /* Mobile search overlay adjustments */
    .search-container {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    /* Mobile navigation menu adjustments */
    .mobile-nav-submenu a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .mobile-nav-section-title {
        padding: 0.75rem 1rem 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* ========================================
   TABLET-SPECIFIC STYLES
   ======================================== */

@media (min-width: 768px) and (max-width: 991px) {
    .mega-menu {
        padding: 10px;
    }
    
    .mega-menu .category-title {
        font-size: 13px;
    }
    
    .mega-menu .category-items li a {
        font-size: 12px;
    }
}

/* ========================================
   DESKTOP-SPECIFIC STYLES
   ======================================== */

@media (min-width: 992px) {
    /* Ensure desktop navigation is visible */
    .mobile-nav-toggle {
        display: none;
    }
    
    .header-icons {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .search-overlay {
        display: none;
    }
    
    .mobile-search-bar {
        display: none;
    }
    
    .cart-sidebar {
        display: none !important;
    }
    /* Allow product add-to-cart sidebar on desktop */
    #addToCartModal {
        display: flex !important;
        right: 0 !important;
        width: 480px !important;
        max-width: 520px !important;
    }
    
    /* Desktop header layout */
    .navbar-brand {
        text-align: left;
        justify-content: flex-start;
    }
    
    /* Desktop navigation hover effects */
    .navbar-nav .nav-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link:hover {
        color: #e21484 !important;
    }

    /* Keep Shop Appliances button text white on hover (desktop) */
    .navbar-nav .nav-link.shop-button:hover {
        color: #ffffff !important;
    }
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

/* Touch-friendly buttons on mobile */
@media (max-width: 767px) {
    .btn, .form-check-input, .form-control, .form-select {
        min-height: 44px; /* Apple's recommended minimum touch target */
    }
    
    .mobile-nav-menu a {
        min-height: 44px;
    }
    
    .quantity-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .filter-btn {
        min-height: 32px;
        padding: 0.5rem 0.75rem;
    }
}

/* Prevent zoom on iOS input focus */
@media (max-width: 767px) {
    .form-control, .form-select {
        font-size: 16px;
    }
}

/* Responsive typography */
@media (max-width: 767px) {
    h1, .h1 {
        font-size: 1.5rem;
    }
    
    h2, .h2 {
        font-size: 1.3rem;
    }
    
    h3, .h3 {
        font-size: 1.2rem;
    }
    
    h4, .h4 {
        font-size: 1.1rem;
    }
    
    h5, .h5 {
        font-size: 1rem;
    }
    
    h6, .h6 {
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Responsive spacing */
@media (max-width: 767px) {
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .my-4 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .my-5 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Override spacing for shop by category section specifically */
    section.container-fluid.my-5.shop-by-category {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    section.shop-by-category h2.mb-4 {
        margin-bottom: 0.5rem !important;
        margin-top: 0 !important;
    }
    
    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Responsive tables */
@media (max-width: 767px) {
    .table-responsive {
        border: none;
        width: 100% !important;
        overflow-x: auto; /* restore default scrolling behavior */
    }
    
    .table {
        margin-bottom: 0;
        width: 100% !important;
    }
    
    .cart-table {
        width: 100% !important;
        table-layout: auto;
        display: block; /* break out of table column constraints */
    }

    .cart-table tbody {
        display: block;
    }

    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody tr {
        display: block;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem;
        background: white;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .cart-table tbody td {
        display: block;
        padding: 0.5rem 0;
        border: none;
        text-align: left;
        width: 100% !important;
    }

    /* Make cart content full-bleed on mobile */
    .cart-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .cart-container .table-responsive {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .cart-table tbody tr {
        border-radius: 5px;
    }
}

/* Ensure cart table headers don't force width on mobile */
@media (max-width: 767px) {
    .cart-table th.col-image,
    .cart-table th.col-quantity,
    .cart-table th.col-price,
    .cart-table th.col-total {
        width: auto !important;
    }
}

/* Full-bleed cart container on small phones */
@media (max-width: 575px) {
    .cart-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .cart-container .table-responsive {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Full-bleed cart container on small tablets */
@media (min-width: 576px) and (max-width: 767px) {
    .cart-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .cart-container .table-responsive {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Compact cart layout and centered checkout button on mobile */
@media (max-width: 767px) {
    .cart-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .cart-table tbody tr {
        margin-bottom: 0.75rem;
        padding: 0.75rem;
    }
    .cart-table tbody td {
        padding: 0.4rem 0;
    }
    .warranty-group, .additional-services-group {
        padding: 0.5rem;
    }
    .cart-container .d-flex.justify-content-end {
        justify-content: center !important;
        padding: 0 10px;
    }
    .cart-container .d-flex.justify-content-end .btn {
        width: 100%;
        border-radius: 6px;
    }
}

/* Responsive forms */
@media (max-width: 767px) {
    .form-label {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .form-control, .form-select {
        font-size: 16px;
        padding: 0.75rem;
    }
    
    .input-group .form-control {
        border-radius: 6px 0 0 6px;
    }
    
    .input-group .btn {
        border-radius: 0 6px 6px 0;
    }
    
    /* Mobile-specific touch improvements */
    .btn, .form-check-input, .form-control, .form-select {
        min-height: 44px; /* Apple's recommended minimum touch target */
    }
    
    .mobile-nav-menu a {
        min-height: 44px;
    }
    
    .quantity-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .filter-btn {
        min-height: 32px;
        padding: 0.5rem 0.75rem;
    }
    
    /* Prevent zoom on iOS input focus */
    .form-control, .form-select {
        font-size: 16px;
    }
    
    /* Mobile navigation improvements */
    .mobile-nav-submenu a {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .mobile-nav-section-title {
        padding: 1rem 1.5rem 0.5rem 1.5rem;
        font-size: 0.8rem;
    }
    
    
    /* Mobile search improvements */
    .search-container {
        margin: 0 0.5rem;
        padding: 1rem;
        max-height: 90vh;
    }
    
    .search-results {
        max-height: 300px;
    }
}

/* Responsive cards */
@media (max-width: 767px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-img-top {
        height: 200px;
    }
}

/* Responsive navigation */
@media (max-width: 767px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        margin-right: 0;
    }
}

/* Enhanced checkout steps layout on mobile */
@media (max-width: 767px) {
    .checkout-progress {
        padding: 1rem;
    }
    .progress-steps {
        flex-direction: column;
        gap: 0.75rem;
    }
    .step {
        width: 100%;
        padding: 0.5rem 0.75rem;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        background: #f8f9fa;
    }
    .step-number {
        width: 28px;
        height: 28px;
        margin: 0 0.5rem 0 0;
    }
    .step-label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    .step.active {
        background: #ffffff;
        border-color: #e11584;
    }
    .step.completed {
        background: #ffffff;
        border-color: #28a745;
    }
}

/* Hide order summary sidebar on mobile for checkout pages */
@media (max-width: 767px) {
    /* Hide sidebar order summary except on final review page where we reinsert a copy at top */
    .row .order-summary {
        display: none !important;
    }
    /* Allow the dedicated top summary on checkout4 to show */
    .checkout-review-summary .order-summary {
        display: block !important;
    }
}

/* Normalize radio/checkbox sizing in checkout forms on mobile */
@media (max-width: 767px) {
    .checkout-form .form-check-input[type="radio"],
    .checkout-form .form-check-input[type="checkbox"] {
        min-height: 0 !important;
        height: 1.1rem;
        width: 1.1rem;
    }
    .checkout-form .form-check {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .checkout-form .form-check-input {
        margin-top: 0 !important;
    }
}

/* Responsive footer */
@media (max-width: 767px) {
    footer {
        padding: 2rem 0;
    }
    
    footer .col-md-4 {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    footer .col-md-4:last-child {
        margin-bottom: 0;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0 !important;
    }
    
    .newsletter-form .input-group .form-control {
        width: 100%;
        margin-bottom: 0 !important; /* no gap between input and button */
        display: block;
        box-sizing: border-box;
        border-left-width: 1px !important;
        border-right-width: 1px !important;
        border-top-left-radius: 6px !important;
        border-top-right-radius: 6px !important;
        border-bottom-left-radius: 0 !important; /* square bottom corners */
        border-bottom-right-radius: 0 !important;
    }
    
    .newsletter-form .input-group .btn,
    .newsletter-form .btn {
        margin-top: 0 !important; /* no gap between input and button */
        width: 100%;
        display: block;
        box-sizing: border-box;
        border-left-width: 1px !important;
        border-right-width: 1px !important;
        margin-left: 1px !important; /* nudge to align perfectly */
        border-top-left-radius: 0 !important; /* square top corners */
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 6px !important;
        border-bottom-right-radius: 6px !important;
    }

    /* Add a bit of space under the newsletter section on mobile */
    .newsletter-signup {
        margin-bottom: 1rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

/* Footer collapsible sections on mobile */
@media (max-width: 767px) {
    footer h5 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        margin-bottom: 0;
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    footer h5::after {
        content: '\25BC'; /* caret */
        font-size: 0.8rem;
        opacity: 0.8;
        transition: transform 0.2s ease;
    }
    footer h5[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    footer h5 + ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        margin-bottom: 0;
    }
    footer h5[aria-expanded="true"] + ul {
        max-height: 600px;
    }
}

@media print {
    .mobile-nav,
    .search-overlay,
    .mobile-nav-toggle,
    .header-icons,
    .navbar,
    .topbar {
        display: none !important;
    }
    
    .container-fluid {
        max-width: none !important;
        padding: 0 !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        page-break-inside: avoid;
    }
}

/* ... existing code ... */
@media (max-width: 767px) {
    /* Checkout action buttons: stack with spacing on mobile */
    .checkout-form .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.75rem;
    }
    .checkout-form .d-flex.justify-content-between .btn {
        width: 100%;
    }
}

/* Reduce checkout form padding on mobile (half of desktop) */
@media (max-width: 767px) {
    .checkout-form {
        padding: 1rem !important;
    }
}
/* ... existing code ... */

@media (min-width: 992px) {
    /* Sleek desktop search styling in header */
    header .col-lg-6 .input-group {
        background: #ffffff;
        border-radius: 9999px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        border: 1px solid rgba(0,0,0,0.05);
    }
    header .col-lg-6 .input-group .form-control {
        border: 0 !important;
        background: transparent !important;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        color: #333;
    }
    header .col-lg-6 .input-group .form-control::placeholder {
        color: #888;
    }
    header .col-lg-6 .input-group .form-control:focus {
        box-shadow: none !important;
        outline: none !important;
    }
    header .col-lg-6 .input-group .btn {
        border: 0 !important;
        background: transparent !important;
        color: #333 !important;
        padding: 0.8rem 1rem;
        border-left: 1px solid #eee;
    }
    header .col-lg-6 .input-group .btn:hover {
        background: #f5f5f5 !important;
    }
}

/* Shared Sleek Search Bar Styling */
.sleek-search .input-group {
    background: #ffffff;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}
.sleek-search .form-control {
    border: 0 !important;
    background: transparent !important;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    color: #333 !important;
}
.sleek-search .form-control::placeholder {
    color: #888;
}
.sleek-search .form-control:focus {
    box-shadow: none !important;
    outline: none !important;
}
.sleek-search .btn {
    border: 0 !important;
    background: transparent !important;
    color: #333 !important;
    padding: 0.8rem 1rem;
    border-left: 1px solid #eee;
}
.sleek-search .btn:hover {
    background: #f5f5f5 !important;
}

/* ... existing code ... */
    .mobile-search-form .input-group {
        margin-bottom: 0;
    }

    .mobile-search-form .form-control {
        border-radius: 4px 0 0 4px;
        font-size: 16px;
        padding: 12px 16px;
        box-shadow: none;
    }

    .mobile-search-form .form-control:focus {
        border-color: #e11584;
        box-shadow: 0 0 0 2px rgba(225, 21, 132, 0.2);
        outline: none;
    }

    .mobile-search-form .btn {
        border-radius: 0 4px 4px 0;
        padding: 12px 20px;
        border-color: #e11584;
        font-weight: 500;
        transition: background-color 0.2s ease;
    }

    .mobile-search-form .btn:hover {
        border-color: #c4126f;
    }

    .mobile-search-form .btn:focus {
        box-shadow: 0 0 0 2px rgba(225, 21, 132, 0.2);
    }
/* ... existing code ... */

/* ... existing code ... */
    .call-us .call-number {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.1;
        margin-top: 2px;
    }
}

/* Mobile Search Bar - positioned in navigation area */
.mobile-search-bar {
    background: #222;
    border-top: 1px solid #444;
    padding: 0.75rem 0;
    position: relative;
    z-index: 1000;
    display: block;
}

/* Shared Sleek Search Bar Styling */
.sleek-search .input-group {
    background: #ffffff;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}
.sleek-search .form-control {
    border: 0 !important;
    background: transparent !important;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    color: #333 !important;
}
.sleek-search .form-control::placeholder {
    color: #888;
}
.sleek-search .form-control:focus {
    box-shadow: none !important;
    outline: none !important;
}
.sleek-search .btn {
    border: 0 !important;
    background: transparent !important;
    color: #333 !important;
    padding: 0.8rem 1rem;
    border-left: 1px solid #eee;
}
.sleek-search .btn:hover {
    background: #f5f5f5 !important;
}

/* Remove borders from mobile header buttons and manage search padding */
@media (max-width: 991px) {
    .mobile-search-bar {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .header-icons .btn-outline-light {
        border: none;
        background: none;
    }
    
    .header-icons .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border: none;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation Overlay */
.mobile-nav {
/* ... existing code ... */