html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Anta';
}

.gs-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  justify-content: center !important;
}

button, a, input, select {
  -webkit-tap-highlight-color: rgba(235, 78, 204, 0.2);
  touch-action: manipulation;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bs-bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--bs-primary);
  border-radius: 4px;
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.gs-card {
  background: var(--bs-bg-card);
  border-radius: var(--bs-border-radius);
  padding: 16px;
  box-shadow: var(--bs-box-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gs-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bs-box-shadow-sm);
}

.gs-card-sm {
  border-radius: var(--bs-border-radius-sm);
  padding: 12px;
}

i {
  display: inline-block;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 15px;
  margin-left: 7px;
}

.gs-btn {
  background: var(--bs-primary);
  display: inline-block;
  color: var(--bs-tertiary-bg);
  text-decoration: none;
  text-transform: capitalize;
  font-family: Sans-serif;
  font-size: 18px;
  /*padding: 4px 20px;*/
  /*border-radius: 7px;*/
}

.gs-btn-primary {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-link-hover-color));
  color: var(--bs-dark);
  box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.35);
}

.gs-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(var(--bs-primary-rgb), 0.45);
}

.gs-btn-soft {
  background: var(--bs-bg-soft);
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
}

.gs-btn-soft:hover {
  background: rgba(148, 163, 184, 0.2);
}

.gs-btn-danger {
  background: var(--bs-danger);
  color: #fff;
}

.gs-btn-danger:hover {
  opacity: 0.9;
}

.gs-btn-ghost {
  background: transparent;
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
}

.gs-btn-ghost:hover {
  background: rgba(148, 163, 184, 0.15);
}

.gs-btn-block {
  width: 100%;
}

.gs-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--bs-border-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.gs-badge-accent {
  background: var(--bs-primary);
  color: var(--bs-dark);
}

.gs-badge-soft {
  background: var(--bs-bg-soft);
  color: var(--bs-text-muted);
}

.gs-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-bg-soft);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-size: 0.95rem;
}

.gs-input:focus {
  border-color: var(--bs-primary);
  outline: none;
}

.gs-shadow {
  box-shadow: var(--bs-box-shadow);
}

.gs-shadow-soft {
  box-shadow: var(--bs-box-shadow-sm);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.featured-card {
  background: var(--bs-bg-card);
  border-radius: var(--bs-border-radius);
  padding: 16px;
  box-shadow: var(--bs-box-shadow);
  cursor: pointer;
  transition: 0.25s ease;
  animation: fadeIn 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bs-box-shadow-sm);
}

.featured-card .badge-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.featured-card .badge {
  padding: 4px 10px;
  border-radius: var(--bs-border-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.featured-card .badge-bundle {
  background: var(--bs-primary);
  color: var(--bs-dark);
}

.featured-card .badge-custom {
  background: var(--bs-info);
  color: #fff;
}

.featured-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--bs-border-radius-sm);
  margin-bottom: 12px;
}

.featured-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bs-body-color);
}

.featured-card p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin: 0;
}

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

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.result-card {
  background: var(--bs-bg-card);
  border-radius: var(--bs-border-radius);
  padding: 16px;
  box-shadow: var(--bs-box-shadow);
  cursor: pointer;
  transition: 0.25s ease;
  animation: fadeIn 0.4s ease;
  display: flex;
  flex-direction: column;
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bs-box-shadow-sm);
}

.result-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--bs-border-radius-sm);
  margin-bottom: 12px;
}

.result-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bs-body-color);
}

.result-card p {
  font-size: 0.9rem;
  color: var(--bs-text-muted);
  margin-bottom: 10px;
}

.result-card .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bs-primary);
}

.checkout-page {
  padding: 80px 0 40px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.checkout-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.checkout-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.checkout-form {
  background: var(--bs-bg-card);
  padding: 24px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
}

.checkout-form h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.checkout-form input, .checkout-form select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-carousel-indicator-active-bg);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.checkout-form input:focus, .checkout-form select:focus {
  border-color: var(--bs-primary);
  outline: none;
}

.checkout-summary {
  background: var(--bs-carousel-indicator-active-bg);
  padding: 24px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
  position: sticky;
  top: 90px;
}

.checkout-summary h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.summary-row span:last-child {
  font-weight: 600;
}

.bundle-row {
  color: var(--bs-primary);
  font-size: 0.9rem;
}

.total-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--bs-border-color);
  font-size: 1.1rem;
  font-weight: 700;
}

