/* =========================================================
   Cukwai Theme - catalogue edition
   Bright / light theme - system fonts, soft radius, quiet shadows
   Loaded AFTER stylesheet.css (Bootstrap 3 base).
   ========================================================= */

:root {
  --ink: #1c1c1e;
  --ink-2: #48484a;
  --ink-3: #6e6e73;
  --ink-4: #8e8e93;
  --line: #e6e6e9;
  --line-2: #f0f0f3;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --bg-soft-2: #fbfbfc;
  --brand: #e8813a;
  --brand-dark: #d06a22;
  --brand-deep: #b8560f;
  --brand-tint: #fff3e8;
  --accent: #e4706e;
  --green: #3f9a6d;
  --blue: #3d86c6;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .04);
  --shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 12px 30px rgba(0, 0, 0, .06);
  --shadow-l: 0 12px 40px rgba(0, 0, 0, .12);
  --max: 1240px;
  --header-h: 64px;
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "PingFang SC",
    "Helvetica Neue", "Noto Sans HK", "Microsoft JhengHei", "Heiti TC", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover, a:focus { text-decoration: none; outline: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -.02em; line-height: 1.35; color: var(--ink); }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--max); padding-left: 24px; padding-right: 24px; }
@media (max-width: 560px) { .container { padding-left: 16px; padding-right: 16px; } }
.cw-wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .cw-wrap { padding: 0 16px; } }
.cw-section { padding: 46px 0; }
.cw-section-sm { padding: 28px 0; }
.cw-muted { color: var(--ink-3); }
.cw-tiny { font-size: 12.5px; }

