:root {
  --primary-dark: #120f0d;
  --gold: #d2ac66;
  --royal-gold: #b29257;
  --bronze: #925e34;
  --dark-brown: #4c3624;
  --muted-gold: #684f2f;
  --white: #ffffff;
}

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar, .admin-sidebar, .offcanvas {
  background: var(--primary-dark) !important;
  box-shadow: 0 4px 20px rgba(18, 15, 13, 0.35);
}

.navbar a, .admin-sidebar a, .offcanvas a {
  color: var(--gold) !important;
  font-weight: 500;
}

.navbar a:hover, .offcanvas a:hover {
  color: #fff3d0 !important;
}

.btn-gold {
  background: linear-gradient(135deg, #d2ac66, #925e34);
  color: #120f0d;
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b29257, #d2ac66);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(18, 15, 13, 0.2);
}

.btn-outline-gold {
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 30px;
  background: transparent;
}

.btn-outline-gold:hover {
  background: rgba(210, 172, 102, 0.15);
  color: #fff3d0;
  border-color: #fff3d0;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(18, 140, 126, 0.3);
}

.card-premium {
  background: #fff;
  border: 1px solid rgba(210, 172, 102, 0.35);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(18, 15, 13, 0.12);
  transition: box-shadow 0.25s, transform 0.25s;
}

.card-premium:hover {
  box-shadow: 0 12px 32px rgba(18, 15, 13, 0.16);
  transform: translateY(-2px);
}

.text-gold {
  color: var(--gold) !important;
}

.bg-dark-premium {
  background: var(--primary-dark);
}

.bg-gold {
  background: var(--gold);
}

.subtle-hero {
  background: radial-gradient(ellipse at top, #2a221c 0%, #120f0d 60%);
  color: #f5f0e8;
  position: relative;
  overflow: hidden;
}

.subtle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(210, 172, 102, 0.12), transparent 40%);
  pointer-events: none;
}

.gradient-border {
  border: 1px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #d2ac66, #4c3624) border-box;
  border-radius: 18px;
}

.footer-premium {
  background: #0c0a09;
  color: #c4b5a0;
  border-top: 1px solid rgba(210, 172, 102, 0.25);
}

.min-h-main {
  min-height: 48vh;
}

.input-premium, .form-control, .form-select {
  border-radius: 10px;
  border-color: rgba(76, 54, 36, 0.35);
}

.input-premium:focus, .form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(210, 172, 102, 0.25);
}

