/* ============================================================
   GIANT MERCANTILE CORPORATION — Website Styles
   Brand Colors (from official logo):
     Primary Red:     #D42027
     Dark Red:        #B91C22
     Black:           #1A1A1A
     Dark Gray:       #2C2C2C
     Text Dark:       #2C3E50
     Light BG:        #F8F9FA
     White:           #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: #2C3E50;
  line-height: 1.6;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(212, 32, 39, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  transition: background 0.3s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

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

.nav-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #FFFFFF;
  padding: 3px;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-text {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.nav-logo-text small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.2);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #FFFFFF;
  border-radius: 3px;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 8px;
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-cart:hover {
  background: rgba(255, 255, 255, 0.35);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #D42027;
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  border: 0;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #FFFFFF;
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.hamburger:focus-visible,
.nav-links a:focus-visible,
.phone-modal button:focus-visible,
.phone-modal a:focus-visible,
.contact-dropdown > button:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

.phone-modal button:focus-visible,
.phone-modal a:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline-color: #D42027;
}

/* ---- HERO SECTION ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 32, 39, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 32, 39, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: left;
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.hero-logo {
  margin-bottom: 30px;
}

.hero-logo img {
  max-width: 500px;
  width: 90%;
  height: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 32, 39, 0.1);
  color: #D42027;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 32, 39, 0.2);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #D42027;
}

.hero p {
  font-size: 18px;
  color: #666;
  margin-bottom: 36px;
  max-width: 550px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #D42027;
}

.hero-stat p {
  font-size: 14px;
  color: #999;
  margin-bottom: 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #D42027;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(212, 32, 39, 0.4);
}

.btn-primary:hover {
  background: #B91C22;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 32, 39, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #1A1A1A;
  border: 2px solid #1A1A1A;
}

.btn-secondary:hover {
  background: #1A1A1A;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.section-dark .btn-secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.section-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: #1A1A1A;
  border: 2px solid #1A1A1A;
}

.btn-outline:hover {
  background: #1A1A1A;
  color: #FFFFFF;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---- SECTION STYLES ---- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: #1A1A1A;
  color: #FFFFFF;
}

.section-light {
  background: #F8F9FA;
}

.section-red {
  background: #D42027;
  color: #FFFFFF;
}

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

.section-label {
  display: inline-block;
  color: #D42027;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.section-dark .section-header h2,
.section-red .section-header h2 {
  color: #FFFFFF;
}

.section-dark .section-label {
  color: #FF6B6B;
}

.section-red .section-label {
  color: rgba(255, 255, 255, 0.8);
}

.section-header p {
  font-size: 17px;
  color: #7F8C8D;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p,
.section-red .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

/* ---- ABOUT / HISTORY SECTION ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  position: relative;
  overflow: hidden;
  border: 2px solid #f0f0f0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.about-image img {
  max-width: 280px;
  height: auto;
}



.about-image svg { width: 120px; height: 120px; }

.about-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.about-content p {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-year {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FDE8E8;
  color: #D42027;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

/* ---- CARD GRID (Achievements, Challenges, Services) ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 32, 39, 0.2);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-dark .card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 32, 39, 0.3);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(212, 32, 39, 0.1), rgba(185, 28, 34, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: #D42027;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1A1A1A;
}

.section-dark .card h3 {
  color: #FFFFFF;
}

.card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.6);
}

/* ---- PRODUCT CARDS (Shopping Page) ---- */
.shop-header {
  background: linear-gradient(135deg, #1A1A1A, #111111);
  padding: 140px 0 80px;
  text-align: center;
}

.shop-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.shop-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 10px;
  padding: 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}

.category-tabs::-webkit-scrollbar { display: none; }

.category-tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid #e0e0e0;
  background: #FFFFFF;
  color: #555;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}

.category-tab:hover {
  border-color: #D42027;
  color: #D42027;
}

.category-tab.active {
  background: #D42027;
  color: #FFFFFF;
  border-color: #D42027;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 30px 0;
}

.product-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 32, 39, 0.2);
}

.product-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.product-image-placeholder span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.product-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-card-body .description {
  color: #777;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-body .price {
  font-size: 1rem;
  font-weight: 700;
  color: #D42027;
  margin-bottom: 12px;
}

.product-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
  padding: 12px;
  background: #F8F9FA;
  border-radius: 10px;
}

.product-card-specs .spec {
  font-size: 12px;
}

.product-card-specs .spec-label {
  color: #999;
  font-weight: 500;
}

.product-card-specs .spec-value {
  color: #2C3E50;
  font-weight: 600;
}

.product-card-footer {
  padding: 0 20px 20px;
}

.btn-add-quote {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  background: #D42027;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-quote:hover {
  background: #B91C22;
  box-shadow: 0 4px 15px rgba(212, 32, 39, 0.4);
  transform: translateY(-2px);
}

