/* ===================================================
   DLN — Custom Styles
   Brand colors: Azul escuro (mist): #232843
   =================================================== */

/* ── Base ── */
body {
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Hide scrollbar utility */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Prevent Instagram embeds from trapping page scroll inside their iframe. */
.instagram-media iframe {
  pointer-events: none !important;
}

/* Remove default details marker */
details summary::-webkit-details-marker {
  display: none;
}

details summary {
  list-style: none;
}

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cor-cinza-claro-apoio);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.dark #preloader {
  background: #040F1A;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader-inner {
  position: relative;
  width: 8rem;
  height: 7.5rem;
  margin: 15px;

}

#preloader-inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2rem;
  height: 2px;
  margin: 15px;
  background: #170d0d;
  transform: scaleX(0);
  transform-origin: left center;
  animation: preloader-line 1.1s linear forwards;
}

.preloader-logo-box {
  width: 6rem;
  height: 6rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid #99928f;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes preloader-line {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ── Linktree Buttons (mobile) ── */
.linktree-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.875rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.01em;
}

.linktree-btn:active {
  transform: scale(0.97);
}

.linktree-btn:hover {
  opacity: 0.92;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.catalog-mobile-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  width: 100%;
  padding: 1.2rem 1.25rem;
  border-radius: 1.25rem;
  text-decoration: none;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(23, 30, 55, 0.335), transparent 35%),
    linear-gradient(135deg, #017ff8 0%, #041728 100%);
  /* border: 1px solid rgba(1, 127, 248, 0.28); */
  /* box-shadow: 0 16px 34px rgba(1, 127, 248, 0.24); */
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.catalog-mobile-cta:active {
  transform: scale(0.98);
}

.catalog-mobile-cta:hover {
  filter: brightness(1.04);
  box-shadow: 0 18px 38px rgba(1, 127, 248, 0.28);
}

.catalog-lang-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(4, 23, 40, 0.14);
  background: rgba(255, 255, 255, 0.85);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-lang-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-lang-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(1, 127, 248, 0.45);
}

.catalog-lang-btn.is-active {
  border-color: rgb(var(--color-accent) / 0.95);
  box-shadow: 0 0 0 2px rgb(var(--color-accent) / 0.25);
}

.dark .catalog-lang-btn {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 31, 46, 0.9);
}

.catalog-mobile-cta-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-mobile-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}

