/* ============================================================
   ÇİĞKÖFTE SHOP - Public Stylesheet
   Theme: Warm Turkish red/orange/brown
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --primary: #c0392b;
  --primary-dark: #9b2d1f;
  --primary-light: #e74c3c;
  --secondary: #e67e22;
  --secondary-dark: #c0651a;
  --dark: #2c1810;
  --dark-light: #3d2216;
  --light: #fff5f0;
  --light-alt: #fef0e8;
  --accent: #f39c12;
  --accent-dark: #d68910;
  --success: #27ae60;
  --info: #2980b9;
  --warning: #f39c12;
  --danger: #e74c3c;
  --text: #3d2216;
  --text-muted: #7f6b5d;
  --text-light: #b5a092;
  --white: #ffffff;
  --black: #1a0d08;
  --border: #e8d5c8;
  --border-light: #f5e6db;
  --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.08);
  --shadow: 0 4px 12px rgba(44, 24, 16, 0.12);
  --shadow-lg: 0 8px 30px rgba(44, 24, 16, 0.16);
  --shadow-xl: 0 16px 48px rgba(44, 24, 16, 0.2);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s ease;
  --font-primary: 'Poppins', 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
}

/* --- Global Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.25rem;
}

/* --- Utility Classes --- */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-dark { color: var(--dark) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-white { background-color: var(--white) !important; }

.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-black { font-weight: 900 !important; }

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  border-color: transparent;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-outline-secondary {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

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

.btn-light {
  background: var(--white);
  color: var(--dark);
  border-color: var(--border);
}

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

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

.btn-dark:hover {
  background: var(--dark-light);
  color: var(--white);
}

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

.btn-success:hover {
  background: #219a52;
  color: var(--white);
}

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

.btn-danger:hover {
  background: #c0392b;
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: var(--radius);
}

.btn-xl {
  padding: 18px 44px;
  font-size: 1.2rem;
  border-radius: var(--radius);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sepete Ekle - Special Styling */
.btn-add-to-cart,
.sepete-ekle {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.35);
}

.btn-add-to-cart:hover,
.sepete-ekle:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.45);
}

.btn-add-to-cart i,
.sepete-ekle i {
  margin-right: 6px;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}

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

.card-body {
  padding: 1.5rem;
}

.card-img-top {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Feature Cards (3-column info) */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.feature-card .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-alt), var(--border-light));
  margin-bottom: 1.25rem;
  font-size: 2rem;
  color: var(--primary);
}

.feature-card h4 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Navbar --- */
.navbar {
  background: var(--white) !important;
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
  z-index: 1030;
}

.navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition);
  position: relative;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary) !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar .cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Hero Slider --- */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper-slide {
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slider .swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(44, 24, 16, 0.85) 0%, rgba(44, 24, 16, 0.4) 50%, rgba(44, 24, 16, 0.1) 100%);
}

.hero-slider .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
}

.hero-slider .hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-slider .hero-content h1 span {
  color: var(--secondary);
}

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

.hero-slider .swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--secondary);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: var(--white);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: bold;
}

/* --- Product Cards --- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}

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

.product-card .product-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-card .product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.1);
}

.product-card .discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}

.product-card .product-info {
  padding: 1.25rem;
}

.product-card .product-info h5 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-card .product-info .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 1rem;
}

.product-card .product-info .price .current {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card .product-info .price .original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* --- Menu Category Cards --- */
.menu-category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}

.menu-category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.menu-category-card .cat-img {
  height: 200px;
  overflow: hidden;
}

.menu-category-card .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.menu-category-card:hover .cat-img img {
  transform: scale(1.08);
}

.menu-category-card .cat-info {
  padding: 1.25rem;
  text-align: center;
}

.menu-category-card .cat-info h5 {
  margin-bottom: 0.35rem;
}

.menu-category-card .cat-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Statistics Section --- */
.statistics-section {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  padding: 60px 0;
  color: var(--white);
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-item .stat-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-card .testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--secondary);
}

.testimonial-card .testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.testimonial-card .testimonial-name {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-card .testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* --- Cart Page --- */
.cart-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-table thead {
  background: var(--dark);
  color: var(--white);
}

.cart-table thead th {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.cart-table tbody td {
  padding: 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-light);
}

.cart-table tbody tr:last-child td {
  border-bottom: none;
}

.cart-table .cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
}

.cart-quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-quantity-control button {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--light-alt);
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-quantity-control button:hover {
  background: var(--primary);
  color: var(--white);
}

.cart-quantity-control input {
  width: 50px;
  height: 34px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  -moz-appearance: textfield;
}

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

.btn-remove-cart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--light-alt);
  color: var(--danger);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-remove-cart:hover {
  background: var(--danger);
  color: var(--white);
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.cart-summary .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.cart-summary .summary-row.total {
  border-bottom: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  border-top: 2px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* --- Checkout Page --- */
.checkout-form .form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.checkout-form .form-section h4 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-light);
  color: var(--dark);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  color: var(--dark);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-select {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  color: var(--dark);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237f6b5d' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  transition: all var(--transition);
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

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

.invalid-feedback {
  display: block;
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.25rem;
}

/* Order Summary Sidebar */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.order-summary h5 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-light);
}

