/* Vilamas Indigo webshop · dark navy with cognac accent */
:root {
  --vi-bg: #0C1733;
  --vi-bg-deep: #081026;
  --vi-band: #0F1C3D;
  --vi-surface: #132650;
  --vi-line: rgba(243, 239, 231, 0.14);
  --vi-text: #F3EFE7;
  --vi-soft: #C9D0DD;
  --vi-muted: #AEB8CC;
  --vi-accent: #CDB084;
  --vi-accent-hover: #DCC39B;
  --vi-gold-line: rgba(205, 176, 132, 0.35);
  --vi-indigo: #1E3F69;
  --vi-ok: #5CC28A;
  --vi-err: #FF8A80;
  --vi-ivory: #F3EFE7;
  --vi-photo: #EEE8DD;
  --vi-dip1: #A9BCE2;
  --vi-dip2: #6683C2;
  --vi-dip3: #2F4C92;
  --vi-dip4: #172A5C;
  --vi-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --vi-sans: Inter, 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.bodywebsite { margin: 0; background: var(--vi-bg); color: var(--vi-text); font-family: var(--vi-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
html[lang="th"] body.bodywebsite { line-height: 1.7; }
.bodywebsite * { box-sizing: border-box; }
.bodywebsite a { color: var(--vi-text); text-decoration: none; }
.bodywebsite a:hover { color: var(--vi-accent); }
.bodywebsite img { max-width: 100%; height: auto; display: block; }
.bodywebsite :focus-visible { outline: 2px solid var(--vi-accent); outline-offset: 2px; }
.bodywebsite .vi-wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.bodywebsite .vi-narrow { max-width: 760px; }
.bodywebsite .vi-section { padding-top: 40px; padding-bottom: 72px; }
.bodywebsite .vi-muted { color: var(--vi-muted); }
.bodywebsite .vi-small { font-size: 13px; }
.bodywebsite .vi-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bodywebsite .vi-h1 { font-family: var(--vi-serif); font-weight: 500; font-size: 44px; line-height: 1.1; margin: 0 0 18px; }
.bodywebsite .vi-h2 { font-size: 18px; font-weight: 600; margin: 28px 0 12px; padding: 0; }
.bodywebsite .vi-eyebrow, .bodywebsite .vi-kicker { font-size: 15px; color: var(--vi-accent); font-weight: 500; margin: 0; }
.bodywebsite [hidden] { display: none !important; }
.bodywebsite .vi-textlink { color: var(--vi-accent); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
html[lang="th"] .bodywebsite .vi-h1, html[lang="th"] .bodywebsite .vi-display { font-family: 'Noto Sans Thai', var(--vi-serif); font-weight: 600; }

/* Buttons */
.bodywebsite .vi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 6px; border: 1px solid rgba(243,239,231,.4); background: transparent; color: var(--vi-text); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; text-align: center; }
.bodywebsite .vi-btn:hover { border-color: var(--vi-text); color: var(--vi-text); }
.bodywebsite .vi-btn-main { background: var(--vi-accent); border-color: var(--vi-accent); color: var(--vi-bg); font-weight: 600; }
.bodywebsite .vi-btn-main:hover { background: var(--vi-accent-hover); border-color: var(--vi-accent-hover); color: var(--vi-bg); }
.bodywebsite .vi-btn:disabled { opacity: .45; cursor: not-allowed; }
.bodywebsite .vi-linkbtn { background: none; border: 0; padding: 10px 0; color: var(--vi-muted); font: inherit; font-size: 14px; cursor: pointer; }
.bodywebsite .vi-linkbtn:hover { color: var(--vi-text); }

/* Header */
.bodywebsite .vi-topline { background: var(--vi-bg-deep); color: var(--vi-muted); font-size: 13px; letter-spacing: .03em; text-align: center; padding: 8px 16px; }
.bodywebsite .vi-header { border-bottom: 1px solid var(--vi-line); background: var(--vi-bg); position: sticky; top: 0; z-index: 20; }
.bodywebsite .vi-header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.bodywebsite .vi-brand { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.bodywebsite .vi-brand-name { font-family: var(--vi-serif); font-size: 28px; font-weight: 600; letter-spacing: .14em; color: var(--vi-text); }
.bodywebsite .vi-brand-name.vi-small { font-size: 22px; }
.bodywebsite .vi-brand-sub { font-size: 10px; letter-spacing: .22em; color: var(--vi-muted); }
.bodywebsite .vi-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; flex: 1 1 360px; }
.bodywebsite .vi-nav a { padding: 6px 0; }
.bodywebsite .vi-nav a.vi-active { color: var(--vi-accent); }
.bodywebsite .vi-tools { display: flex; align-items: center; gap: 8px; }
.bodywebsite .vi-lang { display: flex; border: 1px solid rgba(243,239,231,.25); border-radius: 999px; overflow: hidden; font-size: 13px; }
.bodywebsite .vi-lang a { padding: 7px 12px; min-width: 44px; text-align: center; }
.bodywebsite .vi-lang a.vi-on { background: var(--vi-ivory); color: var(--vi-bg); font-weight: 600; }
.bodywebsite .vi-lang a[lang="th"] { font-family: 'Noto Sans Thai', sans-serif; }
.bodywebsite .vi-cartlink { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.bodywebsite .vi-badge { position: absolute; top: 3px; right: 0; background: var(--vi-accent); color: var(--vi-bg); font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; }
.bodywebsite .vi-menu-toggle, .bodywebsite .vi-menu-btn { display: none; }

/* Hero, bands */
/* Hero: the woven fabric, fading into the vat (navy) like cloth lifted from the dye */
.bodywebsite .vi-hero { position: relative; overflow: hidden; isolation: isolate; }
.bodywebsite .vi-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bodywebsite .vi-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12,23,51,.96) 0%, rgba(12,23,51,.88) 38%, rgba(12,23,51,.35) 70%, rgba(12,23,51,.55) 100%), linear-gradient(180deg, rgba(12,23,51,0) 55%, var(--vi-bg) 100%); }
.bodywebsite .vi-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 88px; padding-bottom: 112px; }
.bodywebsite .vi-hero-txt { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.bodywebsite .vi-display { font-family: var(--vi-serif); font-weight: 500; font-size: 60px; line-height: 1.05; margin: 0; }
.bodywebsite .vi-hero-title { font-size: clamp(48px, 7vw, 96px); line-height: .98; letter-spacing: -.01em; }
.bodywebsite .vi-lead { font-size: 18px; color: var(--vi-soft); max-width: 520px; margin: 0; }
.bodywebsite .vi-hero-img { flex: 0 1 420px; min-width: 0; background: var(--vi-photo); border-radius: 4px 4px 180px 180px; padding: 40px 32px 64px; display: flex; justify-content: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.bodywebsite .vi-btn-glass { background: rgba(12,23,51,.45); backdrop-filter: blur(4px); }
.bodywebsite .vi-btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.bodywebsite .vi-band { background: var(--vi-band); border-top: 1px solid var(--vi-line); border-bottom: 1px solid var(--vi-line); }
.bodywebsite .vi-values-strip { border-bottom: 1px solid var(--vi-line); }
.bodywebsite .vi-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; padding-top: 8px; padding-bottom: 36px; }
.bodywebsite .vi-value { display: flex; gap: 14px; align-items: flex-start; }
.bodywebsite .vi-value svg { color: var(--vi-accent); flex: none; }
.bodywebsite .vi-value b { display: block; font-size: 16px; }
.bodywebsite .vi-value span { color: var(--vi-muted); font-size: 14px; }
.bodywebsite .vi-headrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.bodywebsite .vi-headrow .vi-h1 { margin: 0; }
.bodywebsite .vi-story { background: var(--vi-ivory); color: var(--vi-bg); }
.bodywebsite .vi-story a { color: var(--vi-bg); }
.bodywebsite .vi-story-in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.bodywebsite .vi-story-img { flex: 1 1 440px; min-width: 0; border-radius: 14px; overflow: hidden; background: #1F3263; min-height: 280px; }
.bodywebsite .vi-story-txt { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bodywebsite .vi-story-txt p { color: #33405E; font-size: 17px; margin: 0; }
.bodywebsite .vi-story .vi-eyebrow { color: #8B6F47; }
.bodywebsite .vi-story-link { align-self: flex-start; border-bottom: 2px solid #8B6F47; padding-bottom: 2px; font-weight: 600; }

/* Product grid */
.bodywebsite .vi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.bodywebsite .vi-card { display: flex; flex-direction: column; gap: 8px; }
.bodywebsite .vi-card-img { position: relative; background: var(--vi-photo); border-radius: 4px; aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 22px; overflow: hidden; }
.bodywebsite .vi-card-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--vi-dip1), var(--vi-dip2), var(--vi-dip3), var(--vi-dip4)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.bodywebsite .vi-card:hover .vi-card-img::after, .bodywebsite .vi-card:focus-visible .vi-card-img::after { transform: scaleX(1); }
.bodywebsite .vi-card-img img { grid-area: 1 / 1; max-height: 100%; object-fit: contain; transition: opacity .3s ease; }
.bodywebsite .vi-card-img .vi-img2 { opacity: 0; }
.bodywebsite .vi-card:hover .vi-has2 img:first-child { opacity: 0; }
.bodywebsite .vi-card:hover .vi-has2 .vi-img2 { opacity: 1; }
.bodywebsite .vi-card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.bodywebsite .vi-card-name { font-family: var(--vi-serif); font-size: 22px; line-height: 1.15; }
html[lang="th"] .bodywebsite .vi-card-name { font-family: var(--vi-sans); font-size: 17px; }
.bodywebsite .vi-card-sub { font-size: 13px; color: var(--vi-muted); }
.bodywebsite .vi-card-price { font-weight: 600; white-space: nowrap; }
.bodywebsite .vi-card-price small { font-weight: 400; color: var(--vi-muted); font-size: 12px; }
.bodywebsite .vi-card:hover .vi-card-name { color: var(--vi-accent); }

/* Product photos are shot on white: blend them into the cotton-coloured panels */
.bodywebsite .vi-card-img img, .bodywebsite .vi-tile-img img, .bodywebsite .vi-hero-img img, .bodywebsite .vi-photo img, .bodywebsite .vi-thumb img, .bodywebsite .vi-line-img img { mix-blend-mode: multiply; }

/* Collections */
.bodywebsite .vi-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.bodywebsite .vi-tile { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; }
.bodywebsite .vi-tile-img { grid-column: 1 / -1; background: var(--vi-photo); border-radius: 4px; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 24px; overflow: hidden; margin-bottom: 10px; }
.bodywebsite .vi-tile-img img { width: 100%; height: 100%; object-fit: contain; }
.bodywebsite .vi-tile-name { font-family: var(--vi-serif); font-size: 30px; line-height: 1.1; }
html[lang="th"] .bodywebsite .vi-tile-name { font-family: var(--vi-sans); font-size: 22px; font-weight: 600; }
.bodywebsite .vi-tile-count { color: var(--vi-muted); font-size: 14px; }
.bodywebsite .vi-tile:hover .vi-tile-name { color: var(--vi-accent); }
.bodywebsite .vi-tiles-sec { padding-bottom: 24px; }

/* Shop banner */
.bodywebsite .vi-banner { background: linear-gradient(180deg, var(--vi-dip4), var(--vi-bg)); border-bottom: 1px solid var(--vi-line); }
.bodywebsite .vi-banner-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; align-items: end; padding-top: 56px; padding-bottom: 40px; }
.bodywebsite .vi-banner p { margin: 0; color: var(--vi-soft); max-width: 560px; grid-column: 1; }
.bodywebsite .vi-banner-count { grid-column: 2; grid-row: 1 / span 2; align-self: end; color: var(--vi-muted); font-size: 14px; }

/* Craft: four dips, each swatch darker */
.bodywebsite .vi-craft { background: var(--vi-ivory); color: var(--vi-bg); }
.bodywebsite .vi-craft-in { padding-top: 80px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.bodywebsite .vi-craft-title { max-width: 640px; font-size: clamp(36px, 4.5vw, 56px); }
.bodywebsite .vi-dips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; }
.bodywebsite .vi-dip { display: flex; flex-direction: column; gap: 8px; padding-right: 24px; }
.bodywebsite .vi-swatch { display: block; height: 120px; margin-bottom: 12px; }
.bodywebsite .vi-dip1 .vi-swatch { background: var(--vi-dip1); border-radius: 4px 0 0 4px; }
.bodywebsite .vi-dip2 .vi-swatch { background: var(--vi-dip2); }
.bodywebsite .vi-dip3 .vi-swatch { background: var(--vi-dip3); }
.bodywebsite .vi-dip4 .vi-swatch { background: var(--vi-dip4); border-radius: 0 4px 4px 0; }
.bodywebsite .vi-dip .vi-swatch { margin-right: -24px; }
.bodywebsite .vi-dip-n { font-family: var(--vi-serif); font-size: 34px; line-height: 1; color: #8B6F47; }
.bodywebsite .vi-dip b { font-size: 17px; }
.bodywebsite .vi-dip > span:last-child { color: #33405E; font-size: 15px; }
.bodywebsite .vi-craft .vi-story-link { color: var(--vi-bg); }
.bodywebsite .vi-rates { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 32px; margin: 8px 0 12px; }
.bodywebsite .vi-ratetable { border-collapse: collapse; min-width: 220px; font-size: 15px; }
.bodywebsite .vi-ratetable caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.bodywebsite .vi-ratetable td { padding: 7px 0; border-bottom: 1px solid var(--vi-line); color: var(--vi-soft); }
.bodywebsite .vi-ratetable td + td { text-align: right; color: var(--vi-text); font-weight: 600; }
.bodywebsite .vi-freehint { background: rgba(205,176,132,.12); color: var(--vi-accent); border-radius: 6px; padding: 8px 10px; font-size: 13px; }
.bodywebsite .vi-shipprice { font-weight: 600; }
.bodywebsite .vi-noimg { color: #6B7489; font-size: 14px; }
.bodywebsite .vi-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.bodywebsite .vi-chips a { border: 1px solid rgba(243,239,231,.3); border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.bodywebsite .vi-chips a.vi-on { background: var(--vi-ivory); color: var(--vi-bg); border-color: var(--vi-ivory); font-weight: 600; }

/* Product page */
.bodywebsite .vi-crumbs { font-size: 13px; color: var(--vi-muted); margin-bottom: 22px; }
.bodywebsite .vi-crumbs a { color: var(--vi-muted); }
.bodywebsite .vi-product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.bodywebsite .vi-gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bodywebsite .vi-photo { background: var(--vi-photo); border-radius: 4px; padding: 36px; aspect-ratio: 5 / 4; display: grid; place-items: center; }
.bodywebsite .vi-photo img { max-height: 100%; object-fit: contain; }
.bodywebsite .vi-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; }
.bodywebsite .vi-thumb { background: var(--vi-photo); border: 2px solid transparent; border-radius: 8px; padding: 6px; aspect-ratio: 1 / 1; cursor: pointer; display: grid; place-items: center; }
.bodywebsite .vi-thumb.vi-on { border-color: var(--vi-accent); }
.bodywebsite .vi-details { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bodywebsite .vi-details .vi-h1 { margin: 0; }
.bodywebsite .vi-sub { color: var(--vi-muted); font-size: 15px; margin-top: -8px; }
.bodywebsite .vi-price { font-size: 28px; font-weight: 600; }
.bodywebsite .vi-price .vi-muted { font-size: 13px; font-weight: 400; }
.bodywebsite .vi-buy { display: flex; flex-direction: column; gap: 18px; }
.bodywebsite .vi-attr { border: 0; margin: 0; padding: 0; }
.bodywebsite .vi-attr legend { font-size: 13px; letter-spacing: .06em; color: var(--vi-muted); margin-bottom: 10px; padding: 0; }
.bodywebsite .vi-attr-val { color: var(--vi-text); }
.bodywebsite .vi-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.bodywebsite .vi-opt { min-height: 44px; padding: 10px 16px; border-radius: 6px; border: 1px solid rgba(243,239,231,.35); background: transparent; color: var(--vi-text); font: inherit; font-size: 14px; cursor: pointer; }
.bodywebsite .vi-opt.vi-on { background: var(--vi-ivory); color: var(--vi-bg); border-color: var(--vi-ivory); font-weight: 600; }
.bodywebsite .vi-stock { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 0; }
.bodywebsite .vi-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--vi-accent); }
.bodywebsite .vi-instock .vi-dot { background: var(--vi-ok); }
.bodywebsite .vi-buyrow { display: flex; flex-wrap: wrap; gap: 12px; }
.bodywebsite .vi-buyrow .vi-btn-main { flex: 1 1 220px; }
.bodywebsite .vi-qty input { width: 84px; min-height: 48px; text-align: center; background: var(--vi-surface); color: var(--vi-text); border: 1px solid rgba(243,239,231,.3); border-radius: 6px; font: inherit; font-size: 16px; }
.bodywebsite .vi-acc { border-top: 1px solid var(--vi-line); }
.bodywebsite .vi-acc details { border-bottom: 1px solid var(--vi-line); padding: 14px 0; }
.bodywebsite .vi-acc summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.bodywebsite .vi-acc p { color: var(--vi-soft); font-size: 15px; margin: 12px 0 0; }
.bodywebsite .vi-specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 12px 0 0; font-size: 14px; color: var(--vi-soft); }
.bodywebsite .vi-specs dd { margin: 0; }

/* Cart and checkout */
.bodywebsite .vi-steps { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.bodywebsite .vi-steps li { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(243,239,231,.2); color: var(--vi-muted); }
.bodywebsite .vi-steps li.vi-on { background: var(--vi-ivory); color: var(--vi-bg); border-color: var(--vi-ivory); font-weight: 600; }
.bodywebsite .vi-steps li.vi-done { background: var(--vi-surface); color: var(--vi-text); border-color: var(--vi-surface); }
.bodywebsite .vi-checkout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.bodywebsite .vi-main { flex: 999 1 560px; min-width: 0; }
.bodywebsite .vi-summary { flex: 1 1 300px; min-width: 0; background: var(--vi-surface); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; position: sticky; top: 96px; }
.bodywebsite .vi-summary h2 { margin: 0 0 4px; font-size: 17px; }
.bodywebsite .vi-sumrow { display: flex; justify-content: space-between; gap: 12px; }
.bodywebsite .vi-sumtotal { border-top: 1px solid var(--vi-line); padding-top: 12px; font-size: 18px; font-weight: 600; }
.bodywebsite .vi-sumnote { border-top: 1px solid var(--vi-line); padding-top: 12px; }
.bodywebsite .vi-cart { border-top: 1px solid var(--vi-line); }
.bodywebsite .vi-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 0; border-bottom: 1px solid var(--vi-line); }
.bodywebsite .vi-line-img { width: 92px; background: var(--vi-photo); border-radius: 8px; padding: 8px; flex: none; }
.bodywebsite .vi-line-txt { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bodywebsite .vi-line-name { font-weight: 600; }
.bodywebsite .vi-line-total { font-weight: 600; min-width: 90px; text-align: right; }
.bodywebsite .vi-warn { color: var(--vi-accent); }
.bodywebsite .vi-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.bodywebsite .vi-actions-right { display: flex; flex-wrap: wrap; gap: 10px; }
.bodywebsite .vi-notice { background: var(--vi-surface); border-radius: 8px; padding: 12px 16px; font-size: 14px; }
.bodywebsite .vi-notice-err { border-left: 3px solid var(--vi-err); }
.bodywebsite .vi-form .vi-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.bodywebsite .vi-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--vi-muted); }
.bodywebsite .vi-field.vi-wide { grid-column: 1 / -1; }
.bodywebsite .vi-field input, .bodywebsite .vi-field select, .bodywebsite .vi-field textarea { background: var(--vi-surface); border: 1px solid rgba(243,239,231,.22); border-radius: 6px; color: var(--vi-text); padding: 12px 14px; font: inherit; font-size: 16px; min-height: 48px; height: 48px; width: 100%; }
.bodywebsite .vi-field textarea { height: auto; }
.bodywebsite .vi-field [aria-invalid="true"] { border-color: var(--vi-err); }
.bodywebsite .vi-error { color: var(--vi-err); font-size: 13px; }
.bodywebsite .vi-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 18px 0 6px; cursor: pointer; }
.bodywebsite .vi-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--vi-accent); }
.bodywebsite .vi-check a { color: var(--vi-accent); }
.bodywebsite .vi-taxfields { margin-top: 12px; margin-bottom: 8px; }
.bodywebsite .vi-form fieldset.vi-choices { margin: 24px 0 0; }
.bodywebsite .vi-form fieldset.vi-choices legend.vi-h2 { margin: 0 0 12px; }
.bodywebsite .vi-form .vi-field textarea { min-height: 96px; }
.bodywebsite .vi-form .vi-wide { margin-top: 16px; }
.bodywebsite .vi-ordertable table { max-width: none !important; }
.bodywebsite .vi-taxfields[hidden] { display: none; }
.bodywebsite .vi-choices { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bodywebsite .vi-choice { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 8px; border: 1px solid rgba(243,239,231,.22); cursor: pointer; }
.bodywebsite .vi-choice:has(input:checked) { border-color: var(--vi-accent); background: var(--vi-surface); }
.bodywebsite .vi-choice input { width: 20px; height: 20px; accent-color: var(--vi-accent); margin: 0; }
.bodywebsite .vi-choice-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.bodywebsite .vi-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bodywebsite .vi-okmark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--vi-surface); color: var(--vi-ok); margin-bottom: 14px; }
.bodywebsite .vi-bank { background: var(--vi-surface); border-radius: 10px; padding: 14px 18px; margin: 12px 0 20px; }
.bodywebsite .vi-bank td, .bodywebsite .vi-ordertable td { color: var(--vi-text) !important; }
.bodywebsite .vi-ordertable { margin: 20px 0 28px; }
.bodywebsite .vi-ordertable table { width: 100%; }
.bodywebsite .vi-ordertable td { border-color: var(--vi-line) !important; }

