.single-service .icon-wrapper img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
}
.single-offer-product.verticle .promo-img {
  width: 100%;
  height: 680px !important;
  object-fit: cover !important;
}
.single-offer-product .promo-img {
  width: 100%;
  height: 328px !important;
  object-fit: cover !important;
}

.gs-footer-section .footer-row .left-info .social-links a i {
  color: black;
  transition: all 0.3s;
}
.gs-footer-section .footer-row .left-info .social-links a:hover i {
  color: white;
}

#cardNumber,
#securityCode,
#expirationDate {
  height: 60px;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fff;
  color: #505050;
  font-size: 14px;
  padding: 0px 18px;
}

#cardNumber,
#securityCode,
#expirationDate {
  margin-bottom: 18px;
}

@media screen and (max-width: 767px) {
  .single-offer-product .promo-img {
    height: 200px !important;
  }
  .single-offer-product.verticle .promo-img {
    height: 400px !important;
  }
}


/* Brand Color Button Overrides */
:root {
  --brand-primary: #16a34a;
  --brand-primary-hover: #15803d;
  --brand-primary-active: #14532d;
  --brand-primary-light: #22c55e;
}

/* ========================================
   HERO SLIDER MOBILE RESPONSIVE FIXES
======================================== */

/* Base Hero Section Improvements */
.hero-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gs-hero-section {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-attachment: scroll !important;
  position: relative;
  width: 100%;
  min-height: 500px;
}

/* Ensure slider content is visible on all devices */
.gs-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.gs-hero-section .container {
  position: relative;
  z-index: 2;
  height: 100%;
}

.gs-hero-section .row {
  height: 100%;
  min-height: inherit;
}

/* Hero Content Improvements */
.gs-hero-section .hero-content {
  position: relative;
  z-index: 3;
  padding: 40px 0;
}

/* Mobile-specific Hero Section Styles */
@media (max-width: 1199.98px) {
  .gs-hero-section {
    height: 500px !important;
    background-position: center center !important;
  }
}

