/* =========================================
   BASE STYLES & VARIABLES
   ========================================= */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Outfit', sans-serif;
  --font-bn: 'Hind Siliguri', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-bn);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-bn);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }
.text-success { color: var(--primary); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-bn);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: #1e293b;
}

.btn-success {
  background: var(--accent);
  color: white;
}

.btn-success:hover {
  background: #d97706;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 1.2rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================================
   HEADER
   ========================================= */
.header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.1rem;
}

.header-phone:hover {
  color: var(--primary);
}

.cart-trigger {
  position: relative;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
  padding: 5px;
}

.cart-trigger:hover {
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-family: var(--font-en);
  font-weight: bold;
  height: 20px;
  min-width: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid white;
}

@media (min-width: 768px) {
  .header-phone {
    display: flex;
  }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  padding: 80px 0 100px 0;
  background: linear-gradient(135deg, #e6f9f0 0%, #c4f1d4 100%);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="%2310b981" fill-opacity="0.1"/></svg>');
  opacity: 0.6;
}

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

.hero-badge {
  display: inline-block;
  background: white;
  color: var(--primary-dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #0f172a;
}

.hero-desc {
  font-size: 1.25rem;
  color: #334155;
  margin-bottom: 40px;
  line-height: 1.8;
  padding: 0 15px;
}

.highlight-text {
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 600;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-weight: 700;
  font-size: 1.15rem;
}

.hero-feat-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.25);
  background: #ffffff;
  border-color: rgba(16, 185, 129, 0.5);
}

.hero-feat-item i {
  color: #10b981;
  font-size: 1.3rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}

/* =========================================
   INFO SECTION (WHY US)
   ========================================= */
.info-section {
  padding: 60px 0 40px 0;
  background-color: #ffffff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.info-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 i {
  color: var(--primary);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: white;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.benefit-list {
  list-style: none;
}

.benefit-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.5;
}

.text-success {
  color: #10b981;
  font-size: 1.2rem;
  margin-top: 2px;
}

/* =========================================
   CATALOG / PRODUCTS SECTION
   ========================================= */
.catalog {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-light);
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.search-box {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.search-box input {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-bn);
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border);
  padding: 6px 15px;
  border-radius: 50px;
  font-family: var(--font-bn);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
  font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

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

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 600px) {
  .product-img-wrapper {
    height: 150px;
  }
}

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

.product-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.5rem;
}

.product-img-fallback span {
  font-size: 1rem;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
  padding: 0 10px;
}

.product-weight-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .product-info {
    padding: 12px;
  }
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
  line-height: 1.3;
}

@media (max-width: 600px) {
  .product-title {
    font-size: 1rem;
    margin-bottom: 5px;
  }
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
  flex-grow: 1;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

@media (max-width: 600px) {
  .product-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.quantity-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  background: var(--bg-color);
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--secondary);
  transition: var(--transition);
}

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

.qty-val {
  width: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-family: var(--font-en);
  font-weight: 600;
  background: white;
  padding: 6px 0;
  color: var(--secondary);
  pointer-events: none;
}

.product-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.product-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .product-actions {
    flex-direction: column;
    gap: 8px;
  }
  .product-actions .btn {
    width: 100%;
    padding: 8px;
  }
}

.loading-spinner {
  text-align: center;
  padding: 40px;
  color: var(--primary);
  font-size: 1.2rem;
  grid-column: 1 / -1;
}

/* =========================================
   CHECKOUT SECTION
   ========================================= */
.checkout-section {
  padding: 60px 0;
  background: var(--bg-color);
}

.checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.checkout-summary-card, .checkout-form-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.checkout-summary-card h3, .checkout-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.cart-items-list {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 5px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 150px;
}

.cart-item-name {
  font-weight: 600;
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 3px;
}

.cart-item-sub {
  color: var(--text-light);
  font-size: 0.9rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.delete-item-btn {
  background: #fee2e2;
  color: #ef4444;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.delete-item-btn:hover {
  background: #fca5a5;
  color: #b91c1c;
}

.empty-cart-text {
  text-align: center;
  padding: 20px;
  color: var(--text-light);
}

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

.cart-item-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

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

.cart-item-title {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.cart-item-price {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  background: var(--bg-color);
  border-radius: 5px;
  border: 1px solid var(--border);
}

.qty-btn {
  background: none;
  border: none;
  padding: 2px 8px;
  cursor: pointer;
  color: var(--text-main);
}

.qty-input {
  width: 30px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: var(--font-en);
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 5px;
}

.cart-totals {
  background: var(--bg-color);
  padding: 15px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.grand-total-row {
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
}

.courier-info {
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 15px;
  border-radius: var(--radius-md);
}

.courier-info h4 {
  color: #d97706;
  margin-bottom: 5px;
  font-size: 1rem;
}

.courier-info p {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.warning-text {
  color: #b45309;
  font-size: 0.85rem !important;
}

/* Form Styles */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--secondary);
}

.required {
  color: #ef4444;
}

.input-helper {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-bn);
  font-size: 1.1rem;
  background-color: #f8fafc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #0f172a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) inset;
}

.form-control:focus {
  outline: none;
  border-color: #10b981;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
  color: #94a3b8;
}

.payment-method-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary-dark);
}

.message-box {
  padding: 10px;
  border-radius: 8px;
  display: none;
}
.message-box.error {
  background: #fef2f2;
  color: #b91c1c;
  display: block;
}
.message-box.success {
  background: #f0fdf4;
  color: #15803d;
  display: block;
}

/* =========================================
   FLOATING CART DRAWER & BOTTOM BAR
   ========================================= */
.floating-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 15px 20px;
  z-index: 900;
  display: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
}

.floating-cart-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-weight: 600;
}

.floating-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.cart-drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.cart-drawer-overlay.show {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: white;
  z-index: 1002;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-color);
}

/* =========================================
   MODALS
   ========================================= */
.success-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.success-modal-overlay.show {
  display: flex;
}

.success-modal {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.success-order-id {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.success-summary {
  background: var(--bg-color);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  text-align: left;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--secondary);
  color: white;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.footer-about p {
  color: #94a3b8;
  margin-top: 15px;
}

.footer-contact p {
  color: #94a3b8;
  margin-bottom: 10px;
}

.footer-divider {
  border-top: 1px solid #334155;
  margin: 20px 0;
}

.footer-copy {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* =========================================
   FLOATING SUPPORT & SCROLL TOP BUTTONS
   ========================================= */
.messenger-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(45deg, #00C6FF, #0072FF);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
  z-index: 800;
  transition: transform 0.3s, box-shadow 0.3s;
}
.messenger-btn:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.6);
}

.scroll-to-top-btn {
  position: fixed;
  bottom: 85px;
  right: 27px;
  background-color: var(--secondary);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 800;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0.8;
}
.scroll-to-top-btn:hover {
  transform: translateY(-3px);
  opacity: 1;
}

/* Avoid overlapping floating bar on mobile */
@media (max-width: 900px) {
  .messenger-btn {
    bottom: 80px; /* Right above the floating cart */
    right: 15px;
    width: 55px;
    height: 55px;
    font-size: 30px;
  }
  .scroll-to-top-btn {
    bottom: 145px; /* Above Messenger */
    right: 22px;
  }
}