/* Text pages */
.bodywebsite .vi-text { max-width: 780px; }
.bodywebsite .vi-text h2 { font-size: 20px; margin: 32px 0 10px; }
.bodywebsite .vi-text p, .bodywebsite .vi-text li { color: var(--vi-soft); }
.bodywebsite .vi-text a { color: var(--vi-accent); }
.bodywebsite .vi-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.bodywebsite .vi-contact-box { background: var(--vi-surface); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }

/* Footer */
.bodywebsite .vi-footer { background: var(--vi-bg-deep); color: var(--vi-muted); font-size: 14px; margin-top: 0; }
.bodywebsite .vi-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; padding-top: 52px; padding-bottom: 28px; }
.bodywebsite .vi-col { display: flex; flex-direction: column; gap: 9px; }
.bodywebsite .vi-col a { color: var(--vi-muted); }
.bodywebsite .vi-col a:hover { color: var(--vi-text); }
.bodywebsite .vi-col-title { color: var(--vi-text); font-weight: 600; }
.bodywebsite .vi-footer-bottom { border-top: 1px solid var(--vi-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 30px; }

/* Header on wide screens: brand and tools on top, menu centred below */
@media (min-width: 761px) {
  .bodywebsite .vi-header-in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand tools" "nav nav"; gap: 10px 24px; padding-bottom: 0; }
  .bodywebsite .vi-header-in .vi-brand { grid-area: brand; }
  .bodywebsite .vi-header-in .vi-tools { grid-area: tools; }
  .bodywebsite .vi-header-in .vi-nav { grid-area: nav; justify-content: center; gap: 4px 34px; border-top: 1px solid var(--vi-gold-line); padding: 4px 0; font-size: 14px; letter-spacing: .05em; }
  .bodywebsite .vi-header-in .vi-nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
  .bodywebsite .vi-header-in .vi-nav a.vi-active, .bodywebsite .vi-header-in .vi-nav a:hover { color: var(--vi-accent); border-bottom-color: var(--vi-accent); }
}

/* Brand band on product pages: five points */
.bodywebsite .vi-band5 { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--vi-gold-line); }
.bodywebsite .vi-band5-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bodywebsite .vi-band5::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,23,51,.95), rgba(12,23,51,.86) 50%, rgba(30,63,105,.7)); }
.bodywebsite .vi-band5-in { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: 24px 40px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.bodywebsite .vi-band5-brand { display: flex; flex-direction: column; gap: 6px; }
.bodywebsite .vi-band5-name { font-family: var(--vi-serif); font-size: 32px; line-height: 1; letter-spacing: .02em; }
.bodywebsite .vi-band5-line { font-size: 13px; color: var(--vi-soft); }
.bodywebsite .vi-band5-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.bodywebsite .vi-band5-list li { display: flex; gap: 10px; align-items: flex-start; padding-left: 16px; border-left: 1px solid var(--vi-gold-line); }
.bodywebsite .vi-band5-list svg { color: var(--vi-accent); flex: none; }
.bodywebsite .vi-band5-list b { display: block; font-size: 14px; font-weight: 600; }
.bodywebsite .vi-band5-list li > span > span { font-size: 12px; color: var(--vi-muted); line-height: 1.4; }
@media (max-width: 1100px) {
  .bodywebsite .vi-band5-in { grid-template-columns: 1fr; }
  .bodywebsite .vi-band5-list { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
}

/* Moving images: home slideshow, product photo */
.bodywebsite .vi-slides { position: relative; overflow: hidden; aspect-ratio: 4 / 5; padding: 0; display: block; }
.bodywebsite .vi-slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px 32px 64px; opacity: 0; transition: opacity 1.4s ease; }
.bodywebsite .vi-slide.vi-on { opacity: 1; z-index: 1; }
.bodywebsite .vi-slide img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(1); transition: transform 6s ease-out; }
.bodywebsite .vi-slide.vi-on img { transform: scale(1.07); }
.bodywebsite .vi-sdots { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.bodywebsite .vi-sdot { width: 22px; height: 3px; border: 0; padding: 0; background: rgba(12,23,51,.25); cursor: pointer; }
.bodywebsite .vi-sdot.vi-on { background: var(--vi-bg); }
.bodywebsite .vi-zoom { overflow: hidden; cursor: zoom-in; }
.bodywebsite .vi-zoom img { transition: transform .35s ease, opacity .25s ease; animation: vi-rise .9s ease both; }
.bodywebsite .vi-zoom.vi-zoomed img { transform: scale(1.9); }
.bodywebsite .vi-zoom img.vi-fade { opacity: 0; }
@keyframes vi-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.bodywebsite .vi-card .vi-card-img img:first-child { transition: transform .6s ease, opacity .3s ease; }
.bodywebsite .vi-card:hover .vi-card-img img:first-child { transform: scale(1.04); }

.bodywebsite .vi-alt { display: block; font-size: 12px; font-weight: 400; color: var(--vi-muted); letter-spacing: 0; }
.bodywebsite .vi-alt-line { display: block; font-size: 13px; font-weight: 400; color: var(--vi-muted); margin-top: 4px; }
.bodywebsite .vi-alt-total { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--vi-muted); background: rgba(205,176,132,.08); border-radius: 4px; padding: 8px 10px; }
.bodywebsite .vi-alt-total span:first-child { color: var(--vi-accent); font-size: 15px; font-weight: 600; }
.bodywebsite .vi-cur a { min-width: 46px; font-size: 12px; }

