:root {
  --wine: #6f1b2a;
  --red: #b21f2d;
  --light: #ffffff;
  --gold: #d9b26f;
  --dark: #1c0f13;
  --muted: #f6f2f3;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 3rem;
  --muted-text: rgba(28, 15, 19, 0.6);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  background: radial-gradient(circle at top, #fff7f8 0%, #f6e9ec 35%, #f1e3e7 100%);
  color: var(--dark);
  margin: 0;
}

body.dark-mode {
  background: radial-gradient(circle at top, #311318 0%, #1b0d11 45%, #12080b 100%);
  color: #f1e6e8;
}

/* Utility helpers replacing Bootstrap dependencies */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.container-fluid {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  --row-gap: 0;
  --row-gap-x: var(--row-gap);
  --row-gap-y: var(--row-gap);
  margin-top: calc(-0.5 * var(--row-gap-y, 0));
  margin-right: calc(-0.5 * var(--row-gap-x, 0));
  margin-left: calc(-0.5 * var(--row-gap-x, 0));
}

.row > * {
  flex: 1 1 100%;
  min-width: 0;
  padding-top: calc(0.5 * var(--row-gap-y, 0));
  padding-bottom: calc(0.5 * var(--row-gap-y, 0));
  padding-right: calc(0.5 * var(--row-gap-x, 0));
  padding-left: calc(0.5 * var(--row-gap-x, 0));
}

[class*='col-'] {
  flex: 1 1 100%;
  max-width: 100%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-6 {
  flex: 0 0 calc(50% - var(--row-gap, 0));
  max-width: calc(50% - var(--row-gap, 0));
}

.col-4 {
  flex: 0 0 calc(33.333% - var(--row-gap, 0));
  max-width: calc(33.333% - var(--row-gap, 0));
}

.g-0 {
  --row-gap: 0;
}

.g-2 {
  --row-gap: var(--space-2);
}

.g-3 {
  --row-gap: var(--space-3);
}

.g-4 {
  --row-gap: var(--space-4);
}

@media (min-width: 768px) {
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-md-8 {
    flex: 0 0 calc(66.666% - var(--row-gap, 0));
    max-width: calc(66.666% - var(--row-gap, 0));
  }

  .col-md-6 {
    flex: 0 0 calc(50% - var(--row-gap, 0));
    max-width: calc(50% - var(--row-gap, 0));
  }

  .col-md-4 {
    flex: 0 0 calc(33.333% - var(--row-gap, 0));
    max-width: calc(33.333% - var(--row-gap, 0));
  }

  .col-md-3 {
    flex: 0 0 calc(25% - var(--row-gap, 0));
    max-width: calc(25% - var(--row-gap, 0));
  }

  .col-md-2 {
    flex: 0 0 calc(16.666% - var(--row-gap, 0));
    max-width: calc(16.666% - var(--row-gap, 0));
  }
}

@media (min-width: 992px) {
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-lg-8 {
    flex: 0 0 calc(66.666% - var(--row-gap, 0));
    max-width: calc(66.666% - var(--row-gap, 0));
  }

  .col-lg-6 {
    flex: 0 0 calc(50% - var(--row-gap, 0));
    max-width: calc(50% - var(--row-gap, 0));
  }

  .col-lg-4 {
    flex: 0 0 calc(33.333% - var(--row-gap, 0));
    max-width: calc(33.333% - var(--row-gap, 0));
  }

  .col-lg-3 {
    flex: 0 0 calc(25% - var(--row-gap, 0));
    max-width: calc(25% - var(--row-gap, 0));
  }

  .col-lg-2 {
    flex: 0 0 calc(16.666% - var(--row-gap, 0));
    max-width: calc(16.666% - var(--row-gap, 0));
  }
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-none {
  display: none !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.gap-2 {
  gap: var(--space-2) !important;
}

.gap-3 {
  gap: var(--space-3) !important;
}

.gap-4 {
  gap: var(--space-4) !important;
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: flex !important;
  }

  .d-lg-inline {
    display: inline !important;
  }

  .d-lg-inline-flex {
    display: inline-flex !important;
  }

  .d-lg-block {
    display: block !important;
  }

  .d-lg-none {
    display: none !important;
  }
}

.m-0 {
  margin: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-1 {
  margin-top: var(--space-1) !important;
}

.mb-1 {
  margin-bottom: var(--space-1) !important;
}

.mt-2 {
  margin-top: var(--space-2) !important;
}

.mb-2 {
  margin-bottom: var(--space-2) !important;
}

.mt-3 {
  margin-top: var(--space-3) !important;
}

.mb-3 {
  margin-bottom: var(--space-3) !important;
}

.mt-4 {
  margin-top: var(--space-4) !important;
}

.mb-4 {
  margin-bottom: var(--space-4) !important;
}

.mt-5 {
  margin-top: var(--space-5) !important;
}

.mb-5 {
  margin-bottom: var(--space-5) !important;
}

.p-0 {
  padding: 0 !important;
}

.p-2 {
  padding: var(--space-2) !important;
}

.p-3 {
  padding: var(--space-3) !important;
}

.p-4 {
  padding: var(--space-4) !important;
}

.py-5 {
  padding-top: var(--space-5) !important;
  padding-bottom: var(--space-5) !important;
}

.w-100 {
  width: 100% !important;
}

.text-start {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-end {
  text-align: right !important;
}

.text-muted {
  color: var(--muted-text) !important;
}

.text-dark {
  color: var(--dark) !important;
}

.text-light {
  color: var(--light) !important;
}

.text-danger {
  color: var(--red) !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.list-unstyled {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: 16px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.border {
  border: 1px solid rgba(28, 15, 19, 0.12) !important;
}

.border-0 {
  border: none !important;
}

.bg-light {
  background: #f8f9fa !important;
}

.bg-dark {
  background: #181014 !important;
  color: #ffffff;
}

.bg-secondary {
  background: #6c757d !important;
  color: #ffffff;
}

.bg-success {
  background: #198754 !important;
  color: #ffffff;
}

.bg-warning {
  background: #f8d047 !important;
  color: #1c0f13;
}

.bg-danger {
  background: #dc3545 !important;
  color: #ffffff;
}

.bg-danger-subtle {
  background: rgba(210, 40, 57, 0.12) !important;
  color: #b21f2d;
}

.bg-info {
  background: #0dcaf0 !important;
  color: #053b4c;
}

.bg-primary {
  background: var(--wine) !important;
  color: #ffffff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  background: rgba(28, 15, 19, 0.08);
  color: var(--dark);
}

.badge.bg-success {
  background: #198754;
  color: #ffffff;
}

.badge.bg-secondary {
  background: #6c757d;
  color: #ffffff;
}

.badge.bg-danger {
  background: #dc3545;
  color: #ffffff;
}

.badge.bg-warning {
  background: #f8d047;
  color: #1c0f13;
}

.badge.bg-info {
  background: #0dcaf0;
  color: #053b4c;
}

.badge.bg-primary {
  background: var(--wine);
  color: #ffffff;
}

.badge.bg-dark {
  background: #181014;
  color: #ffffff;
}

.badge.bg-danger-subtle {
  background: rgba(210, 40, 57, 0.12);
  color: #b21f2d;
}

.alert {
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  margin-bottom: var(--space-3);
  font-size: 0.95rem;
  line-height: 1.5;
  background: rgba(28, 15, 19, 0.05);
}

.alert-success {
  background: rgba(46, 204, 113, 0.12);
  border-color: rgba(16, 89, 63, 0.26);
  color: #10593f;
}

.alert-danger {
  background: rgba(210, 40, 57, 0.12);
  border-color: rgba(178, 31, 45, 0.3);
  color: #8f1c28;
}

.alert-info {
  background: rgba(13, 202, 240, 0.12);
  border-color: rgba(5, 59, 76, 0.2);
  color: #053b4c;
}

.alert-warning {
  background: rgba(248, 208, 71, 0.2);
  border-color: rgba(248, 208, 71, 0.35);
  color: #7b5404;
}

.card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(28, 15, 19, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(28, 15, 19, 0.08);
  font-weight: 600;
}

.card-body {
  padding: 24px;
}

.list-group {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(28, 15, 19, 0.08);
}

.list-group-item {
  background: #ffffff;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(28, 15, 19, 0.08);
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-flush {
  border-radius: 0;
  border: none;
}

.list-group-flush .list-group-item {
  border-left: none;
  border-right: none;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.table thead th {
  text-align: left;
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(28, 15, 19, 0.12);
}

.table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(28, 15, 19, 0.08);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table-hover tbody tr:hover {
  background: rgba(178, 31, 45, 0.05);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-text {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted-text);
}

.form-control,
.form-select,
textarea.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(28, 15, 19, 0.15);
  background: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  outline: none;
  border-color: rgba(178, 31, 45, 0.6);
  box-shadow: 0 0 0 3px rgba(178, 31, 45, 0.12);
}

.form-control[disabled],
.form-select[disabled],
textarea.form-control[disabled] {
  background: rgba(0, 0, 0, 0.04);
  cursor: not-allowed;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236f1b2a' viewBox='0 0 16 16'%3E%3Cpath d='M3.204 5.5l4 4 4-4H3.204z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(28, 15, 19, 0.3);
  appearance: none;
  background: #ffffff;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-check-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 31, 45, 0.12);
}

.form-check-input:checked {
  background: linear-gradient(135deg, var(--red), var(--wine));
  border-color: var(--wine);
}

.form-check-input:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #ffffff;
  border-radius: 4px;
}

.form-check-label {
  font-size: 0.95rem;
  color: var(--dark);
}

.bg-sensacoes main {
  min-height: 70vh;
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(178, 31, 45, 0.1);
}

body.dark-mode .topbar {
  background: rgba(20, 10, 12, 0.95);
}

.topbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.topbar .brand img {
  width: 100px;
  height: 100px;
  border-radius: 14px;
  background: var(--light);
  padding: 6px;
  box-shadow: var(--shadow);
}

.topbar nav a {
  font-weight: 500;
  color: var(--dark);
}

body.dark-mode .topbar nav a {
  color: #f1e6e8;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 31, 45, 0.15);
}

.btn-secondary {
  background: rgba(28, 15, 19, 0.08);
  color: var(--dark);
  border: 1px solid rgba(28, 15, 19, 0.14);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(28, 15, 19, 0.12);
}

.btn-light {
  background: #ffffff;
  color: var(--dark);
  border: 1px solid rgba(28, 15, 19, 0.12);
  box-shadow: var(--shadow);
}

.btn-light:hover,
.btn-light:focus {
  background: #f6f2f3;
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545, #a71222);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(220, 53, 69, 0.35);
}

.btn-danger:hover,
.btn-danger:focus {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(220, 53, 69, 0.4);
}

.btn-outline-primary {
  border: 1px solid rgba(178, 31, 45, 0.5);
  color: var(--wine);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(178, 31, 45, 0.12);
}

.btn-outline-secondary {
  border: 1px solid rgba(28, 15, 19, 0.18);
  color: var(--dark);
  background: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background: rgba(28, 15, 19, 0.08);
}

.btn-outline-danger {
  border: 1px solid rgba(220, 53, 69, 0.6);
  color: #a71222;
  background: transparent;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
  background: rgba(220, 53, 69, 0.12);
}

.btn-link {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--wine);
  font-weight: 600;
}

.btn-link:hover,
.btn-link:focus {
  text-decoration: underline;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--wine));
  color: var(--light);
  box-shadow: var(--shadow);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--light);
  background: transparent;
}

.btn-ghost {
  border: 1px solid rgba(178, 31, 45, 0.25);
  color: var(--wine);
  background: rgba(255, 255, 255, 0.8);
}

.hero {
  padding: 60px 0;
}

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(139, 29, 44, 0.2);
  background: var(--light);
}

.hero-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 280px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  gap: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.05) 60%, rgba(0, 0, 0, 0) 100%);
  color: #ffffff;
}

