.brand-logo {
  width: 60px;
  height: 45px;
  object-fit: contain;
  display: block;
}


:root {
  --primary: #0d6efd;
  --primary-dark: #075bd6;
  --primary-soft: #e8f1ff;
  --navy: #0a2540;
  --navy-2: #12395d;
  --white: #ffffff;
  --surface: #f1f5f9;
  --surface-2: #f8fafc;
  --muted: #6c757d;
  --text: #172033;
  --border: #dbe4ef;
  --success: #12805c;
  --danger: #c62828;
  --shadow-sm: 0 8px 20px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 18px 45px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 28px 70px rgba(10, 37, 64, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 180ms ease;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.eyebrow.light {
  color: #d8e8ff;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  color: var(--navy);
  font-size: clamp(2.6rem, 6vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h1 span {
  color: var(--primary);
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

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

.btn-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  color: var(--primary);
  background: var(--white);
  border-color: rgba(13, 110, 253, 0.28);
}

.btn-light {
  color: var(--navy);
  background: var(--surface-2);
  border-color: var(--border);
}

.btn-white {
  color: var(--primary);
  background: var(--white);
}

.btn.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.utility-bar {
  background: var(--navy);
  color: #dbeafe;
  font-size: 0.88rem;
}

.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-inner p {
  margin: 0;
  color: inherit;
}

.utility-links {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 239, 0.8);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.info-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--navy-2));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a:not(.btn):hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}

.hero {
  position: relative;
  padding-top: 86px;
  background:
    radial-gradient(circle at 92% 18%, rgba(13, 110, 253, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 52px;
  align-items: center;
}

.hero-copy p {
  max-width: 640px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
}

.trust-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.mockup-card,
.image-fallback {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 228, 239, 0.9);
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.16), rgba(10, 37, 64, 0.02)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.35) 0 12px, rgba(13, 110, 253, 0.05) 12px 24px);
  box-shadow: var(--shadow-md);
}

.mockup-card img,
.image-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-card img.is-hidden,
.image-fallback img.is-hidden {
  display: none;
}

.mockup-card span,
.image-fallback > span {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.mockup-main {
  position: absolute;
  inset: 50px 90px 70px 10px;
  border-radius: 30px;
}

.mockup-flyer {
  position: absolute;
  right: 0;
  top: 0;
  width: 210px;
  height: 280px;
  border-radius: 22px;
  transform: rotate(5deg);
}

.mockup-sticker {
  position: absolute;
  right: 22px;
  bottom: 34px;
  width: 230px;
  height: 150px;
  border-radius: 20px;
}

.mockup-letter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 155px;
  border-radius: 18px;
  transform: rotate(-4deg);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.catalogue-section,
.how-section,
.faq-section {
  background: var(--surface);
}

.catalogue-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.search-box span {
  color: var(--primary);
  font-weight: 900;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--navy);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.chip,
.option-card {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.chip {
  min-height: 42px;
  padding: 0 16px;
}

.chip.active,
.option-card.selected {
  color: var(--primary);
  border-color: rgba(13, 110, 253, 0.45);
  background: var(--primary-soft);
}

.product-grid,
.featured-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card,
.featured-card,
.info-card,
.step-card,
.contact-card,
.config-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.product-card,
.featured-card {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover,
.featured-card:hover,
.info-card:hover,
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 110, 253, 0.28);
}

.product-thumb,
.featured-thumb {
  height: 156px;
  border-radius: 0;
  box-shadow: none;
}

.product-card-body,
.featured-card-body {
  padding: 18px;
}

.product-card h3,
.featured-card h3 {
  margin-bottom: 7px;
}

.product-meta {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.configure-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 900;
}

.configurator-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.config-shell {
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-2);
  font-weight: 800;
  font-size: 0.88rem;
}

.step-pill span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--muted);
  background: var(--white);
  flex: 0 0 auto;
}

.step-pill.active {
  color: var(--primary);
  border-color: rgba(13, 110, 253, 0.35);
  background: var(--primary-soft);
}

.step-pill.active span {
  color: var(--white);
  background: var(--primary);
}

.config-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  gap: 22px;
  padding-top: 24px;
}

.product-image-large {
  height: 280px;
  border-radius: var(--radius-md);
}

