/*
Theme Name: LureVibe Authorized WooCommerce
Theme URI: https://example.local/lurevibe-authorized
Author: Codex
Description: WooCommerce theme scaffold for an authorized LureVibe-style independent store migration.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: lurevibe-authorized
License: GPL-2.0-or-later
*/

:root {
  --lv-bg: #fff8f5;
  --lv-surface: #ffffff;
  --lv-ink: #21171d;
  --lv-muted: #71636a;
  --lv-line: #eadde2;
  --lv-red: #c72c48;
  --lv-pink: #ef6f87;
  --lv-plum: #5a1f45;
  --lv-gold: #b8874f;
  --lv-green: #526f60;
  --lv-dark: #171316;
  --lv-shadow: 0 18px 50px rgba(33, 23, 29, 0.14);
  --lv-radius: 8px;
  --lv-max: 1240px;
  --lv-shop-max: 1600px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--lv-bg);
  color: var(--lv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.lv-lock {
  overflow: hidden;
}

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

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

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

.lv-container {
  margin: 0 auto;
  max-width: var(--lv-max);
  padding: 0 24px;
}

.announcement-bar {
  background: var(--lv-dark);
  color: #fff7f2;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
}

.announcement-bar__track {
  animation: lv-marquee 34s linear infinite;
  display: flex;
  gap: 44px;
  padding: 9px 0;
  white-space: nowrap;
  width: max-content;
}

@keyframes lv-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-34%); }
}