/* ---------- announcement bar ---------- */
.cw-announce {
  background: linear-gradient(90deg, #1c1c1e, #3a3a3f);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.cw-announce .cw-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 34px; text-align: center;
}
.cw-announce b { color: #ffd28a; font-weight: 600; }
.cw-announce a { color: #fff; }
.cw-announce a:hover { color: #ffd28a; }

/* ---------- header ---------- */
.cw-hd {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.cw-hd-bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.cw-logo { display: flex; align-items: center; gap: 10px; flex: none; max-width: 280px; }
.cw-logo img { max-height: 44px; width: auto; object-fit: contain; }
.cw-logo-mark {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #f3a75f, var(--brand));
  box-shadow: 0 4px 12px rgba(232, 129, 58, .3);
}
.cw-logo-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.cw-logo-txt strong { font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-logo-txt span { font-size: 11px; color: var(--ink-4); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cw-search { flex: 1; max-width: 460px; position: relative; }
.cw-search input {
  width: 100%; height: 40px; padding: 0 42px 0 40px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-soft); outline: none; box-shadow: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  font-size: 13.5px;
}
.cw-search input:focus {
  background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 129, 58, .12);
}
.cw-search .cw-si { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-4); display: flex; }
.cw-search button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 16px; border: 0;
  background: transparent; color: var(--ink-4); display: grid; place-items: center;
}
.cw-search button:hover { background: var(--line-2); color: var(--ink); }
.cw-search .dropdown-menu { width: 100%; border-radius: var(--radius); border-color: var(--line); box-shadow: var(--shadow); }
.cw-search .dropdown-menu > li > a { padding: 8px 14px; font-size: 13px; }
.cw-search .dropdown-menu > li > a:hover { background: var(--brand-tint); color: var(--brand-deep); }

.cw-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cw-icon-btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 12px; border-radius: 20px;
  color: var(--ink-2); transition: background .2s, transform .12s;
  font-size: 13px; white-space: nowrap;
}
.cw-icon-btn:hover { background: var(--bg-soft); color: var(--ink); }
.cw-icon-btn:active { transform: scale(.96); }
.cw-icon-btn svg { flex: none; }
.cw-badge {
  position: absolute; top: 1px; right: 3px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cw-badge.empty { display: none; }

@media (max-width: 860px) { .cw-icon-btn .cw-lbl { display: none; } }
@media (max-width: 780px) {
  .cw-hd-bar { height: auto; flex-wrap: wrap; padding: 10px 0 0; row-gap: 6px; }
  .cw-search { order: 3; flex: 1 0 100%; max-width: none; margin: 8px 0 10px; }
  .cw-search input { height: 38px; }
  .cw-logo-mark { width: 32px; height: 32px; }
  .cw-logo img { max-height: 36px; }
  .cw-logo-txt strong { font-size: 15.5px; }
  .cw-logo-txt span { font-size: 9.5px; }
  .cw-icon-btn { padding: 0 9px; height: 36px; }
  .cw-announce .cw-wrap { font-size: 11.5px; line-height: 1.5; padding: 5px 0; }
}
@media (max-width: 560px) { .cw-actions .cw-tel { display: none; } }

/* ---------- navigation ---------- */
.cw-nav { border-top: 1px solid var(--line-2); }
/* Do NOT set overflow on the list: an overflow container clips the
   absolutely positioned dropdowns. Wrapping keeps narrow screens usable. */
.cw-nav ul { display: flex; flex-wrap: wrap; gap: 2px; scrollbar-width: none; }
.cw-nav .cw-nav-list { overflow: visible; }
.cw-nav ul::-webkit-scrollbar { display: none; }
.cw-nav li { position: relative; }
.cw-nav a {
  display: block; padding: 11px 14px; font-size: 13.5px; color: var(--ink-2);
  border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.cw-nav a:hover { color: var(--ink); }
.cw-nav li.on > a {
  color: var(--brand-deep); border-bottom-color: var(--brand); font-weight: 600;
}
/* The current category is already marked: no hover colour change, no fade-in
   animation. "Selected" must look exactly the same before and after hovering. */
.cw-nav li.on > a,
.cw-nav li.on > a:hover,
.cw-nav li.on > a:focus {
  color: var(--brand-deep); border-bottom-color: var(--brand);
  background: transparent; font-weight: 600; transition: none;
}
.cw-nav .cw-sub {
  display: none; position: absolute; top: 100%; left: 0; z-index: 90;
  min-width: 200px; max-width: calc(100vw - 32px); padding: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-l);
  overflow: visible;
}
.cw-nav .cw-sub-l3 { top: -9px; left: 100%; }
/* No :focus-within here on purpose. A mouse click leaves focus on the link,
   so :focus-within would pin the dropdown open after the pointer moved away
   ("already selected, why is the effect still showing?"). Keyboard users get
   .cw-kbd from cukwai.js instead; taps get .cw-open. */
.cw-nav li.cw-open > .cw-sub,
.cw-nav li.cw-kbd > .cw-sub { display: block; }
@media (hover: hover) {
  .cw-nav li:hover > .cw-sub { display: block; }
}
.cw-nav .cw-sub li { width: 100%; }
.cw-nav .cw-sub a {
  padding: 8px 12px; border: 0; border-radius: var(--radius-s);
  font-size: 13px; white-space: normal;
}
.cw-nav .cw-sub a:hover { background: var(--brand-tint); color: var(--brand-deep); }
.cw-nav .cw-sub-toggle {
  display: none; position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%); width: 26px; height: 26px; padding: 0;
  border: 0; background: transparent; color: var(--ink-3);
  align-items: center; justify-content: center; cursor: pointer;
}
.cw-nav .cw-sub-toggle::before {
  content: ''; width: 6px; height: 6px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.cw-nav li.cw-open > .cw-sub-toggle::before { transform: rotate(-135deg); }
@media (hover: none), (max-width: 768px) {
  .cw-nav .cw-sub-toggle { display: inline-flex; }
  .cw-nav .cw-nav-list > li > a { padding-right: 28px; }
  .cw-nav .cw-sub-l3 {
    position: static; margin-left: 10px; padding: 0 0 4px;
    box-shadow: none; border: 0; min-width: 0;
  }
}

/* ---------- buttons ---------- */
.cw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 22px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; line-height: 1;
  transition: transform .12s, box-shadow .2s, background .2s, opacity .2s;
}
.cw-btn:active { transform: scale(.97); }
.cw-btn-primary { background: linear-gradient(180deg, #f3a75f, var(--brand)); color: #fff; box-shadow: 0 6px 18px rgba(224, 130, 40, .32); }
.cw-btn-primary:hover { background: linear-gradient(180deg, #f6b473, var(--brand-dark)); color: #fff; }
.cw-btn-dark { background: var(--ink); color: #fff; }
.cw-btn-dark:hover { background: #000; color: #fff; }
.cw-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.cw-btn-ghost:hover { border-color: var(--ink-4); color: var(--ink); }
.cw-btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 19px; }
.cw-btn-lg { height: 50px; padding: 0 30px; border-radius: 25px; font-size: 15.5px; }
.cw-btn-block { display: flex; width: 100%; }
.cw-btn[disabled] { opacity: .45; pointer-events: none; }

/* Bootstrap button overrides (fallback pages) */
.btn { border-radius: 20px; padding: 8px 18px; font-size: 13.5px; font-weight: 500; transition: transform .12s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
  background: linear-gradient(180deg, #f3a75f, var(--brand)); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px rgba(224, 130, 40, .24);
}
.btn-default { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-default:hover { border-color: var(--ink-4); background: #fff; color: var(--ink); }
.btn-danger { background: var(--accent); border-color: transparent; color: #fff; }
.btn-danger:hover { background: #d75d5b; color: #fff; }
.btn-link { color: var(--brand-deep); }
.btn-lg { border-radius: 25px; }
.btn-sm, .btn-xs { border-radius: 14px; }

/* ---------- section headings ---------- */
.cw-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cw-head-row h2, .cw-head-row h3 { font-size: clamp(19px, 2.4vw, 25px); margin: 0; }
.cw-head-row .cw-sub { color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.cw-link-more { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--brand-deep); font-weight: 600; }
.cw-link-more:hover { gap: 9px; color: var(--brand-deep); }
@media (max-width: 520px) { .cw-head-row { align-items: flex-start; flex-direction: column; gap: 8px; } }

/* ---------- home hero ---------- */
.cw-hero { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--bg-soft); }
.cw-hero .swiper-viewport, .cw-hero .module-slideshow { margin: 0; border: 0; box-shadow: none; }
.cw-hero .swiper-slide img { width: 100%; aspect-ratio: 1200 / 460; object-fit: cover; border-radius: var(--radius-l); }
.cw-hero .swiper-pagination-bullet-active { background: var(--brand); }
.cw-hero .swiper-button-next, .cw-hero .swiper-button-prev {
  width: 40px; height: 40px; border-radius: 20px;
  background: rgba(255, 255, 255, .9); color: var(--ink);
}
.cw-hero .swiper-button-next:after, .cw-hero .swiper-button-prev:after { font-size: 15px; font-weight: 700; }
@media (max-width: 720px) { .cw-hero { border-radius: var(--radius); } .cw-hero .swiper-slide img { aspect-ratio: 4 / 3.4; } }

/* Hero fallback when no slideshow module is configured */
.cw-hero-plain {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  min-height: 300px; padding: 54px 6vw;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  color: #fff;
  background: linear-gradient(120deg, #b8560f 0%, #e8813a 52%, #f3b878 100%);
}
.cw-hero-plain:after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255, 255, 255, .09); pointer-events: none;
}
.cw-hero-plain h1 { color: #fff; font-size: clamp(24px, 3.4vw, 42px); text-shadow: 0 2px 20px rgba(0, 0, 0, .16); margin: 0; }
.cw-hero-plain p { font-size: 15px; max-width: 34em; color: rgba(255, 255, 255, .92); margin: 0; }
.cw-hero-plain .cw-btn-white { position: relative; z-index: 1; align-self: flex-start; background: #fff; color: var(--ink); }
.cw-hero-plain .cw-btn-white:hover { background: #f4f4f6; color: var(--ink); }
@media (max-width: 720px) { .cw-hero-plain { min-height: 260px; padding: 34px 22px; border-radius: var(--radius); } }

/* ---------- feature strip ---------- */
.cw-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cw-feature {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft-2);
}
.cw-feature i {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-dark);
  font-style: normal;
}
.cw-feature strong { display: block; font-size: 14px; font-weight: 600; }
.cw-feature span { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 940px) { .cw-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cw-features { grid-template-columns: 1fr; } }

/* ---------- product grid ---------- */
.cw-grid { display: grid; gap: 18px 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .cw-grid { gap: 12px 10px; } }
.cw-grid.cw-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cw-grid.cw-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cw-grid.cw-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Bootstrap product-layout wrapper compatibility (fallback templates) */
.product-layout { display: flex; margin-bottom: 0; }
.product-layout > .cw-card { width: 100%; }
.product-wrapper { display: grid; gap: 18px 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .product-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .product-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-wrapper .product-layout { width: auto; }

/* ---------- product card ---------- */
.cw-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, box-shadow .25s, border-color .2s;
}
.cw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dcdce2; }
.cw-card-media { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.cw-card-media > a { display: block; width: 100%; height: 100%; }
.cw-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.cw-card:hover .cw-card-media img { transform: scale(1.05); }
.cw-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 700; color: #fff;
}
.cw-tag.sale { background: var(--accent); }
.cw-tag.new { background: var(--blue); }
.cw-tag.hot { background: var(--brand); }
.cw-quick {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.cw-card:hover .cw-quick { opacity: 1; transform: none; }
@media (hover: none) { .cw-quick { opacity: 1; transform: none; } }
.cw-round {
  width: 36px; height: 36px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .95); display: grid; place-items: center;
  color: var(--ink-2); box-shadow: var(--shadow-s); transition: background .2s, color .2s, transform .12s;
}
.cw-round:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cw-round:active { transform: scale(.92); }

.cw-card-body { padding: 12px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.cw-card-name {
  font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 40px; margin: 0;
}
.cw-card:hover .cw-card-name { color: var(--brand-deep); }
.cw-card-name a { display: block; }
.cw-card-sub { font-size: 12px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; flex-wrap: wrap; row-gap: 2px; }
.cw-price { font-size: 18px; font-weight: 700; color: var(--accent); letter-spacing: -.01em; }
.cw-price del { font-size: 12.5px; font-weight: 400; color: var(--ink-4); margin-left: 4px; }
.cw-off { font-size: 11px; font-weight: 700; color: var(--accent); background: #fdecec; border-radius: 4px; padding: 1px 5px; }
.cw-tax { display: block; width: 100%; font-size: 11.5px; color: var(--ink-4); }
.cw-rating { display: flex; gap: 2px; color: #f0b429; font-size: 12px; }
.cw-rating .off { color: var(--line); }
.cw-stock { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.cw-dot { width: 7px; height: 7px; border-radius: 4px; background: var(--green); flex: none; }
.cw-dot.low { background: var(--brand); }

/* legacy product-thumb (fallback templates) */
.product-thumb {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 18px; transition: transform .2s, box-shadow .25s;
}
.product-thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb .image { background: var(--bg-soft); padding: 0; }
.product-thumb .image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-thumb .caption { padding: 12px 14px 15px; }
.product-thumb .caption h4 { font-size: 13.5px; font-weight: 500; margin: 0 0 8px; min-height: 40px; }
.product-thumb .price { color: var(--accent); font-size: 18px; font-weight: 700; margin: 0; }
.product-thumb .price-new { color: var(--accent); }
.product-thumb .price-old { color: var(--ink-4); text-decoration: line-through; font-size: 12.5px; }
.product-thumb .price-tax { display: block; font-size: 11.5px; color: var(--ink-4); }

/* ---------- breadcrumb ---------- */
.cw-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-4); padding: 18px 0 10px; }
.cw-crumbs a:hover { color: var(--brand-deep); }
.cw-crumbs .sep { opacity: .5; }
.breadcrumb { background: transparent; padding: 18px 0 10px; margin: 0; font-size: 12.5px; border-radius: 0; color: var(--ink-4); }
.breadcrumb > li + li:before { color: var(--ink-4); content: "/"; padding: 0 6px; }
.breadcrumb a { color: var(--ink-4); }
.breadcrumb a:hover { color: var(--brand-deep); }
.breadcrumb > .active { color: var(--ink-2); }

/* ---------- page furniture ---------- */
#content > h1, #content > h2, .cw-page-title { font-size: clamp(21px, 2.6vw, 28px); margin: 6px 0 22px; }
.cw-card-panel { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cw-soft-panel { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft-2); }
.cw-tools {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 16px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft-2);
}
.cw-tools select, .cw-tools .form-control {
  height: 36px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; outline: none; font-size: 13px;
}
.cw-tools .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232, 129, 58, .12); }
.cw-tools .cw-count { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.cw-tools .btn-group .btn { border-radius: 9px; }
.cw-tools .btn-default.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-wrapper { margin: 0 0 22px; }
.filter-wrapper .input-group-addon { background: #fff; border-color: var(--line); border-radius: 9px 0 0 9px; font-size: 12.5px; }
.filter-wrapper .form-control { border-radius: 0 9px 9px 0; box-shadow: none; }

.widget-title { font-size: clamp(19px, 2.2vw, 23px); margin: 34px 0 18px; padding: 0; border: 0; }
.widget-title span { border: 0; padding: 0; }
.category-description { padding: 18px; margin-bottom: 20px; border-radius: var(--radius); background: var(--bg-soft-2); border: 1px solid var(--line-2); color: var(--ink-2); }
.category-description img { border: 0; border-radius: var(--radius-s); padding: 0; background: transparent; }
.cw-subcats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
@media (max-width: 900px) { .cw-subcats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cw-subcats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cw-subcat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--radius); background: var(--bg-soft-2); border: 1px solid transparent; text-align: center; font-size: 13px; transition: transform .18s, box-shadow .2s, border-color .2s; }
.cw-subcat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); background: #fff; }
.cw-subcat img { width: 100%; max-width: 68px; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 12px; border: 0; padding: 0; background: #fff; }

/* pagination */
.pagination { display: flex; gap: 6px; margin: 24px 0; }
.pagination > li > a, .pagination > li > span {
  border: 1px solid var(--line); border-radius: 9px !important; color: var(--ink-2);
  padding: 7px 13px; margin: 0; float: none; background: #fff;
}
.pagination > li > a:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-tint); }
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.cw-results { font-size: 13px; color: var(--ink-3); padding-top: 30px; }

/* ---------- product detail ---------- */
.cw-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; padding: 12px 0 10px; }
@media (max-width: 900px) { .cw-detail { grid-template-columns: 1fr; gap: 26px; } }
.cw-gallery { position: sticky; top: 90px; align-self: start; }
@media (max-width: 900px) { .cw-gallery { position: static; } }
.cw-gallery-main { border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--bg-soft); }
.cw-gallery-main img, .cw-gallery-main a { width: 100%; display: block; }
.cw-gallery-main img { aspect-ratio: 1 / 1; object-fit: contain; }
.cw-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; list-style: none; }
.cw-thumbs li { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--bg-soft); }
.cw-thumbs li.active, .cw-thumbs li:hover { border-color: var(--brand); }
.cw-thumbs a { display: block; }
.cw-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cw-pd-title { font-size: clamp(20px, 2.4vw, 27px); line-height: 1.4; margin: 0 0 12px; }
.cw-pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 18px 0 14px; margin: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.cw-pd-price .now { font-size: 32px; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.cw-pd-price .was { font-size: 15px; color: var(--ink-4); text-decoration: line-through; }
.cw-pd-price .save { font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 5px; }
.cw-pd-price h2 { font-size: 32px; color: var(--accent); margin: 0; }
.cw-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.cw-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.cw-attrs { margin: 16px 0; }
.cw-attrs li { padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.cw-attrs li .title { display: inline-block; min-width: 110px; color: var(--ink-3); }
.cw-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cw-stepper button { width: 40px; height: 40px; border: 0; background: #fff; color: var(--ink-2); }
.cw-stepper button:hover { background: var(--bg-soft); }
.cw-stepper input { width: 54px; height: 40px; border: 0; text-align: center; font-weight: 600; outline: none; }
.cw-buy-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cw-buy-row .cw-btn-primary { flex: 1; min-width: 170px; }
.cw-service { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin-top: 20px; padding: 16px; border-radius: var(--radius); background: var(--bg-soft-2); border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }
.cw-service div { display: flex; align-items: center; gap: 8px; }
.cw-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 40px; }
.cw-tabs a { display: block; padding: 12px 18px; font-size: 14px; color: var(--ink-3); border-bottom: 2px solid transparent; }
.cw-tabs a:hover { color: var(--ink); }
.cw-tabs li.active a { color: var(--brand-deep); border-bottom-color: var(--brand); font-weight: 600; }
.nav-tabs { border-bottom: 1px solid var(--line); margin-top: 40px; }
.nav-tabs > li > a { border: 0; border-radius: 0; color: var(--ink-3); font-size: 14px; padding: 12px 18px; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { border: 0; border-bottom: 2px solid var(--brand); color: var(--brand-deep); font-weight: 600; background: transparent; }
.tab-content { padding: 22px 0; color: var(--ink-2); }
.tab-content img { max-width: 100%; height: auto; }
.table-bordered, .table { border-color: var(--line-2); }
.table > thead > tr > th, .table > tbody > tr > td { border-color: var(--line-2); padding: 11px 12px; }
.quantity-input-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.quantity-input-wrapper a { width: 40px; height: 42px; display: grid; place-items: center; color: var(--ink-2); }
.quantity-input-wrapper a:hover { background: var(--bg-soft); }
.quantity-input-wrapper input { width: 56px; height: 42px; border: 0; text-align: center; font-weight: 600; box-shadow: none; }
.product-cart-action { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-price-wrapper { margin: 8px 0; }
.product-price-wrapper h2 { color: var(--accent); font-size: 30px; }
.product-price-wrapper .price-new { color: var(--accent); font-size: 30px; font-weight: 700; }
.product-price-wrapper .price-old { color: var(--ink-4); }
.elevate-zoom-preview { border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--bg-soft); }
.thumbnails { margin-top: 12px; }
.thumbnails li { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; }
.thumbnails li.active, .thumbnails li:hover { border-color: var(--brand); }
.thumbnails .thumbnail { border: 0; padding: 0; margin: 0; border-radius: 0; background: transparent; }

/* ---------- cart / checkout ---------- */
.cw-cart-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.cw-cart-item img { width: 92px; height: 92px; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
.cw-summary { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft-2); position: sticky; top: 90px; }
.cw-summary .row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; color: var(--ink-2); }
.cw-summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 700; color: var(--ink); }
.cart-well { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 18px; }
.cart-well .table { margin: 0; }
.cart-well .table > thead > tr > td { color: var(--ink-3); font-size: 12.5px; font-weight: 500; border-bottom: 1px solid var(--line); }
.cart-well .table img { border-radius: 12px; border: 1px solid var(--line); }
.cart-well .input-group-btn .btn { border-radius: 0 9px 9px 0; }
.cart-well .form-control { border-radius: 9px 0 0 9px; box-shadow: none; }
.buttons { margin: 20px 0; }

/* ---------- cart dropdown in header ---------- */
.cw-cart-pop {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 80;
  width: 340px; max-width: 92vw; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
}
.cw-cart-pop.open { display: block; }
.cw-cart-pop .table { margin: 0; }
.cw-cart-pop .table td { border-color: var(--line-2); padding: 8px 6px; font-size: 12.5px; }
.cw-cart-pop img { border-radius: 8px; border: 1px solid var(--line); }
.cw-cart-pop .no-results { padding: 20px; color: var(--ink-3); }
.cw-cart-pop .cw-pop-foot { padding: 10px 8px 6px; display: grid; gap: 8px; }

/* ---------- forms / alerts ---------- */
.form-control, input[type=text], input[type=email], input[type=password], input[type=tel], select, textarea {
  border-radius: 11px; border-color: var(--line); box-shadow: none;
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232, 129, 58, .12); }
.input-group-addon { border-color: var(--line); background: var(--bg-soft); border-radius: 11px 0 0 11px; }
.alert { border-radius: var(--radius); border-color: var(--line); font-size: 13.5px; }
.alert-info { background: #eef5fc; border-color: #d8e9f8; color: #2d6493; }
.alert-success { background: #eef8f3; border-color: #d5eee1; color: #2f7c59; }
.alert-danger { background: #fdecec; border-color: #f7d6d6; color: #b44846; }
.panel { border-radius: var(--radius); border-color: var(--line); box-shadow: none; }
.panel-heading { border-radius: var(--radius) var(--radius) 0 0; background: var(--bg-soft-2); border-color: var(--line); }
.radio-card, .checkbox { font-size: 13.5px; }

/* ---------- footer ---------- */
.cw-ft { background: #16171a; color: #b8b8bd; margin-top: 48px; font-size: 13.5px; }
.cw-ft a:hover { color: #fff; }
.cw-ft-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; padding: 48px 0 34px; }
@media (max-width: 900px) { .cw-ft-top { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px) { .cw-ft-top { grid-template-columns: 1fr; } }
.cw-ft h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.cw-ft li { margin-bottom: 9px; }
/* Footer brand = one logo image (image/catalog/logo.png, 552x126 RGBA).
   The artwork has dark-brown lettering, so put it on a small white plate;
   otherwise it disappears against the #16171a footer. */
.cw-ft .cw-ft-brand { display: flex; align-items: center; margin: 0 0 2px; }
.cw-ft .cw-ft-brand img.cw-ft-logo {
  display: block; width: 240px; max-width: 100%; height: auto; max-height: none;
  padding: 8px 12px; background: #fff; border-radius: 10px;
}
@media (max-width: 560px) { .cw-ft .cw-ft-brand img.cw-ft-logo { width: 210px; } }
.cw-ft .cw-ft-about { line-height: 1.8; margin-top: 14px; max-width: 34em; }
.cw-ft .cw-ft-contact { margin-top: 14px; display: grid; gap: 7px; }
.cw-ft .cw-ft-contact a { color: #ffd28a; }
.cw-ft-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cw-ft-pay span { padding: 3px 9px; border-radius: 6px; background: #26272c; border: 1px solid #33343a; font-size: 11.5px; color: #cfcfd4; }
.cw-ft-bottom { border-top: 1px solid #26272c; padding: 18px 0 26px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 12.5px; color: #8a8a8f; }
.cw-ft-bottom a:hover { color: #fff; }
footer { background: transparent; }
.footer-bottom { text-align: center; padding: 16px 0; }

/* ---------- back to top ---------- */
.cw-totop {
  position: fixed; right: 20px; bottom: 24px; z-index: 80;
  width: 44px; height: 44px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, transform .15s;
}
.cw-totop.on { opacity: 1; visibility: visible; }
.cw-totop:active { transform: scale(.92); }
.fixed-shortcut-wrapper .shortcut a { border-radius: 22px; }

/* ---------- misc module overrides ---------- */
.swiper-viewport { border: 0; box-shadow: none; border-radius: var(--radius); }
.carousel-inner > .item > img { border-radius: var(--radius); }
#carousel0 { border-radius: var(--radius); }
.module-slideshow .swiper-pagination-bullet-active { background: var(--brand); }
.module-slideshow .swiper-button-next, .module-slideshow .swiper-button-prev { border-radius: 20px; background: rgba(255, 255, 255, .9); color: var(--ink); }
.list-unstyled { list-style: none; }
.img-thumbnail { border-radius: var(--radius-s); border-color: var(--line); padding: 3px; }
.img-responsive { display: block; }
#content { min-height: 260px; }
#product-category, #product-product, #product-search, #product-special, #checkout-cart, #common-home { padding-bottom: 10px; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* fade-in on scroll */
.cw-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.cw-reveal.in { opacity: 1; transform: none; }

/* ---------- announcement tools (currency / language) ---------- */
.cw-announce .cw-wrap { justify-content: space-between; }
.cw-announce-main { display: inline-flex; align-items: center; gap: 8px; }
.cw-announce-main a { display: inline-flex; align-items: center; gap: 5px; }
.cw-announce-sep { opacity: .45; }
.cw-announce-tools { display: inline-flex; align-items: center; gap: 12px; }
.cw-announce-tools .pull-left { float: none; }
.cw-announce-tools .btn-group > .btn-link { color: #fff; font-size: 12px; padding: 0 2px; }
.cw-announce-tools .btn-link:hover, .cw-announce-tools .btn-link:focus { color: #ffd28a; }
.cw-announce-tools img { display: inline-block; width: 16px; height: auto; }
.cw-announce-tools .dropdown-menu { background: #fff; border-color: var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow); min-width: 140px; }
.cw-announce-tools .dropdown-menu > li > button { color: var(--ink-2); text-align: left; padding: 6px 12px; font-size: 12.5px; }
.cw-announce-tools .dropdown-menu > li > button:hover { background: var(--brand-tint); color: var(--brand-deep); }

/* ---------- header cart dropdown ---------- */
.cw-cart { position: relative; }
.cw-cart-btn .cw-cart-total-text { display: none; }
#cart:hover > .cw-cart-pop, #cart.open > .cw-cart-pop { display: block; }
.cw-cart-pop img { width: 42px; height: 42px; object-fit: cover; }
.cw-cart-pop .table > tbody > tr > td { vertical-align: middle; border-color: var(--line-2); }
.cw-cart-pop .table-bordered { margin-bottom: 8px; }
.cw-cart-pop .table-bordered td { padding: 5px 8px; font-size: 12.5px; border-color: var(--line-2); }
@media (max-width: 560px) { .cw-cart-pop { right: -8px; width: 300px; } }

/* ---------- list view ---------- */
.cw-grid.cw-list { grid-template-columns: 1fr; }
.cw-grid.cw-list .cw-card { flex-direction: row; }
.cw-grid.cw-list .cw-card-media { width: 200px; flex: none; aspect-ratio: auto; min-height: 200px; }
.cw-grid.cw-list .cw-card-body { justify-content: center; gap: 10px; }
.cw-grid.cw-list .cw-card-name { font-size: 16px; min-height: 0; }
@media (max-width: 620px) {
  .cw-grid.cw-list .cw-card-media { width: 110px; min-height: 110px; }
  .cw-grid.cw-list .cw-card-name { font-size: 13.5px; }
}

/* ---------- sidebar ---------- */
.sidebar-widget { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft-2); margin-bottom: 18px; }
.sidebar-widget .title { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.sidebar-widget > li { background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; box-shadow: none; padding: 0; margin: 0; }
.sidebar-widget > li > a { display: block; padding: 9px 0; font-size: 13.5px; color: var(--ink-2); }
.sidebar-widget > li > a:hover, .sidebar-widget > li.active > a { color: var(--brand-deep); font-weight: 600; }
.sidebar-widget .toggle-icon { float: right; padding: 9px 0 9px 10px; color: var(--ink-4); }
.sidebar-widget ul { padding-left: 12px; }
.sidebar-widget ul li a { display: block; padding: 6px 0; font-size: 13px; color: var(--ink-3); }
.sidebar-widget ul li.active a { color: var(--brand-deep); }

/* ---------- misc ---------- */
.cw-module { margin: 6px 0 20px; }
.cw-empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.cw-rating i { font-style: normal; margin-right: 1px; }
.cw-pd-info .stars-box { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 12.5px; color: var(--ink-3); }
.cw-pd-info .rating { color: #f0b429; }
.cw-pd-info .rating .off { color: var(--line); }
.wishlist-share { display: flex; gap: 8px; }
.cw-ft-bottom span { display: inline-block; }

/* ---------- neutralise legacy ID rules from bundled Bootstrap theme CSS ----------
   #menu / #search are kept in the markup because catalog/view/javascript/common.js
   binds to them. Their original yellow #menu styling must be overridden here. */
#menu.cw-nav {
  background: #fff;
  min-height: 0;
  margin-bottom: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 0;
}
body.common-home #menu.cw-nav { margin-bottom: 0; }
#menu.cw-nav .container {
  width: 100%; max-width: var(--max);
  padding-left: 24px; padding-right: 24px;
}
@media (max-width: 560px) {
  #menu.cw-nav .container { padding-left: 16px; padding-right: 16px; }
}
#menu.cw-nav .cw-nav-list > li > a { color: var(--ink-2); }
#menu.cw-nav .cw-nav-list > li > a:hover { color: var(--ink); background: transparent; }
#menu.cw-nav .cw-nav-list > li.on > a,
#menu.cw-nav .cw-nav-list > li.on > a:hover,
#menu.cw-nav .cw-nav-list > li.on > a:focus,
body.common-home #menu.cw-nav .cw-nav-list > li.cw-nav-home > a,
body.common-home #menu.cw-nav .cw-nav-list > li.cw-nav-home > a:hover {
  color: var(--brand-deep); border-bottom-color: var(--brand);
  background: transparent; font-weight: 600; transition: none;
}

#search.cw-search { height: auto; line-height: normal; border: 0; overflow: visible; border-radius: 0; }
#search.cw-search input {
  height: 40px; line-height: normal; padding: 0 42px 0 40px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--bg-soft);
}
#search.cw-search input:focus {
  background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 129, 58, .12);
}
#search.cw-search button {
  right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; padding: 0; border-radius: 16px;
  background: transparent; z-index: 10;
}
#search.cw-search button:hover { background: var(--line-2); }

/* =========================================================
   v2 — neutralise high-specificity legacy rules & polish inner pages
   ---------------------------------------------------------
   The bundled default stylesheet.css contains ID-scoped rules and
   !important declarations that ordinary class selectors cannot beat:
     #product-product .product-cart-action #button-cart { background:#f30240 }
     .nav-tabs li.active a { background:#ffda00 !important }
     .btn-primary { background:#ffda00 }
   Everything below is written at equal-or-higher specificity on purpose.
   ========================================================= */

/* Home: real H1 without changing the visual layout */
.cw-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;
}

/* ---- Product detail: quantity stepper ---- */
#product-product .product-cart-action .quantity-input-wrapper {
  float: none; width: auto; margin: 0; position: static;
  display: inline-flex; align-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 11px;
  background: #fff; overflow: hidden;
}
#product-product .product-cart-action .quantity-input-wrapper a {
  position: static; top: auto; right: auto; bottom: auto; left: auto;
  float: none; width: 38px; height: 46px; padding: 0; border: 0;
  background: #fff; color: var(--ink-2); font-size: 17px;
  line-height: 46px; text-align: center;
}
#product-product .product-cart-action .quantity-input-wrapper a:hover {
  background: var(--bg-soft); color: var(--brand-deep);
}
#product-product .product-cart-action .quantity-input-wrapper input.form-control {
  float: none; width: 52px; height: 46px; margin: 0; padding: 0 4px;
  border: 0; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  border-radius: 0; box-shadow: none; background: #fff;
  text-align: center; font-size: 15px; font-weight: 600;
}
#product-product .product-cart-action .quantity-input-wrapper input.form-control:focus {
  border-color: var(--line-2); box-shadow: none;
}

/* ---- Product detail: add-to-cart / wishlist / compare ---- */
#product-product .product-cart-action #button-cart.cw-btn {
  float: none; margin: 0; padding: 0 28px; height: 46px;
  border: 1px solid var(--brand); border-radius: 11px;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(232, 129, 58, .26);
}
#product-product .product-cart-action #button-cart.cw-btn:hover,
#product-product .product-cart-action #button-cart.cw-btn:focus {
  background: var(--brand-dark); border-color: var(--brand-dark); color: #fff;
}
#product-product .product-cart-action #button-cart.cw-btn:before { display: none; }
#product-product .product-cart-action .wishlist-share {
  float: none; margin: 0; display: flex; gap: 8px;
}
#product-product .product-cart-action .wishlist-share .cw-round {
  width: 46px; height: 46px; border-radius: 11px;
}