.paypal-placeholder {
  margin-top: 20px;
  padding: 16px;
  background: var(--bs-bg-soft);
  border-radius: var(--bs-border-radius-sm);
  text-align: center;
  color: var(--bs-text-muted);
  border: 1px dashed var(--bs-border-color);
}

.summary-items {
  margin-bottom: 16px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.user-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bs-primary);
  color: var(--bs-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.user-menu:hover .user-icon {
  opacity: 0.9;
}

.user-dropdown {
  position: absolute;
  top: 32px;
  right: 0;
  background: var(--bs-light-bg-subtle);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
  padding: 14px;
  min-width: 180px;
  display: none;
  flex-direction: column;
  animation: fadeIn 1s ease;
  z-index: 999;
}

.user-menu:hover .user-dropdown {
  display: flex;
}

.user-dropdown .user-email {
  font-size: 0.85rem;
  color: var(--bs-text-muted);
  margin-bottom: 10px;
}

.user-dropdown a {
  padding: 8px 0;
  color: var(--bs-body-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.user-dropdown a:hover {
  color: var(--bs-highlight-color);
  background: var(--bs-focus-ring-color);
  border-radius: 15px;
  text-align: center;
}

.mobile-user-info {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--bs-text-muted);
  border-bottom: 1px solid var(--bs-border-color-translucent);
  margin-bottom: 10px;
}

.mini-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bs-border-color-translucent);
}

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

.mini-cart-item img {
  width: 60px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-bg-soft);
}

.mini-cart-item-info {
  flex: 1;
}

.mini-cart-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.mini-cart-item-qty {
  font-size: 0.85rem;
  color: var(--bs-text-muted);
}

.mini-cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bs-primary);
}

.mini-cart-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--bs-text-muted);
}

.mini-cart-empty .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.mini-cart-empty a {
  margin-top: 1rem;
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--bs-border-radius-pill);
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-link-hover-color));
  color: var(--bs-dark);
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.mini-cart-empty a:hover {
  opacity: 0.9;
}

.order-page {
  padding: 80px 0 40px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.order-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  animation: fadeIn 0.4s ease;
}

.order-items {
  background: var(--bs-bg-card);
  padding: 24px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
}

.order-items h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-bottom: 1px solid var(--bs-border-color-translucent);
}

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

.order-item img {
  width: 70px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-bg-soft);
}

.order-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.order-item-qty {
  font-size: 0.85rem;
  color: var(--bs-text-muted);
}

.order-item-price {
  margin-left: auto;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bs-primary);
}

.order-summary {
  background: var(--bs-bg-card);
  padding: 24px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
  position: sticky;
  top: 90px;
}

.order-summary h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.shipping-box {
  background: var(--bs-bg-soft);
  padding: 16px;
  border-radius: var(--bs-border-radius-sm);
  margin-top: 18px;
  border: 1px solid var(--bs-border-color);
}

.shipping-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.shipping-box p {
  font-size: 0.9rem;
  color: var(--bs-text-muted);
  line-height: 1.5;
}

.shipping-box strong {
  color: var(--bs-primary);
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.wishlist-card {
  background: var(--bs-bg-card);
  border-radius: var(--bs-border-radius);
  padding: 16px;
  box-shadow: var(--bs-box-shadow);
  position: relative;
  animation: fadeIn 0.4s ease;
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
  margin-top: 32px;
}

.wishlist-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bs-box-shadow-sm);
}

.wishlist-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(var(--bs-danger-rgb), 0.15);
  color: var(--bs-danger);
  border: none;
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s ease;
}

.wishlist-remove:hover {
  background: rgba(var(--bs-danger-rgb), 0.25);
}

.wishlist-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--bs-border-radius-sm);
  margin-bottom: 14px;
  cursor: pointer;
}

.wishlist-card-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  cursor: pointer;
}

.wishlist-category {
  font-size: 0.85rem;
  color: var(--bs-text-muted);
  margin-bottom: 4px;
}

.wishlist-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 10px;
}

.out-of-stock {
  color: var(--bs-danger);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.wishlist-add-cart {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--bs-border-radius-pill);
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-link-hover-color));
  color: var(--bs-dark);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  margin-top: auto;
  box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.35);
}

.wishlist-add-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(var(--bs-primary-rgb), 0.45);
}