/* Shop page: hero, toolbar, sidebar */
.bodywebsite .vi-shophero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--vi-gold-line); }
.bodywebsite .vi-shophero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bodywebsite .vi-shophero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,23,51,.94) 0%, rgba(12,23,51,.78) 45%, rgba(30,63,105,.35) 100%); }
.bodywebsite .vi-shophero-in { padding-top: 84px; padding-bottom: 76px; display: flex; flex-direction: column; gap: 16px; }
.bodywebsite .vi-shophero-title { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; max-width: 760px; }
.bodywebsite .vi-shophero-sub { margin: 0; max-width: 520px; color: var(--vi-soft); font-size: 17px; }
.bodywebsite .vi-shophero-meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--vi-accent); font-size: 14px; letter-spacing: .04em; }
.bodywebsite .vi-diamond { width: 6px; height: 6px; background: var(--vi-accent); transform: rotate(45deg); opacity: .7; }
.bodywebsite .vi-shoplayout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 36px; padding-bottom: 80px; align-items: start; }
.bodywebsite .vi-shoplayout .vi-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 24px; }
.bodywebsite .vi-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--vi-line); }
.bodywebsite .vi-toolbar .vi-chips { margin: 0; }
.bodywebsite .vi-sort { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.bodywebsite .vi-sort a { color: var(--vi-muted); padding: 4px 0; border-bottom: 1px solid transparent; }
.bodywebsite .vi-sort a.vi-on, .bodywebsite .vi-sort a:hover { color: var(--vi-accent); border-bottom-color: var(--vi-accent); }

/* Cards (luxury) */
.bodywebsite .vi-card { gap: 0; }
.bodywebsite .vi-card .vi-card-img { border-radius: 2px; outline: 1px solid transparent; outline-offset: 6px; transition: outline-color .3s ease; }
.bodywebsite .vi-card:hover .vi-card-img, .bodywebsite .vi-card:focus-visible .vi-card-img { outline-color: var(--vi-gold-line); }
.bodywebsite .vi-card-badge { position: absolute; top: 12px; left: 12px; background: rgba(12,23,51,.86); color: var(--vi-accent); font-size: 11px; letter-spacing: .06em; padding: 5px 10px; border-radius: 2px; z-index: 1; }
.bodywebsite .vi-card-body { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.bodywebsite .vi-card-body .vi-card-name { font-size: 21px; line-height: 1.2; }
.bodywebsite .vi-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--vi-line); }
.bodywebsite .vi-card-foot .vi-card-price { color: var(--vi-accent); font-size: 16px; letter-spacing: .02em; }
.bodywebsite .vi-card-view { font-size: 13px; color: var(--vi-muted); letter-spacing: .04em; }
.bodywebsite .vi-card:hover .vi-card-view { color: var(--vi-text); }
.bodywebsite .vi-card:hover .vi-card-name { color: var(--vi-text); }

