:root {
  --brand-red: rgba(255, 87, 87, 1);
  --brand-orange: rgba(255, 75, 60, 1);
  --brand-light: rgba(252, 255, 254, 1);
  --brand-dark: rgba(58, 58, 58, 1);
  --radius: 18px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  background: var(--brand-light);
  color: var(--brand-dark);
}

a {
  color: var(--brand-orange);
  text-decoration: none;
}

a:hover {
  color: var(--brand-red);
}

.brand-text {
  color: var(--brand-orange);
  font-size: 1.5rem;
}

.btn-brand,
.btn-order {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  border: none;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  transition: all 0.25s ease;
}

.btn-brand:hover,
.btn-order:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-brand {
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
  border-radius: 999px;
  font-weight: 600;
}

.btn-outline-brand:hover {
  background: var(--brand-orange);
  color: #fff;
}

.hero-slide {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
}

.hero-slide-one {
  background: linear-gradient(135deg, #3a3a3a, #ff4b3c);
}

.hero-slide-two {
  background: linear-gradient(135deg, #232323, #ff5757);
}

.hero-slide-three {
  background: linear-gradient(135deg, #1f1f1f, #c83325);
}

.hero-content {
  position: relative;
  max-width: 680px;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 1.2rem 0;
}

.hero-badge,
.section-badge {
  display: inline-block;
  background: rgba(255, 87, 87, 0.13);
  color: var(--brand-orange);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 0.75rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.section-title {
  font-weight: 800;
  color: var(--brand-dark);
}

.quick-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  background: var(--brand-orange);
  color: #fff;
}

.product-card,
.promo-card,
.contact-card,
.content-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}

.product-card {
  transition: all 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.horizontal-card {
  display: flex;
  gap: 0;
}

.product-image-wrapper {
  position: relative;
  min-height: 220px;
  background: #f5f5f5;
  overflow: hidden;
}

.horizontal-card .product-image-wrapper {
  width: 38%;
  min-width: 180px;
}

.product-image-wrapper img,
.promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-category {
  font-size: 0.8rem;
  color: var(--brand-orange);
  font-weight: 700;
  text-transform: uppercase;
}

.sold-out {
  opacity: 0.88;
}

.sold-out-overlay {
  position: absolute;
  inset: auto 0 0 0;
  min-height: 35%;
  background: rgba(255, 75, 60, 0.88);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown {
  background: rgba(255, 87, 87, 0.1);
  color: var(--brand-orange);
  border-radius: 12px;
  padding: 0.65rem;
  font-weight: 700;
}

.empty-state {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  color: #777;
}

.page-header {
  background: linear-gradient(135deg, rgba(255, 87, 87, 0.14), rgba(255, 75, 60, 0.08));
  padding: 5rem 0;
}

.page-header h1 {
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.content-banner,
.content-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.content-banner {
  max-height: 340px;
}

.content-image {
  max-height: 280px;
}

.contact-card {
  padding: 2rem;
}

.footer-section {
  background: #fff;
}

.whatsapp-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.whatsapp-floating:hover {
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: 520px;
  }

  .horizontal-card {
    flex-direction: column;
  }

  .horizontal-card .product-image-wrapper {
    width: 100%;
  }
}

.auth-section {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top left, rgba(255, 87, 87, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 75, 60, 0.1), transparent 30%),
    var(--brand-light);
}

.auth-card,
.account-card,
.admin-card,
.admin-stat-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-card {
  max-width: 760px;
  padding: 2rem;
}

.account-card,
.admin-card {
  padding: 2rem;
  height: 100%;
}

.admin-stat-card {
  padding: 1.5rem;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-stat-card span {
  color: #777;
  font-weight: 600;
}

.admin-stat-card strong {
  color: var(--brand-orange);
  font-size: 2.4rem;
  font-weight: 800;
}

.form-control,
.form-select {
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(58, 58, 58, 0.18);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 75, 60, 0.15);
}

.form-check-input:checked {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
}

.admin-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}

.table td,
.table th {
  vertical-align: middle;
}

.cart-thumb {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  background: #f5f5f5;
}

.admin-table th {
  white-space: nowrap;
}

.badge {
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  height: 100%;
}

.rating-badge {
  background: rgba(255, 87, 87, 0.12);
  color: var(--brand-orange);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge-featured,
.badge-best-seller,
.badge-new {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  width: fit-content;
}

.badge-featured {
  background: #ff5a36;
}

.badge-best-seller {
  background: #111827;
}

.badge-new {
  background: #10b981;
}

.testimonial-replies {
  background: rgba(255, 87, 87, 0.06);
  border-radius: 14px;
  padding: 1rem;
  margin-top: 1rem;
}

.testimonial-reply {
  border-bottom: 1px solid rgba(58, 58, 58, 0.08);
  padding: 0.75rem 0;
}

.testimonial-reply:last-child {
  border-bottom: none;
}

  .product-detail-image-wrapper {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-detail-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}