:root {
  --lohan-blue: #21617e;
  --bubble-blue: #20add0;
  --drop-green: #85bd3e;
  --accent-red: #d63b3f;
  --white: #ffffff;
  --soft-blue: rgba(33, 97, 126, 0.08);
  --soft-green: rgba(133, 189, 62, 0.12);
  --line: rgba(33, 97, 126, 0.16);
  --shadow: 0 16px 36px rgba(33, 97, 126, 0.12);
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-md: 1.12rem;
  --text-lg: 1.38rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--lohan-blue);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--lohan-blue);
  background: var(--white);
  font-size: var(--text-base);
}

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

a {
  color: inherit;
}

.top-help {
  background: var(--lohan-blue);
  color: var(--white);
  font-size: var(--text-sm);
}

.top-help-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 10px 0;
}

.top-help nav,
.header-actions,
.main-nav,
.hero-categories,
.site-footer nav {
  display: flex;
  gap: 16px;
}

.top-help a,
.main-nav a,
.header-actions a,
.site-footer a {
  text-decoration: none;
  font-weight: 700;
}

.delivery-bar {
  padding: 11px 14px;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 800;
  background: var(--soft-green);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(33, 97, 126, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 190px minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand img {
  width: 170px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-search {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 2px solid var(--lohan-blue);
  border-radius: 4px;
}

.site-search input,
.site-search button {
  min-height: 46px;
  border: 0;
}

.site-search input {
  padding: 0 14px;
  outline: 0;
}

.site-search button,
.cart-button,
.primary-action {
  background: var(--lohan-blue);
  color: var(--white);
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.site-search button {
  padding: 0 22px;
}

.header-actions {
  align-items: center;
  white-space: nowrap;
}

.public-logout {
  margin: 0;
}

.public-logout button {
  padding: 0;
  color: var(--lohan-blue);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.cart-button,
.primary-action,
.secondary-action,
.small-action,
.filter-chip,
.quantity-button,
.icon-button {
  min-height: 42px;
  border-radius: 4px;
}

.cart-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  text-decoration: none;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  color: #2f7f28;
  background: var(--white);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(47, 127, 40, 0.12);
}

.cart-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.cart-button {
  color: #ffffff;
  background: linear-gradient(135deg, #8fd35a, #63b544);
  box-shadow: 0 10px 22px rgba(99, 181, 68, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.cart-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(99, 181, 68, 0.32);
  filter: saturate(1.05);
}

.floating-cart-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  min-height: 54px;
  padding: 0 16px;
  color: var(--white);
  background: linear-gradient(135deg, #9ade63, #68bd47);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(99, 181, 68, 0.34), 0 0 0 6px rgba(133, 189, 62, 0.12);
}

.floating-cart-button .cart-count {
  color: #2f7f28;
  background: var(--white);
}

.secondary-action {
  color: var(--lohan-blue);
  background: var(--white);
  border: 1px solid var(--lohan-blue);
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.category-nav-wrap {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.main-nav {
  align-items: center;
  gap: 8px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 7px 0;
  overflow-x: auto;
  color: var(--lohan-blue);
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--lohan-blue);
  background: var(--soft-green);
  border-radius: 999px;
  font-size: var(--text-sm);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: rgba(33, 97, 126, 0.86);
  border-radius: 999px;
  font-size: var(--text-sm);
  white-space: nowrap;
  transition: 160ms ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--lohan-blue);
  background: var(--soft-blue);
}

.page-section,
.mirembe-hero {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.mirembe-hero {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0 0;
}

.hero-categories {
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-categories h2 {
  margin: 0;
  padding: 15px 18px;
  color: var(--white);
  background: var(--lohan-blue);
  font-size: var(--text-md);
}

.hero-categories a {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 700;
}

.hero-categories a.active {
  color: var(--white);
  background: var(--drop-green);
}

.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
  min-height: 390px;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(33, 97, 126, 0.98), rgba(32, 173, 208, 0.82)),
    var(--lohan-blue);
  border-radius: 6px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-red);
  text-transform: uppercase;
  font-size: var(--text-xs);
  font-weight: 900;
}

.hero-banner .eyebrow {
  color: var(--drop-green);
}

.hero-banner h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
}

.hero-banner p {
  max-width: 560px;
  font-size: var(--text-md);
  line-height: 1.55;
}

.hero-products {
  position: relative;
  min-height: 300px;
}

.hero-media {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
}

.hero-media img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.hero-products span,
.pack-shot,
.inspiration-art::before,
.inspiration-art::after,
.promo-art span {
  position: absolute;
  display: block;
  background: var(--lohan-blue);
  border: 5px solid var(--white);
  box-shadow: 0 18px 36px rgba(33, 97, 126, 0.2);
}

.hero-products span:nth-child(1) {
  right: 40px;
  bottom: 10px;
  width: 120px;
  height: 238px;
  border-radius: 18px 18px 6px 6px;
}

.hero-products span:nth-child(2) {
  left: 20px;
  bottom: 20px;
  width: 95px;
  height: 180px;
  background: var(--drop-green);
  border-radius: 16px 16px 6px 6px;
}

.hero-products span:nth-child(3) {
  top: 26px;
  left: 92px;
  width: 140px;
  height: 100px;
  background: var(--accent-red);
  border-radius: 6px;
}

.service-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-strip article {
  padding: 18px;
  background: var(--white);
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip span {
  margin-top: 6px;
  font-size: var(--text-sm);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2,
.split-section h2,
.contact-section h2,
.promo-panel h2,
.admin-hero h1,
.admin-page h1 {
  margin: 0;
  color: var(--lohan-blue);
  font-size: var(--text-2xl);
  line-height: 1.15;
}

.section-heading p,
.split-section p,
.contact-section p,
.promo-panel p,
.faq-list p {
  font-size: var(--text-md);
  line-height: 1.6;
}

.centered-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.category-section {
  padding: 44px 0 22px;
}

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

.category-tile {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 126px;
  padding: 18px 10px;
  text-align: center;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px 999px 999px 8px;
  background: var(--lohan-blue);
}

.category-icon.cyan {
  background: var(--bubble-blue);
}

.category-icon.green {
  background: var(--drop-green);
}

.category-icon.red {
  background: var(--accent-red);
}

.category-image {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-tile strong {
  font-size: var(--text-sm);
}

.category-tile.active {
  border-color: var(--drop-green);
  outline: 3px solid var(--soft-green);
}

.inspiration-section {
  padding: 28px 0 52px;
}

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

.inspiration-card {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 230px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.inspiration-card > div:last-child {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
}

.inspiration-card p,
.inspiration-card h2 {
  margin: 0;
}

.inspiration-card p {
  color: var(--accent-red);
  font-size: var(--text-xs);
  font-weight: 900;
}

.inspiration-card h2 {
  font-size: var(--text-xl);
}

.inspiration-card span,
.inspiration-card a {
  font-size: var(--text-sm);
}

.inspiration-card a {
  margin-top: 8px;
  font-weight: 900;
  text-decoration: none;
}

.inspiration-art {
  position: relative;
  min-height: 100%;
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-green));
}

.inspiration-photo {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-green));
}

.inspiration-photo img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.inspiration-art::before,
.inspiration-art::after {
  content: "";
}

.inspiration-art::before {
  right: 22%;
  bottom: 26px;
  width: 68px;
  height: 128px;
  border-radius: 14px 14px 6px 6px;
}

.inspiration-art::after {
  left: 18%;
  bottom: 34px;
  width: 56px;
  height: 94px;
  background: var(--drop-green);
  border-radius: 12px 12px 6px 6px;
}

.cyan-art::before {
  background: var(--bubble-blue);
}

.green-art::before {
  background: var(--drop-green);
}

.red-art::before {
  background: var(--accent-red);
}

.shop-section,
.split-section,
.faq-section,
.contact-section,
.work-section,
.admin-page,
.admin-table-section {
  padding: 58px 0;
}

.shop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-chip {
  padding: 10px 15px;
  color: var(--lohan-blue);
  font-size: var(--text-sm);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--white);
  background: var(--drop-green);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  text-decoration: none;
  border-radius: 4px;
}

.current-category {
  margin-top: 10px;
  font-size: var(--text-sm);
}

.empty-shop {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 150px;
  place-items: center;
  padding: 28px;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 6px;
}

.empty-shop strong {
  font-size: var(--text-md);
}

.empty-shop span {
  font-size: var(--text-sm);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 24px;
  background: linear-gradient(180deg, var(--soft-blue), var(--white));
}

.product-gallery {
  min-width: 0;
}

.product-gallery-main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 24px 52px;
  background: linear-gradient(180deg, var(--soft-blue), var(--white));
}

.product-gallery-main .product-photo {
  width: 100%;
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--lohan-blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-previous {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  padding: 12px 0 4px;
  overflow-x: auto;
}

.product-thumbnail {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 3px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--lohan-blue);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-photo {
  max-width: 100%;
  height: 185px;
  object-fit: contain;
}

.placeholder-photo {
  max-width: 155px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}

.pack-shot {
  position: relative;
  width: 88px;
  height: 142px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 900;
  text-align: center;
  border-radius: 14px 14px 6px 6px;
}

.pack-shot.cyan {
  background: var(--bubble-blue);
}

.pack-shot.green {
  background: var(--drop-green);
}

.pack-shot.red {
  background: var(--accent-red);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.product-badges span {
  padding: 4px 8px;
  color: var(--white);
  background: var(--drop-green);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 900;
}

.product-badges span + span {
  background: var(--accent-red);
}

.product-info h3 {
  min-height: 48px;
  margin: 0;
  font-size: var(--text-md);
}

.product-info p {
  margin: 10px 0 14px;
  color: var(--lohan-blue);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price {
  font-size: var(--text-md);
  font-weight: 900;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.small-action {
  color: var(--lohan-blue);
  background: var(--white);
  border: 1px solid var(--lohan-blue);
  font-weight: 800;
  cursor: pointer;
}

.small-action.add {
  color: var(--white);
  background: var(--lohan-blue);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band article {
  padding: 30px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats-band article:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  font-size: var(--text-2xl);
}

.stats-band span {
  display: block;
  margin-top: 8px;
  font-size: var(--text-sm);
  font-weight: 800;
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.quality-list,
.faq-list,
.work-grid,
.orders-list,
.admin-product-list {
  display: grid;
  gap: 14px;
}

.quality-list article,
.faq-list details,
.contact-form,
.checkout-form,
.admin-form,
.admin-stats article,
.admin-action,
.admin-product-row,
.order-card,
.empty-admin-state {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.quality-list strong {
  display: block;
  margin-bottom: 8px;
}

.faq-list summary {
  cursor: pointer;
  font-size: var(--text-md);
  font-weight: 900;
}

.contact-form,
.checkout-form,
.admin-form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  font-size: var(--text-sm);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 13px;
  color: var(--lohan-blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

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

.work-grid article {
  min-height: 200px;
  align-content: end;
}

.work-grid span {
  color: var(--accent-red);
  font-size: var(--text-xs);
  font-weight: 900;
}

.work-grid strong {
  font-size: var(--text-md);
}

.work-grid p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: flex-end;
  background: rgba(33, 97, 126, 0.35);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100%;
  padding: 22px;
  background: var(--white);
}

.drawer-header,
.cart-total,
.order-card-header,
.order-items div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.drawer-header h2 {
  margin: 0;
  font-size: var(--text-xl);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  padding: 0;
  color: var(--lohan-blue);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 12px;
  flex: 1;
  min-height: 0;
  margin-top: 18px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.remove-cart-item {
  margin-top: 10px;
  padding: 0;
  color: var(--accent-red);
  background: transparent;
  border: 0;
  font-size: var(--text-sm);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.quantity-button {
  width: 32px;
  min-height: 32px;
  color: var(--white);
  background: var(--lohan-blue);
  border: 0;
}

.cart-footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

dialog {
  width: min(680px, calc(100% - 28px));
  color: var(--lohan-blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(33, 97, 126, 0.35);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.dialog-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 70;
  max-width: 360px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--lohan-blue);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  color: #1f2937;
  background: #f4f7f6;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 20px 16px;
  color: var(--white);
  background: #12384a;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-brand {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 0 4px 22px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-brand img {
  width: 56px;
  height: 42px;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
}

.admin-brand span {
  font-size: var(--text-lg);
  font-weight: 900;
}

.admin-menu {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.admin-menu a,
.admin-logout button {
  min-height: 44px;
  border-radius: 4px;
  font-weight: 900;
}

.admin-menu a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.admin-menu a.active,
.admin-menu a:hover {
  color: var(--white);
  background: rgba(133, 189, 62, 0.24);
}

.admin-logout {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-logout span {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
  font-weight: 800;
}

.admin-logout button {
  color: var(--white);
  background: var(--accent-red);
  border: 0;
  cursor: pointer;
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-main .page-section {
  width: min(1120px, 100%);
}

.admin-main .section-heading {
  margin-bottom: 18px;
}

.admin-main .section-heading h1,
.admin-main .section-heading h2,
.admin-hero h1,
.admin-page h1 {
  color: #12384a;
}

.admin-hero,
.admin-actions,
.admin-stats {
  display: grid;
  gap: 16px;
}

.admin-hero {
  grid-template-columns: minmax(0, 1fr) 360px;
  padding: 0 0 24px;
}

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

.admin-action {
  display: grid;
  gap: 8px;
  text-decoration: none;
}

.admin-action:hover {
  border-color: rgba(133, 189, 62, 0.6);
  transform: translateY(-1px);
}

.logout-card {
  text-align: left;
}

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

.wide-field,
.admin-form .primary-action {
  grid-column: 1 / -1;
}

.admin-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto;
  gap: 16px;
  align-items: center;
}

.admin-product-main {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
}

.admin-product-main .product-art {
  min-height: 110px;
  padding: 12px;
}

.admin-product-main .product-photo {
  height: 90px;
}

.admin-image-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-image-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-green));
}

.login-card {
  display: grid;
  gap: 16px;
  width: min(430px, 100%);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.login-card img {
  width: 170px;
  height: 62px;
  object-fit: contain;
}

.login-card h1 {
  margin: 0;
  font-size: var(--text-2xl);
}

.customer-login-page {
  display: grid;
  place-items: center;
  min-height: 58vh;
  padding: 52px 14px;
  background: linear-gradient(180deg, var(--white), var(--soft-blue));
}

.customer-login-card {
  display: grid;
  gap: 14px;
  width: min(430px, 100%);
  padding: 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.customer-login-card img {
  justify-self: center;
  width: 150px;
  height: 58px;
  object-fit: contain;
}

.customer-login-card h1,
.customer-login-card p {
  margin: 0;
}

.customer-login-card p:not(.eyebrow):not(.form-error) {
  font-size: var(--text-sm);
  line-height: 1.5;
}

.profile-link,
.order-customer-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-link {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.profile-picture {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: cover;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.profile-picture-fallback {
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: #287c78;
  font-size: var(--text-sm);
  font-weight: 900;
}

.order-customer-profile {
  margin-top: 2px;
}

.google-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  color: #1f2937;
  background: var(--white);
  border: 1px solid rgba(31, 41, 55, 0.18);
  border-radius: 4px;
  font-weight: 900;
  cursor: pointer;
}

.google-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.account-page {
  padding: 58px 0;
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  color: var(--accent-red);
  font-size: var(--text-sm);
  font-weight: 800;
  border: 1px solid var(--accent-red);
  border-radius: 4px;
}

.danger-action {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.order-card-header {
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.order-card-header h2 {
  margin: 0;
  color: #12384a;
  font-size: var(--text-lg);
}

.order-customer {
  display: grid;
  gap: 6px;
  margin: 16px 0;
}

.order-customer span,
.order-card p,
.admin-product-row p {
  display: block;
  font-size: var(--text-sm);
}

.status-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.status-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: #12384a;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 900;
}

.status-filter a.active,
.status-filter a:hover {
  color: var(--white);
  background: #12384a;
  border-color: #12384a;
}

.status-filter-new.active,
.status-filter-new:hover {
  background: #20add0;
  border-color: #20add0;
}

.status-filter-approved.active,
.status-filter-approved:hover {
  background: #85bd3e;
  border-color: #85bd3e;
}

.status-filter-declined.active,
.status-filter-declined:hover {
  background: #d63b3f;
  border-color: #d63b3f;
}

.status-filter-dispatched.active,
.status-filter-dispatched:hover {
  background: #f59e0b;
  border-color: #f59e0b;
}

.status-filter-delivered.active,
.status-filter-delivered:hover {
  background: #2f7f28;
  border-color: #2f7f28;
}

.order-card {
  position: relative;
  overflow: hidden;
}

.order-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--bubble-blue);
}

.order-status-new::before,
.order-status-new .status-pill {
  background: #20add0;
}

.order-status-new .status-pill {
  color: var(--white);
}

.order-card-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: #12384a;
  background: var(--soft-blue);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 900;
}

.order-status-approved::before,
.order-status-approved .status-pill {
  background: var(--drop-green);
}

.order-status-approved .status-pill,
.order-status-dispatched .status-pill,
.order-status-delivered .status-pill,
.order-status-declined .status-pill {
  color: var(--white);
}

.order-status-dispatched::before,
.order-status-dispatched .status-pill {
  background: #f59e0b;
}

.order-status-delivered::before,
.order-status-delivered .status-pill {
  background: #2f7f28;
}

.order-status-declined::before,
.order-status-declined .status-pill {
  background: var(--accent-red);
}

.order-status-actions button[value="New"].active,
.order-status-actions button[value="New"]:hover {
  color: var(--white);
  background: #20add0;
  border-color: #20add0;
}

.order-status-actions button[value="Approved"].active,
.order-status-actions button[value="Approved"]:hover {
  color: var(--white);
  background: #85bd3e;
  border-color: #85bd3e;
}

.order-status-actions button[value="Declined"].active,
.order-status-actions button[value="Declined"]:hover {
  color: var(--white);
  background: #d63b3f;
  border-color: #d63b3f;
}

.order-status-actions button[value="Dispatched"].active,
.order-status-actions button[value="Dispatched"]:hover {
  color: var(--white);
  background: #f59e0b;
  border-color: #f59e0b;
}

.order-status-actions button[value="Delivered"].active,
.order-status-actions button[value="Delivered"]:hover {
  color: var(--white);
  background: #2f7f28;
  border-color: #2f7f28;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 18px;
  align-items: start;
}

.order-status-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.order-status-form > span {
  color: #12384a;
  font-size: var(--text-sm);
  font-weight: 900;
}

.order-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-status-actions button {
  min-height: 34px;
  padding: 0 11px;
  color: #12384a;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 900;
  cursor: pointer;
}

.order-status-actions button.active,
.order-status-actions button:hover {
  color: var(--white);
  background: var(--lohan-blue);
  border-color: var(--lohan-blue);
}

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

.tracking-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(33, 97, 126, 0.62);
  text-align: center;
  font-size: var(--text-xs);
}

.tracking-step::before {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(-50% + 16px);
  width: calc(100% - 22px);
  height: 2px;
  background: var(--line);
}

.tracking-step:first-child::before {
  display: none;
}

.tracking-step span {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
}

.tracking-step.complete {
  color: #12384a;
}

.tracking-step.complete::before,
.tracking-step.complete span {
  background: var(--drop-green);
  border-color: var(--drop-green);
}

.tracking-step-new.complete::before,
.tracking-step-new.complete span {
  background: #20add0;
  border-color: #20add0;
}

.tracking-step-approved.complete::before,
.tracking-step-approved.complete span {
  background: #85bd3e;
  border-color: #85bd3e;
}

.tracking-step-dispatched.complete::before,
.tracking-step-dispatched.complete span {
  background: #f59e0b;
  border-color: #f59e0b;
}

.tracking-step-delivered.complete::before,
.tracking-step-delivered.complete span {
  background: #2f7f28;
  border-color: #2f7f28;
}

.tracking-step strong {
  font-size: var(--text-xs);
}

.declined-note {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  padding: 12px 14px;
  color: var(--accent-red);
  background: rgba(214, 59, 63, 0.08);
  border: 1px solid rgba(214, 59, 63, 0.24);
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: 900;
}

.declined-note span {
  color: #7b2023;
  font-weight: 700;
  line-height: 1.45;
}

.delivery-person-card {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 12px;
  color: #12384a;
  background: rgba(133, 189, 62, 0.1);
  border: 1px solid rgba(133, 189, 62, 0.26);
  border-radius: 6px;
}

.delivery-person-card strong {
  font-size: var(--text-sm);
}

.delivery-person-card span {
  font-size: var(--text-sm);
}

.customer-delivery-card {
  margin: 0 0 16px;
}

.decline-modal,
.delivery-modal {
  width: min(480px, calc(100% - 28px));
}

.decline-modal-card {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.decline-modal-card h2,
.decline-modal-card p {
  margin: 0;
}

.decline-modal-card textarea {
  min-height: 110px;
  resize: vertical;
}

.decline-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.danger-primary {
  background: var(--accent-red);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
  padding: 42px max(18px, calc((100vw - 1180px) / 2));
  background: var(--lohan-blue);
  color: var(--white);
}

.site-footer img {
  width: 155px;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
}

.site-footer h2,
.site-footer p {
  margin: 0 0 10px;
}

.site-footer nav {
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 160px 1fr auto;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 4px;
    justify-self: end;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--lohan-blue);
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 0;
    max-height: 58vh;
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav strong,
  .main-nav a {
    min-height: 38px;
  }

  .main-nav strong {
    padding: 0 14px;
  }

  .main-nav a {
    padding: 0 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .mirembe-hero,
  .hero-banner,
  .split-section,
  .contact-section,
  .admin-hero,
  .admin-shell,
  .admin-product-row {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-menu {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .admin-menu a {
    justify-content: center;
    padding: 0 8px;
    text-align: center;
  }

  .service-strip,
  .product-grid,
  .mirembe-category-grid,
  .inspiration-grid,
  .work-grid,
  .stats-band,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    box-shadow: 0 8px 20px rgba(33, 97, 126, 0.1);
  }

  .top-help {
    display: none;
  }

  .top-help-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: min(100% - 24px, 1180px);
    padding: 7px 0;
  }

  .top-help-inner nav {
    display: none;
  }

  .delivery-bar {
    display: none;
  }

  .header-inner {
    grid-template-columns: 82px minmax(0, 1fr) 42px;
    gap: 8px;
    width: min(100% - 24px, 1180px);
    padding: 7px 0;
  }

  .site-search {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    border-width: 1px;
  }

  .site-search input {
    min-height: 36px;
    font-size: var(--text-sm);
  }

  .site-search input {
    min-width: 0;
    padding: 0 10px;
  }

  .site-search button {
    display: none;
  }

  .brand img {
    width: 82px;
    height: 36px;
  }

  .header-actions {
    display: none;
  }

  .cart-button {
    width: 42px;
    min-height: 36px;
    padding: 0;
    font-size: 0;
  }

  .header-actions .cart-button {
    display: none;
  }

  .floating-cart-button {
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    width: auto;
    min-height: 48px;
    padding: 0 13px;
    font-size: var(--text-sm);
  }

  .toast {
    right: 14px;
    bottom: 76px;
    max-width: calc(100% - 28px);
  }

  .cart-count {
    min-width: 22px;
    height: 22px;
    font-size: var(--text-xs);
  }

  .menu-toggle {
    align-self: center;
    width: 42px;
    min-height: 36px;
  }

  .category-nav-wrap {
    background: var(--white);
    box-shadow: 0 10px 18px rgba(18, 56, 74, 0.1);
  }

  .main-nav {
    width: min(100% - 24px, 1180px);
    padding: 8px 0 10px;
    max-height: 42vh;
  }

  .main-nav strong {
    display: none;
  }

  .main-nav a {
    min-height: 35px;
    padding: 0 12px;
    font-size: var(--text-xs);
  }

  .hero-banner {
    padding: 28px 20px;
  }

  .hero-banner h1,
  .section-heading h1,
  .section-heading h2,
  .split-section h2,
  .contact-section h2,
  .admin-hero h1,
  .admin-page h1 {
    font-size: var(--text-xl);
  }

  .admin-main {
    padding: 18px 14px;
  }

  .admin-brand {
    grid-template-columns: 48px 1fr;
  }

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

  .hero-products {
    min-height: 230px;
  }

  .status-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .status-filter::-webkit-scrollbar {
    display: none;
  }

  .status-filter a {
    flex: 0 0 auto;
    min-height: 34px;
    font-size: var(--text-xs);
  }

  .order-card-header {
    display: grid;
    gap: 12px;
  }

  .order-card-meta {
    justify-items: start;
  }

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

  .tracking-step::before {
    display: none;
  }

  .service-strip,
  .product-grid,
  .mirembe-category-grid,
  .inspiration-grid,
  .work-grid,
  .stats-band,
  .site-footer,
  .admin-actions,
  .admin-stats,
  .admin-form,
  .admin-product-main,
  .dialog-body {
    grid-template-columns: 1fr;
  }

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

  .inspiration-art {
    min-height: 170px;
  }
}
