/* ===================================================
   GF Store — Custom Styles
   Brand colors: #111111 (brand) | #111111 (accent) | #947545 (muted)
   =================================================== */

/* ── 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; }

/* 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: #F0F5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* ── GF Store minimal overrides ── */
.gf-minimal,
.gf-minimal * {
  box-shadow: none !important;
  letter-spacing: 0;
}

.gf-minimal #preloader {
  background: #ffffff;
}

.gf-minimal #preloader-inner::after {
  border-color: rgba(17, 17, 17, 0.12);
  border-top-color: #111111;
}

.gf-minimal .catalog-tab-active,
.gf-minimal .catalog-search-tab-active,
.gf-minimal .catalog-add-btn,
.gf-minimal .catalog-add-btn.is-added {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.gf-minimal .catalog-tab-inactive,
.gf-minimal .catalog-search-tab {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.15);
  color: #3f3f46;
}

.gf-minimal .catalog-tab-inactive:hover,
.gf-minimal .catalog-search-tab:hover {
  border-color: #111111;
  color: #111111;
}

.gf-minimal .catalog-card {
  border: 1px solid rgba(17, 17, 17, 0.1) !important;
  border-radius: 0.375rem !important;
  transform: none !important;
}

.gf-minimal .product-media {
  background: #f6f6f6 !important;
}

.gf-minimal .product-media > .absolute.inset-0.bg-gradient-to-br {
  display: none;
}

.gf-minimal .catalog-search-wrap:focus-within {
  border-color: #111111;
}

.gf-minimal #backToTop {
  display: none;
}