.catalog-mobile-cta-copy {
  max-width: 16rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.catalog-mobile-cta-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Small linktree buttons */
.linktree-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.linktree-btn-sm:hover {
  opacity: 0.88;
}

/* ── Accordion Cards ── */
.accordion-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(4, 23, 40, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.dark .accordion-card {
  background: #0A1F2E;
  border-color: rgba(1, 127, 248, 0.12);
}

.accordion-card[open] {
  box-shadow: 0 4px 20px rgba(1, 127, 248, 0.08);
}

.accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  user-select: none;
}

.accordion-content {
  padding: 0 1.25rem 1.25rem;
  line-height: 1.65;
}

/* Rotate icon when open */
.accordion-card[open] .accordion-icon {
  transform: rotate(180deg);
}

/* ── WhatsApp Widget ── */
.whatsapp-accordion {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.whatsapp-accordion[open] {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.whatsapp-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.whatsapp-accordion[open] .accordion-icon {
  transform: rotate(180deg);
}

.whatsapp-widget {
  width: 100%;
}

.whatsapp-widget-mobile {
  padding-top: 0.5rem;
}

.whatsapp-widget-shell {
  overflow: hidden;
  border-radius: 1.75rem;
  background: #f7f3ee;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.whatsapp-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #128c7e, #21b289);
}

.whatsapp-widget-user {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.whatsapp-widget-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.whatsapp-widget-name {
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}

.whatsapp-widget-body {
  padding: 1rem 1rem 1.25rem;
  background:
    radial-gradient(circle at top, rgba(1, 127, 248, 0.09), transparent 45%),
    linear-gradient(180deg, #f4efe8, #f8f5ef);
}

.whatsapp-widget-time {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(12, 12, 13, 0.45);
}

.whatsapp-widget-bubble {
  max-width: 82%;
  padding: 1rem 1.05rem;
  border-radius: 1.4rem;
  border-top-left-radius: 0.4rem;
  background: #ffffff;
  color: #2e2f34;
  box-shadow: 0 14px 36px rgba(12, 12, 13, 0.08);
}

.whatsapp-widget-bubble p+p {
  margin-top: 0.55rem;
}

.whatsapp-widget-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.whatsapp-widget-composer textarea {
  min-height: 5.25rem;
  resize: vertical;
  border-radius: 1.1rem;
  border: 1px solid rgba(4, 23, 40, 0.1);
  background: #ffffff;
  color: #041728;
  padding: 1rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.whatsapp-widget-composer textarea:focus {
  border-color: rgba(37, 211, 102, 0.6);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}

.whatsapp-widget-send {
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #25d366, #11b958);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.32);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.whatsapp-widget-send:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.whatsapp-widget-send .material-symbols-outlined {
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  .whatsapp-widget-name {
    font-size: 1.2rem;
  }

  .whatsapp-widget-bubble {
    max-width: 88%;
  }
}

/* ── Service Card ── */
.service-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(1, 127, 248, 0.12);
  border-color: rgba(1, 127, 248, 0.25) !important;
}

/* ── Catalog Category Tabs ── */
.catalog-tab-active {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: rgb(var(--color-accent));
  color: rgb(var(--color-accent-contrast));
  box-shadow: 0 4px 14px rgb(var(--color-accent) / 0.4);
  border: 2px solid rgb(var(--color-accent));
  cursor: pointer;
}

.catalog-tab-inactive {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: transparent;
  color: rgba(4, 23, 40, 0.6);
  border: 1.5px solid rgba(4, 23, 40, 0.12);
  cursor: pointer;
}

.dark .catalog-tab-inactive {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
}

.catalog-tab-inactive:hover {
  border-color: rgb(var(--color-text));
  color: rgb(var(--color-text));
  background: rgb(var(--color-text) / 0.08);
}

.catalog-tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.catalog-search-tab,
.catalog-search-tab-active {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.catalog-search-tab {
  border: 1.5px solid rgb(var(--color-accent) / 0.35);
  color: rgb(var(--color-accent));
  background: rgb(var(--color-accent) / 0.08);
  font-weight: 700;
}

.catalog-search-tab:hover {
  border-color: rgb(var(--color-accent));
  background: rgb(var(--color-accent) / 0.14);
}

.catalog-search-tab-active {
  border: 1.5px solid rgb(var(--color-accent));
  color: rgb(var(--color-accent-contrast));
  background: rgb(var(--color-accent));
  box-shadow: 0 4px 14px rgb(var(--color-accent) / 0.4);
  font-weight: 800;
}

.dark .catalog-search-tab {
  color: rgb(var(--color-accent));
  border-color: rgb(var(--color-accent) / 0.45);
  background: rgb(var(--color-accent) / 0.12);
}

.catalog-search-row {
  width: 100%;
  margin-top: 0.7rem;
}

.catalog-search-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(4, 23, 40, 0.15);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.2rem 0.4rem 0.2rem 0.75rem;
}

.catalog-search-wrap:focus-within {
  border-color: rgb(var(--color-accent) / 0.55);
  box-shadow: 0 0 0 3px rgb(var(--color-accent) / 0.14);
}

.dark .catalog-search-wrap {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.catalog-search-wrap .catalog-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  color: rgba(4, 23, 40, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0;
}

.dark .catalog-search-wrap .catalog-search-input {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.92);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
  caret-color: #82c4ff;
}

.catalog-search-wrap .catalog-search-input:-webkit-autofill,
.catalog-search-wrap .catalog-search-input:-webkit-autofill:hover,
.catalog-search-wrap .catalog-search-input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(4, 23, 40, 0.9);
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 9999s ease-out 0s;
}

.dark .catalog-search-wrap .catalog-search-input:-webkit-autofill,
.dark .catalog-search-wrap .catalog-search-input:-webkit-autofill:hover,
.dark .catalog-search-wrap .catalog-search-input:-webkit-autofill:focus {
  color: rgba(255, 255, 255, 0.92);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
}

.catalog-search-wrap .catalog-search-input::placeholder {
  color: rgba(4, 23, 40, 0.45);
  font-weight: 500;
}

.dark .catalog-search-wrap .catalog-search-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.catalog-search-clear {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(4, 23, 40, 0.08);
  color: rgba(4, 23, 40, 0.65);
  transition: all 0.2s ease;
  cursor: pointer;
}

.catalog-search-clear:hover {
  background: rgb(var(--color-accent) / 0.18);
  color: rgb(var(--color-accent));
}

.dark .catalog-search-clear {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

/* ── Catalog Skeletons (loading state) ── */
.catalog-tab-skeleton {
  background: rgba(4, 23, 40, 0.07);
}

.dark .catalog-tab-skeleton {
  background: rgba(255, 255, 255, 0.07);
}

.catalog-card-skeleton {
  background: rgba(4, 23, 40, 0.06);
}

.dark .catalog-card-skeleton {
  background: rgba(255, 255, 255, 0.06);
}

/* ── Catalog Card ── */
.catalog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover {
  transform: translateY(-2px);
}

.catalog-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(1, 127, 248, 0.24);
  background: rgba(1, 127, 248, 0.12);
  color: #59d29d;
  padding: 0.7rem 0.95rem;
  border-radius: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.catalog-add-btn:hover {
  transform: translateY(-1px);
  background: rgba(1, 127, 248, 0.18);
  border-color: rgba(89, 210, 157, 0.35);
}

.catalog-add-btn.is-added {
  background: rgba(89, 210, 157, 0.14);
  border-color: rgba(89, 210, 157, 0.28);
  color: #59d29d;
}

.pedido-preview-item,
.pedido-modal-item {
  border-radius: 1.25rem;
  border: 1px solid rgba(4, 23, 40, 0.08);
  background: rgba(4, 23, 40, 0.03);
}

.dark .pedido-preview-item,
.dark .pedido-modal-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.pedido-step-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(4, 23, 40, 0.1);
  background: #ffffff;
  color: #041728;
  transition: all 0.18s ease;
}

.pedido-step-btn:hover {
  border-color: rgba(1, 127, 248, 0.3);
  color: #017ff8;
}

.dark .pedido-step-btn {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0a2030;
  color: #ffffff;
}

.pedido-remove-btn {
  border-radius: 9999px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  padding: 0.5rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pedido-remove-btn:hover {
  background: rgba(220, 38, 38, 0.14);
}

/* ── Instagram Widget ── */
.instagram-shell {
  width: 100%;
}

.instagram-panel {
  overflow: hidden;
  border-radius: 2rem;
  background: #ffffff;
  border: 1px solid rgba(4, 23, 40, 0.08);
  box-shadow: 0 24px 70px rgba(4, 23, 40, 0.12);
}

.dark .instagram-panel {
  background: #0f1d2b;
  border-color: rgba(255, 255, 255, 0.08);
}

.instagram-profile-bar {
  display: grid;
  grid-template-columns: 1.25fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.35rem;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border-bottom: 1px solid rgba(4, 23, 40, 0.06);
}

.dark .instagram-profile-bar {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border-bottom-color: rgba(4, 23, 40, 0.06);
}

.instagram-profile-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.instagram-profile-avatar-ring {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: conic-gradient(from 180deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
  padding: 3px;
  flex: none;
}

.instagram-profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  overflow: hidden;
  background: #ffffff;
  padding: 4px;
}

.instagram-profile-copy {
  min-width: 0;
}

.instagram-profile-name {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
}

.dark .instagram-profile-name {
  color: #111827;
}

.instagram-profile-handle {
  margin-top: 0.3rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.dark .instagram-profile-handle {
  color: #6b7280;
}

.instagram-profile-stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.instagram-profile-stat {
  text-align: center;
}

.instagram-profile-stat strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
  color: #111827;
}

.dark .instagram-profile-stat strong {
  color: #111827;
}

.instagram-profile-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #6b7280;
}

.dark .instagram-profile-stat span {
  color: #6b7280;
}

.instagram-follow-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #0095f6, #1877f2);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 149, 246, 0.25);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.instagram-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #dbe4f0;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.dark .instagram-card {
  background: #08131d;
}

.instagram-card-bg,
.instagram-card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.instagram-card-bg {
  background-size: cover;
  background-position: center;
}

.instagram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 23, 40, 0), rgba(4, 23, 40, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-card:hover::after {
  opacity: 1;
}

.instagram-card:hover .instagram-card-bg,
.instagram-card:hover .instagram-card-media {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.instagram-card-badge {
  src: url(assets/icons/insta.png)
}

.instagram-modal-media {
  max-width: min(92vw, 760px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #000000;
}

.modal-media-thumb {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 0.9rem;
  overflow: hidden;
  flex: none;
  position: relative;
  border: 2px solid transparent;
  background: rgba(4, 23, 40, 0.18);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.modal-media-thumb:hover {
  transform: translateY(-1px);
}

.modal-media-thumb.is-active {
  border-color: rgba(1, 127, 248, 0.95);
}

.modal-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-media-thumb-video::after {
  content: "play_arrow";
  font-family: "Material Symbols Outlined";
  font-size: 1.2rem;
  position: absolute;
  right: 0.3rem;
  bottom: 0.3rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 23, 40, 0.75);
  color: #fff;
}

.modal-media-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(35, 40, 67, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #232843;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.modal-media-action-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 40, 67, 0.35);
  background: #ffffff;
}

#modalProdutoMedia.is-zoomable {
  cursor: zoom-in;
}

#modalProdutoMedia.is-zoomed {
  cursor: grab;
}

#modalProdutoMedia.is-zoomed.is-dragging {
  cursor: grabbing;
}

#modalImg {
  transform-origin: center center;
  transition: transform 0.22s ease;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

#modalProdutoMedia.is-zoomable #modalImg {
  touch-action: none;
}

#modalProdutoMedia.is-zoomed #modalImg {
  transition: none;
}