/* ---- Product detail: tabs (legacy rule uses !important) ---- */
#product-product .nav-tabs { border-bottom: 1px solid var(--line); margin-top: 34px; }
#product-product .nav-tabs > li > a,
#product-product .nav-tabs li > a {
  margin: 0; padding: 11px 18px; border-radius: 0;
  border: 0 !important; border-bottom: 2px solid transparent !important;
  background: transparent !important; color: var(--ink-3); font-size: 14px;
}
#product-product .nav-tabs > li > a:hover,
#product-product .nav-tabs li > a:hover {
  background: transparent !important; color: var(--ink);
}
#product-product .nav-tabs > li.active > a,
#product-product .nav-tabs li.active > a,
#product-product .nav-tabs li.active a {
  border: 0 !important; border-bottom: 2px solid var(--brand) !important;
  background: transparent !important; color: var(--brand-deep) !important;
  font-weight: 600;
}
#product-product .tab-content {
  margin: 0 0 10px; padding: 20px 22px;
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff; color: var(--ink-2); font-size: 14px; line-height: 1.8;
}

/* ---- Legacy yellow primary buttons / active list items ---- */
#content .btn-primary, #content button.btn-primary,
#content a.btn-primary, .cw-btn.cw-btn-primary {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
#content .btn-primary:hover, #content .btn-primary:focus,
#content button.btn-primary:hover, #content a.btn-primary:hover {
  background: var(--brand-dark); border-color: var(--brand-dark); color: #fff;
}
#content .list-group-item.active, #content .list-group-item.active:hover,
#content .list-group-item.active:focus {
  background: var(--brand-tint); border-color: var(--brand); color: var(--brand-deep);
}
#content .list-group-item.active a { color: var(--brand-deep); }
.form-control:focus, #content .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 129, 58, .12);
}