.badge-sj {
  background: linear-gradient(135deg, #4c3624, #d2ac66);
  color: #120f0d;
  font-weight: 600;
  border-radius: 6px;
}

.spin-disc {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(
    #d2ac66 0 90deg,
    #925e34 90deg 180deg,
    #4c3624 180deg 270deg,
    #b29257 270deg 360deg
  );
  border: 6px solid #684f2f;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.table-premium thead {
  background: var(--primary-dark);
  color: var(--gold);
}

/* ===== Live rate ticker (above main navbar) ===== */
.sj-rate-ticker {
  position: relative;
  background: linear-gradient(90deg, #0c0a09 0%, #1a1410 50%, #0c0a09 100%);
  border-bottom: 1px solid rgba(210, 172, 102, 0.22);
  font-size: 0.8rem;
  line-height: 1.4;
  color: #d8cfbb;
  letter-spacing: 0.02em;
}
.sj-rate-ticker__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.sj-rate-ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: sj-ticker-marquee 48s linear infinite;
  will-change: transform;
}
.sj-rate-ticker:hover .sj-rate-ticker__track,
.sj-rate-ticker:focus-within .sj-rate-ticker__track {
  animation-play-state: paused;
}
.sj-rate-ticker__segment {
  flex: 0 0 auto;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  padding: 0.5rem 1.75rem;
  white-space: nowrap;
}
.sj-rate-ticker__tag {
  color: #b9ad94;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 0.25rem;
}
.sj-rate-ticker__dot {
  color: rgba(210, 172, 102, 0.45);
  user-select: none;
}
.sj-rate-ticker__link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.15rem;
}
.sj-rate-ticker__link:hover { color: #fff3d0; text-decoration: underline; }
.sj-rate-ticker__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.sj-rate-ticker__fade--left {
  left: 0;
  background: linear-gradient(90deg, #0c0a09 0%, rgba(12, 10, 9, 0) 100%);
}
.sj-rate-ticker__fade--right {
  right: 0;
  background: linear-gradient(270deg, #0c0a09 0%, rgba(12, 10, 9, 0) 100%);
}
@keyframes sj-ticker-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tablet */
@media (max-width: 991.98px) {
  .sj-rate-ticker { font-size: 0.78rem; }
  .sj-rate-ticker__track { animation-duration: 36s; }
  .sj-rate-ticker__segment { padding: 0.45rem 1.25rem; gap: 0.3rem 0.75rem; }
  .sj-rate-ticker__fade { width: 28px; }
}

/* Phone */
@media (max-width: 575.98px) {
  .sj-rate-ticker { font-size: 0.72rem; letter-spacing: 0.01em; }
  .sj-rate-ticker__track { animation-duration: 28s; }
  .sj-rate-ticker__segment { padding: 0.4rem 1rem; gap: 0.25rem 0.55rem; }
  .sj-rate-ticker__tag { font-size: 0.62rem; letter-spacing: 0.08em; }
  .sj-rate-ticker__dot { display: none; }
  .sj-rate-ticker__fade { width: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .sj-rate-ticker__track { animation: none; }
  .sj-rate-ticker__segment[aria-hidden="true"] { display: none !important; }
  .sj-rate-ticker__viewport { overflow-x: auto; }
  .sj-rate-ticker__viewport::-webkit-scrollbar { height: 4px; }
  .sj-rate-ticker__viewport::-webkit-scrollbar-thumb { background: rgba(210, 172, 102, 0.4); border-radius: 4px; }
  .sj-rate-ticker__fade { display: none; }
}

/* ===== Topbar / Navbar polish ===== */
.sj-topbar {
  background: #0a0807;
  border-bottom: 1px solid rgba(210, 172, 102, 0.18);
}

.sj-navbar {
  background: linear-gradient(180deg, #120f0d 0%, #1a1410 100%) !important;
  border-bottom: 1px solid rgba(210, 172, 102, 0.18);
}

/* Navbar — logo only (no wordmark) */
.navbar-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: min(100%, 220px);
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 992px) {
  .navbar-brand-logo { max-height: 60px; max-width: 240px; }
}
.navbar-brand-logo--drawer {
  max-height: 48px;
  max-width: 200px;
}

.offcanvas .brand-name {
  color: #f4e2bd;
}
.offcanvas .brand-tag {
  color: var(--gold);
}

.brand-wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: "Cinzel", "Playfair Display", serif;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: #f4e2bd;
  font-weight: 700;
}
.brand-tag {
  font-family: "Poppins", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}

.navbar .nav-link {
  position: relative;
  padding: 0.5rem 0.85rem !important;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.sj-social {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(210, 172, 102, 0.08);
  color: var(--gold);
  border: 1px solid rgba(210, 172, 102, 0.25);
  transition: all .25s ease;
}
.sj-social:hover { background: var(--gold); color: #120f0d; transform: translateY(-2px); }

/* ===== Hero (advanced) ===== */
.sj-hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(210, 172, 102, 0.18), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(146, 94, 52, 0.22), transparent 45%),
    linear-gradient(135deg, #0c0a09 0%, #1c1612 50%, #0c0a09 100%);
  color: #f5f0e8;
  overflow: hidden;
  padding: 5rem 0 6rem;
}
.sj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(210,172,102,0.03) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.sj-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  background: rgba(210, 172, 102, 0.08);
  border: 1px solid rgba(210, 172, 102, 0.25);
  padding: .4rem .9rem;
  border-radius: 999px;
}
.sj-hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  color: #fff;
}
.sj-hero h1 .accent {
  background: linear-gradient(120deg, #f3d896, #d2ac66 40%, #925e34);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sj-hero .lead {
  font-size: 1.05rem;
  color: #d8cdb8;
  max-width: 540px;
}

.hero-stat {
  border: 1px solid rgba(210, 172, 102, 0.2);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px);
}
.hero-stat .num {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: .72rem; letter-spacing: 0.25em; text-transform: uppercase; color: #b9ad94;
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(210,172,102,0.18), rgba(76,54,36,0.05));
  border: 1px solid rgba(210, 172, 102, 0.25);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #f3d896, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero-visual .ring {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, #f6e2b3, #b8884a 45%, #4c3624 100%);
  box-shadow: inset 0 8px 24px rgba(255,255,255,0.18), inset 0 -10px 30px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}
.hero-visual .ring::before,
.hero-visual .ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(20px);
}
.hero-visual .ring::before { top: 10%; left: 10%; width: 40%; height: 40%; }
.hero-visual .ring::after { bottom: 10%; right: 10%; width: 30%; height: 30%; background: rgba(0,0,0,0.25); }