#modalProdutoMedia.is-zoomed + #modalMediaThumbs {
  opacity: 0.72;
}

@media (max-width: 1023px) {
  #modalMediaActions {
    display: none !important;
  }
}

.modal-scroll-area {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.98) rgba(35, 40, 67, 0.05);
}

.modal-scroll-area::-webkit-scrollbar {
  width: 8px;
}

.modal-scroll-area::-webkit-scrollbar-track {
  background: rgba(35, 40, 67, 0.05);
  border-radius: 9999px;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 9999px;
  border: 1px solid rgba(35, 40, 67, 0.1);
  box-shadow: 0 6px 18px rgba(35, 40, 67, 0.16);
}

.modal-scroll-area::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

.dark .modal-scroll-area {
  scrollbar-color: rgba(255, 255, 255, 0.98) rgba(35, 40, 67, 0.08);
}

.dark .modal-scroll-area::-webkit-scrollbar-track {
  background: rgba(35, 40, 67, 0.08);
}

.dark .modal-scroll-area::-webkit-scrollbar-thumb {
  border-color: rgba(35, 40, 67, 0.2);
}

/* ── Hero grid overlay ── */
.hero-grid-overlay {
  background-image:
    linear-gradient(rgba(1, 127, 248, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 127, 248, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Back to Top Button ── */
#backToTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 18px;
  border-radius: 999px;
  background: var(--cor-preto-profundo);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(13, 13, 13, 0.18);
  z-index: 50;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  color: var(--cor-amarelo-destaque);
}

.dark #backToTop {
  background: var(--cor-preto-profundo);
  color: var(--cor-amarelo-destaque);
}

#backToTop .material-symbols-outlined {
  font-size: 20px;
}

