:root {
  --limo-line: color-mix(in srgb, var(--ink) 14%, white);
  --limo-cream: #fff3d4;
  --limo-soft: #fffcf5;
}

.limo-header { background: var(--limo-soft); box-shadow: none; }
.limo-topbar { background: var(--navy); color: #fff4dc; font-size: .875rem; }
.limo-topbar > .container, .limo-topbar-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.limo-topbar > .container { padding-block: .4rem; }
.limo-topbar a { color: inherit; }
.limo-topbar svg { width: 18px; height: 18px; }
.limo-brand { min-width: 0; gap: .8rem; color: var(--navy); }
.limo-brand strong { font-size: 1.65rem; line-height: 1.2; letter-spacing: -.05em; }
.limo-brand small { font-size: .8rem; }
.limo-mark {
  display: inline-block;
  flex: 0 0 36px;
  position: relative;
  width: 36px;
  height: 31px;
  transform: rotate(-32deg);
  border-radius: 50% 46% 50% 43% / 50% 45% 52% 43%;
  border: 2px solid #624b24;
  background: #f9d568;
  box-shadow: inset 0 -4px 0 #eaba44;
}
.limo-mark::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 7px;
  inset: -5px 0 auto auto;
  border-radius: 100% 0 100% 0;
  background: #5e6b38;
  transform: rotate(25deg);
}
.limo-header .header-main { gap: clamp(.85rem, 3vw, 2.5rem); }
.limo-header .search-box {
  background: #fff;
  border: 1px solid var(--limo-line);
  border-radius: 10px;
  box-shadow: none;
}
.limo-header .search-box:focus-within { border-color: var(--accent); }
.limo-header .search-box button { background: transparent; color: var(--navy); }
.limo-header .cart-action {
  border-radius: 10px;
  background: var(--gold);
  color: #30231d;
  border-color: transparent;
}
.limo-header .main-nav { background: transparent; border-block: 1px solid var(--limo-line); }
.limo-header .nav-scroll { gap: clamp(1.15rem, 3vw, 2.5rem); padding-block: .4rem; }
.limo-header .nav-scroll a { font-size: .9rem; color: var(--ink); font-weight: 700; }
.limo-header .nav-scroll a[aria-current], .limo-header .nav-scroll a:hover { color: var(--accent); }