.order-summary .order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.order-summary .order-item .item-qty {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.order-summary .order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 2px solid var(--border);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

/* --- Login / Register --- */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-alt), var(--light));
}

.auth-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  margin: 2rem auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.auth-sidebar {
  width: 40%;
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.auth-sidebar h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.auth-sidebar p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.auth-sidebar .features-list {
  list-style: none;
  padding: 0;
}

.auth-sidebar .features-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.auth-sidebar .features-list li i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.auth-form {
  width: 60%;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.auth-form .auth-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.auth-form .form-control {
  margin-bottom: 1rem;
}

.auth-form .btn {
  margin-top: 0.5rem;
}

.auth-form .auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Contact Page --- */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-info-card .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-alt), var(--border-light));
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer a {
  color: var(--border-light);
  transition: color var(--transition);
}

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

.footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer .footer-links {
  list-style: none;
  padding: 0;
}

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

.footer .footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer .footer-links li a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer .footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer .social-links {
  display: flex;
  gap: 12px;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all var(--transition);
  font-size: 0.9rem;
}

.footer .social-links a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- Floating Sidebar Buttons --- */
.floating-buttons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  font-size: 1.2rem;
  position: relative;
  cursor: pointer;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

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

.floating-btn.whatsapp:hover {
  background: #1ebd54;
}

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

.floating-btn.phone:hover {
  background: var(--primary-light);
}

.floating-btn .tooltip-text {
  position: absolute;
  right: 60px;
  background: var(--dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.floating-btn:hover .tooltip-text {
  opacity: 1;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  margin-bottom: 0;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  padding: 0 8px;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-page-header {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  color: var(--white);
  padding: 40px 0;
  position: relative;
}

.breadcrumb-page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.breadcrumb-page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-page-header .breadcrumb-item.active {
  color: var(--secondary);
}

.breadcrumb-page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* --- Loading Spinner --- */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.spinner-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 3px;
}

.spinner-lg {
  width: 64px;
  height: 64px;
  border-width: 5px;
}

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

/* --- Toast Notifications --- */
.toast-container {
  z-index: 9990;
}

.toast {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  border: none !important;
}

.toast .toast-header {
  border-bottom: 1px solid var(--border-light);
  background: transparent;
}

.toast .toast-body {
  font-size: 0.9rem;
}

/* --- Cookie Consent --- */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(44, 24, 16, 0.15);
  z-index: 9980;
  padding: 1rem 0;
}

.cookie-consent-bar .cookie-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-consent-bar .btn {
  white-space: nowrap;
}

/* --- Scroll to Top --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 1010;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); opacity: 1; }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-bounce-in {
  animation: bounceIn 0.6s ease forwards;
}

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
}

.stagger-children.animate > *:nth-child(1) { animation: fadeInUp 0.5s ease 0.1s forwards; }
.stagger-children.animate > *:nth-child(2) { animation: fadeInUp 0.5s ease 0.2s forwards; }
.stagger-children.animate > *:nth-child(3) { animation: fadeInUp 0.5s ease 0.3s forwards; }
.stagger-children.animate > *:nth-child(4) { animation: fadeInUp 0.5s ease 0.4s forwards; }
.stagger-children.animate > *:nth-child(5) { animation: fadeInUp 0.5s ease 0.5s forwards; }
.stagger-children.animate > *:nth-child(6) { animation: fadeInUp 0.5s ease 0.6s forwards; }

/* --- Responsive --- */
@media (max-width: 1199.98px) {
  .hero-slider .hero-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 991.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero-slider .swiper-slide {
    height: 400px;
  }

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

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

  .auth-container {
    flex-direction: column;
    max-width: 500px;
    margin: 1rem;
  }

  .auth-sidebar,
  .auth-form {
    width: 100%;
  }

  .auth-sidebar {
    padding: 2rem;
  }

  .auth-form {
    padding: 2rem;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .cart-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--dark);
    margin-right: 1rem;
  }

  .order-summary {
    position: static;
    margin-top: 1.5rem;
  }

  .floating-buttons {
    right: 10px;
    gap: 8px;
  }

  .floating-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .hero-slider .swiper-slide {
    height: 350px;
  }

  .hero-slider .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-slider .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .hero-slider .hero-content .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    display: none;
  }

  .section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }

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

  .stat-item .stat-number {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .checkout-form .form-section {
    padding: 1.25rem;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 15px;
  }

  .hero-slider .swiper-slide {
    height: 300px;
  }

  .hero-slider .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-slider .hero-content p {
    font-size: 0.85rem;
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .btn-add-to-cart {
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  .product-card .product-info {
    padding: 1rem;
  }

  .cart-table tbody td {
    flex-wrap: wrap;
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  .auth-container {
    margin: 0.5rem;
    border-radius: var(--radius);
  }

  .auth-sidebar,
  .auth-form {
    padding: 1.5rem;
  }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Print Styles --- */
@media print {
  .navbar, .footer, .floating-buttons, .scroll-to-top,
  .cookie-consent-bar, .hero-slider, .no-print {
    display: none !important;
  }

  body {
    background: var(--white);
    color: var(--black);
  }
}
