:root {
  --sun: #ffd63f;
  --sun-soft: #fff4b8;
  --cream: #fffaf0;
  --paper: #fffdf7;
  --ink: #1d115b;
  --ink-2: #382181;
  --violet: #5d2aa2;
  --sea: #087477;
  --coral: #d95645;
  --line: rgba(29, 17, 91, 0.16);
  --shadow: 0 18px 48px rgba(29, 17, 91, 0.13);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 214, 63, 0.18)),
    repeating-linear-gradient(0deg, rgba(29, 17, 91, 0.035) 0 1px, transparent 1px 30px),
    var(--sun-soft);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  border-bottom: 2px solid rgba(29, 17, 91, 0.12);
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.brand-mark img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.brand small {
  display: block;
  color: rgba(29, 17, 91, 0.68);
  font-size: 0.76rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-actions a,
.language-switch,
.language-choice button,
.service-card,
.tab,
.category-button,
.add-button,
.qty-button,
.whatsapp-button,
.send-button,
.icon-button {
  border-radius: 8px;
}

.nav-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  font-weight: 850;
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: white;
}

.language-switch button {
  min-width: 46px;
  min-height: 42px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 1000;
}

.language-switch button.is-active {
  color: var(--ink);
  background: var(--sun);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.language-gate,
.service-hub,
.service-panel,
.contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 22px;
}

.language-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 116px);
  padding: 44px;
  margin-top: 24px;
  border: 3px double rgba(29, 17, 91, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 214, 63, 0.92), rgba(255, 255, 255, 0.92)),
    var(--sun);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.2rem, 9vw, 6.4rem);
}

.lead {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(29, 17, 91, 0.86);
  font-size: 1.18rem;
  font-weight: 760;
  line-height: 1.5;
}

.county-pill {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  max-width: 610px;
  margin-top: 26px;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.county-pill span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  grid-row: 1 / span 2;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-weight: 1000;
}

.county-pill strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.county-pill small {
  color: rgba(29, 17, 91, 0.74);
  font-weight: 850;
}

.language-choice {
  display: grid;
  gap: 12px;
}

.language-choice button {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 14px;
  border: 2px solid rgba(29, 17, 91, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(29, 17, 91, 0.08);
  text-align: left;
}

.language-choice button.is-active,
.language-choice button:hover {
  border-color: var(--ink);
  background: white;
}

.language-choice span {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 2px solid rgba(29, 17, 91, 0.16);
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.7rem;
}

.language-choice strong {
  font-size: 1.16rem;
}

.service-hub,
.service-panel,
.contact-section {
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: var(--shadow);
}

.section-heading,
.panel-intro {
  margin-bottom: 18px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.panel-intro h2,
.cart-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
}

.panel-intro p:not(.eyebrow) {
  max-width: 900px;
  margin: 12px 0 0;
  color: rgba(29, 17, 91, 0.76);
  font-size: 1.03rem;
  font-weight: 760;
  line-height: 1.5;
}

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

.service-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px 12px;
  min-height: 150px;
  align-items: start;
  padding: 18px;
  border: 2px solid rgba(29, 17, 91, 0.18);
  color: var(--ink);
  background: white;
  box-shadow: none;
  text-align: left;
}

.service-card.is-active {
  border-color: var(--ink);
  background: linear-gradient(135deg, #ffffff, #fff5c2);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.service-number,
.product-number,
.info-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--sun);
  background: var(--ink);
  font-weight: 1000;
}