.limo-hero.commerce-hero { padding: clamp(1rem, 2vw, 1.9rem) 0 0; background: transparent; }
.limo-cover {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid #efdfb9;
  border-radius: 24px;
  background: var(--limo-cream);
  text-align: right;
}
.limo-cover--custom {
  background: linear-gradient(120deg, color-mix(in srgb, var(--slide-start) 12%, white),
    color-mix(in srgb, var(--slide-end) 18%, white));
}
.limo-copy { align-self: center; padding: clamp(1.6rem, 4vw, 4.2rem); color: #30231d; }
.limo-cover h1, .limo-cover h2 {
  font-size: clamp(2.4rem, 3.8vw, 4.35rem);
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: -.07em;
  margin: 0 0 1rem;
}
.limo-cover h2 { font-size: clamp(2rem, 3vw, 3.8rem); }
.limo-copy em { color: #9b492b; font-style: normal; }
.limo-copy p { font-size: 1rem; line-height: 1.95; max-width: 33ch; margin: 0 0 1.35rem; }
.limo-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border-radius: 9px;
  padding: .65rem 1.2rem;
  font-weight: 800;
  color: white;
  background: var(--navy);
}
.limo-button:hover { background: var(--navy-2); color: white; }
.limo-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}
.limo-banners { overflow: hidden; border-radius: 24px; }
.limo-banners .carousel-item > a > img { display: block; width: 100%; height: auto; }
.limo-slide-controls {
  position: absolute;
  inset: auto auto .9rem .9rem;
  z-index: 2;
  display: flex;
  gap: .35rem;
  padding: .25rem .4rem;
  border-radius: 99px;
  background: rgba(48, 35, 29, .75);
}
.limo-slide-controls button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: radial-gradient(circle, #fff8df 31%, transparent 36%);
}
.limo-slide-controls button.active { background: radial-gradient(circle, #f9d568 38%, transparent 43%); }

.limo-categories, .limo-selection { padding-top: clamp(1.7rem, 4vw, 3.1rem); }
.limo-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.limo-section-title h2, .home-products h2 {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  margin: 0;
}
.limo-tiles.category-discovery-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  overflow: visible;
  padding: 0;
}
.limo-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  border: 1px solid #e8dfcc;
  border-radius: 15px;
  background: #fff3d5;
  color: #3a2a21;
  padding: .75rem .85rem;
  min-height: 88px;
}
.limo-tile:nth-child(4n + 2) { background: #f9e6de; }
.limo-tile:nth-child(4n + 3) { background: #f5ecd9; }
.limo-tile:nth-child(4n + 4) { background: #edf0e3; }
.limo-tile:hover { border-color: var(--accent); color: var(--accent); }
.limo-tile img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.limo-tile strong { font-size: 1rem; line-height: 1.65; }
.limo-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; margin-bottom: 1.35rem; }
.limo-filters label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 700; }
.limo-filters select {
  min-height: 44px;
  min-width: 9rem;
  border: 1px solid var(--limo-line);
  border-radius: 8px;
  background: white;
  padding: .35rem .65rem;
}
.limo-filters .btn { min-height: 44px; }
.limo-filters a { align-self: center; color: var(--accent); }
.product-grid .product-card { border: 1px solid var(--limo-line); border-radius: 14px; box-shadow: none; }
.product-grid .product-card-media { background: var(--limo-soft); border-radius: 0; aspect-ratio: 1.22; }
.product-grid .product-card-media img, .product-gallery-card .main-image-wrap img { object-fit: contain; }
.product-grid .product-card h3 { font-weight: 800; }
.product-specifications { border-top: 1px solid var(--limo-line); padding-top: 1rem; margin: 1rem 0; }
.product-specifications h2 { font-size: 1.12rem; font-weight: 800; }
.product-specifications dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; margin: 0; }
.product-specifications dl > div { padding: .55rem 0; border-bottom: 1px solid var(--limo-line); }
.product-specifications dt { font-size: .875rem; color: var(--muted); }
.product-specifications dd { font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.product-form-section { margin: 1.3rem 0; padding-block: 1rem; border-top: 1px solid var(--limo-line); }
.product-form-section legend { float: none; width: auto; padding: 0 .5rem; font-size: 1.05rem; font-weight: 800; }
.product-options-admin .builder-card { max-width: 1050px; margin-inline: auto; }
.product-options-admin .builder-card-head p, .product-options-admin .field-wrap label { font-size: .875rem; }
.comprehensive-footer, .comprehensive-footer .limo-brand { background: var(--navy); color: white; }
.site-footer .limo-brand small { color: inherit; }
:focus-visible { outline: 3px solid #a34a24; outline-offset: 3px; }

@media (max-width: 840px) {
  .limo-tiles.category-discovery-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .limo-photo { min-height: 300px; }
}
@media (max-width: 600px) {
  .limo-topbar { font-size: .78rem; }
  .limo-topbar a { white-space: nowrap; }
  .limo-brand small { display: none; }
  .limo-header .main-nav { display: block; }
  .limo-header .nav-scroll { overflow: auto; white-space: nowrap; }
  .limo-header .nav-scroll a { font-size: .85rem; }
  .limo-header .cart-icon { display: flex; }
  .limo-cover { grid-template-columns: 1fr; border-radius: 16px; }
  .limo-photo { grid-row: 1; height: clamp(190px, 56vw, 300px); min-height: 0; }
  .limo-copy { padding: 1.35rem; }
  .limo-cover h1, .limo-cover h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .limo-cover h1 br { display: none; }
  .limo-copy p { margin-bottom: .95rem; }
  .limo-tiles.category-discovery-row { gap: .55rem; }
  .limo-tile { min-height: 66px; padding: .5rem; }
  .limo-tile strong { font-size: .89rem; }
  .limo-tile img { width: 46px; height: 46px; border-radius: 7px; }
  .limo-topbar-actions .limo-social-link { display: none; }
}