#backToTop.visible {
  transform: scale(1);
}

#backToTop:hover {
  box-shadow: 0 18px 38px rgba(13, 13, 13, 0.24);
}

#backToTop svg {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
}

#progressCircle {
  vector-effect: non-scaling-stroke;
}

@media screen and (max-width: 640px) {
  #backToTop {
    width: 2rem;
    height: 2rem;
    bottom: 1rem;
    right: 1rem;
  }

  #backToTop .material-symbols-outlined {
    font-size: 16px;
  }
}

/* ── Header shrink on scroll ── */
/* #site-header.scrolled {
  box-shadow: 0 1px 2px rgba(177, 177, 177, 0.1);
}
.dark #site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
} */

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Copied button state ── */
#copyBtn.copied,
#copyBtnDsk.copied {
  border-color: #59D29D !important;
  color: #59D29D !important;
}

/* ===================================================
   Import Cell — Visual Refresh
   =================================================== */

:root {
  --cor-preto-profundo: #0D0D0D;
  --cor-grafite-escuro: #1A1A1A;
  --cor-amarelo-destaque: #F2C94C;
  --cor-branco-gelo: #F5F5F5;
  --cor-cinza-claro-apoio: #D9D9D9;
  --cor-texto-suave: rgba(245, 245, 245, 0.76);
  --cor-texto-escuro-suave: rgba(13, 13, 13, 0.68);
  --cor-borda-escura: rgba(13, 13, 13, 0.12);
  --cor-borda-clara: rgba(245, 245, 245, 0.14);
  --sombra-card: 0 18px 45px rgba(13, 13, 13, 0.12);
  --sombra-destaque: 0 18px 40px rgba(242, 201, 76, 0.22);
  --raio-card: 1.6rem;
  --raio-pill: 999px;
  --dln-ink: var(--cor-preto-profundo);
  --dln-paper: var(--cor-branco-gelo);
  --dln-paper-2: #ffffff;
  --dln-mist: var(--cor-grafite-escuro);
  --dln-butter: var(--cor-amarelo-destaque);
  --dln-stone: #7b7b7b;
  --dln-border: var(--cor-borda-escura);
  --dln-shadow: var(--sombra-card);
}

body,
body.dln-page {
  font-family: "Inter", sans-serif;
}

.font-display,
body.dln-page .dln-brand-copy strong,
body.dln-page .dln-footer-brand p,
body.dln-page .catalog-intro h2,
body.dln-page .pedido-card-head h3,
body.dln-page .dln-contact-copy h2,
body.dln-page .catalog-card h4,
body.dln-page #modalNome,
body.dln-page #pedidoModalContent h3 {
  font-family: "Montserrat", sans-serif !important;
}

body.dln-page {
  background:
    radial-gradient(circle at top right, rgb(var(--color-accent) / 0.12), transparent 28%),
    rgb(var(--color-canvas));
  color: rgb(var(--color-text));
}

.dln-shell {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
}

.top-loop {
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(242, 201, 76, 0.18);
  background:
    linear-gradient(90deg, #050505 0%, var(--cor-preto-profundo) 35%, #272727 100%);
  color: var(--cor-amarelo-destaque);
}

.top-loop-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  min-width: max-content;
  padding: 0.72rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: dln-marquee 22s linear infinite;
}

.top-loop-track span::after {
  content: "•";
  margin-left: 2rem;
  color: rgba(242, 201, 76, 0.45);
}

@keyframes dln-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.33%); }
}

.dln-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 0;
}

.dln-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgb(var(--color-line) / 0.12);
  border-radius: calc(var(--raio-card) - 0.2rem);
  background: rgb(var(--color-surface) / 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 8px 28px rgb(var(--color-line) / 0.07);
}

.dark .dln-header-row {
  background: rgb(var(--color-surface) / 0.68);
  border-color: rgb(var(--color-line) / 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.dln-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: rgb(var(--color-text));
  text-decoration: none;
  flex-shrink: 0;
}

.dln-brand-mark,
.dln-footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  min-height: 3.4rem;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgb(var(--color-surface) / 0.06), rgb(var(--color-accent) / 0.12));
  border: 1px solid rgb(var(--color-accent) / 0.2);
  box-shadow: inset 0 1px 0 rgb(var(--color-surface) / 0.08);
}

.dln-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.dln-brand-copy strong,
.dln-footer-brand p {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dln-brand-copy small,
.dln-footer-brand small {
  margin-top: 0.36rem;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgb(var(--color-text) / 0.68);
}

.dln-mini-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Center nav block in header */
.dln-center-nav {
  flex: 1;
  justify-content: center;
}

/* Accent pill for "Contato/Whats" button in header */
.dln-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--raio-pill);
  background: rgb(var(--color-accent));
  color: rgb(var(--color-accent-contrast));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dln-whatsapp-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.dln-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 9999px;
  border: 1px solid rgb(var(--color-text) / 0.1);
  background: rgb(var(--color-surface) / 0.08);
  color: rgb(var(--color-text));
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dln-theme-toggle:hover {
  background: rgb(var(--color-accent));
  border-color: rgb(var(--color-accent));
  color: rgb(var(--color-accent-contrast));
  transform: translateY(-1px);
}

.dln-theme-toggle:focus-visible {
  outline: 2px solid rgba(242, 201, 76, 0.85);
  outline-offset: 3px;
}

