:root {
  --app-shell-bg: #fcf7f5;
  --app-surface: rgba(255, 255, 255, 0.88);
  --app-surface-strong: #ffffff;
  --app-text: #1c1b1b;
  --app-muted: #6c605d;
  --app-outline: rgba(133, 115, 112, 0.14);
  --app-primary: #ef8b83;
  --app-primary-soft: #fde8e6;
  --app-shadow: 0 22px 60px rgba(239, 139, 131, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--app-shell-bg);
}

body.app-shell {
  min-height: 100vh;
  color: var(--app-text);
  background:
    radial-gradient(circle at top left, rgba(239, 139, 131, 0.14), transparent 22rem),
    radial-gradient(circle at top right, rgba(166, 126, 107, 0.12), transparent 26rem),
    var(--app-shell-bg);
}

body.app-shell.app-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

.app-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  padding: 0;
  pointer-events: none;
  background: var(--app-surface-strong);
  box-shadow: 0 2px 12px rgba(239, 139, 131, 0.08);
}

.app-nav-inner {
  width: 100%;
  margin: 0 auto;
  pointer-events: auto;
}

.app-mobile-topbar,
.app-desktop-bar {
  background: var(--app-surface-strong);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.app-mobile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.app-mobile-actions,
.app-desktop-right,
.app-desktop-left,
.app-desktop-links {
  display: flex;
  align-items: center;
}

.app-mobile-actions,
.app-desktop-right,
.app-desktop-links {
  gap: 16px;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.app-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef8b83, #d4726a);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 16px 28px rgba(239, 139, 131, 0.24);
}

.app-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-brand-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #7a2e2a;
}

.app-brand-page {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-muted);
}

.app-brand-desktop .app-brand-name {
  font-size: 1.5rem;
}

.app-desktop-bar {
  display: none;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 24px;
}

.app-desktop-left {
  gap: 36px;
}

.app-desktop-link {
  position: relative;
  text-decoration: none;
  color: #655957;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.app-desktop-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: var(--app-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.app-desktop-link:hover,
.app-desktop-link.is-active {
  color: #7a2e2a;
}

.app-desktop-link.is-active::after,
.app-desktop-link:hover::after {
  transform: scaleX(1);
}

.app-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f7f3f2;
  border: 1px solid transparent;
}

.app-search input,
.app-drawer-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: inherit;
}

.app-search:focus-within,
.app-drawer-search:focus-within {
  border-color: rgba(239, 139, 131, 0.3);
  background: #fff;
}

.app-icon-btn,
.app-avatar-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(253, 232, 230, 0.72);
  color: #7a2e2a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.app-avatar-btn {
  overflow: hidden;
}

.app-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 27, 27, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 71;
}

.app-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(88vw, 360px);
  padding: calc(22px + env(safe-area-inset-top)) 18px 22px;
  background: rgba(253, 252, 252, 0.98);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border-right: 1px solid var(--app-outline);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  z-index: 72;
  overflow-y: auto;
}

.app-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.app-drawer-header h2 {
  margin: 4px 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.app-drawer-eyebrow {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-drawer-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f7f3f2;
  margin-bottom: 18px;
}

.app-drawer-links {
  display: grid;
  gap: 10px;
}

.app-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: #544a48;
  font-weight: 600;
  background: transparent;
}

.app-drawer-link.is-active {
  background: var(--app-primary-soft);
  color: #7a2e2a;
}

.app-mobile-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 69;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--app-outline);
  box-shadow: 0 22px 48px rgba(28, 27, 27, 0.14);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.app-mobile-dock-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  border-radius: 18px;
  text-decoration: none;
  color: #86726f;
}

.app-mobile-dock-link.is-active {
  background: var(--app-primary-soft);
  color: #7a2e2a;
}

.app-mobile-dock-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.app-footer {
  background: rgba(253, 252, 252, 0.78);
  border-top: 1px solid rgba(216, 201, 199, 0.85);
  padding-top: 56px;
  padding-bottom: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.app-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.app-footer-brand p,
.app-footer li a,
.app-footer-meta p {
  color: #6b615f;
}

.app-footer-logo,
.app-footer h6 {
  display: block;
  margin-bottom: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #7a2e2a;
}

.app-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.app-footer a {
  text-decoration: none;
}

.app-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.app-footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7a2e2a;
  background: rgba(253, 232, 230, 0.78);
}

.app-footer-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 201, 199, 0.85);
}

