/* ====== PROFESSIONAL HEADER STYLES ====== */
:root {
  --dark-bg: #1a1a1a;
  --text-light: #f0f0f0;
  --text-gray: #a0a0a0;
  --accent-color: #ffffff;
  --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --border-radius: 12px;
  --header-height: 80px;
  --primary: #333;
  --secondary: #777;
  --accent: #f5f5f5;
  --sale: #e63946;
  --white: #fff;
  --black: #000;
  --success: #4caf50;
  --error: #e63946;
  --info: #2196F3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: #f9f9f9;
  padding-top: var(--header-height);
  color: #333;
  line-height: 1.6;
}

/* ====== NOTIFICATION STYLES ====== */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification {
  min-width: 250px;
  padding: 15px 25px;
  border-radius: 6px;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  animation: slideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  transform: translateX(120%);
}

.notification.success { background-color: var(--success); }
.notification.error { background-color: var(--error); }
.notification.info { background-color: var(--info); }

@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}


/* ====== LUXURY HEADER ====== */
.tilda-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: var(--header-height) !important;
  background-color: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25) !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 5% !important;
  border-bottom: 1px solid rgba(224, 224, 224, 0.1) !important;
  transition: var(--transition) !important;
}

.logo-container {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  transition: var(--transition) !important;
}

.logo-link {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
}

.logo-link:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
}

.logo-img {
  height: 38px !important;
  filter: brightness(0) invert(1) !important;
  transition: var(--transition) !important;
}

/* ====== MAIN NAVIGATION ====== */
.main-nav {
  margin-left: auto !important;
  display: none !important; /* ADAUGĂ ACEASTĂ LINIE */
}

.nav-list {
  display: flex !important;
  list-style: none !important;
  gap: 2px !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
}

.nav-item {
  position: relative !important;
}

.nav-link {
  color: var(--text-gray) !important;
  text-decoration: none !important;
  font-weight: 450 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.3px !important;
  padding: 8px 10px !important;
  transition: var(--transition) !important;
  opacity: 0.9 !important;
  text-transform: uppercase !important;
  border-radius: var(--border-radius) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  position: relative !important;
}

.nav-link:hover {
  color: var(--accent-color) !important;
  opacity: 1 !important;
  background: rgba(224, 224, 224, 0.1) !important;
}

.nav-link.active {
  color: var(--accent-color) !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

/* ====== MOBILE MENU TOGGLE ====== */
.mobile-toggle {
  display: flex  !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  margin-left: auto !important;
  padding: 12px !important;
  z-index: 1001 !important;
}

.hamburger {
  width: 28px !important;
  height: 20px !important;
  position: relative !important;
}

.hamburger span {
  display: block !important;
  position: absolute !important;
  height: 2px !important;
  width: 100% !important;
  background: var(--accent-color) !important;
  transition: var(--transition) !important;
  transform-origin: center !important;
}

.hamburger span:nth-child(1) { top: 0 !important; }
.hamburger span:nth-child(2) { top: 50% !important; transform: translateY(-50%) !important; }
.hamburger span:nth-child(3) { bottom: 0 !important; }

/* ====== MOBILE MENU ====== */
.mobile-menu {
  position: fixed !important;
  top: var(--header-height) !important;
  right: -100% !important;
  width: 320px !important;
  height: calc(100vh - var(--header-height)) !important;
  background-color: rgba(10, 10, 10, 0.98) !important;
  backdrop-filter: blur(10px) !important;
  transition: var(--transition) !important;
  z-index: 999 !important;
  overflow-y: auto !important;
  padding: 40px 0 !important;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3) !important;
  border-left: 1px solid rgba(224, 224, 224, 0.1) !important;
}

.mobile-menu.active {
  right: 0 !important;
}

.mobile-menu ul {
  list-style: none !important;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(224, 224, 224, 0.1) !important;
  transition: var(--transition) !important;
}

.mobile-menu li:hover {
  background: rgba(224, 224, 224, 0.05) !important;
}