.site-header {
  background: rgba(255, 248, 245, 0.96);
  border-bottom: 1px solid var(--lv-line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-grid {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
}

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

.brand__mark {
  align-items: center;
  background: linear-gradient(135deg, var(--lv-red), var(--lv-plum));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand strong {
  color: var(--lv-red);
  display: block;
  font-size: 25px;
  line-height: 1;
}

.brand small {
  color: var(--lv-muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.main-nav .primary-menu {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .primary-menu li {
  line-height: 1;
  margin: 0;
  padding: 0;
}

.main-nav a,
.main-nav button {
  background: var(--lv-red);
  border: 1px solid var(--lv-red);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav button:hover,
.main-nav button:focus {
  background: #a91f39;
  border-color: #a91f39;
}

.nav-group {
  padding: 28px 0;
  position: relative;
}

.mega-menu {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  left: 50%;
  min-width: 420px;
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  position: absolute;
  top: 74px;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-group:hover .mega-menu,
.nav-group:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu a {
  color: var(--lv-muted);
  display: block;
  padding: 4px 0;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  position: relative;
}

.language-switcher__button::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--lv-muted);
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-1px);
}

.language-switcher__button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 999px;
  color: var(--lv-ink);
  cursor: pointer;
  display: inline-flex;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-weight: 800;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 28px 0 12px;
  position: relative;
  white-space: nowrap;
  width: 98px;
}

.language-switcher__menu {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(42, 31, 35, 0.18);
  display: none;
  min-width: 98px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 120;
}

.language-switcher.is-open .language-switcher__menu {
  display: block;
}

.language-switcher__menu a {
  color: var(--lv-ink);
  display: block;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-weight: 700;
  padding: 9px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.language-switcher__menu a.is-active,
.language-switcher__menu a:hover {
  background: var(--lv-red);
  color: #fff;
}

.icon-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  align-items: center;
  background: var(--lv-red);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.icon-button {
  background: #fff;
  border: 1px solid var(--lv-line);
  color: var(--lv-ink);
}

.cart-trigger {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(42, 31, 35, 0.08);
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 46px;
}

.cart-trigger img {
  display: block;
  height: 25px;
  object-fit: contain;
  width: 25px;
}

.cart-trigger__count {
  align-items: center;
  background: var(--lv-red);
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 5px;
  position: absolute;
  right: -5px;
  top: -5px;
}

.button--light {
  background: #fff;
  color: var(--lv-red);
}

.button--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button--ghost-dark {
  background: transparent;
  border: 1px solid var(--lv-line);
  color: var(--lv-ink);
}

.menu-toggle {
  display: none;
}

.hero {
  background: var(--lv-dark);
  color: #fff;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.hero img,
.hero::after {
  inset: 0;
  position: absolute;
}

.hero img {
  height: 100%;
  object-fit: cover;
  object-position: right center;
  width: 100%;
}

.hero::after {
  background: linear-gradient(90deg, rgba(23, 19, 22, 0.94), rgba(23, 19, 22, 0.72) 42%, rgba(23, 19, 22, 0.1));
  content: "";
}

.hero__content {
  display: flex;
  min-height: 360px;
  position: relative;
  z-index: 2;
}

.hero__copy {
  align-self: flex-end;
  max-width: 650px;
  padding-bottom: 38px;
}

.eyebrow {
  color: #ffc5bd;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.94;
  margin: 12px 0 16px;
}

.hero p {
  color: #ffe9e2;
  font-size: 18px;
  margin: 0 0 22px;
  max-width: 580px;
}

.section {
  padding: 78px 0;
}

.section--white {
  background: #fff;
}

.service-strip {
  padding: 48px 0 44px;
}

.service-strip + .section {
  padding-top: 48px;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  margin: 0;
}

.section-head .button {
  flex: 0 0 auto;
  min-width: 106px;
}

.service-grid,
.category-grid,
.brand-grid,
.timeline-grid,
.reviews-grid,
.journal-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.category-card,
.review-card,
.journal-card {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  padding: 24px;
}

.category-card {
  color: var(--lv-ink);
  display: block;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
}

.category-card img {
  aspect-ratio: 1 / 0.92;
  background: #f6f0ef;
  display: block;
  object-fit: contain;
  width: 100%;
}

.category-card__body {
  display: block;
  padding: 14px 16px 16px;
}

.category-card__body strong,
.category-card__body small {
  display: block;
}

.category-card__body strong {
  font-size: 17px;
  line-height: 1.15;
}

.category-card__body small {
  color: var(--lv-muted);
  margin-top: 5px;
}

.service-card strong {
  color: var(--lv-red);
  display: block;
  margin-bottom: 8px;
}

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

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

.brand-grid span {
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  font-weight: 900;
  padding: 18px 10px;
  text-align: center;
}

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

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

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

body.woocommerce-page.archive .page-title,
body.woocommerce-shop .page-title,
body.woocommerce-page.archive .woocommerce-notices-wrapper,
body.woocommerce-shop .woocommerce-notices-wrapper,
body.woocommerce-page.archive ul.products,
body.woocommerce-shop ul.products,
body.woocommerce-page.archive nav.woocommerce-pagination,
body.woocommerce-shop nav.woocommerce-pagination {
  margin-left: auto;
  margin-right: auto;
  width: min(calc(100% - 96px), var(--lv-shop-max));
}

body.woocommerce-page.archive .page-title,
body.woocommerce-shop .page-title {
  margin-top: 34px;
}

body.woocommerce-page.archive .woocommerce-result-count,
body.woocommerce-shop .woocommerce-result-count {
  clear: left;
  margin-left: max(48px, calc((100vw - var(--lv-shop-max)) / 2));
}

body.woocommerce-page.archive .woocommerce-ordering,
body.woocommerce-shop .woocommerce-ordering {
  margin-right: max(48px, calc((100vw - var(--lv-shop-max)) / 2));
}

body.woocommerce-page.archive ul.products,
body.woocommerce-shop ul.products {
  clear: both;
  margin-top: 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  float: none;
  margin: 0 !important;
  overflow: hidden;
  padding-bottom: 18px;
  width: auto !important;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 0.76;
  background: #fff;
  max-height: 280px;
  object-fit: contain;
  width: 100%;
}

.single-product div.product {
  align-items: start;
  display: grid;
  column-gap: 58px;
  grid-template-columns: minmax(420px, 560px) minmax(420px, 560px);
  row-gap: 28px;
  margin: 0 auto;
  max-width: var(--lv-max);
  padding: 0 24px;
}

.single-product div.product .lva-remote-gallery,
.single-product div.product div.images {
  float: none !important;
  grid-column: 1;
  margin: 0;
  width: 100% !important;
}

.single-product div.product div.images {
  align-self: start;
  display: grid;
  gap: 12px;
  position: relative;
}

.single-product div.product div.images .woocommerce-product-gallery__trigger {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 999px;
  box-shadow: var(--lv-shadow);
  height: 38px;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  z-index: 2;
}

.single-product div.product div.images .flex-viewport {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow);
  height: 560px !important;
  max-height: 560px;
}

.single-product div.product div.images .woocommerce-product-gallery__image a {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

.single-product div.product div.images .woocommerce-product-gallery__image img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  width: 100%;
}

.single-product div.product div.images .flex-control-thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-product div.product div.images .flex-control-thumbs li {
  border: 1px solid var(--lv-line);
  border-radius: 8px;
  cursor: pointer;
  float: none;
  margin: 0;
  overflow: hidden;
  width: auto;
}

.single-product div.product div.images .flex-control-thumbs img {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: block;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  width: 100%;
}

.single-product div.product div.images .flex-control-thumbs img.flex-active,
.single-product div.product div.images .flex-control-thumbs img:hover {
  opacity: 1;
}

.single-product div.product div.summary {
  display: flex;
  flex-direction: column;
  float: none !important;
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  max-width: 640px;
  padding-top: 8px;
  width: 100% !important;
}

.single-product div.product div.summary .product_title {
  order: 1;
}

.single-product div.product div.summary p.price,
.single-product div.product div.summary span.price {
  order: 2;
}

.single-product div.product div.summary form.cart {
  order: 3;
}

.single-product div.product div.summary .woocommerce-product-details__short-description {
  order: 4;
}

.single-product div.product div.summary .product_meta {
  order: 5;
}

.single-product div.product .woocommerce-product-gallery--without-images {
  display: none;
}

.single-product div.product .woocommerce-tabs,
.single-product div.product .related,
.single-product div.product .upsells,
.single-product div.product .section {
  grid-column: 1 / -1;
}

.single-product div.product .product_title {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.03;
  margin-top: 0;
}

.single-product div.product p.price,
.single-product div.product span.price {
  color: var(--lv-red);
  font-size: 24px;
  font-weight: 900;
}

.lva-remote-gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 28px;
  max-width: 520px;
  width: 100%;
}

.lva-remote-gallery img {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  object-fit: contain;
  width: 100%;
}

.lva-remote-gallery img:first-child {
  aspect-ratio: 1 / 0.84;
  grid-column: 1 / -1;
  max-height: 436px;
}

.lva-remote-gallery img:not(:first-child) {
  max-height: 112px;
}

.lva-product-video {
  clear: none;
  grid-column: 1;
  margin: 0;
  width: 100%;
}

.lva-product-video video {
  aspect-ratio: 16 / 9;
  background: #090709;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow);
  display: block;
  object-fit: contain;
  width: 100%;
}

.single-product div.product div.summary .woocommerce-product-details__short-description {
  color: #42383c;
  font-size: 15px;
  line-height: 1.55;
  margin: 18px 0 22px;
}

.single-product div.product form.cart {
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  box-shadow: 0 16px 36px rgba(130, 38, 72, 0.08);
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 18px;
}

.single-product div.product form.cart .variations {
  border-collapse: collapse;
  margin: 0;
  width: 100%;
}

.single-product div.product form.cart .variations tbody {
  display: grid;
  gap: 12px;
}

.single-product div.product form.cart .variations tr {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 150px minmax(0, 1fr);
}

.single-product div.product form.cart .variations th,
.single-product div.product form.cart .variations td {
  display: block;
  padding: 0;
  text-align: left;
}

.single-product div.product form.cart .variations label {
  color: var(--lv-ink);
  font-size: 14px;
  font-weight: 900;
}

.single-product div.product form.cart .variations select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #33262c 50%) calc(100% - 18px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, #33262c 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
    #fff;
  border: 1px solid #dbc9d0;
  border-radius: 6px;
  color: var(--lv-ink);
  font-size: 15px;
  min-height: 44px;
  padding: 0 42px 0 14px;
  width: 100%;
}

.single-product div.product form.cart .reset_variations {
  color: var(--lv-red);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
}

.single-product div.product form.cart .single_variation_wrap {
  display: grid;
  gap: 14px;
}

.single-product div.product form.cart .woocommerce-variation-add-to-cart {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 92px minmax(180px, 1fr);
}

.single-product div.product form.cart .quantity {
  float: none;
  margin: 0;
}

.single-product div.product form.cart .quantity input.qty {
  border: 1px solid #dbc9d0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  height: 48px;
  text-align: center;
  width: 92px;
}

.single-product div.product form.cart .button,
.single-product div.product form.cart .single_add_to_cart_button {
  align-items: center;
  background: var(--lv-red);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  text-decoration: none;
  width: 100%;
}

.single-product div.product form.cart .button.disabled,
.single-product div.product form.cart .button:disabled,
.single-product div.product form.cart .single_add_to_cart_button.disabled {
  background: #c9a3b8;
  cursor: not-allowed;
  opacity: 1;
}

.single-product div.product form.cart .lva-product-note {
  color: #6d5a62;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.single-product div.product form.cart .lva-whatsapp-button {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  color: #fff;
  display: flex;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 26px;
  text-decoration: none;
  width: 100%;
  grid-column: 1 / -1;
}

.single-product div.product form.cart .lva-whatsapp-button svg {
  fill: currentColor;
  flex: 0 0 auto;
  height: 23px;
  width: 23px;
}

.single-product div.product form.cart .lva-whatsapp-button:hover,
.single-product div.product form.cart .lva-whatsapp-button:focus {
  background: #1eb85a;
}

.single-product div.product .product_meta {
  border-top: 1px solid var(--lv-line);
  color: #6d5a62;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 22px;
  padding-top: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding-left: 16px;
  padding-right: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px;
  line-height: 1.22;
  min-height: 42px;
}

.woocommerce ul.products li.product .button {
  margin-left: 16px;
}

.shop-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: 270px 1fr;
}

.filter-panel {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  padding: 20px;
}

.payment-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-strip span {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 999px;
  color: var(--lv-ink);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.drawer,
.search-overlay {
  background: rgba(23, 19, 22, 0.5);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 160ms ease;
  z-index: 90;
}

.drawer.is-open,
.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer__panel,
.search-overlay__panel {
  background: #fff;
  bottom: 0;
  box-shadow: var(--lv-shadow);
  max-width: 440px;
  padding: 22px;
  position: absolute;
  right: 0;
  top: 0;
  width: min(440px, 100vw);
}

.search-overlay__panel {
  left: 50%;
  max-height: 80vh;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
}

.drawer-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.drawer-head h2 {
  margin: 0;
}

.drawer-cart-items {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.drawer-cart-item {
  align-items: center;
  border-bottom: 1px solid var(--lv-line);
  display: grid;
  gap: 12px;
  grid-template-columns: 72px 1fr;
  padding-bottom: 14px;
}

.drawer-cart-item img {
  aspect-ratio: 1;
  border-radius: var(--lv-radius);
  object-fit: cover;
}

.drawer-cart-item strong,
.drawer-cart-item span,
.drawer-subtotal {
  display: block;
}

.drawer-subtotal {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.search-overlay input {
  border: 1px solid var(--lv-line);
  border-radius: 999px;
  margin: 20px 0;
  min-height: 48px;
  padding: 0 16px;
  width: 100%;
}

.site-footer {
  background: var(--lv-dark);
  color: #fff7f2;
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.site-footer a,
.site-footer p {
  color: #d9c7cf;
}

.site-footer h3 {
  margin: 0 0 12px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.mobile-menu {
  display: none;
}

.mobile-product-search {
  display: none;
}

@media (min-width: 1021px) {
  .site-header .lv-container {
    max-width: min(1828px, calc(100vw - 56px));
  }

  .header-grid {
    gap: 20px;
    min-height: 96px;
  }

  .brand {
    gap: 15px;
  }

  .brand__mark {
    font-size: 20px;
    height: 52px;
    width: 52px;
  }

  .brand strong {
    font-size: 32px;
  }

  .brand small {
    font-size: 14px;
    margin-top: 4px;
  }

  .main-nav .primary-menu {
    column-gap: 8px;
    row-gap: 12px;
  }

  .main-nav a,
  .main-nav button {
    font-size: 15px;
    line-height: 1.15;
    min-height: 38px;
    padding-left: 13px;
    padding-right: 13px;
  }

  .header-actions {
    gap: 13px;
  }

  .language-switcher__button {
    font-size: 15px;
    min-height: 52px;
    padding-left: 16px;
    padding-right: 34px;
    width: 112px;
  }

  .language-switcher__button::after {
    right: 16px;
  }

  .language-switcher__menu {
    min-width: 112px;
  }

  .header-actions .icon-button,
  .header-actions .button {
    font-size: 15px;
    min-height: 52px;
    padding-left: 23px;
    padding-right: 23px;
  }

  .cart-trigger {
    height: 54px;
    width: 54px;
  }

  .cart-trigger img {
    height: 29px;
    width: 29px;
  }
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu.is-open {
    background: #fff8f5;
    border-top: 1px solid var(--lv-line);
    display: grid;
    gap: 0;
    padding: 10px 24px 18px;
  }

  .mobile-menu a {
    font-weight: 900;
    padding: 12px 0;
  }

  .woocommerce ul.products,
  .category-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-layout,
  .footer-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .single-product div.product {
    display: block;
    padding: 0;
  }

  .single-product div.product div.summary {
    max-width: none;
  }

  .single-product div.product div.images .flex-viewport {
    height: min(520px, 92vw) !important;
  }

  .single-product div.product div.images .woocommerce-product-gallery__image a {
    min-height: min(520px, 92vw);
  }

  .single-product div.product div.images .woocommerce-product-gallery__image img {
    max-height: min(520px, 92vw);
  }

  .lva-remote-gallery {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .lv-container {
    padding: 0 14px;
  }

  .announcement-bar {
    display: none;
  }

  .site-header {
    position: sticky;
  }

  .header-grid {
    gap: 10px;
    grid-template-columns: auto 1fr auto;
    min-height: 68px;
  }

  .menu-toggle {
    min-height: 40px;
    padding: 0 14px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand__mark {
    height: 38px;
    width: 38px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 155px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .search-trigger {
    display: none;
  }

  .language-switcher__button {
    min-height: 40px;
    width: 88px;
  }

  .language-switcher__menu {
    min-width: 88px;
    right: 0;
    top: calc(100% + 7px);
  }

  .header-actions .cart-trigger {
    bottom: 22px;
    box-shadow: 0 18px 36px rgba(42, 31, 35, 0.28);
    height: 58px;
    position: fixed;
    right: 18px;
    width: 58px;
    z-index: 95;
  }

  .header-actions .cart-trigger img {
    height: 32px;
    width: 32px;
  }

  .header-actions .cart-trigger__count {
    font-size: 12px;
    height: 22px;
    min-width: 22px;
    right: -4px;
    top: -5px;
  }

  .mobile-product-search {
    border-top: 1px solid var(--lv-line);
    display: grid;
    gap: 0;
    grid-template-columns: 1fr 82px;
    padding: 12px 14px 14px;
  }

  .mobile-product-search input {
    background: #fff;
    border: 1px solid var(--lv-line);
    border-radius: 12px 0 0 12px;
    color: var(--lv-ink);
    font-size: 16px;
    min-height: 52px;
    padding: 0 14px;
    width: 100%;
  }

  .mobile-product-search button {
    background: var(--lv-red);
    border: 1px solid var(--lv-red);
    border-radius: 0 12px 12px 0;
    color: #fff;
    font-size: 0;
    min-height: 52px;
    position: relative;
  }

  .mobile-product-search button::before {
    content: "Search";
    font-size: 13px;
    font-weight: 950;
  }

  .hero,
  .hero__content {
    min-height: 76px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(23, 19, 22, 0.2), rgba(23, 19, 22, 0.82));
  }

  .hero__content {
    align-items: flex-end;
    padding-bottom: 0;
  }

  .hero__copy {
    padding-bottom: 10px;
  }

  .hero .eyebrow,
  .hero p,
  .hero .button {
    display: none;
  }

  .hero h1 {
    font-size: 24px;
    margin: 0;
  }

  .section {
    padding: 22px 0;
  }

  .category-section {
    padding-bottom: 14px;
  }

  .section--compact {
    padding: 16px 0;
  }

  .service-strip {
    display: none;
  }

  .section-head {
    align-items: center;
    margin-bottom: 14px;
  }

  .section-head .button {
    display: none;
  }

  .section-head .eyebrow {
    font-size: 11px;
  }

  .section-head h2 {
    font-size: 22px;
    line-height: 1.08;
  }

  .woocommerce ul.products,
  .category-grid,
  .brand-grid,
  .reviews-grid,
  .journal-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    gap: 8px;
  }

  .category-card {
    border-radius: 8px;
  }

  .category-card img {
    aspect-ratio: 1 / 0.86;
  }

  .category-card__body {
    padding: 8px 9px 10px;
  }

  .category-card__body strong {
    display: -webkit-box;
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.08;
    min-height: 28px;
    overflow: hidden;
  }

  .category-card__body small {
    font-size: 11px;
    margin-top: 3px;
  }

  .brand-section .section-head,
  .timeline-section .section-head,
  .news-section .section-head {
    margin-bottom: 10px;
  }

  .brand-section .section-head h2,
  .timeline-section .section-head h2,
  .news-section .section-head h2 {
    font-size: 18px;
  }

  .brand-grid {
    gap: 6px;
  }

  .brand-grid span {
    border-radius: 8px;
    font-size: 12px;
    padding: 10px 6px;
  }

  .timeline-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .timeline-grid::-webkit-scrollbar,
  .journal-grid::-webkit-scrollbar {
    display: none;
  }

  .timeline-grid .service-card {
    flex: 0 0 132px;
    padding: 12px;
  }

  .timeline-grid .service-card p {
    display: none;
  }

  .journal-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .journal-card {
    border-radius: 8px;
    flex: 0 0 178px;
    padding: 12px;
  }

  .journal-card h3 {
    font-size: 15px;
    line-height: 1.15;
    margin: 0 0 5px;
  }

  .journal-card p {
    display: none;
    font-size: 12px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
  }

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

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

  .lva-remote-gallery img:first-child {
    aspect-ratio: 1 / 0.9;
  }

  .lva-remote-gallery img:not(:first-child) {
    max-height: 150px;
  }

  .woocommerce ul.products li.product {
    border: 0;
    border-radius: 0;
    padding-bottom: 8px;
  }

  .woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 0.9;
    border-radius: 8px;
    margin: 0 0 8px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--lv-ink);
    display: -webkit-box;
    font-size: 15px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.15;
    min-height: 34px;
    overflow: hidden;
    padding: 0;
  }

  .woocommerce ul.products li.product .price {
    color: var(--lv-muted);
    display: block;
    font-size: 13px;
    min-height: 18px;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
  }

  .woocommerce ul.products li.product .price del {
    color: #a4a0a5;
    display: inline-block;
    margin-right: 4px;
  }

  .woocommerce ul.products li.product .button {
    display: none;
  }

  .site-footer {
    padding: 24px 0 76px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .site-footer .brand {
    margin-bottom: 8px;
  }

  .site-footer .brand small,
  .site-footer p {
    display: none;
  }

  .site-footer h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .site-footer a {
    font-size: 12px;
    margin: 4px 0;
  }

  .payment-strip {
    gap: 5px;
    margin-top: 8px;
  }

  .payment-strip span {
    font-size: 10px;
    padding: 5px 7px;
  }

}