.mobile-header-icon-button {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

.mobile-home-section {
  width: 95vw;
  max-width: 95vw;
}

.mobile-home-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mobile-home-accordion {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 1rem;
  background: #ffffff;
}

.mobile-home-accordion summary {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  color: #111111;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.mobile-home-accordion .accordion-chevron {
  color: rgba(17, 17, 17, 0.6);
  transition: transform 0.2s ease;
}

.mobile-home-accordion[open] .accordion-chevron {
  transform: rotate(180deg);
}

.mobile-home-accordion-panel {
  padding: 0 1rem 1rem 1rem;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.mobile-home-accordion-panel a {
  display: inline-flex;
  align-items: center;
  margin-top: 0.8rem;
  max-width: 100%;
  color: #111111;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-home-accordion-panel .instagram-media,
.mobile-home-accordion-panel iframe {
  max-width: 100% !important;
  min-width: 0 !important;
}

.mobile-whatsapp-form {
  display: grid;
  gap: 0.75rem;
}

.mobile-whatsapp-form textarea {
  width: 100%;
  resize: vertical;
  border-radius: 0.875rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #f7f7f7;
  padding: 0.875rem;
  color: #111111;
  outline: none;
}

.mobile-whatsapp-form textarea:focus {
  border-color: #111111;
}

.mobile-whatsapp-form button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.875rem;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.meuweb-credit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  text-decoration: none;
  line-height: 1;
    color: #111111;

}

.meuweb-credit-label {
  color: rgba(17, 17, 17, 0.45);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(0.25rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.meuweb-credit:hover .meuweb-credit-label,
.meuweb-credit:focus-visible .meuweb-credit-label {
  opacity: 1;
  transform: translateY(0);
}

.meuweb-credit-logo {
  display: inline-flex;
  border-radius: 9999px;
  padding: 0.45rem 0.85rem 0.55rem;
  color: #111111;
}

@media (min-width: 768px) {
  .meuweb-credit {
    align-items: flex-end;
    margin-top: 0;
  }
}

.mobile-theme-dark .mobile-home-shell {
  background: #070707;
  color: #ffffff;
}

.mobile-theme-dark .mobile-home-shell header {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(7, 7, 7, 0.95);
}

.mobile-theme-dark .mobile-home-shell footer {
  border-color: rgba(255, 255, 255, 0.1);
}

.mobile-theme-dark .mobile-home-shell footer p:last-child {
  color: rgba(255, 255, 255, 0.45);
}

.mobile-theme-dark .meuweb-credit-label {
  color: rgba(255, 255, 255, 0.5);
}

.mobile-theme-dark .mobile-header-icon-button {
  border-color: rgba(255, 255, 255, 0.12);
}

.mobile-theme-dark [data-mobile-theme-toggle] {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mobile-theme-dark .mobile-home-accordion {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-theme-dark .mobile-home-accordion summary {
  color: #ffffff;
}

.mobile-theme-dark .mobile-home-accordion .accordion-chevron,
.mobile-theme-dark .mobile-home-accordion-panel {
  color: rgba(255, 255, 255, 0.65);
}

.mobile-theme-dark .mobile-home-accordion-panel a {
  color: #ffffff;
}

.mobile-theme-dark .mobile-whatsapp-form textarea {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.dark #preloader {
  background: #040F1A;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
#preloader-inner {
  position: relative;
  width: 6rem;
  height: 6rem;
}
#preloader-inner::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(1, 127, 248, 0.15);
  border-top-color: #017FF8;
  animation: preloader-spin 0.9s linear infinite;
}
.preloader-logo-box {
  width: 6rem;
  height: 6rem;
  border-radius: 1.25rem;
  background: rgba(1, 127, 248, 0.1);
  border: 1px solid rgba(1, 127, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo-img {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  object-fit: cover;
}
@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

/* ── 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: rgba(1, 127, 248, 0.95);
  box-shadow: 0 0 0 2px rgba(1, 127, 248, 0.2);
}

.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: #017FF8;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(1, 127, 248, 0.35);
  border: 2px solid #017FF8;
  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: #017FF8;
  color: #017FF8;
}

.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 rgba(1, 127, 248, 0.35);
  color: #017ff8;
  background: rgba(1, 127, 248, 0.08);
  font-weight: 700;
}

.catalog-search-tab:hover {
  border-color: #017ff8;
  background: rgba(1, 127, 248, 0.13);
}

.catalog-search-tab-active {
  border: 1.5px solid #017ff8;
  color: #ffffff;
  background: #017ff8;
  box-shadow: 0 4px 14px rgba(1, 127, 248, 0.35);
  font-weight: 800;
}

.dark .catalog-search-tab {
  color: #82c4ff;
  border-color: rgba(130, 196, 255, 0.45);
  background: rgba(1, 127, 248, 0.15);
}

.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: rgba(1, 127, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(1, 127, 248, 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: rgba(1, 127, 248, 0.18);
  color: #017ff8;
}

.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-scroll-area {
  scrollbar-width: thin;
  scrollbar-color: rgba(1, 127, 248, 0.65) rgba(255, 255, 255, 0.06);
}

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

.modal-scroll-area::-webkit-scrollbar-track {
  background: rgba(4, 23, 40, 0.08);
  border-radius: 9999px;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(1, 127, 248, 0.95), rgba(89, 210, 157, 0.9));
  border-radius: 9999px;
  border: 2px solid rgba(10, 32, 48, 0.18);
}

.modal-scroll-area::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(1, 127, 248, 1), rgba(89, 210, 157, 1));
}

.dark .modal-scroll-area {
  scrollbar-color: rgba(1, 127, 248, 0.8) rgba(255, 255, 255, 0.08);
}

.dark .modal-scroll-area::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.dark .modal-scroll-area::-webkit-scrollbar-thumb {
  border-color: rgba(10, 32, 48, 0.55);
}

/* ── 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: 50%;
  background: #F0F5FA;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 50;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  color: #041728;
}
.dark #backToTop {
  background: #0A1F2E;
  color: #ffffff;
}
#backToTop .material-symbols-outlined {
  font-size: 20px;
}
#backToTop.visible {
  transform: scale(1);
}
#backToTop:hover {
  box-shadow: 0 6px 24px rgba(1, 127, 248, 0.4);
}
#backToTop svg {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  transform: rotate(-90deg);
  pointer-events: none;
}

@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 2px 20px rgba(4, 23, 40, 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;
}