.service-card strong {
  align-self: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.service-card small {
  grid-column: 2;
  color: rgba(29, 17, 91, 0.68);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.4;
}

.service-panel[hidden],
.tab-panel[hidden] {
  display: none;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.request-form,
.checkout-form {
  display: grid;
  gap: 12px;
}

.request-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.taxi-form {
  max-width: 860px;
}

.request-form label,
.checkout-form label {
  display: grid;
  gap: 6px;
  color: rgba(29, 17, 91, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
}

.wide-field {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 2px solid rgba(29, 17, 91, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

input,
select {
  min-height: 46px;
  padding: 0 10px;
}

textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 214, 63, 0.55);
  border-color: var(--ink);
}

.assurance-box {
  display: grid;
  gap: 12px;
}

.assurance-box > div {
  padding: 16px;
  border: 2px solid rgba(29, 17, 91, 0.14);
  border-radius: 8px;
  background: rgba(255, 214, 63, 0.14);
}

.assurance-box strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.assurance-box p,
.send-panel p,
.form-footnote,
.contact-card p,
.qr-card p {
  margin: 0;
  color: rgba(29, 17, 91, 0.7);
  font-weight: 760;
  line-height: 1.45;
}

.send-panel {
  margin-top: 18px;
  padding: 16px;
  border: 2px solid rgba(29, 17, 91, 0.14);
  border-radius: 8px;
  background: white;
}

.send-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.send-button,
.whatsapp-button,
.add-button,
.tab,
.category-button {
  min-height: 42px;
  border: 2px solid rgba(29, 17, 91, 0.22);
  font-weight: 950;
}

.send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  text-decoration: none;
}

.send-button.primary,
.whatsapp-button {
  border-color: var(--sea);
  color: white;
  background: var(--sea);
}

.call-link {
  border-color: var(--ink);
}

.contact-line {
  margin-top: 12px !important;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 20px;
  align-items: start;
}

.catalog,
.cart-panel {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.96);
}

.catalog {
  min-width: 0;
  padding: 20px;
}

.cart-panel {
  position: sticky;
  top: 86px;
  padding: 18px;
}

.tabs,
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-note {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
  padding: 14px;
  border: 2px solid rgba(29, 17, 91, 0.14);
  border-radius: 8px;
  background: rgba(255, 214, 63, 0.16);
}

.catalog-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.catalog-note span {
  color: rgba(29, 17, 91, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.42;
}

.tabs {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.tab,
.category-button {
  padding: 0 14px;
  color: var(--ink);
  background: white;
}

.tab.is-active,
.category-button.is-active {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

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

.product-card,
.category-panel,
.poster-card {
  overflow: hidden;
  border: 2px solid rgba(29, 17, 91, 0.14);
  border-radius: 8px;
  background: white;
}

.product-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 16px;
}

.product-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.product-card h3,
.category-panel h3 {
  font-size: 1.22rem;
}

.product-price {
  display: inline-block;
  margin-top: 4px;
  color: var(--coral);
  font-size: 1.06rem;
  font-weight: 1000;
}

.product-card ul {
  margin: 14px 0 16px;
  padding-left: 18px;
  color: rgba(29, 17, 91, 0.78);
  line-height: 1.45;
}

.product-card li + li {
  margin-top: 4px;
}

.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  color: white;
  background: var(--violet);
}

.add-button svg,
.whatsapp-button svg,
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.category-panel {
  padding: 16px;
}

.category-panel header {
  padding-bottom: 10px;
  border-bottom: 2px dotted rgba(29, 17, 91, 0.24);
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid rgba(29, 17, 91, 0.08);
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.menu-item > span strong {
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 0.98rem;
}

.menu-item > span small {
  color: rgba(29, 17, 91, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
}

.menu-item > strong {
  min-width: 76px;
  text-align: right;
}

.menu-item .add-button {
  width: 42px;
  min-height: 38px;
  margin: 0;
  padding: 0;
}

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

.poster-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  text-align: left;
}

.poster-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(29, 17, 91, 0.12);
  border-radius: 6px;
  object-fit: cover;
}

.poster-card button {
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
  text-align: left;
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(29, 17, 91, 0.18);
  color: var(--ink);
  background: white;
}

.cart-items {
  display: grid;
  gap: 10px;
  min-height: 64px;
  margin: 14px 0;
}

.empty-cart {
  margin: 0;
  color: rgba(29, 17, 91, 0.62);
  font-weight: 700;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(29, 17, 91, 0.12);
  border-radius: 8px;
  background: var(--cream);
}

.cart-item h3 {
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 0.95rem;
}

.cart-item p {
  margin: 4px 0 0;
  color: rgba(29, 17, 91, 0.66);
  font-size: 0.88rem;
  font-weight: 800;
}

.qty-control {
  display: grid;
  grid-template-columns: 34px 32px 34px;
  gap: 4px;
  align-items: center;
}

.qty-button {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 0;
  color: white;
  background: var(--ink);
  font-weight: 1000;
}

.qty-control span {
  text-align: center;
  font-weight: 1000;
}

.cart-addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px;
  border: 2px solid rgba(29, 17, 91, 0.14);
  border-radius: 8px;
  background: rgba(255, 214, 63, 0.16);
}

.cart-addon span,
.cart-addon small {
  display: block;
  color: rgba(29, 17, 91, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-addon strong {
  display: block;
  margin: 3px 0;
  font-size: 0.98rem;
}

.cart-addon .add-button {
  min-height: 40px;
  margin: 0;
  padding: 0 12px;
  white-space: nowrap;
}

.totals {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.totals .grand-total {
  padding-top: 8px;
  border-top: 1px solid rgba(29, 17, 91, 0.16);
  font-size: 1.08rem;
}

.minimum-note {
  margin: 2px 0 0;
  color: var(--sea);
  font-size: 0.88rem;
  font-weight: 900;
}

.checkout-form {
  margin-top: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-status {
  margin: 0;
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.35;
}

.checkout-status.is-ok {
  color: var(--sea);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
}

.whatsapp-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.menu-send-panel {
  margin-top: 16px;
  padding: 14px;
  background: rgba(255, 253, 247, 0.98);
}

.form-footnote {
  font-size: 0.82rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 14px;
}

.qr-card,
.contact-card {
  border: 2px solid rgba(29, 17, 91, 0.14);
  border-radius: 8px;
  background: white;
}

.qr-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.qr-card img {
  display: block;
  width: 100%;
  border: 2px solid rgba(29, 17, 91, 0.12);
  border-radius: 8px;
}

.qr-card h3,
.contact-card h3 {
  margin-bottom: 8px;
  font-size: 1.34rem;
}

.contact-card {
  padding: 18px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(29, 17, 91, 0.12);
  border-radius: 8px;
  background: var(--paper);
  text-decoration: none;
}

.contact-list strong {
  color: var(--sea);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.contact-list span {
  color: var(--ink);
  font-weight: 900;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 18px 0 0;
  color: rgba(29, 17, 91, 0.66);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.mobile-cart-bar {
  display: none;
}

@media (max-width: 1020px) {
  .language-gate,
  .request-layout,
  .order-layout,
  .contact-grid,
  .qr-card {
    grid-template-columns: 1fr;
  }

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

  .cart-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 86px;
  }

  .topbar {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .nav-actions {
    flex-wrap: wrap;
  }

  .nav-actions a {
    min-height: 36px;
    padding: 0 8px;
    font-size: 0.85rem;
  }

  .language-switch button {
    min-width: 40px;
    min-height: 36px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .language-gate,
  .service-hub,
  .service-panel,
  .contact-section {
    width: min(100% - 20px, 1180px);
  }

  .language-gate {
    min-height: auto;
    padding: 22px;
  }

  .request-form,
  .product-grid,
  .poster-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-hub,
  .service-panel,
  .contact-section,
  .catalog {
    padding: 16px;
  }

  .section-heading {
    display: block;
  }

  .menu-item {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 0;
  }

  .menu-item .add-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cart-addon {
    grid-template-columns: 1fr;
  }

  .cart-addon .add-button {
    width: 100%;
  }

  .send-actions {
    display: grid;
  }

  .send-button {
    width: 100%;
  }

  .mobile-cart-bar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 8px 12px;
    border: 2px solid var(--ink);
    border-radius: 8px;
    color: white;
    background: var(--ink);
    box-shadow: 0 16px 42px rgba(29, 17, 91, 0.28);
  }

  .mobile-cart-bar[hidden] {
    display: none;
  }

  .mobile-cart-bar span:first-child {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--sun);
    font-weight: 1000;
  }

  .mobile-cart-bar strong {
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-cart-bar span:last-child {
    font-weight: 1000;
  }

  .mobile-cart-bar.is-flashing {
    animation: cartPulse 0.9s ease;
  }
}

@keyframes cartPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-6px) scale(1.02);
    background: var(--violet);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