@media (max-width: 991.98px) {
  .gs-hero-section {
    height: 450px !important;
    background-position: center center !important;
    background-size: cover !important;
  }
  
  .gs-hero-section .hero-content {
    text-align: center;
    padding: 30px 0;
  }
  
  .gs-hero-section .hero-content .title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }
  
  .gs-hero-section .hero-content .subtitle {
    font-size: 1rem !important;
    margin-bottom: 10px !important;
  }
  
  .gs-hero-section .hero-content .des {
    font-size: 1rem !important;
    margin-bottom: 30px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 767.98px) {
  .gs-hero-section {
    height: 400px !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: scroll !important;
  }
  
  .gs-hero-section::before {
    background: rgba(0, 0, 0, 0.2);
  }
  
  .gs-hero-section .hero-content {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  
  .gs-hero-section .hero-content .title {
    font-size: 2rem !important;
    line-height: 1.1 !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
  }
  
  .gs-hero-section .hero-content .subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
  }
  
  .gs-hero-section .hero-content .des {
    font-size: 0.95rem !important;
    margin-bottom: 25px !important;
    line-height: 1.4 !important;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gs-hero-section .hero-content .template-btn {
    padding: 12px 25px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
  }
}

@media (max-width: 575.98px) {
  .gs-hero-section {
    height: 350px !important;
    background-position: center center !important;
    background-size: cover !important;
  }
  
  .gs-hero-section .hero-content {
    padding: 15px 0;
  }
  
  .gs-hero-section .hero-content .title {
    font-size: 1.75rem !important;
    line-height: 1.1 !important;
    margin-bottom: 12px !important;
  }
  
  .gs-hero-section .hero-content .subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }
  
  .gs-hero-section .hero-content .des {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    max-width: 95%;
  }
  
  .gs-hero-section .hero-content .template-btn {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .gs-hero-section {
    height: 320px !important;
  }
  
  .gs-hero-section .hero-content .title {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }
  
  .gs-hero-section .hero-content .subtitle {
    font-size: 0.8rem !important;
    margin-bottom: 5px !important;
  }
  
  .gs-hero-section .hero-content .des {
    font-size: 0.85rem !important;
    margin-bottom: 15px !important;
    max-width: 100%;
  }
}

/* Slick Slider Mobile Improvements */
.hero-slider-wrapper .slick-list {
  overflow: hidden;
}

.hero-slider-wrapper .slick-track {
  display: flex;
  align-items: stretch;
}

.hero-slider-wrapper .slick-slide {
  float: none;
  height: auto;
  min-height: 350px;
}

.hero-slider-wrapper .slick-slide > div {
  height: 100%;
}

/* Dots styling for mobile */
.hero-slider-wrapper .slick-dots {
  bottom: 20px !important;
  z-index: 10;
}

.hero-slider-wrapper .slick-dots li {
  margin: 0 3px;
}

.hero-slider-wrapper .slick-dots li button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-slider-wrapper .slick-dots li.slick-active button {
  background: rgba(255, 255, 255, 1);
}

@media (max-width: 767.98px) {
  .hero-slider-wrapper .slick-dots {
    bottom: 15px !important;
  }
  
  .hero-slider-wrapper .slick-dots li button {
    width: 10px !important;
    height: 10px !important;
  }
}

/* Ensure slider is properly initialized on mobile */
.hero-slider-wrapper.slick-initialized .slick-slide {
  display: block;
}

/* Force background image to display properly */
.gs-hero-section[data-background] {
  background-image: attr(data-background url) !important;
}

/* Fix for jQuery background setting */
.gs-hero-section {
  background-attachment: scroll !important;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
}

/* Critical mobile hero text visibility */
@media (max-width: 767.98px) {
  .gs-hero-section .hero-content * {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    color: white !important;
  }
}

/* ===== MOBILE PRODUCT GRID OPTIMIZATION ===== */
/* Force 2 products per row on mobile for better UX */
@media screen and (max-width: 767px) {
  /* Product grid container adjustments */
  .row.gy-4.mt-20 > div[class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 20px !important;
  }
  
  /* Single product card optimizations */
  .single-product {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .single-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
  }
  
  /* Product image optimizations */
  .single-product .img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 140px !important;
    background: #f8f9fa;
  }
  
  .single-product .product-img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
  }
  
  .single-product:hover .product-img {
    transform: scale(1.05);
  }
  
  /* Product badge positioning */
  .single-product .product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
  }
  
  /* Wishlist button */
  .single-product .add-to-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 2;
  }
  
  .single-product .add-to-wishlist-btn:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
  }
  
  .single-product .add-to-wishlist-btn.active {
    background: #ff4757;
    color: white;
  }
  
  /* Bottom action buttons */
  .single-product .add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .single-product:hover .add-to-cart {
    opacity: 1;
  }
  
  .single-product .add-to-cart .add-cart,
  .single-product .add-to-cart .details,
  .single-product .add-to-cart .compare {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 28px;
  }
  
  .single-product .add-to-cart .add-cart:hover {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
  }
  
  .single-product .add-to-cart .details:hover,
  .single-product .add-to-cart .compare:hover {
    background: #28a745;
    color: white;
    transform: translateY(-1px);
  }
  
  /* Content wrapper */
  .single-product .content-wrapper {
    padding: 12px 10px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  /* Product title */
  .single-product .product-title {
    font-size: 12px !important;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 32px;
  }
  
  .single-product .product-title:hover {
    color: #007bff;
  }
  
  /* Shop name styling */
  .single-product .shop-name-wrapper {
    margin-bottom: 6px;
  }
  
  .single-product .shop-name {
    font-size: 9px !important;
    padding: 2px 6px !important;
    border-radius: 8px !important;
    background: #f1f3f4 !important;
    color: #666 !important;
    border: 1px solid #e0e0e0 !important;
  }
  
  /* Price wrapper */
  .single-product .price-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
  }
  
  .single-product .price-wrapper h6 {
    font-size: 13px !important;
    font-weight: 700;
    color: #007bff;
    margin: 0;
  }
  
  .single-product .price-wrapper h6 del {
    font-size: 10px !important;
    font-weight: 400;
    color: #999;
    margin-left: 4px;
  }
  
  /* Rating wrapper */
  .single-product .ratings-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
  }
  
  .single-product .ratings-wrapper svg {
    width: 12px !important;
    height: 12px !important;
  }
  
  .single-product .ratings-wrapper .rating-title {
    font-size: 9px !important;
    color: #666;
    font-weight: 500;
  }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
  .single-product .img-wrapper {
    height: 120px !important;
  }
  
  .single-product .product-img {
    height: 120px !important;
  }
  
  .single-product .content-wrapper {
    padding: 10px 8px 8px;
  }
  
  .single-product .product-title {
    font-size: 11px !important;
    height: 28px;
  }
  
  .single-product .price-wrapper h6 {
    font-size: 12px !important;
  }
  
  .single-product .price-wrapper h6 del {
    font-size: 9px !important;
  }
}