.hero-slide__overlay h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin: 0;
}

.hero-slide__overlay p {
  margin: 0;
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-carousel__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  background: #ffffff;
  transform: scale(1.2);
}

.hero-empty {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(230, 216, 222, 0.7), rgba(255, 255, 255, 0.9));
  text-align: center;
  box-shadow: var(--shadow);
}

.hero-empty__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-carousel {
    border-radius: 24px;
  }

  .hero-slide__overlay {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0;
  }

  .hero-carousel__viewport {
    aspect-ratio: 16 / 9;
  }

  .hero-slide__overlay h2 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .hero-slide__overlay p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .hero-slide__overlay {
    padding: 22px;
    gap: 12px;
  }

  .hero-carousel__dots {
    bottom: 16px;
  }

  .hero-empty {
    padding: 40px 24px;
  }
}

@media (max-width: 576px) {
  .topbar {
    padding: 12px 18px;
  }

  .topbar .container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar .brand {
    gap: 10px;
  }

  .topbar .brand img {
    width: 72px;
    height: 72px;
    padding: 4px;
    border-radius: 12px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-actions .btn {
    padding: 9px 16px;
    font-size: 0.9rem;
  }

  .top-actions .btn-primary {
    text-align: center;
  }

  .product-card {
    margin-inline: auto;
  }

  .hero {
    padding: 38px 0 32px;
  }

  .hero-empty {
    padding: 32px 20px;
    text-align: center;
  }

  .hero-empty h1 {
    font-size: 1.5rem;
  }

  .section {
    padding: 54px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .section-header .btn {
    align-self: stretch;
    text-align: center;
  }

  .category-card {
    padding: 18px;
  }

  .category-card__media {
    max-width: 160px;
    border-radius: 20px;
  }
}

.pill {
  background: rgba(217, 178, 111, 0.2);
  color: var(--wine);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 12px;
}

.section {
  padding: 70px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}

.section-header--center {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.section-tag {
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
}

.category-card,
.product-card,
.promo-card,
.cart-summary,
.form-card,
.cart-item {
  background: var(--light);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.summary-note {
  margin: 16px 0 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(1, 86, 129, 0.08);
  color: rgba(12, 45, 65, 0.86);
  border: 1px solid rgba(1, 86, 129, 0.26);
  font-size: 0.9rem;
  line-height: 1.4;
}

.summary-note strong {
  display: block;
  margin-bottom: 6px;
}

.summary-note__fee {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}

.summary-note--active {
  background: rgba(13, 162, 98, 0.12);
  border-color: rgba(13, 162, 98, 0.42);
  color: rgba(16, 89, 63, 0.96);
}

.cart-alert {
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(203, 68, 85, 0.08);
  color: rgba(101, 36, 42, 0.92);
  border: 1px solid rgba(203, 68, 85, 0.18);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cart-alert--error {
  background: rgba(203, 68, 85, 0.12);
  border-color: rgba(203, 68, 85, 0.36);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(139, 29, 44, 0.15);
}

.category-card__media {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(230, 216, 222, 0.6), rgba(255, 255, 255, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 200px;
  object-fit: cover;
}

.category-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-card__body h5 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--wine);
  margin: 0;
}

.category-card__body p {
  margin: 0;
  color: rgba(69, 26, 34, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
}

.product-card__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-heading {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.product-info {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.product-info h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.product-info p {
  margin: 0;
  color: rgba(69, 26, 34, 0.65);
  font-weight: 500;
}

.product-pricing {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  text-align: left;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-pricing strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wine);
}

.product-price span {
  text-decoration: line-through;
  color: rgba(69, 26, 34, 0.4);
  font-size: 0.85rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-actions .btn-detail {
  min-width: 0;
}

.product-link {
  font-weight: 600;
  color: var(--wine);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 29, 44, 0.08);
  transition: background 0.2s ease;
}

.product-link:hover,
.product-link:focus {
  background: rgba(139, 29, 44, 0.15);
}

.qty-field.qty-field--compact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.qty-field.qty-field--compact span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(69, 26, 34, 0.8);
}

.qty-field.qty-field--compact input {
  width: 72px;
  padding: 8px 10px;
}

.product-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #000000;
  border: 2px solid #1d4ed8;
  border-radius: 18px;
  padding: 10px 18px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-detail:hover,
.btn-detail:focus {
  background: #bfdbfe;
  color: #000000;
  border-color: #1e3a8a;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316, #fb7185);
  border: none;
  color: #ffffff;
  border-radius: 18px;
  padding: 10px 20px;
  font-weight: 700;
  box-shadow: 0 12px 20px rgba(249, 115, 22, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-add-cart:hover,
.btn-add-cart:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(249, 115, 22, 0.3);
}

.btn-disabled,
.btn:disabled,
button:disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

.product-detail-card {
  background: var(--light);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.product-detail-card > img {
  width: 100%;
  max-width: 400px;
  border-radius: 28px;
  object-fit: cover;
}

.product-detail-card > div {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.purchase-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.qty-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.qty-field input {
  width: 80px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 1rem;
  text-align: center;
}

.product-image {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
}

.badge-soft {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--wine);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price span {
  text-decoration: line-through;
  color: rgba(0, 0, 0, 0.4);
}

.highlight {
  background: linear-gradient(135deg, rgba(111, 27, 42, 0.1), rgba(217, 178, 111, 0.2));
}

.discount-badge {
  background: var(--wine);
  color: var(--light);
  padding: 6px 16px;
  border-radius: 999px;
}

.cart-page .cart-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-item img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item > div {
  flex: 1;
  min-width: 0;
}

.cart-item > strong {
  white-space: nowrap;
  margin-left: auto;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-summary .summary-item,
.cart-summary .summary-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-summary .summary-total {
  font-size: 1.2rem;
  font-weight: 700;
}

.form-card {
  margin-bottom: 20px;
}

.footer {
  background: var(--dark);
  color: var(--light);
  padding: 60px 0 30px;
}

.footer h4,
.footer h5 {
  font-family: 'Playfair Display', serif;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  color: var(--gold);
  margin-right: 12px;
  font-size: 1.2rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 56px;
  height: 56px;
  box-shadow: var(--shadow);
}

.loader-skeleton {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loader-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
}

.skeleton-bar {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1dfe2 25%, #f7f0f2 50%, #f1dfe2 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@media (min-width: 768px) {
  .product-detail-card {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
  }

  .product-detail-card > img {
    width: 400px;
  }
}

@media (max-width: 991px) {
  .topbar nav {
    display: none;
  }

  .topbar .container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-actions .btn-primary {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(178, 31, 45, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--wine);
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s ease;
  }

  .mobile-menu-toggle:hover {
    background: rgba(178, 31, 45, 0.1);
  }
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 70px 24px 24px;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--wine);
}

.mobile-nav .btn {
  margin-top: 20px;
  text-align: center;
}

.mobile-nav__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.mobile-nav__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .topbar nav {
    display: none;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .checkout-item {
    flex-wrap: wrap;
  }
  .checkout-item strong {
    margin-left: 0;
    width: 100%;
    text-align: right;
  }
  .product-detail-card {
    padding: 18px;
  }
  .product-detail-card > img {
    max-width: 100%;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.checkout-item img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.checkout-item h6 {
  margin: 0;
  font-size: 1rem;
}

.checkout-item p {
  margin: 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.9rem;
}

.checkout-item strong {
  margin-left: auto;
  font-size: 0.95rem;
}

.admin-discount-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-discount-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.7);
}

.admin-discount-row {
  display: flex;
  gap: 8px;
}

.admin-discount-row input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
}

.admin-discount-hint {
  display: block;
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.8rem;
}
