/* ===========================
   MOKSH DELIGHTS - MAIN STYLES
   Earthy, warm color palette
   =========================== */

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

/* Color Scheme */
:root {
  --primary-red: #c41e3a;
  --dark-brown: #3e2723;
  --earth-green: #6b7c4f;
  --cream: #f5f1e8;
  --light-tan: #dcc9b6;
  --gold: #d4a574;
  --text-dark: #2c2c2c;
  --border-color: #e8dcc8;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--cream);
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

header {
  background-color: var(--dark-brown);
  color: var(--cream);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-with-image {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-with-image svg {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--primary-red);
  transition: color 0.3s ease;
}

.logo:hover svg {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--gold);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-red) 100%);
  color: var(--cream);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.05) 10px,
    rgba(255, 255, 255, 0.05) 20px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--dark-brown);
}

.btn-primary:hover {
  background-color: var(--light-tan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}

.btn-secondary:hover {
  background-color: var(--cream);
  color: var(--dark-brown);
  transform: translateY(-2px);
}

/* ===========================
   FLOATING CONTACT BUTTONS
   =========================== */

.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  color: white;
}

.whatsapp-btn {
  background-color: #25d366;
}

.whatsapp-btn:hover {
  background-color: #1ead55;
  transform: scale(1.1);
}

.phone-btn {
  background-color: var(--primary-red);
}

.phone-btn:hover {
  background-color: #a01630;
  transform: scale(1.1);
}

/* ===========================
   FEATURED PRODUCTS SECTION
   =========================== */

.featured-products {
  padding: 4rem 2rem;
  background-color: white;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-brown);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-red);
}

.section-subtitle {
  text-align: center;
  color: var(--earth-green);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--cream);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-red);
}

.product-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--light-tan), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--dark-brown);
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 10px;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  color: var(--primary-red);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-name {
  font-size: 1.3rem;
  color: var(--dark-brown);
  margin: 0.5rem 0;
  font-weight: 600;
}

.product-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-price {
  font-size: 1.5rem;
  color: var(--primary-red);
  font-weight: bold;
  margin-bottom: 1rem;
}

.btn-small {
  width: 100%;
  padding: 0.6rem 1rem;
  background-color: var(--primary-red);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background-color: #a01630;
  transform: scale(1.02);
}

/* ===========================
   PRODUCT SIZE SELECTOR
   =========================== */
.product-sizes {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.size-option {
  flex: 1;
  min-width: 50px;
  padding: 0.35rem 0.5rem;
  border: 1.5px solid var(--border-color);
  background-color: white;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.size-option:hover {
  border-color: var(--primary-red);
}

.size-option.active {
  background-color: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
}

.size-price {
  display: block;
  font-size: 0.7rem;
  color: var(--primary-red);
  font-weight: bold;
  margin-top: 0.15rem;
}

.size-option.active .size-price {
  color: white;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
  padding: 4rem 2rem;
  background-color: var(--cream);
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1rem;
}

.about-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--earth-green), var(--light-tan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  box-shadow: var(--shadow-lg);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: white;
  border-left: 4px solid var(--primary-red);
  border-radius: 4px;
}

.feature-icon {
  font-size: 1.8rem;
  color: var(--primary-red);
  flex-shrink: 0;
}

.feature-text h4 {
  color: var(--dark-brown);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-text p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
  padding: 4rem 2rem;
  background-color: white;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: var(--cream);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-red);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-brown);
  font-size: 1rem;
}

.testimonial-role {
  color: var(--primary-red);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--dark-brown) 0%, #552e24 100%);
  color: var(--cream);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact h2 {
  grid-column: 1 / -1;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.contact-info p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.contact-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-tan);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: white;
  box-shadow: 0 0 5px rgba(212, 165, 116, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  padding: 0.8rem 2rem;
  background-color: var(--gold);
  color: var(--dark-brown);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--light-tan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===========================
   FOOTER
   =========================== */

footer {
  background-color: var(--dark-brown);
  color: var(--cream);
  padding: 2rem;
  text-align: center;
  border-top: 3px solid var(--primary-red);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-red);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background-color: var(--gold);
  transform: translateY(-3px);
}