.dln-mini-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.1rem;
  color: rgb(var(--color-text));
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dln-mini-nav a:hover,
.dln-mini-nav a:last-child {
  /* background: rgb(var(--color-accent)); */
  border-color: rgb(var(--color-accent));
  color: rgb(var(--color-accent-contrast));
  transform: translateY(-1px);
}

.catalog-kicker,
.reference-eyebrow,
.dln-contact-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: #8d7440;
}

.catalog-intro h2,
.pedido-card-head h3,
.dln-contact-copy h2 {
  font-size: clamp(2.15rem, 4vw, 4.25rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.catalog-copy,
.reference-card p,
.pedido-copy,
.dln-contact-text {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--cor-texto-escuro-suave);
}

.hero-banner {
  position: relative;
  min-height: max(30dvh, 10rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
}

.hero-banner-main {
  position: relative;
  min-width: 0;
  min-height: inherit;
  border: 1px solid rgba(242, 201, 76, 0.26);
  border-radius: calc(var(--raio-card) + 0.4rem);
  background:
    linear-gradient(135deg, rgba(13, 13, 13, 0.94), rgba(26, 26, 26, 0.82));
  box-shadow: 0 24px 60px rgba(13, 13, 13, 0.18);
  overflow: hidden;
}

.hero-banner-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(13, 13, 13, 0.78) 0%, rgba(13, 13, 13, 0.18) 52%, rgba(242, 201, 76, 0.16) 100%);
  pointer-events: none;
}

.hero-banner-main::after {
  content: "Seu próximo iphone você encontra aqui";
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.4rem);
  bottom: clamp(1.4rem, 4vw, 2.4rem);
  z-index: 2;
  max-width: min(28rem, calc(100% - 3rem));
  color: var(--cor-branco-gelo);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.55rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-banner-slides {
  position: absolute;
  inset: 0;
}

.hero-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: max(20dvh, 14rem);
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-banner-slide.is-active {
  opacity: 1;
}

.hero-banner-dots {
  position: absolute;
  left: 1.4rem;
  bottom: 1.15rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-banner-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 245, 245, 0.5);
  background: rgba(245, 245, 245, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-banner-dot.is-active {
  background: var(--cor-amarelo-destaque);
  border-color: var(--cor-amarelo-destaque);
  transform: scale(1.18);
}

.hero-highlight-rail {
  display: none;
}

.hero-highlight-track {
  display: grid;
  gap: 0.9rem;
}

.hero-highlight-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
  padding: 0.85rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 240, 232, 0.98));
  overflow: hidden;
}

.hero-highlight-card-media {
  position: relative;
  min-height: 7rem;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(13, 13, 13, 0.06);
}

.hero-highlight-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-highlight-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
}

.hero-highlight-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.hero-highlight-card-kicker {
  width: fit-content;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.18);
  color: #6b5200;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-highlight-card-title {
  color: #171717;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-highlight-card-price {
  color: #171717;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-highlight-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: fit-content;
  min-width: 8.1rem;
  padding: 0.62rem 0.82rem;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: var(--cor-branco-gelo);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-highlight-card-action .material-symbols-outlined {
  font-size: 1rem;
}

.dln-contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  padding: 2rem;
  border: 1px solid rgba(242, 201, 76, 0.18);
  border-radius: calc(var(--raio-card) + 0.2rem);
  background:
    radial-gradient(circle at top right, rgba(242, 201, 76, 0.18), transparent 25%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.98), rgba(26, 26, 26, 0.98));
  color: var(--cor-branco-gelo);
  box-shadow: 0 24px 50px rgba(13, 13, 13, 0.18);
}

.dln-contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dln-contact-kicker {
  color: rgba(242, 201, 76, 0.8);
}

.dln-contact-text {
  max-width: 35rem;
  margin-top: 1rem;
  color: var(--cor-texto-suave);
}

.dln-contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dln-contact-tag {
  min-height: 2.7rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(242, 201, 76, 0.16);
  border-radius: var(--raio-pill);
  background: rgba(245, 245, 245, 0.05);
  color: rgba(245, 245, 245, 0.86);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dln-contact-tag:hover {
  transform: translateY(-1px);
  background: rgba(242, 201, 76, 0.16);
  border-color: rgba(242, 201, 76, 0.32);
}

.dln-contact-widget {
  overflow: hidden;
  border: 1px solid rgba(242, 201, 76, 0.14);
  border-radius: var(--raio-card);
  background: #f1f1f1;
  color: var(--cor-preto-profundo);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.dln-contact-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(90deg, #090909 0%, var(--cor-grafite-escuro) 100%);
  color: var(--cor-branco-gelo);
}

.dln-contact-widget-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.dln-contact-widget-brand strong,
.dln-contact-widget-brand span {
  display: block;
}

.dln-contact-widget-brand strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.dln-contact-widget-brand span {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: rgba(245, 245, 245, 0.72);
}

.dln-contact-widget-body {
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(242, 201, 76, 0.16), transparent 36%),
    linear-gradient(180deg, #fcfcfc 0%, #f1f1f1 100%);
}

.dln-contact-widget-time {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(13, 13, 13, 0.42);
}

.dln-contact-bubble {
  width: min(16rem, 100%);
  margin-top: 0.9rem;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(13, 13, 13, 0.06);
  border-radius: 1.2rem 1.2rem 1.2rem 0.4rem;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(13, 13, 13, 0.08);
}

.dln-contact-bubble p + p {
  margin-top: 0.55rem;
}

.dln-contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
  padding: 0.9rem 1rem 1rem;
  background: #f6f6f6;
  border-top: 1px solid rgba(13, 13, 13, 0.06);
}

.dln-contact-textarea {
  min-height: 4.3rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 1rem;
  background: #ffffff;
  color: var(--cor-preto-profundo);
  overflow-y: hidden;
  resize: none;
}

.dln-contact-textarea:focus {
  outline: none;
  border-color: rgba(242, 201, 76, 0.8);
  box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.16);
}