.app-contact-widget {
  position: fixed;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 80;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.app-contact-float {
  border: 0;
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  cursor: pointer;
}

.app-contact-cta {
  position: relative;
  min-height: 64px;
  padding: 0 18px 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef8b83 0%, #d86960 100%);
  box-shadow: 0 22px 46px rgba(239, 139, 131, 0.34);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.app-contact-cta-desktop {
  display: inline;
}

.app-contact-cta-mobile {
  display: none;
}

.app-contact-cta::after {
  content: "";
  position: absolute;
  right: -10px;
  width: 20px;
  height: 24px;
  background: #d86960;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.app-contact-cta .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
}

.app-contact-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.9), rgba(255,255,255,0) 34%),
    linear-gradient(145deg, #fff7f6 0%, #fde8e6 52%, #efe0d9 100%);
  box-shadow: 0 20px 52px rgba(54, 47, 46, 0.18);
  border: 8px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ef8b83;
}

.app-contact-avatar .material-symbols-outlined {
  font-size: 42px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 40;
}

.app-contact-float:hover .app-contact-cta,
.app-contact-float:focus-visible .app-contact-cta {
  box-shadow: 0 26px 54px rgba(239, 139, 131, 0.42);
  transform: translateY(-2px);
}

.app-contact-float:focus-visible {
  outline: 3px solid rgba(239, 139, 131, 0.28);
  outline-offset: 4px;
  border-radius: 999px;
}

.app-contact-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 18px);
  width: min(420px, calc(100vw - 36px));
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 72px rgba(54, 47, 46, 0.22);
  border: 1px solid rgba(216, 201, 199, 0.72);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.app-contact-widget.is-open .app-contact-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.app-contact-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1ece9;
}

.app-contact-panel-head p {
  margin: 0 0 4px;
  color: #857370;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-contact-panel-head h3 {
  margin: 0;
  color: #1c1b1b;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
}

.app-contact-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f7f3f2;
  color: #524745;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.app-contact-options {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.app-contact-option {
  min-height: 92px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #ede4e2;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: #1c1b1b;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.app-contact-option:hover,
.app-contact-option:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(54, 47, 46, 0.08);
}

.app-contact-option-whatsapp {
  border-color: rgba(37, 211, 102, 0.28);
}

.app-contact-option-call {
  border-color: rgba(239, 139, 131, 0.28);
}

.app-contact-option-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #f7f3f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-contact-option-whatsapp .app-contact-option-icon {
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

.app-contact-option-call .app-contact-option-icon {
  color: #ef8b83;
  background: #fde8e6;
}

.app-contact-option-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.app-contact-option-icon .material-symbols-outlined {
  font-size: 31px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 32;
}

.app-contact-option strong,
.app-contact-option small {
  display: block;
}

.app-contact-option strong {
  font-size: 1rem;
  font-weight: 900;
}

.app-contact-option small {
  margin-top: 5px;
  color: #6b5c59;
  font-size: 0.86rem;
  font-weight: 600;
}

.app-menu-open .app-drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

.app-menu-open .app-drawer {
  transform: translateX(0);
}

@media (min-width: 768px) {
  .app-nav {
    padding: 0;
  }

  .app-mobile-topbar,
  .app-mobile-dock,
  .app-drawer,
  .app-drawer-overlay {
    display: none;
  }

  .app-desktop-bar {
    display: flex;
  }

  body[data-page="services.html"] main,
  body[data-page="details.html"] main,
  body[data-page="cart.html"] main,
  body[data-page="checkout.html"] main,
  body[data-page="profile.html"] main,
  body[data-page="offers.html"] main,
  body[data-page="contact.html"] main,
  body[data-page="privacy-policy.html"] main,
  body[data-page="terms-of-service.html"] main {
    padding-top: 128px !important;
  }

  body[data-page="about.html"] main {
    padding-top: 0 !important;
  }


  body[data-page="index.html"] > header:not(.home-hero),
  body[data-page="index.html"] header.relative:not(.home-hero) {
    padding-top: 112px !important;
    padding-bottom: 96px !important;
  }
}