.footer-text {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contact {
  margin: 1rem 0;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--cream);
}

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

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    padding: 0 1rem;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav.active {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .floating-buttons {
    bottom: 1rem;
    right: 1rem;
    flex-direction: row;
  }

  .float-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

  .featured-products,
  .about,
  .testimonials,
  .contact {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }
}

/* ===========================
   AUTHENTICATION SECTION
   =========================== */

.auth-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc8 100%);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 450px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp 0.5s ease;
}

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

.auth-form {
  padding: 3rem 2rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.auth-form.active {
  display: block;
}

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

.auth-form h2 {
  color: var(--dark-brown);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  color: var(--earth-green);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form .form-group label {
  color: var(--dark-brown);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.auth-form .form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.auth-form .form-group input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 5px rgba(196, 30, 58, 0.2);
}

.auth-message {
  padding: 1rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
}

.auth-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.auth-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.auth-toggle {
  text-align: center;
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.auth-toggle a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.auth-toggle a:hover {
  color: var(--dark-brown);
  text-decoration: underline;
}

/* ===========================
   CART SECTION
   =========================== */

.cart-section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 400px);
}

.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.cart-items-wrapper h2,
.cart-summary h2 {
  color: var(--dark-brown);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.cart-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-red);
}

.cart-item-info h3 {
  color: var(--dark-brown);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.item-price {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 1.1rem;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--cream);
}

.qty-btn {
  width: 35px;
  height: 35px;
  border: none;
  background-color: transparent;
  color: var(--dark-brown);
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.qty-input {
  width: 50px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 600;
  color: var(--dark-brown);
}

.qty-input:focus {
  outline: none;
}

.item-total {
  color: var(--primary-red);
  font-weight: bold;
  font-size: 1.1rem;
}

.remove-btn {
  width: 35px;
  height: 35px;
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 50%;
  color: var(--primary-red);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background-color: var(--primary-red);
  color: white;
}

.empty-cart-message {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
}

.empty-cart-message p {
  color: var(--earth-green);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Cart Summary */
.cart-summary-wrapper {
  position: sticky;
  top: 100px;
}

.cart-summary {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: #666;
  font-size: 0.95rem;
}

.summary-item:last-of-type {
  border-bottom: none;
}

.summary-item.total {
  border-bottom: 2px solid var(--primary-red);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: var(--primary-red);
  font-size: 1.2rem;
}

.summary-item span:last-child {
  font-weight: 600;
  color: var(--dark-brown);
}

.summary-item.total span:last-child {
  color: var(--primary-red);
}

/* Cart Badge */
.cart-badge {
  display: inline-block;
  background-color: var(--primary-red);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: bold;
  margin-left: 5px;
  position: relative;
  top: -2px;
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--primary-red);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  transform: translateX(-400px);
  transition: all 0.3s ease;
}

.cart-notification.show {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================
   RESPONSIVE CART & AUTH
   =========================== */

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

  .cart-summary-wrapper {
    position: relative;
    top: auto;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cart-item-controls {
    align-items: flex-start;
  }

  .auth-container {
    max-width: 100%;
  }

  .auth-form {
    padding: 2rem 1.5rem;
  }

  .auth-form h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .cart-section {
    padding: 1rem;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem;
  }

  .cart-item-info h3 {
    font-size: 1rem;
  }

  .item-price,
  .item-total {
    font-size: 1rem;
  }

  .quantity-control {
    width: 100%;
  }

  .qty-input {
    flex: 1;
  }

  .cart-summary h2,
  .cart-items-wrapper h2 {
    font-size: 1.5rem;
  }

  .cart-notification {
    left: 1rem;
    right: 1rem;
  }

  .floating-buttons {
    flex-direction: row;
    gap: 0.5rem;
  }
}