/* Sidebar */
.bodywebsite .vi-side { display: flex; flex-direction: column; gap: 20px; }
.bodywebsite .vi-side-card { background: linear-gradient(180deg, rgba(30,63,105,.42), rgba(19,38,80,.55)); border: 1px solid var(--vi-gold-line); border-radius: 4px; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.bodywebsite .vi-side-head { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--vi-serif); font-size: 22px; font-weight: 500; color: var(--vi-text); padding-bottom: 12px; border-bottom: 1px solid var(--vi-line); }
html[lang="th"] .bodywebsite .vi-side-head { font-family: var(--vi-sans); font-size: 17px; font-weight: 600; }
.bodywebsite .vi-side-head svg { color: var(--vi-accent); flex: none; }
.bodywebsite .vi-side-place, .bodywebsite .vi-side-small { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 13px; color: var(--vi-muted); }
.bodywebsite .vi-side-place svg, .bodywebsite .vi-side-small svg { color: var(--vi-accent); flex: none; margin-top: 2px; }
.bodywebsite .vi-side-text { margin: 0; font-size: 14px; color: var(--vi-soft); line-height: 1.6; }
.bodywebsite .vi-side-label { margin: 4px 0 0; font-size: 12px; color: var(--vi-muted); letter-spacing: .06em; }
.bodywebsite .vi-wnow { display: flex; align-items: center; gap: 16px; }
.bodywebsite .vi-wnow > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.bodywebsite .vi-wtemp { font-family: var(--vi-serif); font-size: 52px; line-height: 1; color: var(--vi-accent); }
.bodywebsite .vi-wstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.bodywebsite .vi-wstats span { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--vi-muted); background: rgba(12,23,51,.45); border-radius: 3px; padding: 8px 10px; }
.bodywebsite .vi-wstats b { color: var(--vi-text); font-size: 14px; }
.bodywebsite .vi-whours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.bodywebsite .vi-wh { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--vi-muted); border: 1px solid var(--vi-line); border-radius: 3px; padding: 6px 4px; }
.bodywebsite .vi-wh b { color: var(--vi-text); font-size: 15px; }
.bodywebsite .vi-video { position: relative; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: #000; }
.bodywebsite .vi-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bodywebsite .vi-gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bodywebsite .vi-g3 { padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; }
.bodywebsite .vi-g3 img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bodywebsite .vi-g3:hover img { transform: scale(1.06); }
.bodywebsite .vi-lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; }
.bodywebsite .vi-lightbox::backdrop { background: rgba(6,12,28,.88); }
.bodywebsite .vi-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.bodywebsite .vi-lightbox-close { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(12,23,51,.8); color: #fff; font-size: 24px; cursor: pointer; }
.bodywebsite .vi-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bodywebsite .vi-news li + li { border-top: 1px solid var(--vi-line); }
.bodywebsite .vi-news a { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; }
.bodywebsite .vi-news-date { font-size: 11px; color: var(--vi-accent); letter-spacing: .06em; }
.bodywebsite .vi-news-title { font-weight: 600; font-size: 15px; }
.bodywebsite .vi-news-text { font-size: 13px; color: var(--vi-muted); }

/* Product page extras */
.bodywebsite .vi-ref { font-size: 12px; color: var(--vi-muted); letter-spacing: .06em; margin-top: -10px; }
.bodywebsite .vi-price { color: var(--vi-accent); }
.bodywebsite .vi-stepper { display: inline-flex; align-items: stretch; border: 1px solid rgba(243,239,231,.3); border-radius: 6px; overflow: hidden; }
.bodywebsite .vi-stepper .vi-qty input { border: 0; border-radius: 0; width: 56px; -moz-appearance: textfield; }
.bodywebsite .vi-stepper .vi-qty input::-webkit-inner-spin-button, .bodywebsite .vi-stepper .vi-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bodywebsite .vi-step { width: 44px; background: var(--vi-surface); color: var(--vi-text); border: 0; font-size: 20px; cursor: pointer; }
.bodywebsite .vi-step:hover { color: var(--vi-accent); }
.bodywebsite .vi-trust { list-style: none; margin: 4px 0 0; padding: 14px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; border-top: 1px solid var(--vi-line); border-bottom: 1px solid var(--vi-line); }
.bodywebsite .vi-trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--vi-soft); }
.bodywebsite .vi-trust svg { color: var(--vi-accent); flex: none; }
.bodywebsite .vi-related { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--vi-gold-line); }
.bodywebsite .vi-related .vi-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.bodywebsite .vi-powered { color: var(--vi-muted); font-size: 12px; }
.bodywebsite .vi-powered a { color: var(--vi-accent); }
.bodywebsite .vi-brand-logo { height: 48px; width: auto; }