.btn-add-quote:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-add-quote.added {
  background: #27ae60;
}

/* Inline Quantity Control (replaces Add button when item is in cart) */
.qty-control {
  display: flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #D42027;
  background: #FFFFFF;
  width: fit-content;
  margin: 0 auto;
}

.qty-control-btn {
  width: 48px;
  height: 44px;
  border: none;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #D42027;
  transition: all 0.2s;
}

.qty-control-btn:hover {
  background: #FDE8E8;
}

.qty-control-btn.qty-minus {
  border-right: 1px solid #f0f0f0;
}

.qty-control-btn.qty-plus {
  border-left: 1px solid #f0f0f0;
}

.qty-control-btn svg {
  color: #e74c3c;
}

.qty-control-input {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  min-width: 48px;
  max-width: 70px;
  background: #FAFAFA;
  height: 44px;
  line-height: 44px;
  border: none;
  outline: none;
  font-family: inherit;
  -moz-appearance: textfield;
  transition: all 0.2s;
}

.qty-control-input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px #D42027;
}

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

.qty-control-input.qty-input-error {
  background: #FDE8E8;
  color: #D42027;
}

/* Error footnote below qty control */
.qty-error {
  font-size: 12px;
  color: #D42027;
  margin-top: 6px;
  display: none;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
  padding: 0 2px;
  animation: shakeError 0.3s ease;
}

.qty-error.show {
  display: flex;
}

.qty-error svg {
  flex-shrink: 0;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ---- CHECKOUT PAGE ---- */
.checkout-header {
  background: linear-gradient(135deg, #1A1A1A, #111111);
  padding: 120px 0 60px;
  text-align: center;
}

.checkout-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.checkout-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
}

.checkout-items {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.checkout-items h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #F8F9FA;
}

.checkout-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: center;
}

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

.checkout-item-image {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.checkout-item-image .product-image-placeholder {
  border-radius: 10px;
}

.checkout-item-details {
  flex: 1;
}

.checkout-item-details h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 4px;
}

.checkout-item-details .price {
  font-size: 13px;
  color: #D42027;
  font-weight: 600;
}

.checkout-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  color: #555;
}

.qty-btn:hover { background: #eee; }

.checkout-item-qty span {
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.checkout-item-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
}

.checkout-item-remove:hover {
  background: #fde8e8;
}

.checkout-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.checkout-empty svg { margin: 0 auto 16px; color: #ddd; }
.checkout-empty h3 { color: #777; margin-bottom: 8px; }
.checkout-empty p { margin-bottom: 20px; }

/* Quotation Form */
.checkout-form-container {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  align-self: start;
  position: sticky;
  top: 90px;
}

.checkout-form-container h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #F8F9FA;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.form-group label .required {
  color: #D42027;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s;
  background: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #D42027;
  outline: none;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(212, 32, 39, 0.1);
}

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

.form-disclaimer {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
  line-height: 1.6;
}

.btn-submit-quote {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
}

/* ---- SUCCESS PAGE ---- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A1A1A, #111111);
  padding-top: 70px;
}

.success-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 50px;
  text-align: center;
  max-width: 550px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #e8f8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon svg { color: #27ae60; }

.success-card h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.success-card p {
  color: #777;
  margin-bottom: 8px;
  line-height: 1.7;
}

.success-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.footer {
  background: #111111;
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-brand-logo {
  max-width: 200px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer h4 {
  color: #D42027;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: 14px;
  transition: color 0.2s;
}

.footer ul li a:hover {
  color: #D42027;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: #D42027;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- NOTIFICATION TOAST ---- */
.cart-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1A1A1A;
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

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

.cart-notification svg { color: #27ae60; }

/* ---- CONTACT DROPDOWN ---- */
.contact-dropdown {
  position: relative;
  display: inline-block;
}

.contact-dropdown .dropdown-arrow {
  transition: transform 0.3s;
}

.contact-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.contact-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
}

.contact-dropdown.open .contact-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.contact-dropdown-menu::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #FFFFFF;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #2C3E50;
  transition: all 0.2s;
  white-space: nowrap;
}

.contact-option:hover {
  background: #F8F9FA;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- PHONE MODAL ---- */
.phone-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.phone-modal-overlay.show {
  opacity: 1;
}

.phone-modal-overlay.closing {
  opacity: 0;
}

.phone-modal {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px 36px 32px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.phone-modal-overlay.show .phone-modal {
  transform: scale(1) translateY(0);
}

.phone-modal-overlay.closing .phone-modal {
  transform: scale(0.9) translateY(20px);
}

.phone-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s;
}

.phone-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.phone-modal-icon {
  width: 64px;
  height: 64px;
  background: #D42027;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.phone-modal h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.phone-modal p {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 24px;
}

.phone-modal-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #F8F9FA;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 14px 20px;
}

.phone-modal-number span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 0.5px;
  user-select: all;
}