@media (max-width: 767px) {
  body.app-shell {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
  .app-contact-widget {
    right: 18px;
    bottom: calc(102px + env(safe-area-inset-bottom));
  }

  .app-contact-float {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .app-contact-cta {
    min-height: 48px;
    padding: 6px 16px;
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
  }

  .app-contact-cta::after {
    right: auto;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 12px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    top: auto;
  }

  .app-contact-cta-desktop {
    display: none;
  }

  .app-contact-cta-mobile {
    display: block;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
  }

  .app-contact-cta .material-symbols-outlined {
    transform: rotate(90deg);
  }

  .app-contact-avatar {
    width: 64px;
    height: 64px;
    border-width: 5px;
  }

  .app-contact-avatar .material-symbols-outlined {
    font-size: 30px;
  }

  .app-contact-panel {
    right: -2px;
    bottom: calc(100% + 14px);
    padding: 18px;
    border-radius: 20px;
  }

  .app-contact-panel-head h3 {
    font-size: 1.2rem;
  }

  .app-contact-option {
    min-height: 82px;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 14px;
  }

  .app-contact-option-icon {
    width: 48px;
    height: 48px;
  }

  body.app-shell main {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.app-shell section[class*="py-24"] {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  body.app-shell [class*="sticky"] {
    position: static !important;
    top: auto !important;
  }

  .app-footer {
    padding-top: 40px;
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }

  .app-footer-grid,
  .app-footer > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: center !important;
    justify-items: center !important;
  }

  .app-footer-meta {
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: center !important;
  }

  .app-footer-brand,
  .app-footer > div > div {
    text-align: center !important;
    width: 100%;
  }

  .app-footer-socials {
    justify-content: center !important;
  }

  body[data-page="index.html"] > header:not(.home-hero),
  body[data-page="index.html"] header.relative:not(.home-hero) {
    padding-top: 96px !important;
    padding-bottom: 72px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    min-height: auto !important;
  }

  body[data-page="index.html"] header h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem) !important;
  }

  body[data-page="index.html"] header .max-w-7xl {
    gap: 32px !important;
  }

  body[data-page="index.html"] header .border-r {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(216, 201, 199, 0.55) !important;
  }

  body[data-page="index.html"] header .-bottom-8.-left-8 {
    left: auto !important;
    right: 0 !important;
    bottom: -16px !important;
    max-width: 180px !important;
  }

  body[data-page="services.html"] main,
  body[data-page="details.html"] main,
  body[data-page="cart.html"] main,
  body[data-page="checkout.html"] main,
  body[data-page="profile.html"] main,
  body[data-page="offers.html"] main,
  body[data-page="contact.html"] main,
  body[data-page="privacy-policy.html"] main,
  body[data-page="terms-of-service.html"] main {
    padding-top: 112px !important;
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }

  body[data-page="about.html"] main {
    padding-top: 0 !important;
  }

  body[data-page="about.html"] main > header:first-child {
    min-height: auto !important;
    padding-top: 112px !important;
  }

  body[data-page="about.html"] main > section:first-child h1 {
    font-size: clamp(2.5rem, 12vw, 4rem) !important;
  }

  body[data-page="about.html"] main section,
  body[data-page="about.html"] main .max-w-7xl {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body[data-page="services.html"] header .flex.items-center.gap-4.text-sm.font-medium {
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  body[data-page="details.html"] section.grid.grid-cols-4.grid-rows-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    height: auto !important;
  }

  body[data-page="details.html"] section.grid.grid-cols-4.grid-rows-2 > :first-child {
    grid-column: span 2 / span 2 !important;
    grid-row: span 1 / span 1 !important;
    min-height: 240px;
  }

  body[data-page="details.html"] section.grid.grid-cols-4.grid-rows-2 > :not(:first-child) {
    min-height: 112px;
  }

  body[data-page="details.html"] .flex.items-center.justify-between.mb-4 {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  body[data-page="details.html"] .custom-scrollbar,
  body[data-page="details.html"] .overflow-x-auto {
    padding-bottom: 6px;
  }

  body[data-page="cart.html"] .flex.items-center.gap-8,
  body[data-page="cart.html"] .relative.flex.items-center {
    width: 100%;
  }

  body[data-page="cart.html"] .relative.flex.items-center {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body[data-page="cart.html"] .relative.flex.items-center button {
    position: static !important;
    width: 100%;
  }

  body[data-page="checkout.html"] h1,
  body[data-page="cart.html"] h1,
  body[data-page="offers.html"] h1,
  body[data-page="profile.html"] h1 {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
  }

  body[data-page="profile.html"] .group .opacity-0 {
    opacity: 1 !important;
  }

  body[data-page="profile.html"] .flex.items-center.justify-between.py-3 {
    align-items: flex-start !important;
    gap: 14px;
  }
}