/* ---- Category toolbar ---- */
.cw-tools .btn-group > .btn {
  min-width: 36px; height: 34px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink-3); box-shadow: none;
}
.cw-tools .btn-group > .btn:hover { background: var(--bg-soft); color: var(--ink); }
.cw-tools .btn-group > .btn[data-active="1"],
.cw-tools .btn-group > .btn.active {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.cw-tools .btn-link { color: var(--ink-3); }
.cw-tools .btn-link:hover { color: var(--brand-deep); }
.cw-tools select { max-width: 160px; }

/* ---- Category left column ---- */
#column-left .sidebar-widget {
  padding: 18px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft-2); list-style: none;
}
#column-left .sidebar-widget .title {
  padding: 0; margin: 0 0 12px; font-size: 14px; font-weight: 600; text-align: left;
}
#column-left .sidebar-widget > li.panel,
#column-left .sidebar-widget > li.panelactive {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  border-radius: 0; box-shadow: none; margin: 0; padding: 0;
}
#column-left .sidebar-widget > li > a.category-href {
  display: block; padding: 9px 0; font-size: 13.5px; color: var(--ink-2);
}
#column-left .sidebar-widget > li.panelactive > a.category-href,
#column-left .sidebar-widget > li > a.category-href:hover {
  color: var(--brand-deep); font-weight: 600;
}