.phone-copy-btn {
  background: none;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: #888;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-copy-btn:hover {
  border-color: #D42027;
  color: #D42027;
  background: #FDE8E8;
}

.phone-copy-feedback {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #27ae60;
  animation: fadeInUp 0.3s ease;
}

.phone-copy-feedback.show {
  display: flex;
}

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

/* Email provider buttons */
.email-providers {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.email-provider-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  flex: 1;
  justify-content: center;
}

.email-provider-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0.9;
}

/* Provider Picker (Checkout submit modal) */
.provider-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.provider-pick-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 12px;
  color: white;
  transition: all 0.2s;
  text-decoration: none;
}

.provider-pick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  opacity: 0.95;
}

.provider-pick-btn div {
  text-align: left;
}

.provider-pick-btn strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.provider-pick-btn small {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

.provider-mailto-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  transition: color 0.2s;
}

.provider-mailto-link:hover {
  color: #D42027;
}

.provider-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: #aaa;
  line-height: 1.5;
  text-align: left;
}

/* ---- LEGAL PAGES (Privacy, Terms) ---- */
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: #555;
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #D42027;
  border-radius: 50%;
}

.legal-contact {
  background: #F8F9FA;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
}

.legal-contact p {
  margin-bottom: 6px;
  color: #555;
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- LOADING SPINNER ---- */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ---- SECTION BANNERS & BG IMAGES ---- */
.section-banner {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-with-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.cta-with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
  z-index: 0;
}

.cta-with-bg > .container {
  position: relative;
  z-index: 1;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(212, 32, 39, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 80px 20px 40px;
    transition: right 0.3s;
    z-index: 1000;
  }

  .nav-links.active { right: 0; }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    border-radius: 10px;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 100%;
  }

  .hero-logo img {
    max-width: 240px;
    margin: 0 auto;
  }

  .section-banner img {
    height: 200px;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-stat h3 { font-size: 1.5rem; }

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

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

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-form-container {
    position: static;
  }

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

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

  .category-tabs {
    justify-content: flex-start;
    padding: 20px 0;
  }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .card { padding: 24px; }
  .checkout-items,
  .checkout-form-container { padding: 20px; }
  .success-card { padding: 30px; }
}


/* ============================================================
   POLISH / RESPONSIVE CONSISTENCY UPDATES
   ============================================================ */

/* Keep the desktop navigation visually identical and usable across every page. */
.nav-container { min-width: 0; }
.nav-links { flex-shrink: 0; }
.nav-links a { font-size: 14px; padding: 8px 13px; }
.nav-cart { padding: 8px 13px; }

/* Show the complete original milestone photo — never crop it. */
.section-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  background: #FFFFFF;
}

.section-banner img {
  width: min(100%, 900px);
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
  border-radius: 12px;
}

/* Shopping hero: use the actual 16:9 source image as an image layer,
   then put the dark overlay and text above it. This preserves the whole image. */
.shop-header-image {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A1A1A;
}

.shop-header-image .shop-header-bg {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.shop-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,10,10,.78), rgba(10,10,10,.56), rgba(10,10,10,.72));
}

.shop-header-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Make the people photo the focal point of both sales CTAs. */
.cta-people {
  background-size: cover;
  background-position: center 24%;
  min-height: 330px;
}

.cta-people::before {
  background: linear-gradient(90deg, rgba(15,15,15,.84), rgba(15,15,15,.68), rgba(15,15,15,.82));
}

/* Inline phone validation message. */
.field-error {
  display: none;
  margin-top: 6px;
  color: #D42027;
  font-size: 12px;
  font-weight: 600;
}

.field-error.show { display: block; }

.form-group input.input-error {
  border-color: #D42027;
  background: #FFF7F7;
  box-shadow: 0 0 0 3px rgba(212,32,39,.08);
}

/* Avoid the desktop navigation becoming cramped before the mobile breakpoint. */
@media (max-width: 1050px) and (min-width: 769px) {
  .nav-container { padding: 0 14px; }
  .nav-logo { gap: 8px; }
  .nav-logo-text { font-size: 16px; }
  .nav-logo-text small { font-size: 9px; }
  .nav-logo-icon { width: 38px; height: 38px; }
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 12px; padding: 7px 9px; }
  .nav-cart { padding: 7px 9px; }
}

@media (max-width: 768px) {
  .section-banner { padding: 10px; }
  .section-banner img { width: 100%; height: auto !important; }
  .shop-header-content { padding: 0 20px; }
  .shop-header h1 { font-size: 2rem; }
  .shop-header p { font-size: 14px; }
  .cta-people { min-height: 360px; background-position: center 20%; }
}