.dln-contact-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 0;
  border-radius: 1rem;
  background: var(--cor-amarelo-destaque);
  color: var(--cor-preto-profundo);
  box-shadow: var(--sombra-destaque);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dln-contact-send:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.dln-contact-send .material-symbols-outlined {
  font-size: 1.2rem;
}

.catalog-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.55rem;
}

.catalog-copy {
  max-width: 26rem;
  color: rgba(13, 13, 13, 0.56);
}

.catalog-tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.catalog-tab-inactive,
.catalog-tab-active,
.catalog-search-tab,
.catalog-search-tab-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.76rem 1.05rem;
  border-radius: var(--raio-pill);
  border: 1px solid rgba(13, 13, 13, 0.1);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.catalog-tab-inactive,
.catalog-search-tab {
  background: rgba(255, 255, 255, 0.82);
  color: var(--cor-preto-profundo);
  box-shadow: 0 6px 18px rgba(13, 13, 13, 0.04);
}

.catalog-tab-active,
.catalog-search-tab-active {
  background: var(--cor-preto-profundo);
  color: var(--cor-amarelo-destaque);
  border-color: var(--cor-preto-profundo);
  box-shadow: 0 14px 28px rgba(13, 13, 13, 0.14);
}

.catalog-tab-inactive:hover,
.catalog-search-tab:hover,
.catalog-add-btn:hover,
#btnRevisarPedido:hover,
#closeModalProduto:hover,
#closePedidoModal:hover,
#modalCloseAfterAdd:hover {
  transform: translateY(-1px);
}

.catalog-tab-inactive:hover,
.catalog-search-tab:hover {
  border-color: rgba(242, 201, 76, 0.52);
  color: var(--cor-preto-profundo);
  background: rgba(242, 201, 76, 0.18);
}

.catalog-search-row {
  margin-top: 0.9rem;
}

.catalog-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(13, 13, 13, 0.04);
}

.catalog-search-wrap:focus-within {
  border-color: rgba(242, 201, 76, 0.7);
  box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.14);
}

.catalog-search-wrap .catalog-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cor-preto-profundo);
}

.catalog-search-wrap .catalog-search-input:focus {
  outline: 0;
  box-shadow: none;
}

.catalog-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  color: rgba(13, 13, 13, 0.6);
  background: rgba(13, 13, 13, 0.05);
}

.catalog-card-skeleton,
.catalog-tab-skeleton {
  background: linear-gradient(90deg, rgba(217, 217, 217, 0.42), rgba(255, 255, 255, 0.9), rgba(217, 217, 217, 0.42));
}

.catalog-card {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(13, 13, 13, 0.08) !important;
  border-radius: var(--raio-card) !important;
  box-shadow: var(--sombra-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 201, 76, 0.32) !important;
  box-shadow: 0 24px 55px rgba(13, 13, 13, 0.16);
}

.catalog-card .product-media {
  background:
    radial-gradient(circle at top, rgba(242, 201, 76, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(26, 26, 26, 0.05), rgba(13, 13, 13, 0.02)) !important;
}

.catalog-card h4 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.catalog-card p,
.pedido-preview-item p:last-child,
.pedido-modal-item p:nth-child(3) {
  font-family: "Inter", sans-serif;
}

.catalog-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.8rem;
  padding: 0.78rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(242, 201, 76, 0.42);
  background: var(--cor-amarelo-destaque);
  color: var(--cor-preto-profundo);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--sombra-destaque);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.catalog-add-btn:hover {
  filter: brightness(0.95);
}

.catalog-add-btn.is-added {
  background: var(--cor-preto-profundo);
  border-color: var(--cor-preto-profundo);
  color: var(--cor-amarelo-destaque);
  box-shadow: 0 14px 30px rgba(13, 13, 13, 0.18);
}

#pedidoCard {
  border-radius: calc(var(--raio-card) + 0.2rem) !important;
  border-color: rgba(13, 13, 13, 0.08) !important;
  box-shadow: 0 24px 50px rgba(13, 13, 13, 0.12) !important;
}

.pedido-card-inner {
  padding: 2rem 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(242, 201, 76, 0.18), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
}

.pedido-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pedido-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1.4rem;
  background: linear-gradient(145deg, var(--cor-preto-profundo), var(--cor-grafite-escuro));
  color: var(--cor-amarelo-destaque);
  box-shadow: 0 18px 36px rgba(13, 13, 13, 0.18);
}

.pedido-icon .material-symbols-outlined {
  font-size: 2rem;
}

.pedido-card-head h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  text-align: center;
}

.pedido-copy {
  color: rgba(13, 13, 13, 0.6);
  text-align: center;
}