.wishlist-add-cart:disabled {
  background: rgba(var(--bs-secondary-rgb), 0.3);
  color: var(--bs-text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.badge-bundle {
  background: var(--bs-link-hover-color);
  color: var(--bs-link-hover-color);
}

.badge-custom {
  background: var(--bs-info);
  color: #fff;
}

.badge {
  padding: 4px 10px;
  border-radius: var(--bs-border-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

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

#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bs-tertiary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

#page-loader .spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--bs-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(180deg);
  }
}

#page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.shop-filters {
  padding: 20px 0;
  box-shadow: var(--bs-box-shadow-sm);
  margin-bottom: 20px;
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: var(--bs-border-radius-pill);
  background: var(--bs-bg-soft);
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  width: 120px;
}

.filter-btn:hover {
  background: rgba(148, 163, 184, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-link-hover-color));
  color: var(--bs-dark);
  border: none;
  box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.35);
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--bs-text-muted);
}

.loading .spinner {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--bs-primary);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--bs-bg-card);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
  margin-top: 20px;
}

.empty-state h3 {
  font-size: 1.4rem;
  margin-top: 10px;
  color: var(--bs-body-color);
  margin-bottom: 6px;
}

.empty-state p {
  color: var(--bs-text-muted);
  margin-bottom: 16px;
}

.products-grid {
  display: grid;
  justify-content: center;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin-top: 20px;
}

.product-card {
  background: var(--bs-bg-card);
  border-radius: var(--bs-border-radius);
  padding: 14px;
  box-shadow: var(--bs-box-shadow);
  cursor: pointer;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bs-box-shadow-sm);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--bs-border-radius-sm);
}

.product-category {
  font-size: 0.9rem;
  color: var(--bs-text-muted);
  margin-bottom: 6px;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bs-body-color);
}

.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 12px;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.btn-cart {
  padding: 8px 14px;
  border-radius: var(--bs-border-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
}

.btn-cart {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-link-hover-color));
  color: var(--bs-dark);
}

.btn-cart:hover {
  opacity: 0.9;
}

.btn-wishlist {
  background: var(--bs-border-color-translucent);
  color: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-bg-subtle);
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
  padding: 5px 12px;
}

.btn-wishlist:hover {
  background: rgba(148, 163, 184, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 14px 23px rgba(var(--bs-primary-rgb), 0.45);
}

.btn-wishlist.active {
  background: var(--bs-border-color);
  border: 1px solid var(--bs-danger);
}

.badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-page {
  padding: 80px 0 40px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.profile-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.profile-card {
  background: var(--bs-bg-card);
  border-radius: var(--bs-border-radius);
  padding: 20px 18px;
  box-shadow: var(--bs-box-shadow);
  animation: fadeIn 0.4s ease;
}

.profile-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.profile-info p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.profile-info strong {
  color: var(--bs-primary);
}

.logout-btn {
  margin-top: 16px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--bs-border-radius-pill);
  background: var(--bs-danger);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.logout-btn:hover {
  opacity: 0.9;
}

.orders-list {
  background: var(--bs-bg-soft);
  padding: 14px;
  border-radius: var(--bs-border-radius-sm);
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--bs-border-color-translucent);
}

.orders-list p {
  color: var(--bs-text-muted);
}

.wishlist-grid .wishlist-item {
  background: var(--bs-bg-soft);
  padding: 12px;
  border-radius: var(--bs-border-radius-sm);
  text-align: center;
  box-shadow: var(--bs-box-shadow-sm);
}

#changePassForm input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-bg-soft);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-size: 0.95rem;
}

#changePassForm input:focus {
  border-color: var(--bs-primary);
  outline: none;
}

.auth-success {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--bs-border-radius-sm);
  background: rgba(var(--bs-success-rgb), 0.15);
  color: var(--bs-primary);
  border: 1px solid rgba(var(--bs-success-rgb), 0.4);
  display: none;
}

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

.product-page {
  padding: 20px 0 30px;
  background: var(--bs-light-bg-subtle);
  color: var(--bs-body-color);
}

.product-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  animation: fadeIn 0.4s ease;
}

.product-gallery {
  background: var(--bs-bg-card);
  padding: 20px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
}

.main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  background: var(--bs-bg-soft);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  padding-top: 6px;
}

.thumbnails img {
  width: 80px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--bs-border-radius-sm);
  object-fit: cover;
  border: solid;
  border-width: thin;
  border-color: var(--bs-primary);
}

.thumbnails img:hover {
  opacity: 0.9;
}

