/* ==========================================================================
   TS Electrical Trading — shared styles
   Brand device: the TS logo's double red outline, reused as the frame for
   the hero, the contact form and closing banners.
   ========================================================================== */

:root {
  --red: #D30101;           /* logo red */
  --red-dark: #A30000;      /* red text and hover */
  --ink: #20262C;           /* headings, dark surfaces */
  --ink-2: #39424B;
  --text: #2E363E;          /* body copy */
  --muted: #5B6670;         /* secondary copy */
  --panel: #F2F4F6;         /* section and media backgrounds */
  --line: #DCE1E6;          /* hairlines */
  --white: #FFFFFF;
  --wa: #11833F;            /* WhatsApp action (white text passes AA) */
  --wa-dark: #0B6A32;

  --font: 'Archivo', 'Arial Narrow', Arial, sans-serif;

  --radius-frame: 22px;
  --frame-line: 2px;
  --frame-gap: 5px;
  --radius-card: 12px;
  --radius-sm: 8px;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 80px;
  --admin-offset: 0px;      /* WordPress toolbar height when logged in (set in functions.php) */
  --shadow-card: 0 1px 2px rgba(32, 38, 44, .06), 0 8px 24px rgba(32, 38, 44, .06);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--admin-offset) + 16px); }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, textarea, select { font: inherit; color: inherit; }

a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 2000;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }

.site-main:focus { outline: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 11px 22px;
  border: 2px solid transparent; border-radius: 8px;
  font-family: var(--font); font-size: 16px; font-weight: 700; font-stretch: 105%;
  line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn .fab { font-size: 1.2em; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 6px; }
.btn-lg { min-height: 54px; padding: 13px 28px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-ink-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ink-line:hover { background: var(--ink); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-dark); color: #fff; }

/* --------------------------------------------------------------------------
   The TS frame — double outline from the logo
   -------------------------------------------------------------------------- */
.ts-frame {
  border: var(--frame-line) solid var(--red);
  border-radius: var(--radius-frame);
  padding: var(--frame-gap);
  background: #fff;
}
.ts-frame-inner {
  border: var(--frame-line) solid var(--red);
  /* Concentric with the outer line: outer radius minus the gap and line width */
  border-radius: calc(var(--radius-frame) - var(--frame-gap) - var(--frame-line));
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(32, 38, 44, .08); }
.site-header { transition: box-shadow .2s ease, transform .3s cubic-bezier(.3, .7, .2, 1); }
.site-header.is-tucked { transform: translateY(calc(-100% - var(--admin-offset) - 2px)); box-shadow: none; }

.header-bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand,
.brand:hover,
.brand:active { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; background: none; }
.brand:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.brand-mark { width: auto; height: 50px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-weight: 800; font-stretch: 112%; font-size: 21px; letter-spacing: .01em; text-transform: uppercase;
}
.brand-sub {
  margin-top: 6px;
  font-weight: 800; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--red);
}

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: block; padding: 10px 14px;
  font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none;
  border-radius: 6px;
}
.nav-link:hover { background: var(--panel); color: var(--ink); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav-link[aria-current="page"]:hover { background: transparent; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-phone .fas { color: var(--red); font-size: 14px; }
.header-phone:hover { color: var(--red-dark); }
.header-cta[aria-current="page"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red); }

.menu-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }

/* Drawer (mobile menu) */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
  display: flex; flex-direction: column;
  width: min(360px, 88vw); overflow-y: auto;
  background: #fff;
  transform: translateX(100%); visibility: hidden;
  transition: transform .26s ease, visibility 0s linear .26s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .26s ease; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.drawer-head .brand-mark { height: 42px; }