.pedido-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.pedido-card-stats > div,
.pedido-preview-item,
.pedido-modal-item,
.pedido-empty {
  border: 1px solid rgba(13, 13, 13, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(13, 13, 13, 0.05);
}

.pedido-card-stats > div {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  text-align: center;
}

.pedido-stat-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.45);
}

.pedido-stat-value {
  margin-top: 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
}

.pedido-status {
  min-height: 1.2rem;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.56);
}

.pedido-empty {
  margin-top: 1.3rem;
  padding: 1.4rem;
  border-radius: 1.2rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(13, 13, 13, 0.6);
}

.pedido-preview-item,
.pedido-modal-item {
  border-radius: 1.25rem;
}

.pedido-step-btn,
.pedido-remove-btn {
  border-radius: 999px;
  border: 1px solid rgba(13, 13, 13, 0.12);
  background: #fff;
  color: var(--cor-preto-profundo);
}

.pedido-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.pedido-step-btn:hover {
  border-color: rgba(242, 201, 76, 0.6);
  color: var(--cor-preto-profundo);
  background: rgba(242, 201, 76, 0.18);
}

.pedido-remove-btn {
  min-height: 2.2rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#btnEnviarPedido,
#pedidoModalSend,
#modalAddPedido {
  background: var(--cor-amarelo-destaque) !important;
  color: var(--cor-preto-profundo) !important;
  border-radius: 999px !important;
  box-shadow: var(--sombra-destaque);
}

#btnRevisarPedido,
#modalCloseAfterAdd {
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--cor-preto-profundo) !important;
  border-radius: 999px !important;
}

.catalog-lang-btn {
  border-color: rgba(13, 13, 13, 0.12);
  box-shadow: 0 10px 18px rgba(13, 13, 13, 0.05);
}

.catalog-lang-btn.is-active {
  border-color: rgba(242, 201, 76, 0.75);
  box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.15);
}

/* ── Footer ── */
.dln-footer {
  margin-top: 0;
  padding: 0 1rem 2.5rem;
  border-top: 1px solid rgb(var(--color-line) / 0.1);
  background: rgb(var(--color-surface));
}

.dln-footer-row1 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid rgb(var(--color-line) / 0.08);
}

.dln-footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dln-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.dln-footer-phrase {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgb(var(--color-text-soft));
  max-width: 20rem;
  padding-left: 0.1rem;
}

.dln-footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.dln-footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgb(var(--color-line) / 0.14);
  background: rgb(var(--color-surface-strong));
  color: rgb(var(--color-text));
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dln-footer-social-icon:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--color-accent) / 0.5);
  color: rgb(var(--color-accent));
}

.dln-footer-social-icon img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

/* Footer nav icons — borderless, single color */
.dln-footer-nav-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.dln-footer-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--color-text) / 0.38);
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.dln-footer-nav-icon .material-symbols-outlined {
  font-size: 1.6rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' -25, 'opsz' 24;
}

.dln-footer-nav-icon:hover {
  color: rgb(var(--color-accent));
  transform: translateY(-3px);
}

.dln-footer-meuweb-col {
  display: flex;
  justify-content: flex-end;
}

.dln-footer-meuweb {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgb(var(--color-text-soft));
  text-decoration: none;
  transition: color 0.2s ease;
}

.dln-footer-meuweb:hover {
  color: rgb(var(--color-accent));
}

.dln-footer-meta {
  margin-top: 1.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: rgb(var(--color-text-soft) / 0.7);
}

.dln-footer-meta a {
  color: inherit;
  text-decoration: none;
}

#backToTop {
  background: var(--cor-preto-profundo);
  color: var(--cor-amarelo-destaque);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(13, 13, 13, 0.18);
}

#site-header.scrolled .dln-header-row {
  background: rgb(var(--color-surface) / 0.85);
  box-shadow: 0 12px 32px rgb(var(--color-line) / 0.09);
}

.dark #site-header.scrolled .dln-header-row {
  background: rgb(var(--color-surface) / 0.82);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

body.dln-page #modalProdutoContent,
body.dln-page #pedidoModalContent {
  border-radius: 1.8rem !important;
  border: 1px solid rgba(13, 13, 13, 0.08);
}

body.dln-page #closeModalProduto,
body.dln-page #closePedidoModal,
body.dln-page #modalDestaque,
body.dln-page #modalAtrib,
body.dln-page #modalMoreDetailsToggle {
  border-radius: 1rem !important;
}