.thumbnails img.active {
  opacity: 1;
  border-color: var(--bs-primary);
}

.product-info {
  background: var(--bs-bg-card);
  padding: 24px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
}

.product-info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-description {
  margin: 14px 0 20px;
  color: var(--bs-text-muted);
  line-height: 1.6;
}

.stock-status {
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.stock-status.in-stock {
  color: var(--bs-primary);
}

.stock-status.low-stock {
  color: var(--bs-warning);
}

.stock-status.out-of-stock {
  color: var(--bs-danger);
}

.add-btn {
  background: var(--bs-primary);
  color: var(--bs-highlight-color);
  border: 1px solid var(--bs-primary);
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
  padding: 5px 12px;
  height: 42px;
}

.add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 23px rgba(var(--bs-primary-rgb), 0.45);
}

.add-btn.active {
  background: var(--bs-danger);
  color: var(--bs-light);
}

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

.header {
  width: 100%;
  background: var(--bs-bg-gradient);
  box-shadow: var(--bs-box-shadow);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: 0.2s ease;
}

.logo:hover {
  opacity: 0.85;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
}

.nav-links a {
  color: var(--bs-body-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-icon {
  color: var(--bs-body-color);
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: 0.2s ease;
}

.nav-icon:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

.nav-icon span {
  font-weight: 600;
}

.menu-btn {
  display: none;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--bs-body-color);
  cursor: pointer;
  transition: 0.2s ease;
}

.menu-btn:hover {
  color: var(--bs-primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bs-bg-card);
  padding: 18px;
  margin: 12px 16px;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease;
}

.mobile-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  padding: 14px 4px;
  color: var(--bs-body-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid var(--bs-border-color-translucent);
  transition: color .2s ease, padding-left .2s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--bs-primary);
  padding-left: 10px;
}

.mini-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 999;
}

#mobileAuthArea {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--bs-border-color-translucent);
}

#mobileAuthArea a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--bs-body-color);
  text-decoration: none;
}

#mobileAuthArea a:hover {
  color: var(--bs-primary);
}

@media (max-width: 768px) {
  #authArea {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #mobileAuthArea {
    display: block !important;
  }
}

.mini-cart {
  position: fixed;
  top: 0;
  right: -400px;
  width: 340px;
  height: 100vh;
  background: var(--bs-bg-card);
  box-shadow: var(--bs-box-shadow);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.mini-cart.open {
  right: 0;
}

.mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mini-cart-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

#miniCartClose {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--bs-body-color);
  cursor: pointer;
}

.mini-cart-items {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
}

.mini-cart-footer {
  margin-top: 16px;
}

.mini-cart-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mini-cart-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  text-align: center;
  border-radius: var(--bs-border-radius-pill);
  background: var(--bs-bg-soft);
  color: var(--bs-body-color);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.mini-cart-btn:hover {
  background: rgba(148, 163, 184, 0.2);
}

.mini-cart-btn.accent {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-link-hover-color));
  color: var(--bs-dark);
}

.mini-cart-btn.accent:hover {
  opacity: 0.9;
}

.footer {
  background: var(--bs-bg-gradient);
  padding: 50px 0 20px;
  color: var(--bs-body-color);
  margin-top: 60px;
  box-shadow: var(--bs-box-shadow-sm);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--bs-primary);
}

.footer-col p {
  color: var(--bs-text-muted);
  font-size: 0.9rem;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--bs-body-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.footer-col a:hover {
  color: var(--bs-primary);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--bs-border-color);
  font-size: 0.85rem;
  color: var(--bs-text-muted);
}

/* =============================================================================
   CART PAGE - FIXED STYLES FOR ALIGNMENT & MOBILE
============================================================================= */

.cart-page {
  padding: 80px 0 40px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  min-height: 100vh;
}

.cart-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--bs-body-color);
}

/* Empty State */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bs-bg-card);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
}

.empty-state .empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--bs-body-color);
}

.empty-state p {
  color: var(--bs-text-muted);
  margin-bottom: 1.5rem;
}

/* Cart Wrapper */

.cart-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Cart Items Container */

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual Cart Item */

.cart-item {
  display: flex;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  background: var(--bs-carousel-indicator-active-bg);
  padding: 16px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-sm);
  transition: box-shadow 0.2s ease;
  animation: fadeIn 0.3s ease;
  justify-content: space-evenly;
}

.cart-item:hover {
  box-shadow: var(--bs-box-shadow);
}