.drawer-head .brand-name { font-size: 18px; }
.drawer-close {
  width: 44px; height: 44px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: 18px; cursor: pointer;
}
.drawer-list { padding: 12px; }
.drawer-list a {
  display: block; padding: 14px 14px; border-radius: 8px;
  font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none;
}
.drawer-list a:hover { background: var(--panel); }
.drawer-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); border-radius: 0 8px 8px 0; background: var(--panel); }
.drawer-foot { display: grid; gap: 10px; margin-top: auto; padding: 18px; border-top: 1px solid var(--line); }
.drawer-address { margin-top: 4px; font-size: 14px; color: var(--muted); }

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(32, 38, 44, .5); opacity: 0; transition: opacity .26s ease;
}
.drawer-backdrop.is-open { opacity: 1; }

/* --------------------------------------------------------------------------
   Section heads
   -------------------------------------------------------------------------- */
.section-title {
  font-weight: 800; font-stretch: 112%;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.01em;
  color: var(--ink); text-wrap: balance;
}
.section-intro { margin-top: 12px; max-width: 60ch; color: var(--muted); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

.page-title {
  font-weight: 800; font-stretch: 115%;
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.015em;
  color: var(--ink); text-wrap: balance;
}

/* Page top band (About Us, Contact Us) */
.page-hero { padding: clamp(40px, 6vw, 72px) 0; background: var(--panel); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: clamp(20px, 5vw, 64px); }
.page-hero-place { margin-bottom: 12px; font-weight: 700; font-size: 15px; color: var(--red-dark); }
.page-hero-text { font-size: 18px; max-width: 56ch; }
/* Top band with a picture (About, Contact) */
.page-hero--art .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.page-hero--art .page-hero-text { margin-top: 18px; }
.page-hero-art { margin: 0; }
/* Heading block inside the double red TS frame (Contact) */
.page-hero-frame .page-hero-copy { padding: clamp(24px, 3.5vw, 44px); }
.page-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); background: var(--panel); }

/* --------------------------------------------------------------------------
   Product ranges (Home, About Us)
   -------------------------------------------------------------------------- */
.ranges { padding: var(--section-y) 0; }
.ranges--tint { background: var(--panel); }
.range-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.range {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 26px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
}
.ranges--tint .range { border-color: transparent; box-shadow: var(--shadow-card); }
.range-art {
  display: block; margin: -12px -10px 22px; overflow: hidden;
  border-radius: 12px; background: var(--panel);
}
.ranges--tint .range-art { background: #F7F8FA; }
.range-art img { display: block; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .35s ease; }
.range:hover .range-art img { transform: scale(1.04); }
.range-name { font-weight: 800; font-stretch: 108%; font-size: 21px; line-height: 1.2; color: var(--ink); }
.range-text { margin: 10px 0 20px; color: var(--muted); }
.range-link { margin-top: auto; font-weight: 700; color: var(--red-dark); }
.range-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-card); }
.range { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.range:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 14px 30px rgba(32, 38, 44, .12); }
.range:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.range-link:focus-visible { outline: none; }

/* --------------------------------------------------------------------------
   Reasons / who we serve (Home, About Us)
   -------------------------------------------------------------------------- */
.reasons, .serve { padding: var(--section-y) 0; }
.reasons { background: var(--panel); }
.reasons-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.reason-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.reason-list li { padding: 0 24px; border-left: 3px solid var(--red); }
.reason-list h3 { font-weight: 800; font-size: 19px; line-height: 1.25; color: var(--ink); }
.reason-list p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------------------
   Closing banner (Home, About Us)
   -------------------------------------------------------------------------- */