.mobile-menu a {
  color: var(--text-gray) !important;
  text-decoration: none !important;
  font-size: 0.8rem !important;
  display: block !important;
  padding: 14px 20px !important;
  transition: var(--transition) !important;
  letter-spacing: 0.3px !important;
  position: relative !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mobile-menu a.active {
  color: var(--accent-color) !important;
  font-weight: 500 !important;
}

.mobile-menu a:hover {
  color: var(--accent-color) !important;
  padding-left: 35px !important;
}

/* ====== HAMBURGER ANIMATION ====== */
.mobile-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg) !important;
}

.mobile-toggle.active .hamburger span:nth-child(2) {
  opacity: 0 !important;
}

.mobile-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg) !important;
}

/* ====== BACKDROP ====== */
.backdrop {
  position: fixed !important;
  top: var(--header-height) !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100vh - var(--header-height)) !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  z-index: 998 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: var(--transition) !important;
  backdrop-filter: blur(5px) !important;
}

.backdrop.active {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* ====== INTRO OVERLAY STYLES ====== */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background-color: #f8f8f8;
}

.intro-title {
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
  color: #222;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  position: absolute;
  width: 100%;
  padding: 0 30px;
}

.intro-title.active {
  opacity: 1;
  transform: translateY(0);
}

.step {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
  font-size: 1.5rem;
  font-weight: 400;
  padding: 0 30px;
  line-height: 1.6;
  font-family: 'Playfair Display', serif;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

.step.active {
  opacity: 1;
  transform: translateY(0);
}

.progress-container {
  position: fixed;
  bottom: 60px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #e0e0e0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.progress-container.active {
  opacity: 1;
}

.progress-bar {
  height: 100%;
  background: #222;
  width: 0%;
  transition: width 0.6s ease;
}

.skip-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid #555;
  color: #555;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  z-index: 1001;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  transition: all 0.2s ease;
  opacity: 0;
}

.skip-btn.active {
  opacity: 1;
}

.skip-btn:hover {
  background: #f0f0f0;
}

.confirmation-panel {
  position: relative;
  width: 100%;
  text-align: center;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background-color: transparent;
  padding: 30px 0;
  margin-top: 30px;
}

.confirmation-text {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #555;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  width: 100%;
}

.confirmation-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  width: 100%;
}

.confirmation-btn {
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  font-weight: 400;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
  min-width: 120px;
}

.understand-btn {
  background: #222;
  color: white;
}

.understand-btn:hover {
  background: #444;
}

.repeat-btn {
  background: #e0e0e0;
  color: #222;
  border: 1px solid #d0d0d0;
}

.repeat-btn:hover {
  background: #d0d0d0;
}

/* ====== MAIN CONTENT STYLES ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 200px; 
    right: 10px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999; 
    transition: var(--transition);
    transform: translateY(0);
}

.floating-cart:hover {
  background-color: #222;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.floating-cart:active {
  transform: translateY(1px) scale(0.98);
}

.cart-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-icon svg {
  width: 100%;
  height: 100%;
  color: var(--white);
  transition: inherit;
}

.floating-cart:hover .cart-icon svg {
  transform: translateY(-1px) scale(1.05);
  color: rgba(255,255,255,0.92);
  filter: drop-shadow(0 1px 2px rgba(255,255,255,0.25));
}

.floating-cart:hover .cart-icon {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--sale);
  color: var(--white);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transition: transform 0.2s ease;
}

.floating-cart:hover .cart-count {
  transform: scale(1.1);
}

/* Category Title */
.category-title {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
  text-align: center;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 20px 0;
  padding: 10px 0;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.product-image-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 18px;
}

.product-title {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
}

.product-price {
  font-weight: bold;
  color: var(--primary);
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Product Detail Modal */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-modal.show {
  opacity: 1;
}

/* MODIFICARE: Animația acum vine de sus */
@keyframes modalFadeIn {
  from { 
    opacity: 0;
    transform: translateY(-20px); /* De sus */
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  background-color: var(--white);
  max-width: 900px;
  margin: 50px auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  transform: translateY(-20px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: var(--white);
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  transform: scale(1);
  z-index: 10;
}

.close-modal:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.1);
}

.product-detail {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .product-detail {
    flex-direction: row;
  }
}

.product-gallery {
  flex: 1;
  padding: 25px;
  background-color: #fafafa;
}

.main-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  margin-bottom: 15px;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
}

.thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: var(--transition);
  border-radius: 6px;
}