/* ---- Home slideshow / banners -------------------------------------------
   The site renders content_top with the ORIGINAL swiper module markup, so the
   .cw-hero-scoped rules above never match. Scope to .cw-home-modules instead
   and stop the image being cropped on narrow screens. */
.cw-home-modules .swiper-viewport,
.cw-home-modules .module-slideshow {
  margin: 0 0 14px; border: 0; box-shadow: none; background: transparent;
}
.cw-home-modules .swiper-slide img,
.cw-home-modules .swiper-viewport img,
.cw-home-modules a > img.img-responsive {
  width: 100% !important; max-width: 100% !important; height: auto !important;
  aspect-ratio: auto; object-fit: contain; border-radius: var(--radius);
}
.cw-home-modules .swiper-slide { height: auto !important; }
.cw-home-modules .swiper-pagination-bullet-active { background: var(--brand); }
@media (max-width: 720px) {
  .cw-home-modules .swiper-viewport { margin-bottom: 10px; }
  .cw-home-modules .swiper-slide img { border-radius: 10px; }
}

/* ---- Header on small screens ---- */
@media (max-width: 560px) {
  .cw-hd-bar { gap: 10px; padding: 10px 0 0; row-gap: 6px; }
  /* The 552x126 logo is mostly lettering: 32px made it tiny. */
  .cw-logo { max-width: 210px; gap: 0; }
  .cw-logo img { max-height: 48px; }
  .cw-actions { flex: none; flex-wrap: nowrap; gap: 6px; margin-left: auto; }
  .cw-actions .cw-icon-btn {
    width: 42px; height: 42px; padding: 0;
    justify-content: center; border-radius: 50%;
    background: var(--bg-soft); color: var(--ink-2);
  }
  .cw-actions .cw-icon-btn svg { width: 21px; height: 21px; }
  .cw-search { margin: 8px 0 10px; }
  .cw-search input { height: 40px; }
  .cw-nav a { padding: 9px 11px; font-size: 13px; }
  .cw-announce .cw-wrap { justify-content: flex-start; text-align: left; }
}