.closing { padding: var(--section-y) 0; }
.closing-inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(26px, 4vw, 44px) clamp(24px, 4vw, 52px);
}
.closing-mark { width: 86px; height: auto; }
.closing-copy h2 { font-weight: 800; font-stretch: 112%; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; color: var(--ink); }
.closing-copy p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Product cards (Home, Products)
   Photo on clean white, then name, price, a short spec table and buttons.
   -------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(32, 38, 44, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: #C9D0D6; box-shadow: 0 16px 34px rgba(32, 38, 44, .11); }
.product-card[hidden] { display: none; }

.product-media {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: #fff; border-bottom: 1px solid var(--line);
}
.product-photo {
  position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px);
  object-fit: contain; border-radius: 6px;
  transition: transform .35s ease;
}
.product-card:hover .product-photo { transform: scale(1.04); }
.product-nophoto { display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.product-nophoto .fas { font-size: 30px; color: #AEB6BE; }

/* Photo arrows and counter (products with more than one photo) */
.product-nav {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center; width: 38px; height: 38px; margin-top: -19px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(32, 38, 44, .55); color: #fff; font-size: 15px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s ease, background-color .2s ease, transform .2s ease;
}
.product-nav--prev { left: 10px; }
.product-nav--next { right: 10px; }
.product-nav:hover { background: rgba(32, 38, 44, .82); }
.product-nav:active { transform: scale(.94); }
.product-card:hover .product-nav,
.product-nav:focus-visible { opacity: 1; }
.product-nav:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (hover: none) { .product-nav { opacity: 1; } }
.product-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(32, 38, 44, .65); color: #fff; font-size: 12px; font-weight: 700;
}

/* Extra photos: tap a thumbnail to show it in the main photo */
.product-thumbs { display: flex; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.product-thumb {
  flex: 0 0 auto; width: 46px; height: 46px; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid var(--line); border-radius: 8px; background: #fff;
  transition: border-color .2s ease;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb:hover { border-color: var(--ink-2); }
.product-thumb[aria-pressed="true"] { border-color: var(--red); }

.product-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.product-cat { font-weight: 700; font-size: 13px; color: var(--red-dark); }
.product-name { margin-top: 4px; font-weight: 800; font-stretch: 106%; font-size: 20px; line-height: 1.25; color: var(--ink); text-wrap: balance; }

/* Price and stock */
.product-buy-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.product-price { font-weight: 800; font-stretch: 108%; font-size: 24px; line-height: 1.1; color: var(--ink); }
.product-price-currency { font-size: 14px; color: var(--muted); }
.product-stock {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: #E7F5EC; color: #135C30; font-weight: 700; font-size: 13px;
}
.product-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.product-stock.is-out { background: #FDECEC; color: #8A1010; }
.product-stock.is-out::before { background: var(--red); }

/* Specs as a small two-column table */
.spec-list { margin-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.spec-row {
  display: grid; grid-template-columns: minmax(84px, 38%) minmax(0, 1fr); gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.spec-row dt { font-weight: 600; color: var(--muted); }
.spec-row dd { color: var(--ink); }
.spec-row dd:only-child { grid-column: 1 / -1; }

.product-summary {
  margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Full description */
.product-more { margin-top: 10px; }
.product-more summary {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 14px; color: var(--ink);
}
.product-more summary::-webkit-details-marker { display: none; }
.product-more summary::after {
  content: '+'; display: grid; place-items: center; width: 20px; height: 20px;
  border: 1.5px solid var(--line); border-radius: 6px; font-size: 15px; line-height: 1; color: var(--red);
}
.product-more[open] summary::after { content: '\2212'; border-color: var(--red); }
.product-more summary:hover { color: var(--red-dark); }
.product-more-body { padding-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.product-more-body p + p { margin-top: 10px; }

/* Buttons sit at the bottom so cards line up */
.product-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.product-actions .btn { width: 100%; min-height: 44px; font-size: 15px; }
.btn-shopee { background: #EE4D2D; color: #fff; }
.btn-shopee:hover { background: #D73211; color: #fff; }
.product-ask-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
/* product buttons: white with a coloured outline and text, filled on hover */
.product-ask-row .product-wa { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.product-ask-row .product-wa:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.product-ask-row .product-contact { background: #fff; color: var(--red); border-color: var(--red); box-shadow: none; }
.product-ask-row .product-contact:hover { background: var(--red); color: #fff; border-color: var(--red); }
.product-ask-row .btn { width: 100%; min-height: 44px; padding-inline: 10px; font-size: 14.5px; white-space: nowrap; }
.product-shopee-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; justify-self: stretch;
  min-height: 40px; padding: 8px 12px; border-radius: 10px; background: #fff; color: #111;
  box-shadow: inset 0 0 0 1.5px #111; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.product-shopee-link:hover, .product-shopee-link:focus-visible { background: #111; color: #fff; }

.product-empty {
  padding: 36px 20px; text-align: center; color: var(--muted);
  border: 2px dashed var(--line); border-radius: var(--radius-card);
}

/* --------------------------------------------------------------------------
   Map — last section before the footer (Home, About Us, Contact Us)
   -------------------------------------------------------------------------- */
.map-section { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.map-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.map-head .section-intro { margin-top: 0; }
.map-wrap {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
}
/* Google draws its own place box at the top-left of the map. The map is pulled up by
   --map-crop so that box sits above the visible area; the pin, controls and Google's
   notices along the bottom stay in view. */
.map-wrap { --map-crop: 150px; }
.map-frame { display: block; width: 100%; height: calc(clamp(357px, 42vw, 483px) + var(--map-crop)); margin-top: calc(-1 * var(--map-crop)); border: 0; }
.map-card {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  width: min(310px, calc(100% - 32px)); padding: 12px 12px 14px 14px;
  background: #fff; border-radius: 14px;
  /* double red line, like the TS logo and frames */
  border: var(--frame-line) solid var(--red);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 calc(3px + var(--frame-line)) var(--red), 0 6px 24px rgba(32, 38, 44, .18);
  transition: width .35s cubic-bezier(.3, .7, .2, 1), padding .35s cubic-bezier(.3, .7, .2, 1);
}
.map-card-head { display: flex; align-items: center; gap: 10px; }
.map-card-pin {
  display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px;
  border-radius: 50%; background: #FDECEC; color: var(--red); font-size: 14px;
}
.map-card-name { flex: 1 1 auto; min-width: 0; font-weight: 800; font-stretch: 108%; font-size: 16px; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the arrow folds the card away so the map can be seen */
.map-card-toggle {
  display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.map-card-toggle:hover { background: var(--panel); border-color: #C9D0D6; }
.map-card-toggle .fas { font-size: 12px; transition: transform .35s cubic-bezier(.3, .7, .2, 1); }
.map-card-body {
  display: grid; grid-template-rows: 1fr;
  transition: grid-template-rows .35s cubic-bezier(.3, .7, .2, 1), opacity .25s ease;
}
.map-card-inner { min-height: 0; overflow: hidden; }
.map-card.is-folded { width: max-content; max-width: calc(100% - 32px); padding: 10px 10px 10px 12px; border-radius: 999px; }
.map-card.is-folded .map-card-body { grid-template-rows: 0fr; opacity: 0; width: 0; }
.map-card.is-folded .map-card-toggle .fas { transform: rotate(180deg); }
.map-card-address { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); font-style: normal; }
.map-card-hours { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.map-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.map-card-actions .btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Simple motion: sections fade up as they scroll into view (see ts-site.js)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .has-reveal .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .has-reveal .reveal.is-visible { opacity: 1; transform: none; }
  .has-reveal .product-card.reveal { transform: translateY(8px); transition-duration: .3s, .3s; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: clamp(52px, 7vw, 76px) 0 26px; background: var(--ink); color: #C4CBD2; font-size: 15px; }
.site-footer a { color: #E9EDF0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 40px; }
.site-footer .brand--light,
.site-footer .brand--light:hover,
.site-footer .brand--light:focus,
.site-footer .brand--light:active { color: #fff; margin-bottom: 18px; text-decoration: none; opacity: 1; }
.brand--light .brand-sub { color: #FF6B63; }
.footer-brand p { max-width: 40ch; }
.footer-heading { margin-bottom: 14px; font-weight: 800; font-size: 15px; color: #fff; }
.footer-col ul li + li { margin-top: 9px; }
.footer-visit address { color: #E9EDF0; }
.footer-hours { margin-top: 10px; }
.footer-contact { margin-top: 14px; }
.footer-contact .fas, .footer-contact .fab { width: 18px; color: #FF8C85; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: #9EA8B1; }

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; font-size: 30px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(32, 38, 44, .28);
  transition: opacity .2s ease, transform .2s ease;
}
.floating-whatsapp:hover { background: var(--wa-dark); color: #fff; }
.floating-whatsapp.is-hidden { opacity: 0; transform: translateY(14px); pointer-events: none; }

/* Mobile contact bar on standard pages (plugin setting) */
.ts-mobile-cta { display: none; }

/* --------------------------------------------------------------------------
   Standard WordPress pages (privacy policy, etc.)
   -------------------------------------------------------------------------- */
.entry { padding-top: var(--section-y); padding-bottom: var(--section-y); max-width: 820px; }
.entry-title { margin-bottom: 24px; font-weight: 800; font-stretch: 112%; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: var(--ink); }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { color: var(--ink); line-height: 1.2; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border: 2px solid var(--line); border-radius: var(--radius-sm); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --radius-frame: 18px; --frame-line: 2px; --frame-gap: 4px; }
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .page-hero--art .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-art { order: -1; }
  .range-list { grid-template-columns: 1fr; }
  .reason-list { grid-template-columns: 1fr; gap: 24px; }
  .closing-inner { grid-template-columns: 1fr; justify-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .brand-mark { height: 40px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; margin-top: 5px; }
  .header-bar { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-cta { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .closing-actions, .closing-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-card, .map-card.is-folded { position: static; width: auto; max-width: none; padding: 16px 18px; border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
  .map-card-toggle { display: none; }
  .map-card.is-folded .map-card-body { grid-template-rows: 1fr; opacity: 1; }
  .map-card.is-folded .map-card-body { width: auto; }
  .map-frame { height: calc(315px + var(--map-crop)); }
  .range:hover, .product-card:hover { transform: none; }
  .floating-whatsapp { right: 14px; bottom: 14px; width: 54px; height: 54px; font-size: 28px; }

  .ts-mobile-cta {
    position: fixed; z-index: 990; left: 0; right: 0; bottom: 0;
    display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -4px 18px rgba(32, 38, 44, .14);
  }
  .ts-mobile-cta a {
    flex: 1; padding: 12px; border-radius: 8px; text-align: center;
    background: var(--red); color: #fff; font-weight: 700; text-decoration: none;
  }
  .ts-mobile-cta a + a { background: var(--wa); }
  .has-ts-mobile-cta { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Compact product cards on every screen (photo, name, price, Details, Ask).
   The details table and description open in a panel: from the bottom on
   phones and tablets, in the middle of the screen on computers. */
@media (min-width: 640px) and (max-width: 999px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
  .product-name { font-size: 15px !important; }
}
@media all {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 10px; }
  .product-media { aspect-ratio: 4 / 3; }
  .product-photo { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
  .product-nav { width: 26px; height: 26px; font-size: 11px; }
  .product-nav--prev { left: 4px; } .product-nav--next { right: 4px; }
  .product-count { font-size: 10.5px; padding: 1px 6px; }
  .product-thumbs, .product-cat, .spec-list, .product-summary { display: none; }
  .product-more { display: none; }
  .product-body .product-sheet-open { display: inline-flex; }
  .product-body { padding: 8px 9px 9px; }
  .product-name {
    margin-top: 0; font-size: 13.5px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .product-buy-info { margin-top: 4px; gap: 4px 6px; }
  .product-price { font-size: 15px; }
  .product-price-currency { font-size: 11px; }
  .product-stock { font-size: 10.5px; padding: 2px 6px; }
  .product-more { margin-top: 4px; }
  .product-more summary { font-size: 12px; gap: 4px; }
  .product-more summary::after { width: 14px; height: 14px; font-size: 11px; }
  .product-more-body { font-size: 12.5px; }
  .product-actions { gap: 4px; padding-top: 8px; }
  .product-actions .btn { min-height: 32px; padding: 4px 6px; gap: 4px; font-size: 11.5px; line-height: 1.2; border-radius: 7px; }
  .product-actions .btn .fab, .product-actions .btn .fas { font-size: 13px; }
  .product-shopee-link { min-height: 32px; padding: 5px 8px; border-radius: 8px; font-size: 11.5px; gap: 5px; }
  /* WhatsApp + Contact us stacked as two slim buttons */
  .product-ask-row { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .product-ask-row .btn { min-height: 32px; font-size: 12px; }
}

/* Computers: same compact card, a little roomier */
@media (min-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .product-card { border-radius: 14px; }
  .product-photo { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .product-nav { width: 32px; height: 32px; font-size: 12px; }
  .product-body { padding: 14px 16px 16px; }
  .product-body .product-cat { display: block; font-size: 12px; margin-bottom: 4px; }
  .product-name { font-size: 16.5px; }
  .product-price { font-size: 17px; }
  .product-body .product-sheet-open { margin-top: 6px; font-size: 13px; }
  .product-sheet-open:hover { color: var(--red); }
  .product-sheet-open .fas { transform: rotate(90deg); }
  .product-actions { gap: 6px; padding-top: 12px; }
  .product-ask-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-ask-row .btn, .product-actions .btn { min-height: 38px; padding: 6px 10px; font-size: 13.5px; border-radius: 9px; }
  .product-actions .btn .fab, .product-actions .btn .fas { font-size: 15px; }
  .product-shopee-link { min-height: 38px; padding: 6px 10px; border-radius: 9px; font-size: 13.5px; }

}

/* "Details" button on product cards (added by the script) */
.product-sheet-open {
  display: none; align-items: center; gap: 5px; margin-top: 4px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer;
}
.product-sheet-open .fas { font-size: 10px; color: var(--red); }

/* Product details panel: slides up from the bottom (phones/tablets) */
.product-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; }
.product-sheet[hidden] { display: none; }
.product-sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 28, .5); opacity: 0; transition: opacity .25s ease; }
.product-sheet-panel {
  position: relative; width: 100%; max-width: 620px; margin: 0 auto; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); background: #fff;
  border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.22, .8, .25, 1);
}
.product-sheet.is-open .product-sheet-backdrop { opacity: 1; }
.product-sheet.is-open .product-sheet-panel { transform: none; }
.product-sheet-grip { width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: #D5DADF; }
.product-sheet-close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 16px; cursor: pointer;
}
.product-sheet-top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding-right: 36px; }
.product-sheet-top.no-photo { grid-template-columns: minmax(0, 1fr); }
.product-sheet-photo { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; }
.product-sheet .product-cat { display: block; font-size: 12px; }
.product-sheet .product-name { display: block; -webkit-line-clamp: unset; font-size: 18px; margin-top: 2px; }
.product-sheet .product-buy-info { margin-top: 6px; }
.product-sheet .spec-list { display: block; margin-top: 14px; font-size: 13.5px; }
.product-sheet .spec-row { grid-template-columns: minmax(90px, 38%) minmax(0, 1fr); gap: 10px; padding: 8px 0; }
.product-sheet .product-summary {
  display: block; -webkit-line-clamp: unset; margin-top: 14px; padding: 11px 14px;
  border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; background: var(--panel);
  color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.55;
}
.product-sheet .product-more-body { margin-top: 12px; padding-top: 0; font-size: 14px; }
.product-sheet .product-actions { margin-top: 16px; padding-top: 0; }
.product-sheet .product-actions .btn { min-height: 46px; font-size: 15px; }
.product-sheet .product-ask-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.product-sheet .product-ask-row .btn { min-height: 46px; font-size: 15px; }
.product-sheet .product-shopee-link { min-height: 44px; font-size: 14px; }
html.ts-sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .product-sheet-panel, .product-sheet-backdrop { transition: none; } }

/* Computers: Details opens as a centred window instead of a bottom panel */
@media (min-width: 1000px) {
  .product-sheet { align-items: center; justify-content: center; padding: 24px; }
  .product-sheet-panel {
    max-width: 600px; max-height: calc(100vh - 48px); padding: 26px 28px 26px; border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
    opacity: 0; transform: translateY(12px) scale(.97); transition: transform .24s cubic-bezier(.22, .8, .25, 1), opacity .2s ease;
  }
  .product-sheet.is-open .product-sheet-panel { opacity: 1; transform: none; }
  .product-sheet-grip { display: none; }
  .product-sheet-close { top: 16px; right: 16px; }
  .product-sheet-close:hover { border-color: var(--red); color: var(--red); }
  .product-sheet-top { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding-right: 40px; }
  .product-sheet-photo { width: 120px; height: 120px; }
  .product-sheet .product-name { font-size: 21px; }
  .product-sheet .spec-list { font-size: 14.5px; }
  .product-sheet .product-summary, .product-sheet .product-more-body { font-size: 15px; }
}

/* Tablets: WhatsApp and Contact us side by side */
@media (min-width: 640px) and (max-width: 999px) {
  .product-ask-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .product-ask-row .btn { padding-inline: 6px; }
}

/* ---------- Photo viewer (tap a product photo) ---------- */
.product-card [data-product-photo] { cursor: zoom-in; }
.product-sheet-zoom {
  position: relative; display: block; padding: 0; border: 0; background: none; border-radius: 10px; cursor: zoom-in;
}
.product-sheet-zoom:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.product-sheet-zoom .product-sheet-photo { display: block; transition: border-color .15s ease; }
.product-sheet-zoom:hover .product-sheet-photo { border-color: var(--red); }
.product-sheet-zoom-tag {
  position: absolute; right: 5px; bottom: 5px; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 7px; border-radius: 999px; background: rgba(17, 17, 17, .72); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2;
}
html.ts-viewer-open { overflow: hidden; }
.photo-viewer {
  position: fixed; inset: 0; z-index: 2100; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
  background: rgba(12, 13, 15, .94); color: #fff; opacity: 0; transition: opacity .2s ease;
}
.photo-viewer[hidden] { display: none; }
.photo-viewer.is-open { opacity: 1; }
.photo-viewer-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px 8px 20px; }
.photo-viewer-title { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; font-size: 15px; }
.photo-viewer-count { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.photo-viewer.is-single .photo-viewer-count { display: none; }
.photo-viewer-close, .photo-viewer-nav {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; transition: background-color .15s ease;
}
.photo-viewer-close:hover, .photo-viewer-nav:hover { background: rgba(255, 255, 255, .24); }
.photo-viewer-close:focus-visible, .photo-viewer-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.photo-viewer-stage { position: relative; min-height: 0; }
.photo-viewer-img {
  position: absolute; top: 8px; left: 72px; width: calc(100% - 144px); height: calc(100% - 16px);
  object-fit: contain; user-select: none; -webkit-user-drag: none;
}
.photo-viewer-img.is-in { animation: ts-viewer-in .18s ease both; }
@keyframes ts-viewer-in { from { opacity: 0; } to { opacity: 1; } }
.photo-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.photo-viewer-nav--prev { left: 16px; }
.photo-viewer-nav--next { right: 16px; }
.photo-viewer.is-single .photo-viewer-nav { display: none; }
.photo-viewer-thumbs { display: flex; justify-content: safe center; min-width: 0; gap: 8px; padding: 10px 16px 16px; overflow-x: auto; }
.photo-viewer-thumbs:empty { display: none; }
.photo-viewer-thumb {
  flex: 0 0 auto; width: 58px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 8px;
  overflow: hidden; background: #fff; opacity: .55; cursor: pointer; transition: opacity .15s ease, border-color .15s ease;
}
.photo-viewer-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-viewer-thumb[aria-pressed="true"] { opacity: 1; border-color: var(--red); }
.photo-viewer-thumb:hover { opacity: 1; }
@media (max-width: 640px) {
  .photo-viewer-img { top: 4px; left: 8px; width: calc(100% - 16px); height: calc(100% - 8px); }
  .photo-viewer-nav { top: auto; bottom: 86px; transform: none; width: 40px; height: 40px; font-size: 15px; }
  .photo-viewer-nav--prev { left: 10px; }
  .photo-viewer-nav--next { right: 10px; }
  .photo-viewer-thumb { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-viewer, .photo-viewer-img.is-in { transition: none; animation: none; }
}

/* ---------- Hero photos: slide in once and a light sweep (no zoom) ---------- */
.hero-art, .page-hero-art { position: relative; overflow: hidden; border-radius: var(--radius-card); isolation: isolate; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art, .page-hero-art { animation: ts-photo-in .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
  /* a soft light sweep across the photo once it has arrived */
  .hero-art::after, .page-hero-art::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: ts-photo-sheen 1.4s ease-out 1s both;
  }
}
@keyframes ts-photo-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes ts-photo-sheen { to { transform: translateX(120%); } }

/* ---------- Sections added in the page editor (+ Add section) ---------- */
.ts-extra { padding: var(--section-y) 0; }
.ts-extra--tint { background: var(--panel); }
.ts-extra + .ts-extra:not(.ts-extra--tint) { padding-top: calc(var(--section-y) * .5); }
.ts-extra-copy { max-width: 760px; }
.ts-extra-body { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.ts-extra-body p + p { margin-top: 12px; }
.ts-extra-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.ts-extra-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.ts-extra--img-right .ts-extra-photo { order: 2; }
.ts-extra--no-photo .ts-extra-grid { grid-template-columns: 1fr; }
.ts-extra-photo { margin: 0; overflow: hidden; border-radius: var(--radius-card); box-shadow: 0 16px 36px rgba(32, 38, 44, .1); }
.ts-extra-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ts-extra--banner.ts-extra--tint { background: var(--panel); }
.ts-extra-banner { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 900px) {
  .ts-extra-grid { grid-template-columns: 1fr; }
  .ts-extra--img-right .ts-extra-photo { order: 0; }
  .ts-extra-banner { grid-template-columns: 1fr; }
}

/* Picture on the other side (page editor: Picture side = left) */
@media (min-width: 901px) {
  [data-ts-flip][data-flipped] { direction: rtl; }
  [data-ts-flip][data-flipped] > * { direction: ltr; }
}
/* Contact: one column when the owner deleted the details or the form */
.contact-grid > :only-child { grid-column: 1 / -1; max-width: 860px; }

/* Added sections: left / right, cards, small note */
@media (min-width: 901px) {
  .ts-extra--text.ts-extra--right .ts-extra-copy, .ts-extra--cards.ts-extra--right .ts-extra-copy { margin-left: auto; text-align: right; }
  .ts-extra--right .ts-extra-actions { justify-content: flex-end; }
  .ts-extra-cards[data-flipped], .ts-extra-banner[data-flipped] { direction: rtl; }
  .ts-extra-cards[data-flipped] > *, .ts-extra-banner[data-flipped] > * { direction: ltr; }
}
.ts-extra-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.ts-extra-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.ts-extra-card:hover { border-color: var(--red); box-shadow: 0 10px 28px rgba(32, 38, 44, .08); transform: translateY(-2px); }
.ts-extra-card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; font-size: 19px; }
.ts-extra-card h3 { margin-top: 16px; font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--ink); }
.ts-extra-card p { margin-top: 6px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ts-extra--cards .ts-extra-actions { margin-top: 28px; }
.ts-extra--note { padding: clamp(18px, 3vw, 28px) 0; }
.ts-note { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; background: #fff; }
.ts-extra--note.ts-extra--right .ts-note { flex-direction: row-reverse; border-left: 1px solid var(--line); border-right: 4px solid var(--red); }
.ts-note-icon { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--red-soft, #FDECEC); color: var(--red); font-size: 16px; }
.ts-note p { flex: 1 1 auto; margin: 0; font-size: 16px; color: var(--ink); }
.ts-note strong { font-weight: 800; }
.ts-note-link { flex: 0 0 auto; font-weight: 700; color: var(--red-dark, #A30000); white-space: nowrap; }
@media (max-width: 640px) { .ts-note { flex-wrap: wrap; } .ts-note-link { margin-left: 52px; } }