.thumbnail:hover {
  border-color: var(--primary);
}

.thumbnail.active {
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.product-details {
  flex: 1;
  padding: 25px;
  padding-bottom: 200px; /* Spațiu de siguranță */
}

.product-name {
  font-size: 24px;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
}

.product-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.product-price-detail {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #222;
}

.option-selector {
  margin-bottom: 25px;
}

.option-title {
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333;
  letter-spacing: 0.3px;
}

/* Styling the '?' info icon */
.design-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #e9e9e9;
  color: #555;
  border-radius: 50%;
  border: 1px solid #ddd;
  font-weight: bold;
  font-size: 14px;
  margin-left: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.design-info-icon:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1) rotate(10deg);
}

.color-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  position: relative;
  background: none;
  padding: 0;
}

.color-option .color-swatch {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option[aria-pressed="true"] {
  border-color: var(--primary);
  transform: scale(1.1);
}

.color-option[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 12px;
  text-shadow: 0 0 2px var(--black);
}

.size-options, .design-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-option, .design-option {
  padding: 8px 14px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  color: #333;
}

.size-option:hover, .design-option:hover {
  border-color: var(--primary);
  background-color: #f5f5f5;
}

.size-option[aria-pressed="true"], .design-option[aria-pressed="true"] {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--white);
}

.size-option:disabled, .design-option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #eee;
  text-decoration: line-through;
}

/* MODIFICARE: Stiluri noi, premium și simple pentru pop-up-uri */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
  overflow-y: auto; /* Permite scroll pe tot overlay-ul daca fereastra e prea inalta */
}
.popup-overlay.flex {
  display: flex;
}

.popup-content {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 35px 40px;
  width: 100%;
  max-width: 650px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  font-family: 'Inter', sans-serif;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #444 var(--dark-bg);
}
.popup-content::-webkit-scrollbar { width: 8px; }
.popup-content::-webkit-scrollbar-track { background: var(--dark-bg); }
.popup-content::-webkit-scrollbar-thumb { background-color: #444; border-radius: 4px; }


.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  font-weight: 300;
  color: var(--text-gray);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 15; /* Ensure it's above slider content */
}
.popup-close-btn:hover {
  color: var(--white);
  transform: rotate(90deg);
}
.popup-content h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  color: var(--white);
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}
.popup-content h4 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--white);
  font-weight: 500;
}
.popup-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.popup-content .guideline-item {
    margin-bottom: 25px;
    padding-left: 0;
    line-height: 1.7;
}
.popup-content .guideline-title {
    font-weight: 600;
    color: var(--white);
    font-size: 18px;
    margin-bottom: 5px;
}
.popup-content .guideline-description {
    color: var(--text-gray);
}
.popup-content .understood-photo-btn {
    width: 100%;
    padding: 15px;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 20px;
}
.popup-content .understood-photo-btn:hover {
    background: #f0f0f0;
}

/* New Slider Popup Styles */
.slider-popup {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.slider-container {
    position: relative;
    width: 100%;
    margin: 20px auto 0;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: grab;
}

.slider-track:active {
    cursor: grabbing;
}

.slider-slide {
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 5px;
    text-align: center;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
    left: -15px;
}

.slider-arrow.next {
    right: -15px;
}

.slider-dots {
    text-align: center;
    margin-top: 25px;
}

.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #555;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Size Chart Styles */
.size-chart-toggle {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 14px;
  margin-top: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  background: none;
  border: none;
  padding: 0;
}

.size-chart-toggle:hover {
  color: #222;
  text-decoration: underline;
}

.size-chart-toggle svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.size-chart-container {
  margin-top: 15px;
  display: none;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #eee;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.size-chart-container.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.size-chart-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.size-chart-tab {
  padding: 8px 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.size-chart-tab:hover {
  color: var(--primary);
}

.size-chart-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.size-chart-content {
  display: none;
}

.size-chart-content.active {
  display: block;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.size-table th {
  background-color: #f2f2f2;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  padding: 10px;
  border: 1px solid #ddd;
}

.size-table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

.size-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.size-table tr:hover {
  background-color: #f5f5f5;
}

.size-chart-note {
  font-size: 12px;
  color: var(--secondary);
  margin-top: 10px;
  font-style: italic;
}

.add-to-cart-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-top: 25px;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.add-to-cart-btn:hover {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.add-to-cart-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.add-to-cart-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cart Sidebar */
.cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-overlay.show {
  opacity: 1;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background-color: var(--white);
  z-index: 10000;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary);
  color: var(--white);
}

.cart-header h2 {
  font-weight: 500;
  font-size: 20px;
}

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: var(--transition);
  color: var(--white);
  transform: scale(1);
}

.close-cart:hover {
  background-color: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: #ddd #f5f5f5;
}

.cart-items::-webkit-scrollbar {
  width: 6px;
}

.cart-items::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 10px;
}

.empty-cart {
  text-align: center;
  margin-top: 50px;
  color: var(--secondary);
  font-size: 16px;
}

.cart-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--accent);
  position: relative;
}