/* Tablet adjustments - 3 products per row */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .row.gy-4.mt-20 > div[class*="col-"] {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

/* General mobile product grid improvements */
@media screen and (max-width: 767px) {
  /* Ensure consistent spacing for all product grids */
  .gs-main-blog-wrapper .row.gy-4,
  .gs-blog-wrapper .row.gy-4 {
    margin: 0 -8px !important;
  }
  
  /* Improve mobile search and filter sections */
  .vendor-search-section,
  .mobile-search-wrapper {
    padding: 15px 0 !important;
  }
  
  .vendor-search-section .form-control,
  .vendor-search-section .form-select {
    font-size: 14px !important;
    padding: 10px 12px !important;
  }
  
  /* Mobile-friendly pagination */
  .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .pagination .page-link {
    padding: 8px 12px !important;
    font-size: 14px !important;
  }
  
  /* Product sidebar on mobile */
  .gs-product-sidebar-wrapper {
    margin-top: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
  }
  
  /* Price range slider mobile optimization */
  .price-range {
    margin: 15px 0;
  }
  
  .price-range #slider-range {
    margin: 20px 0;
  }
  
  .price-range #amount {
    font-size: 14px;
    padding: 8px 12px;
    text-align: center;
    border-radius: 6px;
  }
}

/* Mobile breadcrumb optimization */
@media screen and (max-width: 767px) {
  .gs-breadcrumb-section {
    padding: 40px 0 !important;
  }
  
  .breadcrumb-title {
    font-size: 24px !important;
    margin-bottom: 15px;
  }
  
  .bread-menu {
    font-size: 14px;
  }
  
  .bread-menu li {
    margin: 0 5px;
  }
}

/* Enhanced mobile loading states */
@media screen and (max-width: 767px) {
  .ajax-loader,
  #vendor-products-loading {
    padding: 30px 15px !important;
  }
  
  .spinner-border {
    width: 2rem !important;
    height: 2rem !important;
  }
}
  
  .gs-hero-section .hero-content .template-btn {
    background: var(--brand-primary) !important;
    border: 2px solid var(--brand-primary) !important;
    color: white !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  }
  
  .gs-hero-section .hero-content .template-btn:hover {
    background: var(--brand-primary-hover) !important;
    border-color: var(--brand-primary-hover) !important;
    transform: translateY(-2px) !important;
  }
}

/* Primary Button Styling */
.btn-primary,
.btn.btn-primary {
  background-color: var(--brand-primary) !important;
  background-image: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2) !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:focus {
  background-color: var(--brand-primary-hover) !important;
  background-image: linear-gradient(135deg, var(--brand-primary-hover) 0%, var(--brand-primary) 100%) !important;
  border-color: var(--brand-primary-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3) !important;
  transform: translateY(-1px) !important;
}