@media screen and (min-width: 961px) {
  .hero-banner {
    min-height: clamp(16rem, 30vw, 32rem);
  }

  /* Side-by-side layout: banner 60% left + highlight column 40% right */
  .hero-banner.has-highlight-rail {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
  }

  .hero-banner.has-highlight-rail .hero-banner-main {
    flex: 0 0 70%;
    min-width: 0;
    min-height: clamp(16rem, 30vw, 32rem);
  }

  .hero-banner.has-highlight-rail .hero-highlight-rail {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0;
    overflow-y: auto;
    position: static;
    z-index: auto;
  }

  .hero-banner.has-highlight-rail .hero-highlight-track {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    overflow-y: auto;
    align-content: start;
    padding: 0;
  }

  .hero-banner-dots {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .hero-banner.has-highlight-rail .hero-banner-dots {
    left: 1.5rem;
    right: auto;
    bottom: 1.15rem;
  }
}

@media screen and (max-width: 960px) {
  .dln-contact,
  .catalog-intro {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .dln-footer-row1 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .dln-footer-meuweb-col {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 640px) {
  body.dln-page #modalProdutoContent {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .dln-shell {
    width: 100%;
  }

  .top-loop-track {
    gap: 1.25rem;
    font-size: 0.64rem;
    letter-spacing: 0.22em;
  }

  .top-loop-track span::after {
    margin-left: 1.25rem;
  }

  .dln-header {
    top: 0;
  }

  .dln-header-row {
    padding: 0.8rem;
    border-radius: 1.2rem;
  }

  .dln-brand-copy strong {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

  .dln-brand-copy small {
    font-size: 0.58rem;
  }

  .dln-mini-nav {
    gap: 0.45rem;
  }

  .dln-mini-nav a {
    min-height: 2.45rem;
    padding: 0.58rem 0.78rem;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .hero-banner {
    min-height: max(22dvh, 13.5rem);
  }

  .hero-banner-main {
    min-height: inherit;
    border-radius: 1.4rem;
  }

  .hero-banner-main::after {
    left: 1rem;
    right: 1rem;
    bottom: 2.6rem;
    max-width: none;
    font-size: 1.35rem;
  }

  .hero-banner-slide {
    min-height: 8rem;
  }

  .hero-banner-dots {
    left: 1rem;
    bottom: 0.9rem;
  }

  .hero-highlight-card {
    grid-template-columns: minmax(0, 5.2rem) minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .hero-highlight-card-media {
    min-height: 5.2rem;
  }

  .hero-highlight-card-title {
    font-size: 0.86rem;
  }

  .hero-highlight-card-price {
    font-size: 0.86rem;
  }

  .hero-highlight-card-action {
    min-width: 7rem;
    font-size: 0.62rem;
  }

  .catalog-copy,
  .pedido-copy,
  .dln-contact-text {
    font-size: 0.95rem;
  }

  .dln-contact {
    padding: 1rem;
    border-radius: 1.4rem;
  }

  .dln-contact-form {
    grid-template-columns: 1fr auto;
  }

  .catalog-tabs-row {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .catalog-tab-inactive,
  .catalog-tab-active,
  .catalog-search-tab,
  .catalog-search-tab-active {
    flex: 1 1 calc(50% - 0.65rem);
  }

  .pedido-card-inner {
    padding: 1.5rem 1rem;
  }

  .pedido-card-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Desktop Template Components (md+) ── */

/* Section headings */
.dt-section-header {
  text-align: center;
}

.dt-section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgb(var(--color-accent));
  margin-bottom: 0.4rem;
}

.dt-section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  font-family: "Montserrat", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgb(var(--color-text));
}

/* Action buttons row */
.dt-action-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  border-radius: 1.35rem;
  border: 1px solid rgb(var(--color-line) / 0.1);
  background: rgb(var(--color-surface));
  color: rgb(var(--color-text));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgb(var(--color-line) / 0.05);
}

.dt-action-btn:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--color-accent) / 0.45);
  box-shadow: 0 10px 28px rgb(var(--color-line) / 0.1);
}

.dt-action-btn .material-symbols-outlined {
  font-size: 1.85rem;
  color: rgb(var(--color-accent));
}

/* Hours card */
.dt-hours-card {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  border: 1px solid rgb(var(--color-line) / 0.1);
  border-radius: var(--raio-card);
  background: rgb(var(--color-surface));
  box-shadow: 0 8px 24px rgb(var(--color-line) / 0.05);
}

.dt-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dt-hours-table tr + tr td {
  border-top: 1px solid rgb(var(--color-line) / 0.07);
}

.dt-hours-table td {
  padding: 0.75rem 0;
  color: rgb(var(--color-text));
}

.dt-hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: rgb(var(--color-text-soft));
}

.dt-hours-table tr.today td {
  color: rgb(var(--color-accent));
  font-weight: 700;
}

/* Location card */
.dt-location-card {
  padding: 2rem 2.5rem;
  border: 1px solid rgb(var(--color-line) / 0.1);
  border-radius: var(--raio-card);
  background: rgb(var(--color-surface));
  box-shadow: 0 8px 24px rgb(var(--color-line) / 0.05);
}

.dt-location-address {
  margin-bottom: 1.5rem;
  line-height: 1.85;
  color: rgb(var(--color-text-soft));
  font-size: 0.95rem;
}

.dt-location-address strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: rgb(var(--color-text));
  margin-bottom: 0.35rem;
}

.dt-location-iframe {
  display: block;
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 1.1rem;
  overflow: hidden;
}

/* Catalog section header */
.dt-catalog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dt-catalog-title {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: "Montserrat", "Inter", sans-serif;
  letter-spacing: -0.01em;
  color: rgb(var(--color-text));
}

/* Instagram embed wrapper */
.dt-instagram-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ── meuWeb.site brand logo ── */
.meuweb-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.meuweb-dev-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(var(--color-text) / 0.45);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.meuweb-brand:hover .meuweb-dev-label {
  opacity: 1;
  transform: translateY(0);
}

.meuweb-logo {
  font-family: 'Oleo Script Swash Caps', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(var(--color-text));
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.meuweb-logo:hover {
  color: rgb(var(--color-accent));
}

.dark .meuweb-logo {
  color: rgb(var(--color-text));
}