.cart-item-select {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  margin-right: 15px;
  flex-shrink: 0;
  margin-left: 20px;
  border-radius: 6px;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 15px;
  margin-bottom: 6px;
}

.cart-item-variant {
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 10px;
  font-weight: 500;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.quantity-btn {
  width: 26px;
  height: 26px;
  background-color: var(--accent);
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.quantity-btn:hover {
  background-color: #e0e0e0;
}

.quantity-input {
  width: 40px;
  text-align: center;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px;
  font-size: 14px;
}

.remove-item {
  color: var(--secondary);
  font-size: 13px;
  cursor: pointer;
  margin-top: 5px;
  display: inline-block;
}

.remove-item:hover {
  color: var(--sale);
  text-decoration: underline;
}

.cart-summary {
  padding: 20px;
  border-top: 1px solid var(--accent);
  background-color: #fafafa;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding-bottom: 180px !important;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 18px;
}

.shipping-notice {
  background-color: #FF7F7F;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 4px solid #000000;
  color: #000000;
}

.cart-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}

.continue-shopping-btn, .checkout-btn {
  padding: 14px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex: 1;
  text-align: center;
  min-height: 48px;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-btn {
  background-color: var(--primary);
  color: var(--white);
}

.checkout-btn:hover {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.checkout-btn:active {
  transform: translateY(0);
}

.checkout-btn:disabled {
  background-color: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  transform: none !important;
  box-shadow: none !important;
}

.continue-shopping-btn {
  background-color: var(--accent);
  color: var(--primary);
}

.continue-shopping-btn:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.continue-shopping-btn:active {
  transform: translateY(0);
}

/* Checkout Modal */
.checkout-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkout-modal.show {
  opacity: 1;
}

.checkout-content {
  background-color: var(--white);
  max-width: 700px;
  margin: 50px auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  padding: 30px;
  animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  transform: translateY(-20px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  padding-bottom: 200px;
}

.checkout-title {
  font-size: 24px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.checkout-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

/* Checkout Pages */
.checkout-page {
  display: none;
}

.checkout-page.active {
  display: block;
}

.page-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  gap: 15px;
}

.page-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  transition: all 0.3s ease;
}

.page-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

.page-dot.completed {
  background-color: var(--success);
}

.page-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary);
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
  animation: fadeIn 0.5s ease;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 15px;
}

.form-input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.2);
  outline: none;
}

.form-input.is-invalid {
    border-color: var(--error);
}

.form-error-message {
    color: var(--error);
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.form-input.is-invalid + .form-error-message,
.is-invalid + .form-error-message {
    display: block;
}


.form-select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  background-color: white;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.2);
  outline: none;
}

.phone-input-container {
  display: flex;
  gap: 10px;
}

.phone-code-select {
  width: 120px;
  flex-shrink: 0;
}

.phone-number-input {
  flex: 1;
}

.phone-hint {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  opacity: 0.8;
}

.file-upload-container {
  border: 2px dashed #ddd;
  padding: 25px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: var(--transition);
  background-color: #fafafa;
}

.file-upload-container.is-invalid {
    border-color: var(--error);
}

