:root {
  --glin-black: #090909;
  --glin-gold: #c6a765;
  --glin-gold-soft: #f2dfb4;
  --glin-text: #f5f1e8;
  --glin-muted: rgba(245, 241, 232, 0.72);
  --glin-border: rgba(198, 167, 101, 0.2);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(198, 167, 101, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #050505 0%, #111111 45%, #090909 100%);
  color: var(--glin-text);
}

a {
  color: var(--glin-gold-soft);
  text-decoration: none;
}

a:hover {
  color: #fff3d2;
}

.glin-shell .container {
  max-width: 1180px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(18px);
  background: rgba(6, 6, 6, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--glin-text);
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.brand-wordmark small {
  color: var(--glin-muted);
  font-size: 0.68rem;
  letter-spacing: 0.22rem;
}

.brand-wordmark:hover,
.brand-wordmark:focus {
  color: var(--glin-gold-soft) !important;
}

.brand-wordmark:hover small,
.brand-wordmark:focus small {
  color: var(--glin-gold) !important;
}

.site-topbar {
  background: rgba(198, 167, 101, 0.1);
  border-bottom: 1px solid rgba(198, 167, 101, 0.14);
  font-size: 0.82rem;
  color: var(--glin-muted);
}

.site-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.site-topbar a {
  color: var(--glin-gold-soft);
  white-space: nowrap;
}

.site-header-premium .navbar {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.site-header-premium .navbar-nav {
  gap: 0.35rem;
}

.hero-title-serif,
.section-heading h2,
.home-banner-title {
  font-family: "Playfair Display", Georgia, serif;
}

.hero-section-compact {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.hero-title-serif {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.footer-brand,
.footer-heading {
  color: var(--glin-text);
  letter-spacing: 0.04rem;
}

.footer-admin-link {
  opacity: 0.55;
  font-size: 0.85rem;
}

.footer-admin-link:hover {
  opacity: 1;
}

.catalog-card-premium {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.catalog-image-shell-tall {
  aspect-ratio: 3 / 4;
  height: auto;
}

.catalog-image-zoom {
  transition: transform 0.45s ease;
}

.catalog-card-premium:hover .catalog-image-zoom {
  transform: scale(1.05);
}

.home-banner-fullbleed {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 2rem;
}

.home-banner-image {
  max-height: min(72vh, 560px);
  min-height: 320px;
  object-fit: cover;
  border-radius: 0;
}

.home-banner-caption {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  border-radius: 0;
  padding-bottom: 3rem;
  text-align: left;
  left: 0;
  right: 0;
  bottom: 0;
}

.home-banner-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.home-banner-indicators {
  margin-bottom: 1.25rem;
}

.home-banner-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  border: none;
}

.home-banner-indicators .active {
  background-color: var(--glin-gold);
}

.home-banner-link {
  display: block;
}

.status-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  min-width: min(360px, calc(100vw - 2rem));
}

.status-toast {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 18, 0.96);
  color: var(--glin-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.status-toast-success .toast-header {
  background: rgba(108, 201, 127, 0.16);
  color: #9de5ac;
  border-bottom-color: rgba(108, 201, 127, 0.2);
}

.status-toast-error .toast-header {
  background: rgba(220, 90, 90, 0.16);
  color: #f5a5a5;
  border-bottom-color: rgba(220, 90, 90, 0.2);
}

.status-toast .toast-body {
  color: var(--glin-text);
}

.admin-shell {
  background: #080808;
  color: var(--glin-text);
  min-height: 100vh;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 270px;
  flex-shrink: 0;
  background: rgba(10, 10, 10, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-brand {
  padding: 0.5rem 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.admin-nav-section {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  padding: 0 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.42);
}

.admin-nav-link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  color: var(--glin-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link:focus {
  color: var(--glin-text);
  background: rgba(255, 255, 255, 0.04);
}

.admin-nav-link.active {
  color: #fff3d2;
  background: rgba(198, 167, 101, 0.14);
}

.admin-sidebar-footer {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-main {
  flex: 1;
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 8, 0.95);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.admin-topbar-title {
  font-weight: 600;
}

.admin-content {
  padding: 1.5rem;
}

.admin-breadcrumb {
  color: rgba(245, 241, 232, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
}

.admin-page-title {
  color: var(--glin-text);
}

.admin-offcanvas {
  background: #0a0a0a;
  color: var(--glin-text);
  width: min(300px, 88vw);
}

.admin-entrar-page {
  padding: 4rem 0 2rem;
}

.admin-entrar-card {
  max-width: 100%;
}

.admin-dev-credentials {
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(198, 167, 101, 0.28);
  background: rgba(198, 167, 101, 0.06);
}

.admin-tabs .nav-link {
  color: var(--glin-muted);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.admin-tabs .nav-link.active {
  background: rgba(198, 167, 101, 0.18);
  color: #fff3d2;
}

@media (min-width: 992px) {
  .admin-content {
    padding: 2rem 2.25rem 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .site-topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.nav-link-premium {
  color: var(--glin-muted);
  transition: color 0.25s ease;
}

.nav-link-premium:hover,
.nav-link-premium:focus {
  color: var(--glin-text);
}

.btn-gold,
.btn-outline-gold {
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04rem;
}

.btn-gold {
  background: linear-gradient(135deg, #d7b879, #b98f46);
  border: none;
  color: #120e05;
}

.btn-gold:hover {
  color: #120e05;
  filter: brightness(1.05);
}

.btn-outline-gold {
  border: 1px solid var(--glin-gold);
  color: var(--glin-gold-soft);
}

.btn-outline-gold:hover {
  background: rgba(198, 167, 101, 0.12);
  color: #fff5db;
}

.hero-section,
.content-section,
.admin-hero {
  padding: 4.5rem 0 2rem;
}

.hero-title,
.section-heading h2,
.admin-hero h1,
.hero-panel h2 {
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-title {
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  margin-bottom: 1.2rem;
  max-width: 11ch;
}

.hero-copy,
.text-secondary {
  color: var(--glin-muted) !important;
}

.hero-panel,
.plan-card,
.metric-card {
  padding: 1.6rem;
  border: 1px solid var(--glin-border);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(20, 20, 20, 0.85);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.hero-panel-kicker,
.eyebrow {
  color: var(--glin-gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  font-size: 0.72rem;
}

.hero-highlights {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  color: var(--glin-muted);
}

.hero-highlights li + li {
  margin-top: 0.65rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--glin-text);
}

.category-pill:hover {
  background: rgba(198, 167, 101, 0.12);
  color: #fff3d2;
}

.plan-card {
  height: 100%;
}

.plan-badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(198, 167, 101, 0.14);
  color: var(--glin-gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08rem;
}

.plan-price,
.metric-value {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.plan-description {
  color: var(--glin-muted);
  min-height: 4.5rem;
}

.plan-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.plan-meta dt,
.metric-label {
  color: rgba(245, 241, 232, 0.56);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.plan-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
  color: var(--glin-gold-soft);
}

.admin-page-header {
  margin-bottom: 1rem;
}

.admin-card,
.catalog-card,
.catalog-detail-visual {
  padding: 1.5rem;
  border: 1px solid var(--glin-border);
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(14, 14, 14, 0.9);
}

.admin-input,
.admin-input:focus,
.form-select.admin-input {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--glin-text);
}

.admin-input::placeholder {
  color: rgba(245, 241, 232, 0.45);
}

.admin-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--glin-text);
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
}

.admin-table thead th {
  color: rgba(245, 241, 232, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.04rem;
}

.status-active {
  background: rgba(108, 201, 127, 0.14);
  color: #9de5ac;
}

.status-inactive {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 241, 232, 0.72);
}

.status-highlight {
  background: rgba(198, 167, 101, 0.16);
  color: var(--glin-gold-soft);
}

.admin-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.catalog-page {
  padding: 4rem 0 2rem;
}

.customer-page {
  padding: 4rem 0 2rem;
}

.catalog-hero {
  max-width: 52rem;
}

.catalog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.catalog-image-shell,
.catalog-detail-visual {
  overflow: hidden;
}

.catalog-image,
.catalog-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.catalog-image-shell {
  height: 250px;
}

.catalog-detail-visual {
  min-height: 420px;
}

.catalog-image-placeholder {
  height: 100%;
  min-height: 250px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-size: 2rem;
  letter-spacing: 0.3rem;
  color: rgba(245, 241, 232, 0.5);
  background:
    radial-gradient(circle at top, rgba(198, 167, 101, 0.2), transparent 45%),
    rgba(255, 255, 255, 0.03);
}

.catalog-image-placeholder-lg {
  min-height: 420px;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.catalog-meta span {
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.82rem;
}

.catalog-price {
  font-size: 1.5rem;
}

.alert-card {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(198, 167, 101, 0.22);
  border-radius: 1rem;
  background: rgba(198, 167, 101, 0.09);
  color: #f7ecd2;
}

.customer-address-list {
  display: grid;
  gap: 1rem;
}

.customer-address-card {
  padding: 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.checkout-address-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.cart-qty-input {
  width: 90px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.14rem rgba(9, 9, 9, 0.9), 0 0 0 0.28rem rgba(198, 167, 101, 0.45);
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

@media (max-width: 767.98px) {
  .hero-section,
  .content-section,
  .admin-hero {
    padding-top: 3rem;
  }

  .hero-title {
    max-width: 100%;
  }

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

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(198, 167, 101, 0.2);
  color: var(--glin-gold-soft);
  font-size: 0.75rem;
}

.user-dropdown-menu {
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-dropdown-menu .dropdown-item {
  color: var(--glin-text);
}

.user-dropdown-menu .dropdown-item:hover {
  background: rgba(198, 167, 101, 0.12);
  color: #fff3d2;
}

.footer-links a {
  color: var(--glin-muted);
}

.footer-links a:hover {
  color: var(--glin-gold-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #06240f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.whatsapp-float img {
  display: block;
}

.whatsapp-float:hover {
  color: #04180a;
  filter: brightness(1.05);
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1050;
}

.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(198, 167, 101, 0.22);
  background: rgba(12, 12, 12, 0.96);
  color: var(--glin-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cashback-code-display {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  background: rgba(198, 167, 101, 0.12);
  color: var(--glin-gold-soft);
  font-size: 1.1rem;
  letter-spacing: 0.08rem;
}

.partner-shell {
  min-height: 100vh;
  background: #0a0a0a;
  color: var(--glin-text);
}

.partner-shell-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.partner-page {
  width: min(420px, 100%);
}

.partner-card {
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(198, 167, 101, 0.2);
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.partner-input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--glin-text);
}

.partner-success {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(108, 201, 127, 0.16);
  color: #9de5ac;
  text-align: center;
  font-weight: 600;
}

.partner-error {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(220, 90, 90, 0.16);
  color: #f5a5a5;
  text-align: center;
}

.external-login-btn {
  text-align: center;
}