/* Cart Item Image */

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--bs-border-radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cart-item-image:hover {
  transform: scale(1.05);
}

/* Cart Item Details */

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cart-item-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--bs-body-color);
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-details h3:hover {
  color: var(--bs-primary);
}

.cart-item-category {
  font-size: 0.85rem;
  color: var(--bs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.cart-item-stock {
  font-size: 0.85rem;
  color: var(--bs-success);
  margin: 0;
}

.bundle-badge {
  display: inline-block;
  background: var(--bs-primary);
  color: var(--bs-dark);
  padding: 4px 10px;
  border-radius: var(--bs-border-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 4px;
  width: 100px;
}

/* Quantity Controls */

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-bg-soft);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.qty-btn:hover {
  background: var(--bs-primary);
  color: var(--bs-dark);
  border-color: var(--bs-primary);
}

.qty-btn:active {
  transform: scale(0.95);
}

.qty-input {
  width: 50px;
  padding: 6px 4px;
  text-align: center;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-bg-soft);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-size: 0.95rem;
  font-weight: 600;
}

.qty-input:focus {
  border-color: var(--bs-primary);
  outline: none;
}

/* Remove spinner arrows */

.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input[type=number] {
  -moz-appearance: textfield;
}

/* Price Display */

.cart-item-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bs-primary);
  min-width: 90px;
  text-align: right;
  justify-self: end;
}

/* Remove Button */

.cart-item-remove {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(var(--bs-danger-rgb), 0.15);
  color: var(--bs-danger);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0;
  line-height: 1;
}

.cart-item-remove:hover {
  background: var(--bs-danger);
  color: white;
  transform: scale(1.1);
}

.cart-item-remove:active {
  transform: scale(0.95);
}

/* Bundle Banner */

.bundle-banner {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--bs-border-radius);
  margin-bottom: 16px;
  box-shadow: var(--bs-box-shadow-sm);
  animation: fadeIn 0.3s ease;
}

.bundle-banner.applied {
  background: rgba(var(--bs-success-rgb), 0.15);
  border-left: 4px solid var(--bs-success);
}

.bundle-banner.pending {
  background: rgba(var(--bs-warning-rgb), 0.15);
  border-left: 4px solid var(--bs-warning);
}

.bundle-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.bundle-banner-content {
  flex: 1;
}

.bundle-banner-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--bs-body-color);
}

.bundle-banner-body {
  font-size: 0.95rem;
  color: var(--bs-body-color);
}

.bundle-banner-body p {
  margin-bottom: 8px;
}

.bundle-savings {
  color: var(--bs-success);
}

.bundle-savings strong {
  color: var(--bs-success);
  font-size: 1.1rem;
}

.bundle-progress {
  width: 100%;
  height: 8px;
  background: rgba(var(--bs-secondary-rgb), 0.3);
  border-radius: var(--bs-border-radius-pill);
  margin: 10px 0;
  overflow: hidden;
}

.bundle-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-success));
  border-radius: var(--bs-border-radius-pill);
  transition: width 0.3s ease;
}

.bundle-progress-text {
  font-size: 0.85rem;
  color: var(--bs-text-muted);
  margin-bottom: 8px;
}

.bundle-cta {
  display: inline-block;
  margin-top: 8px;
  color: var(--bs-primary);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.bundle-cta:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Cart Summary */

.cart-summary {
  background: var(--bs-carousel-indicator-active-bg);
  padding: 24px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
  position: sticky;
  top: 90px;
  height: fit-content;
}

.cart-summary h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--bs-body-color);
}

.cart-summary .gs-btn {
  width: 240px;
  margin-top: 20px;
  padding: 14px 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--bs-border-radius);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
  float: right;
}

.cart-summary .gs-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb), 0.4);
  text-decoration: none;
}

.cart-summary .gs-btn i {
  border: none;
  padding: 0;
  margin-left: 8px;
}

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

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: var(--bs-bg-gradient);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bs-bg-card);
  padding: 32px 28px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow);
  text-align: center;
  animation: fadeIn 0.4s ease;
}

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

.auth-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bs-body-color);
  margin-bottom: 6px;
}