.file-upload-container:hover {
  border-color: var(--primary);
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

.file-upload-container.dragover {
  border-color: var(--primary);
  background-color: #f0f0f0;
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.file-upload-label {
  display: block;
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 12px;
}

.file-upload-button {
  background-color: var(--primary);
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  display: inline-block;
  transition: var(--transition);
  font-size: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  cursor: pointer;
}

.file-upload-button:hover {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.file-name {
  margin-top: 12px;
  font-size: 14px;
  color: var(--secondary);
}

.internet-photos-option {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.internet-photos-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* Promo Code Styles */
.promo-code-group {
  position: relative;
}

.promo-message {
  display: none;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.promo-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.promo-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Order Summary */
.order-summary {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 4px solid var(--primary);
}

.order-summary h4 {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
}

.summary-row.total {
  font-weight: bold;
  font-size: 18px;
  color: var(--primary);
  border-top: 1px solid #ddd;
  padding-top: 10px;
  margin-top: 15px;
}

.summary-row.discount {
  color: var(--success);
}

/* Privacy Policy Checkbox */
.privacy-policy-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 25px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.privacy-policy-group.is-invalid {
    border-color: var(--error);
}

.privacy-policy-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.privacy-policy-group label {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.privacy-policy-group a {
  color: var(--primary);
  text-decoration: underline;
}

.privacy-policy-group a:hover {
  color: #222;
}

.checkout-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.file-upload-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.checkout-submit, .checkout-cancel, .next-page-btn, .back-page-btn {
  padding: 14px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex: 1;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-submit, .next-page-btn {
  background-color: var(--primary);
  color: var(--white);
}

.checkout-submit:hover, .next-page-btn:hover {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.checkout-submit:active, .next-page-btn:active {
  transform: translateY(0);
}

.checkout-cancel, .back-page-btn {
  background-color: var(--accent);
  color: var(--primary);
}

.checkout-cancel:hover, .back-page-btn:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.checkout-cancel:active, .back-page-btn:active {
  transform: translateY(0);
}

/* Input accessibility */
input, select, textarea {
  font-size: 16px;
}

/* Emoji fallback */
   .emoji {
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Apple Color Emoji", "Twemoji Mozilla", sans-serif;
}

/* Receipt Modal */
.receipt-modal {
  display: none;
  z-index: 10001; /* Z-index mai mare */
}

.receipt-modal .popup-content {
    background-color: var(--white);
    color: var(--black);
    font-family: 'Courier New', monospace;
}

.receipt-header {
  text-align: center;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.receipt-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.receipt-info {
  margin-bottom: 15px;
}

.receipt-info div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.receipt-items {
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
  padding: 10px 0;
  margin-bottom: 15px;
}

.receipt-item {
  margin-bottom: 10px;
}

.receipt-item-name {
  font-weight: bold;
}

.receipt-item-details {
  padding-left: 15px;
  font-size: 14px;
}

.receipt-total {
  font-weight: bold;
  text-align: right;
  font-size: 16px;
  margin-bottom: 15px;
}

.receipt-footer {
  text-align: center;
  font-size: 14px;
}

.receipt-close {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 15px;
  cursor: pointer;
  font-weight: bold;
}

.receipt-close:hover {
  background-color: #222;
}

/* ====== FOOTER STYLES ====== */
#motolion-footer {
  --ml-white: #ffffff;
  --ml-black: #000000;
  --ml-gray: rgba(255, 255, 255, 0.7);
  --ml-blue: #0088cc;
  --ml-red: #dc2626;
  --ml-green: #10b981;
  
  background: var(--ml-black) !important;
  padding: 40px 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  width: 100%;
  margin-top: auto;
}

.ml-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ml-brand {
  text-align: center;
  margin-bottom: 30px;
}

.ml-logo {
  height: 40px;
  filter: brightness(0) invert(1) !important;
  margin-bottom: 20px;
}

.ml-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.ml-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ml-social a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-3px);
}

.ml-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 25px 0 40px;
  flex-wrap: wrap;
}

.ml-contact-btn {
  padding: 14px 25px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  min-width: 220px;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.ml-contact-btn .icon-wrapper {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml-contact-btn.telegram {
  background: transparent !important;
  box-shadow: 0 0 15px rgba(0, 136, 204, 0.5);
}

.ml-contact-btn.telegram:hover {
  box-shadow: 0 0 25px rgba(0, 136, 204, 0.8);
}

.ml-contact-btn.email {
  background: transparent !important;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.ml-contact-btn.email:hover {
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.8);
}

.ml-contact-btn:hover {
  transform: translateY(-3px);
}

.online-status {
  position: relative;
  padding-left: 15px;
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.online-status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--ml-green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: translateY(-50%) scale(1); opacity: 1; }
  50% { transform: translateY(-50%) scale(1.2); opacity: 0.7; }
  100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

.ml-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.ml-col {
  text-align: center;
}

.ml-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.ml-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ml-links li {
  margin-bottom: 10px;
}

.ml-links a {
  color: var(--ml-gray) !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.ml-links a:hover {
  color: var(--ml-white) !important;
  padding-left: 5px !important;
}

.ml-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px !important;
  color: var(--ml-gray) !important;
}

.ml-copyright p {
  margin: 5px 0;
}

#ml-tilda-cover {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--ml-black) !important;
  z-index: 99999;
  transition: bottom 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .ml-brand {
    text-align: left;
  }
  
  .ml-social {
    justify-content: flex-start;
  }
  
  .ml-col {
    text-align: left;
  }
  
  .ml-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .ml-contact-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .ml-contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .ml-contact-btn {
    width: 100%;
    justify-content: center;
  }
  
  .checkout-actions {
    flex-direction: column;
  }
  
  .phone-input-container {
    flex-direction: column;
  }
  
  .phone-code-select {
    width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .checkout-content {
    margin: 20px auto;
    padding: 20px;
    padding-bottom: 200px; /* VALOARE FOARTE MARE PENTRU A FI VIZIBIL */
  }
}

.validate-promo-btn {
  padding: 14px 20px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 100px;
}

.validate-promo-btn:hover {
  background-color: #222;
}

.validate-promo-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

#motolion-footer {
  --ml-white: #ffffff;
  --ml-black: #000000;
  --ml-gray: rgba(255, 255, 255, 0.7);
  --ml-blue: #0088cc;
  --ml-red: #dc2626;
  --ml-green: #10b981;
  background: var(--ml-black) !important;
  padding: 40px 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  width: 100%;
  margin-top: auto;
}
#motolion-footer * {
  font-family: 'Roboto', sans-serif !important;
  color: #ffffff !important;
}
.ml-container {
  max-width: 1200px;
  margin: 0 auto;
}
.ml-brand {
  text-align: center;
  margin-bottom: 30px;
}
.ml-logo {
  height: 40px;
  filter: brightness(0) invert(1) !important;
  margin-bottom: 20px;
}
.ml-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}
.ml-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.ml-social a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-3px);
}
.ml-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 25px 0 40px;
  flex-wrap: wrap;
}
.ml-contact-btn {
  padding: 14px 25px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  min-width: 220px;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.ml-contact-btn .icon-wrapper {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ml-contact-btn.telegram {
  background: transparent !important;
  box-shadow: 0 0 15px rgba(0, 136, 204, 0.5);
}
.ml-contact-btn.telegram:hover {
  box-shadow: 0 0 25px rgba(0, 136, 204, 0.8);
}
.ml-contact-btn.email {
  background: transparent !important;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}
.ml-contact-btn.email:hover {
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.8);
}
.ml-contact-btn:hover {
  transform: translateY(-3px);
}
.online-status {
  position: relative;
  padding-left: 15px;
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}
.online-status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--ml-green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}
.ml-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.ml-col {
  text-align: center;
}
.ml-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.ml-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ml-links li {
  margin-bottom: 10px;
}
.ml-links a {
  color: var(--ml-gray) !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}
.ml-links a:hover {
  color: var(--ml-white) !important;
  padding-left: 5px !important;
}
.ml-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px !important;
  color: var(--ml-gray) !important;
}
.ml-copyright p {
  margin: 5px 0;
}
#ml-tilda-cover {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--ml-black) !important;
  z-index: 99999;
  transition: bottom 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
@media (min-width: 768px) {
  .ml-brand {
    text-align: left;
  }
  .ml-social {
    justify-content: flex-start;
  }
  .ml-col {
    text-align: left;
  }
  .ml-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .ml-contact-buttons {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .ml-contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  .ml-contact-btn {
    width: 100%;
    justify-content: center;
  }
}