/* ---- Footer: force the intended 4-column grid ---- */
footer.cw-ft .container.cw-ft-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px; padding: 42px 0 30px; align-items: start;
}
footer.cw-ft .cw-ft-top ul { list-style: none; margin: 0; padding: 0; }
footer.cw-ft .cw-ft-top li { margin-bottom: 9px; }
footer.cw-ft .cw-ft-top a { color: #b8b8bd; padding-left: 0; }
footer.cw-ft .cw-ft-top a:hover { color: #fff; }
@media (max-width: 900px) { footer.cw-ft .container.cw-ft-top { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px) { footer.cw-ft .container.cw-ft-top { grid-template-columns: 1fr; gap: 20px; } }

/* =========================================================
   FIX: left category sidebar layout
   The stock stylesheet draws the chevron with a FontAwesome angle-right
   glyph on .sidebar-widget li .category-href:before, positioned absolute
   at top:-3px / left:0. Once the theme resets the link padding the glyph floats above the label
   and renders as a stray "⌋". It also leaves margin-bottom:10px on the
   link and padding:10px 0 on child <li>, which stretches every row.
   Take full control here with higher-specificity rules. Do NOT set
   `display` on .panel-collapse - Bootstrap's .collapse / .in must still
   drive the folding.
   ========================================================= */
#column-left .sidebar-widget {
  margin: 0 0 18px; padding: 16px 18px; list-style: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft-2);
}
#column-left .sidebar-widget > .title {
  margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 600;
  text-align: left; color: var(--ink);
}
#column-left .sidebar-widget > li.panel,
#column-left .sidebar-widget > li.panelactive {
  position: relative; display: block; margin: 0; padding: 0;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  box-shadow: none; background: transparent;
}
#column-left .sidebar-widget > li.panel:last-child { border-bottom: 0; }
#column-left .sidebar-widget > li > a.category-href {
  display: flex; align-items: center; gap: 9px;
  position: static; float: none; margin: 0; padding: 9px 30px 9px 0;
  font-size: 13.5px; line-height: 1.45; color: var(--ink-2);
}
/* Kill the legacy FontAwesome chevron and draw a clean CSS arrow instead. */
#column-left .sidebar-widget > li > a.category-href:before {
  content: ''; position: static; top: auto; left: auto; float: none;
  flex: 0 0 6px; width: 6px; height: 6px; margin: 0;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg); color: var(--ink-4);
  font-family: inherit; font-size: 0; opacity: .8;
}
/* The store minifier sometimes concatenates "panel active" into one class;
   cover both spellings plus the plain .active fallback. */