.auth-subtitle {
  color: var(--bs-text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.auth-card input {
  width: 90%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-bg-soft);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.auth-card input:focus {
  border-color: var(--bs-primary);
  outline: none;
}

.auth-error {
  display: none;
  background: rgba(var(--bs-danger-rgb), 0.15);
  color: var(--bs-danger);
  padding: 10px 14px;
  border-radius: var(--bs-border-radius-sm);
  font-size: 0.9rem;
  margin-bottom: 14px;
  border: 1px solid rgba(var(--bs-danger-rgb), 0.4);
}

.auth-btn {
  background: var(--bs-primary);
  display: inline-block;
  color: var(--bs-body-color);
  text-decoration: none;
  text-transform: capitalize;
  font-family: Sans-serif;
  font-size: 18px;
  padding: 4px 20px;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.35);
}

.auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(var(--bs-primary-rgb), 0.45);
}

.auth-links {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
}

.nav-auth {
  color: var(--bs-body-color);
  text-decoration: none;
}

.nav-auth:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

.nav-auth {
  margin: 5px 10px;
}

.auth-links a {
  color: var(--bs-body-color);
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.auth-links a:hover {
  opacity: 0.8;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#productsGrid {
  align-content: space-between;
}

@media (min-width: 468px) {
  :root {
    --container-padding: 24px;
    --section-spacing: 40px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 32px;
    --section-spacing: 60px;
  }
}

@media (max-width: 768px) {
  .gs-card {
    padding: 14px;
  }
}

@media (max-width: 768px) {
  .gs-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 600px) {
  .results-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 900px) {
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .order-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  #page-loader .spinner {
    width: 50px;
    height: 50px;
    border-width: 5px;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 901px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .product-card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 900px) {
  .product-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-actions {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-col a {
    margin-bottom: 10px;
  }
}

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

/* Tablet (900px and below) */

@media (max-width: 1000px) {
  .cart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: inherit;
  }
}

@media (max-width: 900px) {
  .cart-summary {
    position: static;
    margin-top: 32px;
  }
}

@media (max-width: 900px) {
  .cart-item-quantity {
    grid-column: 2 / 3;
    justify-self: end;
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .cart-item-price {
    grid-column: 2 / 3;
    justify-self: start;
    text-align: center;
    margin-top: 4px;
    justify-self: end;
    width: 130px;
  }
}

@media (max-width: 900px) {
  .cart-item-remove {
    /*grid-column: 3 / 4;*/
    /*grid-row: 1 / 2;*/
    justify-self: end;
    align-self: center;
  }
}

/* Mobile (600px and below) */

@media (max-width: 600px) {
  .cart-page {
    padding: 60px 0 30px;
  }
}

@media (max-width: 600px) {
  .cart-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .cart-wrapper {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .cart-items {
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .cart-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    position: relative;
  }
}

@media (max-width: 600px) {
  .cart-item-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .cart-item-details {
    width: 100%;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .cart-item-details h3 {
    font-size: 1.1rem;
    white-space: normal;
    overflow: visible;
  }
}

@media (max-width: 600px) {
  .cart-item-category, .cart-item-stock {
    font-size: 0.85rem;
  }
}

/* Quantity and Price row */

@media (max-width: 600px) {
  .cart-item-quantity {
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .qty-input {
    width: 50px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .cart-item-price {
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .cart-item-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .bundle-banner {
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .bundle-banner-icon {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .bundle-banner-title {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .bundle-banner-body {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .cart-summary {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .cart-summary h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
}

@media (max-width: 600px) {
  .summary-row {
    font-size: 1rem;
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .total-row {
    font-size: 1.2rem;
    margin-top: 12px;
    padding-top: 12px;
  }
}

@media (max-width: 600px) {
  .cart-summary .gs-btn {
    padding: 14px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .empty-state {
    padding: 40px 16px;
  }
}

@media (max-width: 600px) {
  .empty-state .empty-icon {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .empty-state h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .empty-state p {
    font-size: 0.9rem;
  }
}

/* Focus States for Accessibility */

.qty-btn:focus, .qty-input:focus, .cart-item-remove:focus, .cart-summary .gs-btn:focus {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

/* Better Touch Targets on Mobile */

@media (max-width: 600px) {
  .cart-item-image, .cart-item-details h3, .bundle-cta {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 26px 22px;
  }
}

@media (max-width: 480px) {
  .auth-title {
    font-size: 1.6rem;
  }
}

paypal-button-container {
  border-radius: 15px;
}

.paypal-cont {
  justify-content: center;
  display: grid;
  background: var(--bs-carousel-indicator-active-bg);
  border-radius: 20px;
  text-align: center;
}