@media (max-width: 1080px) {
  .bodywebsite .vi-shoplayout { grid-template-columns: 1fr; }
  .bodywebsite .vi-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
/* Phones */
@media (prefers-reduced-motion: reduce) {
  .bodywebsite * { transition: none !important; }
}
@media (max-width: 760px) {
  .bodywebsite .vi-display { font-size: 42px; }
  .bodywebsite .vi-h1 { font-size: 34px; }
  .bodywebsite .vi-hero-in { padding-top: 40px; padding-bottom: 64px; gap: 32px; }
  .bodywebsite .vi-hero::after { background: linear-gradient(180deg, rgba(12,23,51,.9) 0%, rgba(12,23,51,.82) 60%, var(--vi-bg) 100%); }
  .bodywebsite .vi-hero-img { flex-basis: 100%; border-radius: 4px 4px 140px 140px; }
  .bodywebsite .vi-banner-in { grid-template-columns: 1fr; padding-top: 36px; }
  .bodywebsite .vi-banner-count { grid-column: 1; grid-row: auto; }
  .bodywebsite .vi-dip { padding-right: 0; padding-bottom: 20px; }
  .bodywebsite .vi-dip .vi-swatch { margin-right: 0; height: 56px; border-radius: 4px; }
  .bodywebsite .vi-craft-in { padding-top: 56px; padding-bottom: 56px; }
  .bodywebsite .vi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .bodywebsite .vi-card-img { padding: 12px; }
  .bodywebsite .vi-card-row { flex-direction: column; gap: 2px; }
  .bodywebsite .vi-card-name { font-size: 18px; }
  .bodywebsite .vi-dips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .bodywebsite .vi-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bodywebsite .vi-tile { grid-template-columns: 1fr; }
  .bodywebsite .vi-tile-name { font-size: 22px; }
  .bodywebsite .vi-tile-img { aspect-ratio: 1 / 1; padding: 10px; }
  .bodywebsite .vi-shophero-in { padding-top: 48px; padding-bottom: 44px; }
  .bodywebsite .vi-shophero::after { background: linear-gradient(180deg, rgba(12,23,51,.9), rgba(12,23,51,.8)); }
  .bodywebsite .vi-shoplayout .vi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .bodywebsite .vi-card-body .vi-card-name { font-size: 17px; }
  .bodywebsite .vi-card-view { display: none; }
  .bodywebsite .vi-trust { grid-template-columns: 1fr; }
  .bodywebsite .vi-brand-name { font-size: 22px; }
  .bodywebsite .vi-menu-btn { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; order: 3; margin-left: auto; }
  .bodywebsite .vi-tools { order: 2; margin-left: auto; }
  .bodywebsite .vi-nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; gap: 0; }
  .bodywebsite .vi-nav a { padding: 12px 0; border-top: 1px solid var(--vi-line); }
  .bodywebsite .vi-menu-toggle:checked ~ .vi-nav { display: flex; }
  .bodywebsite .vi-header-in { gap: 8px 12px; }
  .bodywebsite .vi-summary { position: static; }
  .bodywebsite .vi-line-total { min-width: 0; }
}