#column-left .sidebar-widget > li.active > a.category-href:before,
#column-left .sidebar-widget > li.panelactive > a.category-href:before,
#column-left .sidebar-widget > li > a.category-href:hover:before { color: var(--brand); opacity: 1; }
#column-left .sidebar-widget > li.active > a.category-href,
#column-left .sidebar-widget > li.panelactive > a.category-href,
#column-left .sidebar-widget > li > a.category-href:hover {
  color: var(--brand-deep); font-weight: 600;
}
#column-left .sidebar-widget > li > a.toggle-icon {
  position: absolute; top: 0; right: 0; float: none;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 38px; margin: 0; padding: 0;
  font-size: 14px; color: var(--ink-4);
}
#column-left .sidebar-widget > li > a.toggle-icon:hover { color: var(--brand-deep); }
#column-left .sidebar-widget ul.panel-collapse {
  margin: 0; padding: 0 0 8px 14px; list-style: none;
}
#column-left .sidebar-widget ul.panel-collapse > li {
  margin: 0; padding: 0; border: 0; border-bottom: 1px dashed var(--line);
  box-shadow: none; background: transparent;
}
#column-left .sidebar-widget ul.panel-collapse > li:last-child { border-bottom: 0; }
#column-left .sidebar-widget ul.panel-collapse > li > a {
  display: block; margin: 0; padding: 8px 0;
  font-size: 13px; line-height: 1.45; color: var(--ink-3);
}
#column-left .sidebar-widget ul.panel-collapse > li.active > a,
#column-left .sidebar-widget ul.panel-collapse > li > a:hover {
  color: var(--brand-deep); background: transparent;
}

/* =========================================================
   FIX: green "諮詢我們" WhatsApp call-to-action on product pages.
   The production default theme ships it as #wa_whatsappbtn with
   background #25d366. Keep that exact green - it is a contact channel,
   not a purchase button, so it stays out of the theme orange family.
   ========================================================= */
#product .cw-enquiry,
.cw-pd-info .cw-enquiry {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  float: none; width: auto; height: 46px; padding: 0 24px;
  margin: 18px 0 4px; border: 0; border-radius: 8px;
  background: #25d366; color: #fff; font-size: 16px; font-weight: 600;
  line-height: 1; text-transform: none; text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .22);
  transition: transform .12s, box-shadow .2s, background .2s;
}
#product .cw-enquiry:hover,
#product .cw-enquiry:focus,
.cw-pd-info .cw-enquiry:hover,
.cw-pd-info .cw-enquiry:focus {
  background: #20bd5c; color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .3);
}
.cw-enquiry:active { transform: scale(.98); }
.cw-enquiry .fa { font-size: 19px; line-height: 1; }

/* =========================================================
   FIX 2026-11-05 #2 : footer grid + legacy list/grid product layout
   ---------------------------------------------------------
   1) Bootstrap 3 ships .container:before / .container:after as clearfix
      helpers (`content:" "; display:table`). On a display:grid or
      display:flex container those two generated boxes become REAL items:
      they eat the first grid cell, push the brand block into column 2 and
      wrap the last column onto row 2 at the far left. That is exactly the
      broken footer the user reported. Suppress them on every container we
      turned into a grid/flex box.
   2) The bundled default theme still styles the bare <footer> element
      (padding:40px 0 0, light background, top border). Reset it here.
   3) product/search.twig and product/special.twig used to keep the old
      `.product-layout col-lg-3` markup. Those Bootstrap floats / widths
      fight our `.product-wrapper` grid, and the store minifier even joins
      classes into `product-layoutproduct-grid`, so substring selectors are
      required for the fallback path.
   ========================================================= */
footer.cw-ft .container:before,
footer.cw-ft .container:after,
.cw-grid:before, .cw-grid:after,
.cw-features:before, .cw-features:after,
.cw-subcats:before, .cw-subcats:after,
.product-wrapper:before, .product-wrapper:after {
  content: none !important;
  display: none !important;
  clear: none !important;
}

footer.cw-ft {
  padding: 0; margin: 48px 0 0; border: 0;
  background: #16171a; color: #b8b8bd;
}
footer.cw-ft .container.cw-ft-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px; padding: 46px 24px 32px; align-items: start;
}
footer.cw-ft .container.cw-ft-bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 14px;
  border-top: 1px solid #26272c; padding: 18px 24px 26px;
  margin: 0; background: transparent;
}
@media (max-width: 900px) { footer.cw-ft .container.cw-ft-top { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px) {
  footer.cw-ft .container.cw-ft-top { grid-template-columns: 1fr; gap: 20px; }
  footer.cw-ft .container.cw-ft-top,
  footer.cw-ft .container.cw-ft-bottom { padding-left: 16px; padding-right: 16px; }
}

/* Legacy .product-layout wrappers: let the grid own the sizing. */
.product-wrapper > [class*="product-layout"],
.product-wrapper > [class*="product-grid"],
.product-wrapper > [class*="product-list"],
.product-wrapper > .product-layout {
  float: none !important;
  width: auto !important;
  min-width: 0; min-height: 0;
  margin: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* List view: one card per row, image on the left. */
.product-wrapper > [class*="product-list"],
.product-wrapper > .product-list { grid-column: 1 / -1; }
.product-wrapper > [class*="product-list"] .cw-card,
.product-list .cw-card { flex-direction: row; }
.product-wrapper > [class*="product-list"] .cw-card-media,
.product-list .cw-card-media { width: 200px; flex: none; aspect-ratio: auto; min-height: 200px; }
.product-wrapper > [class*="product-list"] .cw-card-body,
.product-list .cw-card-body { justify-content: center; gap: 10px; }
.product-wrapper > [class*="product-list"] .cw-card-name,
.product-list .cw-card-name { font-size: 16px; min-height: 0; }
@media (max-width: 620px) {
  .product-wrapper > [class*="product-list"] .cw-card-media,
  .product-list .cw-card-media { width: 110px; min-height: 110px; }
}
/* .cw-price-row normally uses margin-top:auto; in a horizontal card that
   pushes the price to the bottom and leaves a large empty gap. */
.cw-grid.cw-list .cw-card-body,
.product-wrapper > [class*="product-list"] .cw-card-body { justify-content: flex-start; }
.cw-grid.cw-list .cw-price-row,
.product-wrapper > [class*="product-list"] .cw-price-row { margin-top: 0; }

/* Search form on product/search (replaces the old Bootstrap .row form). */
.cw-search-form {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px; align-items: end; margin: 0 0 24px;
}
.cw-search-form .cw-field { min-width: 0; }
.cw-search-form .cw-field > label { display: block; margin: 0 0 5px; font-size: 12.5px; color: var(--ink-3); }
.cw-search-form .form-control {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
  color: var(--ink); font-size: 14px; box-shadow: none;
}
.cw-search-form .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232, 129, 58, .12); }
/* Plain flex labels: Bootstrap's .checkbox-inline absolutely positions its
   input, which used to print the checkbox on top of the first characters. */
.cw-search-form .cw-checks { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding-bottom: 6px; }
.cw-search-form .cw-check {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 0;
  font-size: 13px; font-weight: 400; line-height: 1.4;
  color: var(--ink-2); cursor: pointer; white-space: normal;
}
.cw-search-form .cw-check input[type="checkbox"] {
  position: static; float: none; margin: 0; flex: 0 0 16px;
  width: 16px; height: 16px; accent-color: var(--brand);
}
.cw-search-form .cw-check span { min-width: 0; }
/* Defensive: if an older cached template still emits .checkbox-inline. */
.cw-search-form .checkbox-inline {
  display: flex; align-items: center; gap: 8px;
  position: static; padding-left: 0; margin: 0;
}
.cw-search-form .checkbox-inline input[type="checkbox"] {
  position: static; float: none; margin: 0; flex: 0 0 16px;
}
.cw-search-form .cw-btn { height: 40px; padding: 0 22px; white-space: nowrap; }
@media (max-width: 900px) { .cw-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cw-search-form { grid-template-columns: 1fr; } }