.hero-floater {
  position: absolute;
  background: rgba(18, 15, 13, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(210, 172, 102, 0.3);
  border-radius: 14px;
  padding: .75rem 1rem;
  color: #f4e2bd;
  font-size: .85rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.hero-floater .h { color: var(--gold); font-weight: 600; }

/* ===== Section niceties ===== */
.section-eyebrow {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--bronze);
}
.section-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--bronze));
  border: none; opacity: 1;
}

/* About section — full logo image only */
.about-brand-panel {
  max-width: 100%;
  padding: 1.25rem;
  border-radius: 20px;
  background:
    linear-gradient(145deg, #fff8ef 0%, #f3e3bf 45%, #e5d0a8 100%);
  border: 1px solid rgba(210, 172, 102, 0.45);
  box-shadow: 0 20px 50px -18px rgba(18, 15, 13, 0.22);
  position: relative;
}
@media (min-width: 576px) {
  .about-brand-panel { max-width: 480px; }
}
@media (min-width: 992px) {
  .about-brand-panel { max-width: 520px; }
}
.about-brand-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(76, 54, 36, 0.2);
  border-radius: 14px;
  pointer-events: none;
}
.about-brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

/* Category card — image fits the card, label sits below it */
.category-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(210, 172, 102, 0.25);
  box-shadow: 0 6px 18px rgba(18, 15, 13, 0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.category-card .cat-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;          /* square image area — fits any uploaded photo cleanly */
  overflow: hidden;
  background: #f6efe1;
}
.category-card .cat-img img,
.category-card .cat-img .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}
.category-card .cat-img .ph {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 2.6rem;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.category-card .cat-meta {
  padding: 0.85rem 1rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbf5e9 100%);
  border-top: 1px solid rgba(210, 172, 102, 0.18);
  text-align: center;
}
.category-card .cat-meta .brand-tag {
  color: var(--bronze);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  margin-bottom: 0.15rem;
}
.category-card .cat-meta .cat-name {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1.2;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(18, 15, 13, 0.18);
}
.category-card:hover .cat-img img,
.category-card:hover .cat-img .ph { transform: scale(1.06); }

@media (min-width: 992px) {
  .category-card .cat-img .ph { font-size: 2rem; }
  .category-card .cat-meta .cat-name { font-size: 0.95rem; }
}

/* Product card */
.product-card {
  border: 1px solid rgba(210, 172, 102, 0.25);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: all .25s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(18,15,13,0.12); }
