/* Website UI (30 Oct 2026): footer, home brand logos, picture strip, videos,
   header search dropdown, listing filters, suggestion page, buttons.
   Loaded from views/ecom/head1.php (app_ws_assets). */

:root {
  --ws-brand: #ad0101;
  --ws-brand-dark: #7d0000;
  --ws-ink: #0f172a;
  --ws-text: #334155;
  --ws-muted: #64748b;
  --ws-line: #e5e7eb;
  --ws-soft: #f8fafc;
  --ws-gold: #d4af37;
}

/* ---------- Buttons ---------- */
.btn.btn-buy, .btn.btn-cart, .btn-brand-2, .vpl-btn--primary {
  border-radius: 10px !important;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease, filter .15s ease;
}
.btn.btn-buy {
  background: linear-gradient(135deg, var(--ws-brand), #d01c1c) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px -8px rgba(173, 1, 1, .8);
}
.btn.btn-buy:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 20px -10px rgba(173, 1, 1, .9); }
.btn.btn-cart { border: 1px solid var(--ws-line) !important; background: #fff !important; color: var(--ws-ink) !important; }
.btn.btn-cart:hover,
.card-grid-style-3 .card-grid-inner .info-right a.btn.btn-cart:hover,
.list-brand-2 .card-grid-style-3 .card-grid-inner .info-right a.btn-cart:hover { /* 13 Nov 2026: red button, white text (text was white on white) */
  background: var(--ws-brand) !important; border-color: var(--ws-brand) !important; color: #fff !important; transform: translateY(-1px);
}
.btn:focus-visible, .vpl-btn:focus-visible { outline: 3px solid rgba(173, 1, 1, .3); outline-offset: 2px; }

/* ---------- Header search + dropdown ---------- */
.ws-search { position: relative; }
.ws-search .box-keysearch { display: flex; align-items: center; gap: 6px; }
.ws-search .box-keysearch input { flex: 1; min-width: 0; height: 40px; font-size: 14px !important; }
.ws-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.ws-search__go {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ws-brand); color: #fff; transition: background .15s;
}
.ws-search__go:hover { background: var(--ws-brand-dark); }
.ws-search__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ws-search__drop {
  position: absolute; z-index: 1050; left: -6px; right: -6px; top: calc(100% + 10px);
  background: #fff; border: 1px solid var(--ws-line); border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .35);
  max-height: min(70vh, 560px); overflow-y: auto; padding: 6px; text-align: left;
}
.ws-search__drop[hidden] { display: none; }
.ws-search__sec { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ws-muted); padding: 8px 10px 4px; }
.ws-search__item {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 8px 10px; border-radius: 10px; color: var(--ws-ink) !important; text-decoration: none !important;
}
.ws-search__item:hover, .ws-search__item:focus { background: #f6f7f9; outline: 0; }
.ws-search__img { width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--ws-line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ws-search__img img { max-width: 90%; max-height: 90%; object-fit: contain; }
.ws-search__txt { display: flex; flex-direction: column; min-width: 0; }
.ws-search__name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-search__name mark, .ws-search__tag mark { background: #fff1c2; color: inherit; padding: 0 1px; border-radius: 3px; }
.ws-search__brand { font-size: 12px; color: var(--ws-muted); margin-top: 2px; }
.ws-search__price { font-size: 14px; font-weight: 700; color: var(--ws-brand); text-align: right; white-space: nowrap; display: flex; flex-direction: column; }
.ws-search__price s { font-size: 12px; font-weight: 500; color: var(--ws-muted); }
.ws-search__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border-top: 1px solid var(--ws-line); margin-top: 6px; }
.ws-search__tag {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--ws-line); font-size: 13px; color: var(--ws-ink) !important; text-decoration: none !important; background: #fff;
}
.ws-search__tag img { height: 18px; width: auto; max-width: 40px; object-fit: contain; }
.ws-search__tag em { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--ws-muted); }
.ws-search__tag:hover, .ws-search__tag:focus { border-color: var(--ws-brand); outline: 0; }
.ws-search__all {
  display: block; margin-top: 4px; padding: 10px; border-radius: 10px; text-align: center;
  font-size: 13px; font-weight: 700; color: var(--ws-brand) !important; background: #fff5f5; text-decoration: none !important;
}
.ws-search__all:hover, .ws-search__all:focus { background: #ffe9e9; outline: 0; }
.ws-search__none { padding: 16px; font-size: 14px; color: var(--ws-muted); text-align: center; }
.ws-search__loading { color: var(--ws-muted); }
.ws-search--mobile { margin: 6px 0 16px; }
.ws-search--mobile .box-keysearch { border: 1px solid var(--ws-line); border-radius: 10px; padding: 4px; background: #fff; }
.ws-search--mobile input { border: 0 !important; box-shadow: none !important; }
.ws-search--mobile .ws-search__drop { position: static; margin-top: 8px; box-shadow: none; max-height: none; }
.ws-search--mobile .ws-search__item { grid-template-columns: 44px minmax(0, 1fr) auto; }
.ws-search--mobile .ws-search__img { width: 44px; height: 44px; }

/* ---------- Home: brand logos ---------- */
.ws-brands .vlt-header { margin-bottom: 18px; }
.ws-brand-grid {
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.ws-brand-grid > li { width: auto !important; padding: 0 !important; margin: 0 !important; float: none !important; }
.ws-brand {
  display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%;
  padding: 14px 12px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--ws-line);
  text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ws-brand__logo { width: 100%; height: 88px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ws-brand__logo img { display: block; max-width: 100% !important; max-height: 88px !important; width: auto !important; height: auto !important; object-fit: contain; mix-blend-mode: multiply; }
.ws-brand__name { font-size: 13px; font-weight: 600; color: var(--ws-text); text-align: center; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ws-brand:hover { transform: translateY(-3px); border-color: #f3c2c2; box-shadow: 0 14px 28px -16px rgba(15, 23, 42, .35); }
.ws-brand:hover .ws-brand__name { color: var(--ws-brand); }
@media (max-width: 575.98px) {
  .ws-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ws-brand { padding: 10px 8px; border-radius: 12px; }
  .ws-brand__logo { height: 64px; }
  .ws-brand__logo img { max-height: 64px !important; }
  .ws-brand__name { font-size: 11px; }
}

/* ---------- Picture strip ---------- */
.ws-strip { margin: 0 0 24px; }
.ws-strip__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ws-strip__title { font-size: 20px; font-weight: 700; color: var(--ws-ink); margin: 0; }
.ws-strip__row {
  display: grid; grid-template-columns: repeat(var(--ws-n, 6), minmax(0, 1fr)); gap: 10px;
}
.ws-strip__item {
  position: relative; display: block; overflow: hidden; border-radius: 14px; background: #f1f5f9;
  aspect-ratio: 4 / 5; text-decoration: none !important;
}
.ws-strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
a.ws-strip__item:hover img { transform: scale(1.05); }
.ws-strip__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .65));
}
@media (max-width: 991.98px) {
  .ws-strip__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: thin; }
  .ws-strip__item { flex: 0 0 38%; scroll-snap-align: start; }
}
@media (max-width: 575.98px) {
  .ws-strip__item { flex-basis: 62%; }
}

/* ---------- Videos ---------- */
.ws-video { margin: 20px 0; }
.ws-video__title { font-size: 20px; font-weight: 700; color: var(--ws-ink); margin: 0 0 12px; }
.ws-video__media, .ws-video__frame { display: block; width: 100%; border-radius: 16px; overflow: hidden; background: #000; }
.ws-video__media { height: auto; }
.ws-video__frame { position: relative; aspect-ratio: 16 / 9; }
.ws-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-video__link { display: block; }
.vpl .ws-video { margin: 0 0 18px; }
.vpl .ws-video .container { padding: 0; max-width: none; }

/* ---------- Listing filters (price / stock / sale) ---------- */
.vpl-filters .vpl-group__head + .vpl-price { margin-bottom: 10px; }
.vpl-price { display: flex; align-items: center; gap: 8px; }
.vpl-price i { color: var(--ws-muted); font-style: normal; }
.vpl-price label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; height: 38px; margin: 0; padding: 0 10px; border: 1px solid var(--ws-line); border-radius: 10px; background: var(--ws-soft); }
.vpl-price label:focus-within { border-color: #94a3b8; background: #fff; }
.vpl-price span { font-size: 12px; color: var(--ws-muted); white-space: nowrap; }
.vpl-price input { width: 100%; min-width: 0; border: 0 !important; background: transparent; height: 36px !important; padding: 0 !important; font-size: 14px; box-shadow: none !important; outline: 0; -moz-appearance: textfield; }
.vpl-price input::-webkit-outer-spin-button, .vpl-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vpl-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.vpl-pill { height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--ws-line); background: #fff; font-size: 12px; font-weight: 600; color: var(--ws-text); cursor: pointer; transition: all .15s; }
.vpl-pill:hover { border-color: var(--ws-ink); }
.vpl-pill.is-active { background: var(--ws-ink); border-color: var(--ws-ink); color: #fff; }
.vpl-check { display: flex; align-items: center; gap: 10px; padding: 7px 4px; margin: 0; font-size: 14px; color: var(--ws-text); cursor: pointer; }
.vpl-check input { width: 18px; height: 18px; accent-color: var(--ws-brand); cursor: pointer; }
.vpl-group__reset { border: 0; background: none; font-size: 12px; font-weight: 700; color: var(--ws-brand); cursor: pointer; padding: 0; }
.vpl-group .mt-15 { margin-top: 15px; }
.vpl-chips button.vpl-chip { border: 0; cursor: pointer; }
.vpl-linkbtn { border: 0; background: none; padding: 0; color: var(--ws-brand); font-weight: 700; cursor: pointer; text-decoration: underline; }
.vpl-card { position: relative; }
.vpl-card__oos { display: inline-block; align-self: flex-start; margin: -2px 0 8px; padding: 2px 8px; border-radius: 6px; background: #f1f5f9; color: var(--ws-muted); font-size: 11px; font-weight: 700; }

/* ---------- Footer ---------- */
.vfooter { background: radial-gradient(1200px 400px at 10% -10%, #1d1013 0%, rgba(11, 11, 13, 0) 60%), #0b0b0d; padding: 56px 0 0; color: #cfd2d8; margin-top: 30px; }
.vfooter a { color: #cfd2d8; text-decoration: none; transition: color .15s ease; }
.vfooter a:hover { color: #fff; text-decoration: none; }
.vfooter svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vfooter__top { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(140px, 1fr)); gap: 36px; padding-bottom: 40px; }
.vfooter__logo img { height: 64px; margin-bottom: 14px; }
.vfooter__tagline { font-size: 14px; color: #9aa0aa; line-height: 1.65; margin: 0 0 16px; max-width: 340px; }
.vfooter__badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.vfooter__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ws-gold); border: 1px solid rgba(212, 175, 55, .4); background: rgba(212, 175, 55, .08); border-radius: 999px; padding: 6px 14px; }
.vfooter__badge svg { width: 16px; height: 16px; }
.vfooter__social { display: flex; flex-wrap: wrap; gap: 8px; }
.vfooter__social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: background .15s, transform .15s, border-color .15s; }
.vfooter__social a:hover { background: var(--ws-brand); border-color: var(--ws-brand); transform: translateY(-2px); }
.vfooter__col h6 { position: relative; color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 18px; padding-bottom: 10px; }
.vfooter__col h6::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--ws-brand); }
.vfooter__col ul { list-style: none; margin: 0; padding: 0; }
.vfooter__col ul li { margin-bottom: 11px; font-size: 14px; line-height: 1.4; }
.vfooter__col ul li a { display: inline-block; transition: color .15s, transform .15s; }
.vfooter__col ul li a:hover { transform: translateX(3px); }
.vfooter__contact li { display: flex; gap: 10px; align-items: flex-start; color: #cfd2d8; }
.vfooter__contact li svg { margin-top: 1px; color: var(--ws-gold); }
.vfooter__contact li a:hover { transform: none; }
.vfooter__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.vfooter__copy { font-size: 13px; color: #8a8f99; }
.vfooter__copy a { color: #ff5a5a; font-weight: 600; }
.vfooter__age { font-size: 12px; color: #6f7480; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 1199.98px) {
  .vfooter__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vfooter__brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .vfooter { padding-top: 40px; }
  .vfooter__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .vfooter__contact { grid-column: 1 / -1; }
  .vfooter__bottom { justify-content: center; text-align: center; }
}

/* ---------- Customer suggestion page ---------- */
.ws-sugg { padding: 36px 0 70px; }
.ws-sugg__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px; align-items: start; }
.ws-sugg__intro { position: relative; overflow: hidden; border-radius: 20px; padding: 32px; color: #fff; background: linear-gradient(140deg, #1b0b0d 0%, #5e0303 55%, #ad0101 100%); }
.ws-sugg__intro::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.ws-sugg__kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffd6d6; background: rgba(255, 255, 255, .1); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.ws-sugg__intro h1 { color: #fff; font-size: 30px; line-height: 1.2; font-weight: 800; margin: 0 0 12px; }
.ws-sugg__intro p { color: #f3d9d9; font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.ws-sugg__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ws-sugg__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #fff; }
.ws-sugg__points svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #ffd36b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-sugg__card { background: #fff; border: 1px solid var(--ws-line); border-radius: 20px; padding: 28px; box-shadow: 0 20px 40px -28px rgba(15, 23, 42, .35); }
.ws-sugg__card h2 { font-size: 20px; font-weight: 700; color: var(--ws-ink); margin: 0 0 4px; }
.ws-sugg__card .ws-sub { font-size: 14px; color: var(--ws-muted); margin: 0 0 20px; }
.ws-sugg__label { display: block; font-size: 14px; font-weight: 600; color: var(--ws-ink); margin-bottom: 8px; }
.ws-sugg__label small { font-weight: 500; color: var(--ws-muted); }
.ws-sugg textarea { width: 100%; min-height: 170px; border: 1px solid #d6dbe3 !important; border-radius: 12px !important; padding: 14px !important; font-size: 15px; line-height: 1.55; resize: vertical; background: #fff; }
.ws-sugg textarea:focus { outline: 0; border-color: var(--ws-brand) !important; box-shadow: 0 0 0 3px rgba(173, 1, 1, .12) !important; }
.ws-sugg__count { display: block; text-align: right; font-size: 12px; color: var(--ws-muted); margin-top: 6px; }
.ws-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #d6dbe3; border-radius: 14px;
  background: var(--ws-soft); cursor: pointer; transition: border-color .15s, background .15s;
}
.ws-drop:hover, .ws-drop.is-over { border-color: var(--ws-brand); background: #fff7f7; }
.ws-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ws-drop__icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--ws-line); display: flex; align-items: center; justify-content: center; color: var(--ws-brand); overflow: hidden; }
.ws-drop__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-drop__icon img { width: 100%; height: 100%; object-fit: cover; }
.ws-drop__txt strong { display: block; font-size: 14px; color: var(--ws-ink); }
.ws-drop__txt span { font-size: 13px; color: var(--ws-muted); word-break: break-all; }
.ws-sugg__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 16px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--ws-brand), #d01c1c);
  box-shadow: 0 10px 20px -10px rgba(173, 1, 1, .8); transition: transform .12s, filter .15s, box-shadow .15s;
}
.ws-sugg__submit:hover { transform: translateY(-1px); filter: brightness(1.06); }
.ws-sugg__submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-sugg__submit[disabled] { opacity: .7; cursor: wait; transform: none; }
.ws-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; }
.ws-alert--ok { background: #ecfdf3; color: #065f46; border: 1px solid #a7f3d0; }
.ws-alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ws-sugg .parsley-errors-list { list-style: none; margin: 6px 0 0; padding: 0; color: #b91c1c; font-size: 13px; }
.ws-sugg .mb-20 { margin-bottom: 20px; }
@media (max-width: 991.98px) {
  .ws-sugg__wrap { grid-template-columns: 1fr; }
  .ws-sugg__intro { padding: 24px; }
  .ws-sugg__intro h1 { font-size: 24px; }
  .ws-sugg__card { padding: 20px; }
}