.btn-primary:active,
.btn.btn-primary:active,
.btn-primary.active,
.btn.btn-primary.active {
  background-color: var(--brand-primary-active) !important;
  background-image: none !important;
  border-color: var(--brand-primary-active) !important;
  color: #ffffff !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(0) !important;
}

/* Success Button Styling - Also use brand color */
.btn-success,
.btn.btn-success {
  background-color: var(--brand-primary) !important;
  background-image: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2) !important;
}

.btn-success:hover,
.btn.btn-success:hover,
.btn-success:focus,
.btn.btn-success:focus {
  background-color: var(--brand-primary-hover) !important;
  background-image: linear-gradient(135deg, var(--brand-primary-hover) 0%, var(--brand-primary) 100%) !important;
  border-color: var(--brand-primary-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3) !important;
  transform: translateY(-1px) !important;
}

.btn-success:active,
.btn.btn-success:active,
.btn-success.active,
.btn.btn-success.active {
  background-color: var(--brand-primary-active) !important;
  background-image: none !important;
  border-color: var(--brand-primary-active) !important;
  color: #ffffff !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(0) !important;
}

/* Template Button Styling */
.template-btn,
.btn-success-page {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%) !important;
  border: none !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2) !important;
}

.template-btn:hover,
.btn-success-page:hover {
  background: linear-gradient(135deg, var(--brand-primary-hover) 0%, var(--brand-primary) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* Search Button Styling */
.search-btn,
.search-icn,
.filter-btn {
  background-color: var(--brand-primary) !important;
  background-image: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.search-btn:hover,
.search-icn:hover,
.filter-btn:hover {
  background-color: var(--brand-primary-hover) !important;
  background-image: linear-gradient(135deg, var(--brand-primary-hover) 0%, var(--brand-primary) 100%) !important;
  border-color: var(--brand-primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Accept/Verify Button Styling */
.btn-accept,
.btn-ok,
.order-btn,
.f-btn {
  background-color: var(--brand-primary) !important;
  background-image: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.btn-accept:hover,
.btn-ok:hover,
.order-btn:hover,
.f-btn:hover {
  background-color: var(--brand-primary-hover) !important;
  background-image: linear-gradient(135deg, var(--brand-primary-hover) 0%, var(--brand-primary) 100%) !important;
  border-color: var(--brand-primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Submit Button Styling */
.addProductSubmit-btn,
button[type="submit"].btn-primary,
input[type="submit"].btn-primary {
  background-color: var(--brand-primary) !important;
  background-image: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.addProductSubmit-btn:hover,
button[type="submit"].btn-primary:hover,
input[type="submit"].btn-primary:hover {
  background-color: var(--brand-primary-hover) !important;
  background-image: linear-gradient(135deg, var(--brand-primary-hover) 0%, var(--brand-primary) 100%) !important;
  border-color: var(--brand-primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Responsive button text visibility */
@media screen and (max-width: 768px) {
  .btn-primary,
  .btn-success,
  .template-btn,
  .btn-success-page {
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  }
}

.sidebar-active-color {
  color: #ff4c3b!important;
}

/* Shop Name Styling */
.shop-name-wrapper {
  margin-bottom: 8px;
}

.shop-name-wrapper .shop-name {
  font-size: 12px;
  color: #666;
  display: inline-block;
  padding: 2px 8px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.shop-name-wrapper .shop-name i {
  margin-right: 4px;
  color: #007bff;
}

.shop-name-wrapper .shop-name:hover {
  background: #e3f2fd;
  color: #1976d2;
  transition: all 0.3s ease;
}

/* Header Logo Styling */
.header-logo-wrapper {
  display: flex;
  align-items: center;
}

.header-logo-wrapper .logo {
  height: 50px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  transition: all 0.3s ease;
}

/* Vendor Header Logo Styling */
.vendor-res-header-logo {
  height: 45px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  transition: all 0.3s ease;
}

/* Mobile Menu Logo Styling */
.mobile-menu-top img {
  height: 40px !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain !important;
}

/* Responsive logo sizing */
@media screen and (max-width: 991px) {
  .header-logo-wrapper .logo {
    height: 45px !important;
    max-width: 160px !important;
  }
  
  .vendor-res-header-logo {
    height: 40px !important;
    max-width: 140px !important;
  }
}

@media screen and (max-width: 767px) {
  .header-logo-wrapper .logo {
    height: 40px !important;
    max-width: 140px !important;
  }
  
  .vendor-res-header-logo {
    height: 38px !important;
    max-width: 130px !important;
  }
}

@media screen and (max-width: 575px) {
  .header-logo-wrapper .logo {
    height: 35px !important;
    max-width: 120px !important;
  }
  
  .vendor-res-header-logo {
    height: 35px !important;
    max-width: 120px !important;
  }
}

/* ========================================
   MOBILE RESPONSIVE CART PAGE STYLES
======================================== */

/* Mobile cart item styling */
@media (max-width: 991.98px) {
  .cart-item-mobile {
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 1rem;
  }
  
  .cart-item-mobile .card-body {
    padding: 1rem !important;
  }
  
  .cart-item-mobile img {
    border-radius: 8px;
    width: 100%;
    height: 80px;
    object-fit: cover;
  }
  
  .cart-item-mobile .cart-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  
  .cart-item-mobile .cart-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #ddd;
  }
  
  .cart-quantity .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
  }
  
  .cart-quantity input {
    border: 1px solid #ddd;
    text-align: center;
    font-weight: 500;
  }
  
  /* Mobile bottom fixed summary */
  .mobile-cart-summary {
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
  }
}

/* Tablet and medium screens */
@media (max-width: 768px) {
  .gs-cart-section {
    margin-top: 60px !important;
    margin-bottom: 60px !important;
  }
  
  .cart-summary .card {
    border-radius: 12px;
  }
  
  .cart-summary .card-header {
    border-radius: 12px 12px 0 0 !important;
  }
  
  .cart-summary .card-footer {
    border-radius: 0 0 12px 12px !important;
  }
}

/* Small mobile devices */
@media (max-width: 576px) {
  .container.gs-cart-container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .cart-item-mobile {
    margin-bottom: 0.75rem;
  }
  
  .cart-item-mobile .card-body {
    padding: 0.75rem !important;
  }
  
  .cart-item-mobile img {
    height: 70px;
  }
  
  .cart-item-mobile .cart-title {
    font-size: 13px;
  }
  
  .cart-quantity .btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
  }
  
  .cart-quantity input {
    width: 50px !important;
    font-size: 0.875rem;
  }
  
  .mobile-cart-summary {
    padding: 0.75rem !important;
  }
  
  .mobile-cart-summary .btn {
    padding: 0.75rem !important;
    font-size: 0.9rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .cart-item-mobile .row.g-3 {
    margin: 0 !important;
  }
  
  .cart-item-mobile .col-4,
  .cart-item-mobile .col-8,
  .cart-item-mobile .col-6 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .cart-item-mobile .cart-title {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .cart-item-mobile img {
    height: 60px;
  }
}

/* Quantity button improvements for all screen sizes */
.cart-quantity-btn {
  border: 1px solid #dee2e6 !important;
  background-color: #f8f9fa !important;
  color: #495057 !important;
  transition: all 0.2s ease-in-out;
}

.cart-quantity-btn:hover {
  background-color: #e9ecef !important;
  border-color: #adb5bd !important;
}

.cart-quantity-btn:active {
  background-color: #dee2e6 !important;
  border-color: #6c757d !important;
}

/* Sticky cart summary positioning */
@media (min-width: 992px) {
  .cart-summary .sticky-top {
    top: 100px !important;
  }
}

/* Ensure proper spacing for mobile fixed bottom */
@media (max-width: 991.98px) {
  .gs-cart-section {
    padding-bottom: 140px;
  }
}