/* =========================================================
   Footer link columns: match the reference layout (title rule + › markers).
   Only the two link columns get these; the left column stays plain company
   information, and no extra links are added.
   ========================================================= */
footer.cw-ft .cw-ft-top h4 {
  border-bottom: 1px solid #2c2d32; padding-bottom: 12px; margin-bottom: 14px;
}
footer.cw-ft .cw-ft-top ul li a::before {
  content: '\203A'; display: inline-block; margin-right: 9px; color: #6f7076;
}
footer.cw-ft .cw-ft-top ul li a:hover::before { color: #fff; }

/* =========================================================
   FIX: mobile navigation stays on ONE row instead of wrapping into a messy
   second line. The row scrolls horizontally; a soft right-edge fade hints
   that more categories exist. Dropdowns are position:fixed on narrow screens
   so the scrolling container cannot clip them (fixed boxes are anchored to
   the viewport). cukwai.js keeps --cw-sub-top at the nav's bottom edge.
   ========================================================= */
@media (max-width: 768px) {
  #menu.cw-nav { position: relative; }
  #menu.cw-nav .cw-nav-list {
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  #menu.cw-nav .cw-nav-list > li { flex: 0 0 auto; }
  #menu.cw-nav .cw-nav-list > li > a { padding: 10px 12px; }
  #menu.cw-nav::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0;
    width: 28px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
  }
  #menu.cw-nav.cw-nav-end::after { display: none; }
  .cw-nav .cw-sub:not(.cw-sub-l3) {
    position: fixed; left: 12px; right: 12px;
    top: var(--cw-sub-top, 160px);
    min-width: 0; max-width: none; max-height: 60vh;
    overflow-y: auto; z-index: 999; border-radius: 12px;
  }
  .cw-nav .cw-sub-l3 {
    position: static; margin-left: 12px; padding: 0 0 4px;
    box-shadow: none; border: 0; min-width: 0;
  }
}

/* =========================================================
   FIX: touch disclosure arrow overlaps the label, and a tap on the parent
   category navigates away instead of opening its submenu.
   The mobile rule `#menu.cw-nav .cw-nav-list > li > a{padding:10px 12px}`
   wins on specificity over the earlier `padding-right:28px`, so the
   absolutely positioned arrow lands on the last characters (measured
   overlap: 16px). Reserve real space for it, enlarge the hit area to 40px,
   and let cukwai.js handle "first tap opens, second tap navigates".
   ========================================================= */
@media (max-width: 768px), (hover: none) {
  #menu.cw-nav .cw-nav-list > li.cw-has-sub > a,
  .cw-nav .cw-nav-list > li.cw-has-sub > a,
  .cw-nav .cw-sub > li.cw-has-sub > a { padding-right: 46px; }
  #menu.cw-nav .cw-nav-list > li > .cw-sub-toggle,
  .cw-nav .cw-nav-list > li > .cw-sub-toggle,
  .cw-nav .cw-sub > li > .cw-sub-toggle {
    right: 2px; width: 40px; height: 40px; z-index: 3;
    touch-action: manipulation;
  }
  .cw-nav .cw-nav-list > li > .cw-sub-toggle::before {
    width: 7px; height: 7px; border-width: 1.8px;
  }
  /* A stock FontAwesome chevron may be injected if a minifier adds
     .list-unstyled to the dropdown; never let a glyph sit on the label. */
  .cw-nav .cw-sub a::before,
  .cw-nav .cw-sub a::after { content: none !important; }
}
/* Same guard for the footer link columns: only our own inline › on <a>
   should draw, never the stock absolutely positioned li::before glyph. */
footer.cw-ft .cw-ft-top ul li::before { content: none !important; }

/* =========================================================
   FIX: search page furniture, list view class concatenation, footer.
   ========================================================= */

/* Bootstrap floats .btn-group buttons and relies on text-align/line-height;
   the fa glyph ends up visibly off-centre. Make each button a flex box. */
.cw-tools .btn-group { display: inline-flex; vertical-align: middle; }
.cw-tools .btn-group > .btn {
  display: inline-flex; align-items: center; justify-content: center;
  float: none; width: 38px; height: 36px; margin: 0; padding: 0;
  line-height: 1; text-align: center;
}
.cw-tools .btn-group > .btn > i.fa {
  display: block; margin: 0; line-height: 1; font-size: 15px;
}

/* The production HTML minifier concatenates a literal class with a following
   {{ }} expression: class="cw-grid cw-list" becomes "cw-gridcw-list", which
   silently disables every .cw-grid.cw-list rule and leaves list mode as a
   full-width grid of oversized cards. Cover all three spellings: the normal
   class, the data-view fallback added to the templates, and the glued class.
   Also pin the media box so a 1-column card can never blow the image up. */
.cw-grid.cw-list,
.cw-grid[data-view="list"],
[class*="cw-gridcw-list"] { grid-template-columns: 1fr !important; }
.cw-grid.cw-list .cw-card,
.cw-grid[data-view="list"] .cw-card,
[class*="cw-gridcw-list"] .cw-card { flex-direction: row; }
.cw-grid.cw-list .cw-card-media,
.cw-grid[data-view="list"] .cw-card-media,
[class*="cw-gridcw-list"] .cw-card-media {
  width: 200px; min-width: 200px; max-width: 200px;
  height: 200px; min-height: 0; flex: none; aspect-ratio: auto;
}
.cw-grid.cw-list .cw-card-body,
.cw-grid[data-view="list"] .cw-card-body,
[class*="cw-gridcw-list"] .cw-card-body { justify-content: flex-start; gap: 10px; }
.cw-grid.cw-list .cw-card-name,
.cw-grid[data-view="list"] .cw-card-name,
[class*="cw-gridcw-list"] .cw-card-name { font-size: 16px; min-height: 0; }
.cw-grid.cw-list .cw-price-row,
.cw-grid[data-view="list"] .cw-price-row,
[class*="cw-gridcw-list"] .cw-price-row { margin-top: 0; }
@media (max-width: 620px) {
  .cw-grid.cw-list .cw-card-media,
  .cw-grid[data-view="list"] .cw-card-media,
  [class*="cw-gridcw-list"] .cw-card-media {
    width: 110px; min-width: 110px; max-width: 110px; height: 110px;
  }
  .cw-grid.cw-list .cw-card-name,
  .cw-grid[data-view="list"] .cw-card-name,
  [class*="cw-gridcw-list"] .cw-card-name { font-size: 13.5px; }
}

/* One compact info bar directly under the price, no duplicated rows. */
.cw-pd-info .cw-service {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin: 16px 0 20px; padding: 14px 18px;
}
.cw-pd-info .cw-service div { display: flex; align-items: center; gap: 8px; }

/* With the powered string removed, centre the remaining company line. */
footer.cw-ft .cw-ft-bottom > span:only-child { margin: 0 auto; }

@media print {
  .cw-hd, .cw-ft, .cw-totop, .cw-announce, .cw-cart-pop { display: none !important; }
}