.quick-specs {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.quick-spec {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.quick-spec small,
.summary-line small,
.amount-box small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.quick-spec strong,
.summary-line strong {
  color: var(--navy);
}

.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
  animation: fadeUp 240ms ease both;
}

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

.panel-heading p {
  margin-bottom: 0;
}

.option-groups {
  display: grid;
  gap: 20px;
}

.option-group h4 {
  margin-bottom: 10px;
  color: var(--navy);
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-card {
  position: relative;
  min-height: 44px;
  padding: 10px 16px;
}

.option-card.selected::after {
  content: "✓";
  margin-left: 8px;
}

.custom-qty {
  width: min(220px, 100%);
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.summary-panel {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: var(--radius-md);
  background: #f8fbff;
}

.summary-panel h3 {
  margin-bottom: 14px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.summary-line.total {
  align-items: baseline;
  border-bottom: 0;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
}

.summary-note,
.notice {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  background: var(--primary-soft);
  font-size: 0.92rem;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

label small {
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  padding: 13px;
  resize: vertical;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: var(--danger);
  background: #fff7f7;
}

.dynamic-print-fields,
.design-choice {
  margin: 24px 0;
}

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

.radio-card {
  position: relative;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card span {
  color: var(--navy);
  font-size: 1rem;
}

.radio-card:has(input:checked) {
  border-color: rgba(13, 110, 253, 0.45);
  background: var(--primary-soft);
}

.file-label {
  margin-top: 16px;
}

.inline-error {
  min-height: 22px;
  margin: 12px 0;
  color: var(--danger);
  font-weight: 800;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.form-actions.split {
  justify-content: space-between;
}

.review-card {
  display: grid;
  gap: 18px;
}

.review-section {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.review-section h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

.review-section dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.review-section dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.review-section dd {
  margin: 2px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.payment-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.qr-box {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
}

.amount-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--navy);
}

.amount-box small {
  color: #b7d2f6;
}

.amount-box strong {
  display: block;
  color: var(--white);
  font-size: 2rem;
}

.upi-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.final-box {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(13, 110, 253, 0.24);
  border-radius: var(--radius-md);
  background: var(--primary-soft);
}

#whatsappPreview {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88rem;
  background: var(--white);
}

.featured-section {
  background: var(--white);
}

.featured-card .price {
  display: block;
  margin: 10px 0 14px;
  color: var(--primary);
  font-weight: 900;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.info-card {
  padding: 22px;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(13, 110, 253, 0.28);
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
}

.info-card .info-icon {
  margin-bottom: 16px;
  font-size: 0.85rem;
}

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

.portfolio-item {
  height: 260px;
  margin: 0;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.portfolio-item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 0;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  font-weight: 900;
}

.faq-question span:last-child {
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 18px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.large-cta {
  padding: 68px 0;
  background: linear-gradient(135deg, var(--primary), var(--navy));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2,
.cta-inner p {
  color: var(--white);
}

.cta-inner p {
  margin-bottom: 0;
  color: #d8e8ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-card {
  padding: 24px;
}

.contact-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.contact-card dt {
  color: var(--muted);
  font-weight: 700;
}

.contact-card dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.footer {
  padding: 58px 0 20px;
  background: var(--navy);
  color: #dbeafe;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer .brand strong,
.footer h3 {
  color: var(--white);
}

.footer .brand small,
.footer p,
.footer a,
.footer span {
  color: #b7d2f6;
}

.footer a,
.footer span {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: #128c7e;
  box-shadow: 0 16px 38px rgba(18, 140, 126, 0.35);
  font-weight: 900;
}

.floating-whatsapp span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .product-grid,
  .featured-grid,
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .checkout-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .summary-panel {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .utility-inner {
    justify-content: center;
    text-align: center;
  }

  .utility-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    inset: 114px 14px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 13px 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .mockup-main {
    inset: 38px 42px 58px 0;
  }

  .catalogue-tools {
    grid-template-columns: 1fr;
  }

  .filter-chips {
    justify-content: flex-start;
  }

  .product-grid,
  .featured-grid,
  .why-grid,
  .steps-grid,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .product-panel {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
    align-items: start;
  }

  .product-image-large {
    height: 220px;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.25rem, 14vw, 3.4rem);
  }

  .hero {
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .mockup-main {
    inset: 34px 28px 56px 0;
  }

  .mockup-flyer {
    width: 140px;
    height: 190px;
  }

  .mockup-sticker {
    width: 160px;
    height: 110px;
  }

  .mockup-letter {
    width: 150px;
    height: 108px;
  }

  .trust-list,
  .product-grid,
  .featured-grid,
  .why-grid,
  .steps-grid,
  .portfolio-grid,
  .footer-grid,
  .form-grid,
  .choice-grid,
  .review-section dl,
  .payment-grid,
  .contact-card dl,
  .product-panel {
    grid-template-columns: 1fr;
  }

  .product-panel {
    display: block;
  }

  .config-shell {
    padding: 16px;
    border-radius: 12px;
  }

  .config-header,
  .form-actions.split,
  .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .step-pill {
    min-height: 38px;
  }

  .portfolio-item {
    height: 210px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    padding: 0;
    justify-content: center;
  }

  .floating-whatsapp strong {
    display: none;
  }
}

/* Keep the default home view focused while retaining hash-linked destinations. */
body.home-minimal .secondary-content {
  display: none;
}

body[class*="destination-"] .home-action-section,
body[class*="destination-"] .contact-section {
  display: none;
}

body.destination-products .secondary-content:not(#products),
body.destination-order .secondary-content:not(#configurator),
body.destination-how .secondary-content:not(#how),
body.destination-portfolio .secondary-content:not(#portfolio),
body.destination-about .secondary-content:not(#about) {
  display: none;
}

body.destination-products #products,
body.destination-order #configurator {
  display: block;
}

.home-action-section {
  position: relative;
  isolation: isolate;
  min-height: min(620px, calc(100vh - 114px));
  display: grid;
  place-items: center;
  padding: 56px 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(13, 110, 253, 0.1), transparent 28%),
    linear-gradient(135deg, #eaf3ff 0%, #ffffff 52%, #eef8ff 100%);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #dcecff;
}

.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(234,243,255,0.58), rgba(255,255,255,0.42), rgba(234,243,255,0.6));
}

.hero-slideshow span {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: hero-image-slide 24s ease-in-out infinite;
  filter: saturate(0.82);
}

.hero-slideshow span:nth-child(1) { background-image: url("images/products/mockup visiting.png"); animation-delay: 0s; }
.hero-slideshow span:nth-child(2) { background-image: url("images/products/mockuo flyers.png"); animation-delay: -6s; }
.hero-slideshow span:nth-child(3) { background-image: url("images/products/vis.png"); animation-delay: -12s; }
.hero-slideshow span:nth-child(4) { background-image: url("images/products/pos.png"); animation-delay: -18s; }

@keyframes hero-image-slide {
  0%, 20% { opacity: 0; transform: scale(1.04); }
  25%, 43% { opacity: 0.72; transform: scale(1); }
  48%, 100% { opacity: 0; transform: scale(1.04); }
}

.falling-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.falling-particles span {
  position: absolute;
  top: -24px;
  left: var(--particle-left);
  width: var(--particle-size);
  height: var(--particle-size);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.12);
  animation: gentle-fall var(--particle-duration) linear infinite;
  animation-delay: var(--particle-delay);
}

.falling-particles span:nth-child(1) { --particle-left: 14%; --particle-size: 10px; --particle-duration: 11s; --particle-delay: -5s; }
.falling-particles span:nth-child(2) { --particle-left: 31%; --particle-size: 7px; --particle-duration: 14s; --particle-delay: -9s; }
.falling-particles span:nth-child(3) { --particle-left: 52%; --particle-size: 9px; --particle-duration: 12s; --particle-delay: -2s; }
.falling-particles span:nth-child(4) { --particle-left: 68%; --particle-size: 6px; --particle-duration: 15s; --particle-delay: -11s; }
.falling-particles span:nth-child(5) { --particle-left: 82%; --particle-size: 11px; --particle-duration: 13s; --particle-delay: -7s; }
.falling-particles span:nth-child(6) { --particle-left: 91%; --particle-size: 7px; --particle-duration: 10s; --particle-delay: -4s; }

@keyframes gentle-fall {
  0% { transform: translate3d(0, -28px, 0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.7; }
  50% { transform: translate3d(18px, 280px, 0) rotate(120deg); }
  88% { opacity: 0.35; }
  100% { transform: translate3d(-12px, 680px, 0) rotate(240deg); opacity: 0; }
}

.home-action-section::before,
.home-action-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 230px;
  border: 1px solid rgba(13, 110, 253, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(215,232,255,0.7));
  box-shadow: 0 22px 40px rgba(10, 37, 64, 0.1);
  animation: floating-paper 7s ease-in-out infinite;
}

.home-action-section::before {
  left: 9%;
  top: 22%;
  transform: rotate(-12deg);
}

.home-action-section::after {
  right: 9%;
  bottom: 18%;
  animation-delay: -3.5s;
  transform: rotate(13deg);
}

@keyframes floating-paper {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.home-actions-panel {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 36px;
  border: 1px solid rgba(219, 228, 239, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.home-actions-panel::before {
  content: "Choose your next print project";
  position: absolute;
  top: -30px;
  left: 50%;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.home-actions-panel .btn {
  position: relative;
  overflow: hidden;
  min-width: 180px;
  min-height: 54px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.home-actions-panel .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.34) 48%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 500ms ease;
}

.home-actions-panel .btn:hover::after {
  transform: translateX(130%);
}

.home-actions-panel .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(10, 37, 64, 0.16);
}

.home-actions-panel .btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 80ms;
}

.form-actions .btn,
.category-page-header .btn,
.cart-remove,
.config-header > .btn {
  border-radius: 10px;
  box-shadow: 0 7px 16px rgba(10, 37, 64, 0.08);
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-bottom: 22px;
  padding: 0 14px;
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 10px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 7px 16px rgba(10, 37, 64, 0.08);
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.page-back-link:hover {
  transform: translateX(-3px);
  background: var(--white);
  box-shadow: 0 12px 22px rgba(10, 37, 64, 0.14);
}

.form-actions .btn:hover,
.category-page-header .btn:hover,
.config-header > .btn:hover {
  box-shadow: 0 12px 22px rgba(10, 37, 64, 0.14);
}

.cart-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.summary-block + .summary-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.summary-block h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.cart-box-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-box-heading h3 {
  margin: 0;
}

.cart-box-heading span,
.cart-empty,
.cart-item small {
  color: var(--muted);
  font-size: 0.8rem;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item strong {
  color: var(--navy);
}

.cart-item small {
  display: block;
  margin-top: 3px;
}

.cart-remove {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 4px 9px;
  color: var(--danger);
  background: #fff5f5;
  border: 1px solid #ffd5d5;
  font-size: 0.78rem;
  font-weight: 800;
}

.cart-remove:hover {
  background: #ffe8e8;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  color: var(--navy);
}

@media (max-width: 640px) {
  .home-action-section {
    min-height: 430px;
  }

  .home-actions-panel {
    width: min(100%, 340px);
    flex-direction: column;
    padding: 28px 22px;
  }

  .home-actions-panel .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

  .home-action-section::before,
  .home-action-section::after,
  .falling-particles span,
  .hero-slideshow span {
    animation: none;
  }
}

/* =====================================================
   CLIENT FORMAT OVERRIDE - RATE LIST STYLE
   Keeps the original blue/white identity and ordering logic,
   but changes the layout to match the client's reference format.
   ===================================================== */

:root {
  --rate-red: #b31217;
  --rate-gold: #f5a400;
  --rate-green: #10a34a;
  --rate-pink: #cf1472;
  --rate-cyan: #0ea5e9;
}

body {
  background: #ffffff;
}

.utility-bar {
  display: none;
}

.site-header {
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid #cfd8e3;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.08);
}

.navbar {
  min-height: 52px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  display: none;
}

.nav-menu {
  gap: 10px;
  font-size: 0.86rem;
}

.nav-menu a:not(.btn) {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
}

.nav-menu a:not(.btn)::before {
  margin-right: 5px;
}

.nav-menu a[href="#home"]::before { content: "Home"; font-size: 0; }
.nav-menu a[href="#home"] { font-size: 0; }
.nav-menu a[href="#home"]::after { content: "Home"; font-size: 0.86rem; }

.nav-cta {
  min-height: 38px;
  padding: 0 16px;
  background: #b51f13;
  box-shadow: 0 8px 18px rgba(181, 31, 19, 0.22);
}

.hero {
  padding: 46px 0 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  text-transform: uppercase;
  text-shadow: 0 6px 14px rgba(10, 37, 64, 0.18);
}

.hero-copy p {
  max-width: 720px;
}

.hero-visual {
  min-height: 360px;
}

.mockup-main {
  inset: 26px 74px 38px 8px;
  border-radius: 10px;
}

.mockup-flyer,
.mockup-sticker,
.mockup-letter {
  border-radius: 8px;
}

.catalogue-section {
  background: #ffffff;
  padding-top: 56px;
}

.catalogue-section .section-heading {
  max-width: none;
  text-align: left;
  margin-bottom: 24px;
}

.catalogue-section .section-heading .eyebrow {
  display: none;
}

.catalogue-section h2 {
  margin: 0 0 8px;
  color: #101828;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 6px 12px rgba(10, 37, 64, 0.24);
}

.catalogue-tools {
  grid-template-columns: minmax(260px, 430px) 1fr;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: none;
}

.search-box {
  min-height: 46px;
  border-radius: 6px;
  box-shadow: none;
}

.chip {
  min-height: 36px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.service-list-grid {
  grid-template-columns: repeat(6, minmax(128px, 1fr));
  gap: 30px 36px;
  align-items: start;
  margin-top: 28px;
}

.service-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.service-photo {
  height: 98px;
  border-radius: 2px;
  border: 1px solid #dde7f2;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.08);
}

.service-card h3 {
  margin: 9px 0 0;
  color: #24558d;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.service-card[data-tone="gold"] h3 { color: #b66f00; }
.service-card[data-tone="green"] h3 { color: #137a3a; }
.service-card[data-tone="pink"] h3 { color: #b51269; }
.service-card[data-tone="cyan"] h3 { color: #0d74a5; }

.service-detail-board {
  margin-top: 54px;
  padding-top: 10px;
}

.detail-board-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  border-bottom: 2px solid #dbe7f5;
  padding-bottom: 16px;
}

.detail-board-header h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-transform: uppercase;
  text-shadow: none;
}

.rate-list-board {
  display: grid;
  gap: 34px;
}

.rate-category h3 {
  margin: 0 0 16px;
  color: #24558d;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
}

.rate-category h3 span {
  color: #b66f00;
  font-size: 0.78rem;
  vertical-align: middle;
}

.rate-tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 22px 34px;
}

.rate-tile {
  min-height: 136px;
  padding: 15px 12px;
  border: 0;
  border-radius: 2px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.rate-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.18);
  filter: saturate(1.08);
}

.rate-tile strong {
  display: grid;
  place-items: center;
  min-height: 54px;
  margin-bottom: 8px;
  padding: 8px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.16;
  text-transform: uppercase;
}

.rate-tile small {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  line-height: 1.25;
}

.tone-blue { background: linear-gradient(180deg, #0d6efd, #174d9c); }
.tone-navy { background: linear-gradient(180deg, #12395d, #0a2540); }
.tone-cyan { background: linear-gradient(180deg, #18a8e0, #126aa1); }
.tone-green { background: linear-gradient(180deg, #10a34a, #087333); }
.tone-gold { background: linear-gradient(180deg, #f5a400, #d17b00); }
.tone-pink { background: linear-gradient(180deg, #cf1472, #9b0f57); }
.tone-orange { background: linear-gradient(180deg, #f97316, #c2410c); }

.configurator-section {
  background: #f1f5f9;
}

.config-shell {
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(10, 37, 64, 0.12);
}

.config-header h2 {
  text-transform: uppercase;
}

.option-card,
.radio-card,
input,
select,
textarea,
.summary-panel,
.review-section,
.contact-card,
.product-card,
.featured-card,
.info-card,
.step-card {
  border-radius: 6px;
}

.option-card.selected {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

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

.rate-feature-card {
  border-radius: 8px;
}

.footer {
  background: #071f38;
}

@media (max-width: 1100px) {
  .service-list-grid {
    grid-template-columns: repeat(4, minmax(128px, 1fr));
  }

  .rate-tile-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 900px) {
  .navbar {
    min-height: 64px;
  }

  .nav-menu {
    inset: 74px 14px auto;
  }

  .hero-grid,
  .catalogue-tools {
    grid-template-columns: 1fr;
  }

  .service-list-grid {
    grid-template-columns: repeat(3, minmax(105px, 1fr));
    gap: 24px 18px;
  }

  .service-photo {
    height: 86px;
  }

  .detail-board-header {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .catalogue-section h2 {
    font-size: 2.25rem;
  }

  .service-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .service-photo {
    height: 96px;
  }

  .service-card h3 {
    font-size: 0.9rem;
  }

  .rate-tile-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .rate-tile {
    min-height: 124px;
  }
}

/* =====================================================
   Category navigation + customer reviews additions
   ===================================================== */

.catalogue-section.is-category-view .catalogue-tools {
  display: none;
}

.category-product-grid {
  display: block;
  margin-top: 24px;
}

.category-page {
  width: 100%;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.category-breadcrumb a,
.category-breadcrumb button {
  border: 0;
  padding: 0;
  color: var(--primary);
  background: transparent;
  font-weight: 900;
}

.category-breadcrumb strong {
  color: var(--navy);
}

.category-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.category-page-header h2 {
  margin-bottom: 8px;
  color: var(--navy);
  text-transform: uppercase;
  text-shadow: none;
}

.category-page-header p {
  max-width: 760px;
  margin-bottom: 0;
}

/* Order workspace sizing across desktop, tablet and mobile screens. */
.config-shell {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 30px);
}

.checkout-layout {
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.7fr) minmax(220px, 0.9fr);
  align-items: start;
}

.checkout-main,
.product-panel,
.summary-panel {
  min-width: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .btn,
.form-actions a {
  flex: 1 1 160px;
}

@media (max-width: 1050px) {
  .checkout-layout {
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  }

  .summary-panel {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 640px) {
  .config-shell {
    padding: 14px 10px;
  }

  .stepper {
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .step-pill {
    min-width: 72px;
    min-height: 38px;
    justify-content: center;
    padding: 6px 7px;
    font-size: 0.72rem;
  }

  .step-pill span {
    width: 22px;
    height: 22px;
  }

  .config-header {
    align-items: stretch;
    flex-direction: column;
  }

  .config-header > .btn {
    width: 100%;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }

  .product-image-large {
    height: 210px;
  }

  .option-list {
    gap: 8px;
  }

  .option-card {
    max-width: 100%;
    white-space: normal;
  }

  .form-actions .btn,
  .form-actions a {
    flex-basis: 100%;
    width: 100%;
  }
}

/* Final home treatment stays after the client-format overrides. */
.home-action-section {
  background:
    radial-gradient(circle at 18% 24%, rgba(13, 110, 253, 0.1), transparent 28%),
    linear-gradient(135deg, #eaf3ff 0%, #ffffff 52%, #eef8ff 100%);
}

.home-actions-panel .btn {
  box-shadow: 0 10px 22px rgba(10, 37, 64, 0.11);
}

.home-actions-panel .btn.btn-primary {
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.24);
}

.account-trigger {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(13, 110, 253, 0.28);
  border-radius: 10px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.account-trigger:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.14);
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(7, 31, 56, 0.45);
}

.account-modal.open {
  display: grid;
}

.account-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(720px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.account-dialog h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.account-dialog p {
  margin-bottom: 20px;
}

.account-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--navy);
  background: var(--surface-2);
  font-size: 1.4rem;
  line-height: 1;
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
}

.account-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

body.login-required > *:not(.account-modal) {
  pointer-events: none;
  user-select: none;
}

body.login-required .account-modal {
  pointer-events: auto;
}

.account-form .form-actions {
  margin-top: 6px;
}

.category-variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 18px;
}

.category-variant-card {
  min-height: 154px;
  padding: 16px 14px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.14);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.category-variant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 37, 64, 0.18);
  filter: saturate(1.08);
}

.category-variant-card strong {
  display: grid;
  place-items: center;
  min-height: 58px;
  margin-bottom: 10px;
  padding: 8px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  line-height: 1.15;
  text-transform: uppercase;
}

.category-variant-card small {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  line-height: 1.3;
}

.reviews-section {
  background: #ffffff;
}

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

.reviews-section .review-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.reviews-section .review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: var(--shadow-md);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.2);
}

.review-top h3 {
  margin: 0;
}

.review-top small {
  color: var(--muted);
  font-weight: 700;
}

.review-stars {
  margin-bottom: 12px;
  color: #f5a400;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.reviews-section .review-card p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .category-page-header {
    flex-direction: column;
  }

  .category-variant-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-page {
    padding: 18px;
  }

  .category-variant-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .category-variant-card {
    min-height: 136px;
  }
}

/* Dedicated Reviews page */
.reviews-page-body {
  background: #ffffff;
}

.reviews-hero-section {
  padding: 72px 0 58px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.reviews-hero-inner {
  max-width: 900px;
}

.reviews-hero-inner h1 {
  max-width: 840px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 6px 14px rgba(10, 37, 64, 0.16);
}

.reviews-hero-inner p {
  max-width: 680px;
  font-size: 1.08rem;
}

.reviews-page-section {
  padding-top: 72px;
}

.reviews-order-cta .reviews-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.reviews-order-cta .cta-whatsapp {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-menu a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}

@media (max-width: 900px) {
  .reviews-order-cta .reviews-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .reviews-hero-section {
    padding: 54px 0 42px;
  }

  .reviews-order-cta .reviews-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
