/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fefefe;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  color: #8b0000;
}

h2 {
  font-size: 2rem;
  color: #8b0000;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  color: #8b0000;
  margin-bottom: 0.5rem;
}

/* Header and Navigation */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo h1 {
  font-size: 1.8rem;
  color: #8b0000;
  font-weight: 700;
  margin: 0;
}

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

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #8b0000;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #8b0000;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #8b0000;
  margin: 3px 0;
  transition: 0.3s;
}

/* Responsive Logo */
@media (max-width: 768px) {
  .logo img {
    height: 35px;
  }

  .logo h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 30px;
  }

  .logo h1 {
    font-size: 1.3rem;
  }
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  padding: 120px 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-content h2 {
  font-size: 3rem;
  color: #8b0000;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #8b0000, #a52a2a);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .hero-buttons {
    justify-content: center;
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #8b0000, #a52a2a);
  color: white;
  text-align: center;
  padding: 150px 0 80px;
}

.page-hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.features {
  padding: 80px 0;
  background: #f8f8f8;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Wine Categories */
.wine-categories {
  padding: 80px 0;
}

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

.category-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category-content {
  padding: 1.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #8b0000, #a52a2a);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* About Page */
.about-content {
  padding: 80px 0;
}

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

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.wine-regions {
  padding: 80px 0;
  background: #f8f8f8;
}

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

.region-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.services {
  padding: 80px 0;
}

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

.service-card {
  text-align: center;
  padding: 2rem;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
  padding: 80px 0;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.contact-form-container {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8b0000;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input {
  margin-top: 0.2rem;
}

.submit-button {
  background: linear-gradient(135deg, #8b0000, #a52a2a);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.contact-status-msg {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 1rem;
}

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

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

.map-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.map-placeholder {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Legal Content */
.legal-content {
  padding: 80px 0;
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
}

.legal-text h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: #2c2c2c;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  color: #daa520;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #daa520;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  text-align: center;
  color: #ccc;
}

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

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 1rem 2rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .page-hero h1 {
    font-size: 2rem;
  }

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

  .nav-container {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }

  .features-grid,
  .regions-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 15px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.category-card,
.service-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid #8b0000;
  outline-offset: 2px;
}

/* Product Page Styles */
.product-categories {
  padding: 80px 0;
}

.category-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.tab-button {
  background: white;
  border: 2px solid #8b0000;
  color: #8b0000;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover,
.tab-button.active {
  background: #8b0000;
  color: white;
}

.product-section {
  display: none;
}

.product-section.active {
  display: block;
}

.producer-section {
  margin-bottom: 3rem;
}

.producer-section h3,
.producer-section h4 {
  color: #8b0000;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #daa520;
  padding-bottom: 0.5rem;
}

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

.product-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 4px solid #8b0000;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-info {
  padding: 0;
}

.product-info h4 {
  color: #8b0000;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-details {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #8b0000;
  margin-bottom: 0.3rem;
}

.product-volume {
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
}

/* Wine Regions Tabs */
.wine-regions {
  margin-top: 2rem;
}

.region-tab {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.region-button {
  background: #f8f8f8;
  border: 1px solid #ddd;
  color: #333;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.region-button:hover,
.region-button.active {
  background: #8b0000;
  color: white;
  border-color: #8b0000;
}

.region-content {
  display: none;
}

.region-content.active {
  display: block;
}

/* Spirits Categories */
.spirits-categories {
  margin-top: 2rem;
}

.spirit-tab {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.spirit-button {
  background: #f8f8f8;
  border: 1px solid #ddd;
  color: #333;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.spirit-button:hover,
.spirit-button.active {
  background: #8b0000;
  color: white;
  border-color: #8b0000;
}

.spirit-content {
  display: none;
}

.spirit-content.active {
  display: block;
}

/* Responsive adjustments for products */
@media (max-width: 768px) {
  .category-tabs,
  .region-tab,
  .spirit-tab {
    flex-direction: column;
    align-items: center;
  }

  .tab-button,
  .region-button,
  .spirit-button {
    width: 200px;
    text-align: center;
  }

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

/* ==========================================================================
   Shopping Cart & Checkout System Styles
   ========================================================================== */

/* Add to Cart Button */
.add-to-cart-btn {
  background: #8b0000;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1.25rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 2px 5px rgba(139, 0, 0, 0.1);
}

.add-to-cart-btn:hover {
  background: #a51d24;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(139, 0, 0, 0.25);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

/* Floating Cart Button for quick access */
.floating-cart-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #8b0000;
  color: #ffffff;
  border: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cart-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background: #a51d24;
  box-shadow: 0 6px 25px rgba(139, 0, 0, 0.3);
}

.floating-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #c5a880;
  color: #1a0000;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  padding: 0 4px;
}

/* Cart Drawer and Overlays */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 10002;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e2d2bc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfaf6;
}

.cart-drawer-header h3 {
  color: #8b0000;
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.cart-close-btn:hover {
  color: #8b0000;
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid #e2d2bc;
  background: #fdfaf6;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a0000;
  font-family: 'Inter', sans-serif;
}

.cart-total span:last-child {
  color: #8b0000;
  font-size: 1.45rem;
}

.cart-checkout-btn {
  background: #8b0000;
  color: #ffffff;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(139, 0, 0, 0.2);
}

.cart-checkout-btn:hover {
  background: #a51d24;
  box-shadow: 0 6px 18px rgba(139, 0, 0, 0.3);
}

/* Individual Cart Items */
.cart-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f3ebe1;
}

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

.cart-item-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #1a0000;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cart-item-info p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

.cart-item-price {
  font-weight: 700;
  color: #8b0000;
  font-size: 1.05rem;
  margin-top: 0.35rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #c5a880;
  background: #ffffff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #8b0000;
  font-weight: bold;
}

.qty-btn:hover {
  background: #fdfaf6;
  border-color: #8b0000;
}

.qty-val {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s;
  padding: 0.25rem;
  margin-left: 0.5rem;
  align-self: center;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-empty-message {
  text-align: center;
  color: #888;
  font-style: italic;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cart-empty-message span {
  font-size: 2.5rem;
  color: #c5a880;
}

/* Checkout Modal Styles */
.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  z-index: 10005;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal {
  background: #ffffff;
  border-radius: 12px;
  width: 620px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2d2bc;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.checkout-modal-overlay.active .checkout-modal {
  transform: scale(1);
}

.checkout-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e2d2bc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfaf6;
}

.checkout-modal-header h3 {
  color: #8b0000;
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 1.5rem;
}

.checkout-modal-body {
  padding: 1.75rem;
}

.checkout-summary-box {
  background: #fdfaf6;
  border: 1px dashed #c5a880;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.checkout-summary-box h4 {
  font-family: 'Inter', sans-serif;
  color: #1a0000;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.checkout-summary-list {
  max-height: 180px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #fcf4ea;
}

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: #8b0000;
  margin-top: 0.75rem;
  border-top: 1px solid #e2d2bc;
  padding-top: 0.75rem;
}

.checkout-form-group {
  margin-bottom: 1.2rem;
}

.checkout-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.4rem;
}

.checkout-form-group input,
.checkout-form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #c5a880;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-form-group input:focus,
.checkout-form-group textarea:focus {
  border-color: #8b0000;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.checkout-notice {
  font-size: 0.8rem;
  color: #666;
  background: #fcfcfc;
  border-left: 3px solid #c5a880;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.checkout-submit-btn {
  background: #8b0000;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  width: 100%;
  padding: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
}

.checkout-submit-btn:hover {
  background: #a51d24;
}

.checkout-success-state {
  text-align: center;
  padding: 2.5rem 1rem;
}

.checkout-success-icon {
  font-size: 3.5rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.checkout-success-state h4 {
  font-family: 'Playfair Display', serif;
  color: #8b0000;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.checkout-success-state p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.checkout-success-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  background: #fdfaf6;
  padding: 0.5rem 1rem;
  border: 1px solid #e2d2bc;
  border-radius: 4px;
  color: #1a0000;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.checkout-success-close {
  background: #8b0000;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.checkout-success-close:hover {
  background: #a51d24;
}

/* Badge count for navigation item */
.cart-nav-badge {
  background: #8b0000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
  display: inline-block;
}