.product-card .img-wrap {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f6efe1, #efe1c4);
  position: relative;
  overflow: hidden;
}
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card .img-wrap .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cinzel", serif;
  color: rgba(76, 54, 36, .55);
  font-size: 1.4rem; letter-spacing: 0.3em;
}
.product-card .badge-feat {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, #d2ac66, #925e34);
  color: #120f0d; font-weight: 600;
  font-size: .68rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: .25rem .55rem; border-radius: 999px;
  z-index: 2;
}
.product-card .img-wrap.is-clickable { cursor: pointer; }
.product-card .img-wrap.is-clickable:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.product-card .img-wrap.is-clickable:focus:not(:focus-visible) { outline: none; }
.product-card .img-wrap__hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.4rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  color: #120f0d;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(210,172,102,0.92) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover .img-wrap.is-clickable .img-wrap__hint,
.product-card .img-wrap.is-clickable:focus .img-wrap__hint {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .product-card .img-wrap.is-clickable .img-wrap__hint {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-card .price {
  font-family: "Playfair Display", serif;
  color: var(--bronze);
  font-weight: 700;
  font-size: 1.15rem;
}

/* Pricing/engagement card */
.pricing-card {
  border-radius: 22px;
  padding: 1.6rem;
  border: 1px solid rgba(210, 172, 102, 0.3);
  background: linear-gradient(160deg, #fff, #fbf5e9);
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  background: linear-gradient(160deg, #1a1410, #2a1f17);
  color: #f4e2bd;
  border-color: rgba(210, 172, 102, 0.5);
}
.pricing-card .price-big {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  color: var(--bronze);
  font-weight: 800;
}
.pricing-card.featured .price-big { color: var(--gold); }

/* Scheme image gallery */
.scheme-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(210, 172, 102, 0.2);
  background: #1a1410;
}
.scheme-tile img,
.scheme-tile .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.scheme-tile .ph {
  background: linear-gradient(135deg, #4c3624, #d2ac66);
  display: flex; align-items: center; justify-content: center;
  color: #fff8e6;
  font-family: "Cinzel", serif;
  letter-spacing: 0.2em;
}
.scheme-tile .label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  color: #fff;
}
.scheme-tile:hover img,
.scheme-tile:hover .ph { transform: scale(1.05); }

/* Reviews */
.review-card {
  border: 1px solid rgba(210, 172, 102, 0.25);
  border-radius: 18px;
  padding: 1.4rem;
  background: #fff;
  height: 100%;
  position: relative;
}
.review-card .star { color: var(--gold); }
.review-card .quote-mark {
  position: absolute;
  right: 16px; top: 4px;
  font-family: "Playfair Display", serif;
  font-size: 4.4rem;
  color: rgba(210, 172, 102, 0.18);
  line-height: 1;
}

/* ===== Footer ===== */
.sj-footer {
  background: #0a0807;
  color: #c4b5a0;
  border-top: 1px solid rgba(210, 172, 102, 0.25);
}
.sj-footer a { color: #c4b5a0; text-decoration: none; }
.sj-footer a:hover { color: var(--gold); }

/* ===== Admin dashboard ===== */
.bg-light .admin-dash-hero {
  background: linear-gradient(135deg, #fff 0%, #fbf5e9 55%, #f3e8d4 100%);
  border: 1px solid rgba(210, 172, 102, 0.25) !important;
}
.admin-dash-hero .letter-spacing-1 { letter-spacing: 0.12em; font-size: 0.68rem; }

.admin-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid rgba(76, 54, 36, 0.12);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  min-height: 5.2rem;
  box-shadow: 0 4px 18px rgba(18, 15, 13, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.admin-stat:hover { box-shadow: 0 8px 24px rgba(18, 15, 13, 0.1); transform: translateY(-1px); }
.admin-stat__icon { font-size: 1.75rem; opacity: 0.9; line-height: 1; }
.admin-stat__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6b5a4a; margin-bottom: 0.1rem; }
.admin-stat__val { font-family: "Playfair Display", serif; font-size: 1.65rem; font-weight: 700; margin: 0; line-height: 1.1; color: #120f0d; }
@media (max-width: 576px) {
  .admin-stat__val { font-size: 1.4rem; }
}

.admin-kpi-tile {
  background: #fff;
  border: 1px solid rgba(76, 54, 36, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #4c3624;
}
.admin-kpi-tile strong { display: block; font-size: 1.1rem; margin-top: 0.2rem; }

.admin-panel {
  background: #fff;
  border: 1px solid rgba(76, 54, 36, 0.1);
  border-radius: 16px;
  padding: 1.1rem 1.2rem 1.25rem;
  box-shadow: 0 2px 12px rgba(18, 15, 13, 0.05);
}
.admin-type-card { border-color: rgba(210, 172, 102, 0.35) !important; background: #fffefc; }
.admin-panel .list-group-item { border-color: rgba(0, 0, 0, 0.06); }
.admin-panel .table thead th { font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-panel .table td, .admin-panel .table th { border-color: rgba(0, 0, 0, 0.05); }
.admin-panel .text-bg-light { color: #120f0d !important; }

.admin-pay-progress { background: rgba(18, 15, 13, 0.08); }
.admin-pay-progress__bar { background: linear-gradient(90deg, #4c3624, var(--gold)) !important; }

/* Product price breakdown modal (categories) */
.font-serif { font-family: "Playfair Display", Georgia, serif; }
.price-breakdown-card {
  background: linear-gradient(180deg, #fbf7f0 0%, #f5efe4 100%);
  border: 1px solid rgba(210, 172, 102, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
#productPriceModal .modal-content { background: #fff; }
#productPriceModal .letter-spacing-1 { letter-spacing: 0.12em; }

/* ===== Admin: shared responsive list patterns ===== */
.admin-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.admin-page-header h2,
.admin-page-header h1 { font-family: "Playfair Display", serif; }
.admin-page-header .meta { color: #6c757d; font-size: 0.85rem; }
.admin-page-header .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 575.98px) {
  .admin-page-header h2 { font-size: 1.15rem; }
  .admin-page-header > div:first-child { width: 100%; }
  .admin-page-header .actions { width: 100%; }
  .admin-page-header .actions > .btn { flex: 1 1 auto; }
}

.admin-stat-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid transparent;
  line-height: 1.3;
  white-space: nowrap;
}
.pill-active   { color: #146c43; background: #e8f7ee; border-color: #b6e2c4; }
.pill-hidden   { color: #6c757d; background: #f1f1f1; border-color: #dcdcdc; }
.pill-featured { color: #8a6100; background: #fff4d2; border-color: #f1d98a; }
.pill-dynamic  { color: #084c6e; background: #e0f2fb; border-color: #a9d5ee; }
.pill-fixed    { color: #4c3624; background: #fff8ea; border-color: #e3d6b9; }
.pill-type     { color: #084c6e; background: #e0f2fb; border-color: #a9d5ee; }
.pill-variable { color: #4c3624; background: #fff8ea; border-color: #e3d6b9; }
.pill-method   { color: #4c3624; background: #fff8ea; border-color: #e3d6b9; }
.pill-warn     { color: #b02a37; background: #fde7e9; border-color: #f5c2c7; }
.pill-info     { color: #084c6e; background: #e0f2fb; border-color: #a9d5ee; }
.pill-gold     { color: #6f4c1a; background: #fff1d6; border-color: #f0d9a3; }

/* Desktop table / mobile cards toggle */
.admin-list-table { display: none; }
@media (min-width: 768px) {
  .admin-list-table { display: block; }
  .admin-list-cards { display: none !important; }
}

.admin-list-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.admin-list-card {
  background: #fff;
  border: 1px solid #ece2cc;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  box-shadow: 0 2px 10px rgba(18, 15, 13, 0.05);
}
.admin-list-card .card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.admin-list-card .card-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d2ac66, #925e34);
  color: #120f0d;
  font-size: 1.1rem;
}
.admin-list-card .card-thumb {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff8ea;
  border: 1px solid #ece2cc;
}
.admin-list-card .card-thumb-fallback {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff8ea, #f1e1bb);
  color: #8a7a55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid #ece2cc;
}
.admin-list-card .card-title { font-weight: 600; line-height: 1.2; word-break: break-word; }
.admin-list-card .card-sub { color: #6c757d; font-size: 0.78rem; word-break: break-word; }
.admin-list-card .card-pills { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.4rem; }

.admin-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  font-size: 0.85rem;
  margin-top: 0.6rem;
}
.admin-card-grid .col-full { grid-column: 1 / -1; }
.admin-card-grid .label {
  display: block;
  color: #8a7a55;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.admin-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.admin-card-actions > * { flex: 1 1 0; min-width: 0; }
.admin-card-actions .btn { width: 100%; }
.admin-card-actions form { display: flex; }

.admin-list-empty {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #6c757d;
  border: 1px dashed #e3d6b9;
  border-radius: 14px;
  background: #fff;
}

/* Filter / toolbar row that wraps gracefully on mobile */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: stretch;
}
.admin-toolbar > .btn-gold,
.admin-toolbar > .btn-primary,
.admin-toolbar > .btn-outline-gold {
  flex: 0 0 auto;
}
.admin-toolbar form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1 1 320px;
  min-width: 0;
}
.admin-toolbar form .form-control,
.admin-toolbar form .form-select {
  min-width: 0;
  flex: 1 1 140px;
}
@media (max-width: 575.98px) {
  .admin-toolbar > .btn { width: 100%; }
  .admin-toolbar form { width: 100%; }
  .admin-toolbar form .form-control,
  .admin-toolbar form .form-select { flex: 1 1 100%; }
  .admin-toolbar form .btn { width: 100%; }
}

/* Better small-screen behaviour for the layout */
@media (max-width: 575.98px) {
  .admin-stat { padding: 0.75rem 0.85rem; min-height: 4.5rem; gap: 0.6rem; }
  .admin-stat__icon { font-size: 1.4rem; }
  .admin-stat__val { font-size: 1.25rem; }
  .admin-panel { padding: 0.85rem 0.95rem 1rem; border-radius: 14px; }
  .card-premium { border-radius: 12px; }
}

/* ===== Public cart: responsive layout ===== */
.sj-cart-hero { padding: 3rem 0; }
@media (max-width: 767.98px) {
  .sj-cart-hero { padding: 2rem 0 1.75rem; }
  .sj-cart-hero h1 { font-size: 1.6rem; }
  .sj-cart-hero .lead { font-size: 0.95rem; }
}

.sj-cart-card { border-radius: 14px; }
.sj-cart-card .min-w-0 { min-width: 0; }
.sj-cart-card__thumb {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f6efe1, #efe1c4);
  position: relative;
}
.sj-cart-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sj-cart-card__thumb .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cinzel", serif;
  color: rgba(76, 54, 36, .55);
  font-size: 1rem; letter-spacing: 0.25em;
}

.sj-cart-qty {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.35rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(146, 94, 52, 0.18);
}
.sj-cart-qty label {
  grid-column: 1 / -1;
  font-weight: 500;
}
.sj-cart-qty input {
  max-width: 90px;
}
.sj-cart-qty .btn {
  white-space: nowrap;
}

.sj-cart-summary { border-radius: 16px; }
.sj-cart-total { font-size: 1.1rem; }

@media (max-width: 575.98px) {
  .sj-cart-card { border-radius: 12px; }
  .sj-cart-card__thumb { width: 72px; height: 72px; }
  .sj-cart-summary { border-radius: 14px; }
  .sj-cart-summary h5 { font-size: 1.05rem; }
  .sj-cart-total { font-size: 1.05rem; }
  .btn-whatsapp { padding: 0.65rem 1.1rem; font-size: 0.95rem; }
}
