/* =========================================================
   PULIMASO site-wide responsive and maintenance fixes
   2026-08
   Loaded last so these rules safely override legacy styles.
   ========================================================= */

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

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
  border: 0;
}

/* Bootstrap containers must stay block-level. Legacy custom CSS had
   accidentally turned every .container into flex, breaking the grid. */
.container,
.container-fluid {
  display: block;
}

.row {
  min-width: 0;
}

[class*="col-"] {
  min-width: 0;
}

/* Animation content should never disappear if animation JS is delayed/blocked. */
.probootstrap-animate {
  opacity: 1;
  visibility: visible;
}

/* -------------------------- Navigation -------------------------- */
.probootstrap-navbar {
  width: 100%;
}

.probootstrap-navbar .container {
  position: relative;
}

.probootstrap-navbar .navbar-header.pagination {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .probootstrap-navbar {
    background: #fff;
  }

  .probootstrap-navbar .navbar-brand {
    margin-left: 15px;
  }

  .probootstrap-navbar .navbar-collapse {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .probootstrap-navbar .navbar-nav {
    margin: 8px 0 12px;
  }

  .probootstrap-navbar .navbar-nav > li > a {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* --------------------------- Banners --------------------------- */
/* Inner-page hero banners (About / product categories / contact).
   Desktop keeps the original 1897×605 artwork ratio instead of forcing a
   shallow fixed hero. Mobile remains cropped to a practical hero height. */
#banner {
  display: block;
  /* Full-bleed inner-page banner on desktop, including very wide/zoomed viewports. */
  width: 100vw !important;
  max-width: none !important;
  height: auto !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
}

@media (max-width: 767px) {
  #banner {
    width: 100vw !important;
    max-width: none !important;
    height: 200px !important;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center center;
    margin-bottom: 24px;
  }
}

@media (max-width: 380px) {
  #banner {
    height: 180px;
  }
}

.flexslider,
.flexslider .slides,
.flexslider .slides > li {
  max-width: 100%;
}

@media (max-width: 767px) {
  .flexslider .slides > li {
    background-position: center center !important;
  }
}

/* ----------------------- Homepage reasons ---------------------- */
.home-reasons-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.home-reasons-copy {
  float: none;
}

.home-reasons-copy ul {
  max-width: 520px;
  margin: 0 auto 30px;
  padding-left: 1.4em;
  text-align: left;
}

.home-reasons-copy li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.home-reasons-media {
  float: none;
  margin-left: 8.33333333%;
  text-align: center;
}

.home-reasons-media img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .home-reasons-row {
    display: block;
  }

  .home-reasons-copy,
  .home-reasons-media {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  .home-reasons-copy {
    padding-left: 15px;
    padding-right: 15px;
  }

  .home-reasons-copy ul {
    max-width: 680px;
  }

  .home-reasons-media {
    margin-top: 24px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .home-reasons-media img {
    max-width: 680px;
  }
}

@media (max-width: 480px) {
  .probootstrap-section {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .home-reasons-copy h3 {
    font-size: 23px;
  }

  .home-reasons-copy ul {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* Responsive YouTube/video embeds */
.video-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------ About page --------------------------- */
.split-fullscreen,
.split-fullscreen .drop-margins {
  width: 100%;
  overflow: hidden;
}

.split-fullscreen .drop-margins > .row {
  display: flex;
  align-items: stretch;
  margin-left: 0;
  margin-right: 0;
}

.split-fullscreen .drop-margins > .row > [class*="col-"] {
  float: none;
}

.split-fullscreen .image-section {
  padding-left: 0;
  padding-right: 0;
  display: flex;
}

.split-fullscreen .image-section img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-fullscreen .content-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5%;
  padding-bottom: 5%;
}

.split-fullscreen .feat-description p {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .split-fullscreen .drop-margins > .row {
    display: flex;
    flex-direction: column;
  }

  .split-fullscreen .drop-margins > .row > [class*="col-"] {
    width: 100%;
    left: auto;
    right: auto;
  }

  .split-fullscreen .image-section {
    order: 1;
  }

  .split-fullscreen .content-section {
    order: 2;
    padding: 36px 20px 44px;
    margin-top: 0;
  }

  .split-fullscreen .content-section br {
    display: none;
  }

  .split-fullscreen .feat-description p {
    line-height: 1.9 !important;
  }
}

/* About-page short subheading: keep the key statement on one line on phones. */
.about-meat-highlight {
  line-height: 1.45;
}

@media (max-width: 767px) {
  .about-meat-highlight {
    white-space: nowrap;
    font-size: clamp(18px, 5.2vw, 22px);
    letter-spacing: 0;
  }
}

/* -------------------- Product category pages ------------------- */
.probootstrap-gallery,
.probootstrap-gallery figure,
.probootstrap-gallery img {
  max-width: 100%;
}

@media (max-width: 767px) {
  .probootstrap-gallery.four-col figure,
  .probootstrap-gallery.three-col figure,
  .probootstrap-gallery.two-col figure {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ---------------------- Single products ------------------------ */
.single-product-area {
  padding-left: 0;
  padding-right: 0;
}

.single-product-img,
.single-product-img img,
.product-details-large,
.single-product-menu {
  max-width: 100%;
}

.single-product-img img {
  display: block;
  width: 100%;
  height: auto;
}

.single-product-content {
  min-width: 0;
  overflow-wrap: break-word;
}

.single-product-content .disc,
.single-product-content .product-info p {
  max-width: 100%;
}

.single-product-content ul {
  padding-left: 1.5em;
}

.single-product-action,
.product-variants {
  max-width: 100%;
}

@media (max-width: 991px) {
  .single-product-area {
    margin-top: 65px !important;
  }

  .single-product-img,
  .single-product-name {
    margin-top: 20px;
  }

  .single-product-content {
    padding: 0 4px 24px;
  }

  .single-product-content .disc,
  .single-product-content .product-info p {
    margin-left: 0;
  }

  .single-product-menu {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .single-product-name {
    font-size: 21px;
    letter-spacing: 1px;
  }

  .single-product-content .product-info p,
  .single-product-content li {
    font-size: 15px;
    line-height: 1.75;
  }

  .single-product-content .btn {
    display: block;
    width: 100%;
    margin: 0 0 10px;
  }
}

/* ----------------------- Tables / order ------------------------ */
.table-responsive {
  border: 0;
}

table {
  max-width: 100%;
}

@media (max-width: 767px) {
  table {
    font-size: 14px;
  }

  .probootstrap-form .form-control {
    width: 100%;
  }
}

/* -------------------------- Footer ----------------------------- */
.probootstrap-footer,
.probootstrap-copyright {
  overflow: hidden;
}

.probootstrap-footer .container,
.probootstrap-copyright .container {
  display: block;
}

.probootstrap-footer-social img.logo-f {
  max-width: 36px;
  height: auto;
}

.probootstrap-footer a,
.probootstrap-copyright a {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .probootstrap-footer,
  .probootstrap-copyright {
    text-align: center;
  }

  .probootstrap-footer .row > [class*="col-"],
  .probootstrap-copyright .row > [class*="col-"] {
    margin-bottom: 18px;
  }

  .probootstrap-footer-social.right {
    float: none !important;
    text-align: center;
  }
}

/* -------------------- Long text & overflow --------------------- */
p,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
}

.footer-brand {
  font-size: 22px;
  color: #E61D4C;
}
.footer-brand-en { font-size: 18px; }
.footer-phone { color: #fff; }
.footer-line { color: #FDD100; }

/* Product category grid: desktop keeps the category menu at left and 3 products per row. */
.product-catalog {
  padding-top: 22px;
  padding-bottom: 45px;
}
.product-grid-row {
  margin-bottom: 32px;
}
.product-card .item {
  height: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0 10px 18px;
}
.product-card .item img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.product-card .item h3 {
  margin-top: 18px;
}
.category-sidebar .list-group {
  margin-bottom: 26px;
}
@media (min-width: 992px) {
  .product-grid-row {
    display: flex;
    align-items: stretch;
  }
  .product-grid-row > [class*="col-"] {
    float: none;
  }
}
@media (max-width: 991px) {
  .category-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .product-card {
    width: 100%;
  }
  .product-card .item {
    max-width: 520px;
    margin: 0 auto 28px;
  }
  .category-sidebar .list-group-item span {
    letter-spacing: 3px !important;
  }
}

/* Contact page */
.contact-section {
  padding-left: 0;
  padding-right: 0;
}
.contact-main {
  margin-left: 0;
  margin-right: 0;
  display: flex;
  align-items: stretch;
}
.contact-photo {
  padding-left: 0;
  padding-right: 0;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-main > .text {
  padding: 50px 40px;
}
.contact-mail-icon img {
  width: 30px;
  height: auto;
}
@media (max-width: 991px) {
  .contact-main { display: block; }
  .contact-photo img { height: auto; }
  .contact-main > .text { padding: 35px 22px; }
}
@media (max-width: 767px) {
  .contact-main > .text br { display: none; }
  .contact-main > .text p { line-height: 1.8 !important; }
  .contact-section + .container-fluid iframe { height: 420px; }
}

/* Order page */
.order-page {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
}
.order-page .panel-group,
.order-page .panel {
  max-width: 100%;
}
.order-page .panel-body,
.order-page .panel-title,
.order-page h5 {
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .order-page { background-attachment: scroll; }
  .order-page .panel-body { padding: 15px 12px; }
  .order-page h3 { font-size: 22px; }
  .order-page h4 { font-size: 17px; line-height: 1.6; }
  .order-page h5 { font-size: 14px; line-height: 1.8; }
}

/* Privacy page */
@media (max-width: 767px) {
  body .container-fluid h5[style*="text-align: left"] br {
    display: none;
  }
  body .container-fluid h5[style*="text-align: left"] {
    line-height: 1.8 !important;
  }
}

@media (min-width: 768px) {
  .split-fullscreen .same-height-row.reverse-row {
    flex-direction: row-reverse;
  }
}


/* Homepage YouTube local-preview fallback */
.video-local-notice {
  max-width: 900px;
  margin: 24px auto;
  padding: 22px 24px;
  border: 1px solid #ead9a7;
  border-radius: 8px;
  background: #fff9e8;
  color: #5f5540;
  line-height: 1.8;
  text-align: center;
}
.video-local-notice a {
  color: #d51b2b;
  font-weight: 700;
}


/* ===== v5 native online order page ===== */
.order-v2 { background: #fff; color: #4c4c4c; }
.order-v2 a { transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.order-hero-copy { padding: 60px 0 42px; text-align: center; background: linear-gradient(180deg,#fff 0%,#fffaf2 100%); }
.order-kicker { margin: 0 0 7px; color: #dca600; font-size: 12px; font-weight: 700; letter-spacing: .22em; }
.order-hero-copy h1 { margin: 0 0 12px; color: #ff2254; font-size: 38px; font-weight: 700; }
.order-lead { max-width: 760px; margin: 0 auto 30px; font-size: 16px; line-height: 1.9; color: #777; }
.order-method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; max-width: 1050px; margin: 0 auto; text-align: left; }
.order-method-card { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 92px; padding: 16px 18px; border: 1px solid #eee1d5; border-radius: 12px; background: #fff; box-shadow: 0 6px 22px rgba(60,40,20,.05); color: #555; }
.order-method-card:hover { transform: translateY(-2px); border-color: #f3b5c5; color: #ff2254; }
.order-method-card.is-primary { border-color: #ffb5c8; background: #fff3f6; }
.order-method-icon { grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #ffd34f; color: #5b4a00; font-size: 13px; font-weight: 800; }
.order-method-card strong { font-size: 16px; color: #444; }
.order-method-card small { color: #8d8d8d; font-size: 12px; }

.order-form-section { padding: 55px 0 65px; background: #fff; scroll-margin-top: 90px; }
.order-section-heading { display: flex; align-items: flex-start; gap: 15px; margin: 0 0 24px; }
.order-section-heading > span { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #ff2254; color: #fff; font-weight: 700; }
.order-section-heading h2 { margin: 0 0 4px; color: #333; font-size: 28px; font-weight: 700; }
.order-section-heading p { margin: 0; color: #888; line-height: 1.7; }
.order-customer-heading { margin-top: 50px; scroll-margin-top: 90px; }
.order-shop-layout { display: flex; align-items: flex-start; }
.order-category-list { border-top: 1px solid #eadfd5; }
.order-category { border-bottom: 1px solid #eadfd5; background: #fff; }
.order-category summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 16px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; color: #444; background: #fffdf8; }
.order-category summary::-webkit-details-marker { display:none; }
.order-category summary::after { content: '＋'; flex: 0 0 auto; color:#ff2254; font-size:22px; font-weight:400; }
.order-category[open] summary::after { content:'−'; }
.order-category-price { color:#9b806c; font-size:13px; font-weight:500; }
.order-category-title { display:flex; align-items:center; gap:9px; }
.temp-badge { display:inline-block; padding:3px 8px; border-radius:999px; background:#e9f5e4; color:#3b7b42; font-size:11px; font-weight:700; vertical-align:middle; }
.temp-badge.temp-cold { background:#e6f4fb; color:#31789c; }
.order-products { padding: 0 16px 10px; }
.order-product-row { display:grid; grid-template-columns:minmax(150px,1.25fr) minmax(170px,1fr) minmax(170px,1fr); gap:14px; align-items:center; padding:14px 0; border-top:1px dashed #eee1d9; }
.order-product-name { color:#444; font-weight:600; line-height:1.45; }
.order-size-option { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 8px 7px 12px; background:#faf8f5; border-radius:9px; }
.order-size-label { display:flex; flex-direction:column; line-height:1.25; color:#777; font-size:12px; }
.order-size-label strong { margin-top:2px; color:#d5234e; font-size:14px; }
.order-qty-control { display:flex; align-items:center; gap:4px; }
.qty-btn { width:30px; height:30px; padding:0; border:1px solid #ddd0c5; border-radius:50%; background:#fff; color:#66564b; font-size:18px; line-height:28px; text-align:center; }
.qty-btn:hover { border-color:#ff8cac; color:#ff2254; }
.order-qty { width:42px; height:32px; padding:3px; border:1px solid #ddd0c5; border-radius:6px; text-align:center; color:#444; background:#fff; -moz-appearance:textfield; }
.order-qty::-webkit-inner-spin-button, .order-qty::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }

.order-summary-card { position:sticky; top:96px; padding:22px; border:1px solid #f0ddd3; border-radius:14px; background:#fffaf5; box-shadow:0 10px 35px rgba(74,45,23,.07); }
.order-summary-card h3 { margin:0 0 15px; color:#444; font-size:21px; font-weight:700; }
.order-selected-items { max-height:230px; overflow:auto; margin-bottom:14px; padding-bottom:5px; border-bottom:1px solid #eadbd0; }
.order-empty { margin:0 0 10px; color:#aaa; font-size:13px; }
.order-selected-row { display:flex; justify-content:space-between; gap:12px; padding:6px 0; font-size:12px; line-height:1.4; }
.order-selected-row span:first-child { color:#666; }
.order-selected-row strong { white-space:nowrap; color:#555; }
.order-summary-line, .order-summary-total { display:flex; justify-content:space-between; align-items:center; padding:7px 0; }
.order-summary-line { color:#777; font-size:14px; }
.order-summary-line strong { color:#444; }
.order-summary-total { margin-top:7px; padding-top:14px; border-top:1px solid #e6d0c3; color:#333; font-size:16px; }
.order-summary-total strong { color:#ff2254; font-size:25px; }
.order-summary-note { margin:10px 0 0; color:#95877e; font-size:11px; line-height:1.6; }
.order-jump-button { display:block; margin-top:16px; padding:11px 14px; border-radius:8px; background:#ff2254; color:#fff !important; text-align:center; font-weight:700; }
.order-jump-button:hover { background:#e91d49; }

.order-form-card { padding:28px; border:1px solid #eadfd7; border-radius:14px; background:#fff; box-shadow:0 8px 28px rgba(50,40,30,.05); }
.order-field { margin-bottom:20px; }
.order-field label { display:block; margin-bottom:7px; color:#555; font-size:13px; font-weight:700; }
.order-field .form-control { height:44px; border:1px solid #ddd3cb; border-radius:7px; box-shadow:none; }
.order-field textarea.form-control { height:auto; min-height:110px; resize:vertical; }
.order-field .form-control:focus { border-color:#ff7c9d; box-shadow:0 0 0 2px rgba(255,34,84,.08); }
.order-consent { display:flex; gap:9px; align-items:flex-start; margin:4px 0 18px; color:#777; font-size:12px; font-weight:400; line-height:1.6; }
.order-consent input { margin-top:4px; }
.order-alert { margin:10px 0 18px; padding:12px 15px; border-radius:8px; font-size:13px; line-height:1.7; }
.order-alert-warning { border:1px solid #f0c788; background:#fff7e8; color:#805d2b; }
.order-alert-info { border:1px solid #b9dbe9; background:#f0f9fd; color:#426c7d; }
.order-submit-button { min-width:190px; padding:13px 25px; border:0; border-radius:8px; background:#ff2254; color:#fff; font-size:16px; font-weight:700; }
.order-submit-button:hover { background:#e91d49; }
.order-submit-button[disabled] { opacity:.55; cursor:not-allowed; }
.order-submit-status { display:inline-block; margin-left:14px; color:#666; font-size:13px; }
.order-submit-status.is-success { color:#2d7f45; }
.order-submit-status.is-error { color:#c63838; }
.order-honeypot { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }

.order-info-section { padding:55px 0 70px; background:#fafafa; }
.order-info-grid > [class*='col-'] { margin-bottom:20px; }
.order-info-card { height:100%; min-height:230px; padding:24px 26px; border:1px solid #ebe3dc; border-radius:12px; background:#fff; }
.order-info-card h3 { margin:0 0 15px; color:#444; font-size:20px; font-weight:700; }
.order-info-card ul { margin:0; padding-left:20px; text-align:left; color:#6d6d6d; line-height:1.8; }
.order-info-card p { color:#6d6d6d; line-height:1.8; }
.order-info-emphasis { color:#ff2254 !important; font-size:18px; font-weight:700; }
.order-bank-list { margin:0 0 12px; }
.order-bank-list > div { display:flex; padding:6px 0; border-bottom:1px dashed #eee; }
.order-bank-list dt { width:90px; color:#8b7b70; font-weight:500; }
.order-bank-list dd { margin:0; color:#444; font-weight:700; letter-spacing:.02em; }
.order-qr-row { margin-top:8px; }
.order-qr-card { display:flex; align-items:center; gap:22px; min-height:230px; padding:22px; border:1px solid #e8e0da; border-radius:12px; background:#fff; }
.order-qr-card img { flex:0 0 auto; width:170px; max-height:190px; object-fit:contain; border-radius:7px; }
.order-qr-card h3 { margin:0 0 8px; color:#444; font-size:20px; font-weight:700; }
.order-qr-card p { color:#747474; line-height:1.75; }
.order-channel-note { margin:28px auto 0; max-width:850px; text-align:center; color:#8a8a8a; font-size:12px; line-height:1.8; }

@media (min-width: 992px) {
  .order-info-grid { display:flex; flex-wrap:wrap; }
  .order-info-grid > [class*='col-'] { display:flex; }
}
@media (max-width: 991px) {
  .order-method-grid { grid-template-columns:repeat(2,1fr); }
  .order-shop-layout { display:block; }
  .order-summary-card { position:static; margin-top:24px; }
  .order-qr-card img { width:140px; }
}
@media (max-width: 767px) {
  .order-hero-copy { padding:38px 0 30px; }
  .order-hero-copy h1 { font-size:30px; }
  .order-lead { padding:0 8px; font-size:14px; }
  .order-method-grid { grid-template-columns:1fr; gap:10px; }
  .order-method-card { min-height:78px; padding:13px 15px; }
  .order-form-section, .order-info-section { padding:40px 0 48px; }
  .order-section-heading h2 { font-size:23px; }
  .order-section-heading p { font-size:12px; }
  .order-category summary { align-items:flex-start; flex-wrap:wrap; padding:15px 12px; font-size:16px; }
  .order-category-price { width:100%; padding-left:0; }
  .order-products { padding:0 12px 8px; }
  .order-product-row { grid-template-columns:1fr 1fr; gap:8px; padding:13px 0; }
  .order-product-name { grid-column:1 / -1; margin-bottom:2px; font-size:15px; }
  .order-size-option { display:block; padding:9px; }
  .order-size-label { flex-direction:row; justify-content:space-between; margin-bottom:7px; }
  .order-size-label strong { margin:0; }
  .order-qty-control { justify-content:center; }
  .order-form-card { padding:20px 15px; }
  .order-submit-button { width:100%; }
  .order-submit-status { display:block; margin:10px 0 0; text-align:center; }
  .order-info-card { min-height:0; padding:20px; }
  .order-qr-card { display:block; text-align:center; }
  .order-qr-card img { width:180px; max-width:75%; margin:0 auto 16px; }
}
@media (max-width: 420px) {
  .order-product-row { grid-template-columns:1fr; }
  .order-product-name, .order-size-option { grid-column:1; }
}


/* ===== v6 visual consistency & homepage polish ===== */
.home-slide-copy .primary-heading { margin-bottom:16px; color:#fff; font-family:"Microsoft JhengHei","PingFang TC",sans-serif; font-size:clamp(42px,5vw,72px); font-weight:800; letter-spacing:.08em; text-shadow:0 3px 18px rgba(0,0,0,.42); }
.home-slide-copy .sub-heading { display:inline-block; margin:0; padding:8px 18px; border-radius:999px; background:rgba(0,0,0,.44); color:#fff; font-size:clamp(16px,1.6vw,22px); letter-spacing:.08em; }
.home-trust-intro { text-align:left; margin-bottom:22px; }
.home-trust-intro .home-eyebrow { margin:0 0 8px; color:#d7a400; font-size:12px; font-weight:800; letter-spacing:.18em; }
.home-trust-intro h2 { margin:0 0 10px; color:#333; font-size:30px; font-weight:700; }
.home-trust-intro > p:last-child { margin:0; color:#777; line-height:1.8; }
.home-trust-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:0 0 26px; }
.home-trust-card { padding:14px 10px; border:1px solid #f0e3d8; border-radius:12px; background:#fffaf5; text-align:center; }
.home-trust-card strong { display:flex; align-items:center; justify-content:center; gap:5px; color:#ff2254; font-size:18px; }
.home-trust-card strong img { width:34px; height:auto; }
.home-trust-card span { display:block; margin-top:5px; color:#7c7169; font-size:12px; }
.home-reasons-title { margin:0 0 14px; color:#333; font-size:21px; text-align:left; }
.home-reasons-copy .home-reasons-list { max-width:none; margin:0; padding-left:1.3em; }
.home-reasons-copy .home-reasons-list li { color:#666; }
.home-reasons-media img { border-radius:16px; box-shadow:0 16px 36px rgba(55,40,30,.14); }
.home-bottom-tagline { color:#fff !important; font-size:18px !important; letter-spacing:.12em; text-shadow:0 2px 10px rgba(0,0,0,.45); }
.product-card .item { border:1px solid #eee4dc; border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(55,40,30,.05); overflow:hidden; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.product-card .item:hover { transform:translateY(-3px); border-color:#f2bdcb; box-shadow:0 14px 30px rgba(55,40,30,.1); }
.category-sidebar .list-group-item { border-color:#eee4dc; }
.category-sidebar .list-group-item.active,.category-sidebar .list-group-item.active:hover { background:#ff2254; border-color:#ff2254; }
.privacy-v2 { background:#fafafa; color:#555; }
.privacy-main { padding:52px 0 72px; }
.privacy-hero-copy { max-width:850px; margin:0 auto 30px; text-align:center; }
.privacy-kicker { margin:0 0 7px; color:#dca600; font-size:12px; font-weight:800; letter-spacing:.2em; }
.privacy-hero-copy h1 { margin:0 0 14px; color:#ff2254; font-size:36px; font-weight:700; }
.privacy-hero-copy > p:last-child { margin:0; color:#777; line-height:1.9; }
.privacy-card { max-width:980px; margin:0 auto 20px; padding:28px 30px; border:1px solid #ebe2da; border-radius:14px; background:#fff; box-shadow:0 8px 26px rgba(55,40,30,.04); }
.privacy-card h2 { margin:0 0 16px; color:#333; font-size:24px; font-weight:700; }
.privacy-card h3 { margin:0 0 6px; color:#8e6d57; font-size:15px; font-weight:700; }
.privacy-card p,.privacy-card li { line-height:1.9; color:#6d6d6d; }
.privacy-highlight { border-top:4px solid #ff2254; }
.privacy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.privacy-grid > div { padding:16px 17px; border-radius:10px; background:#fffaf5; }
.privacy-grid p { margin:0; font-size:14px; }
.privacy-contact-list { margin:0; padding-left:1.4em; }
.privacy-note { background:#fffaf3; }
.privacy-updated { margin-bottom:0; font-size:12px; color:#999 !important; }
@media (max-width:767px) {
 .home-slide-copy .primary-heading { font-size:38px; }
 .home-slide-copy .sub-heading { font-size:14px; }
 .home-trust-intro { text-align:center; }
 .home-trust-intro h2 { font-size:25px; }
 .home-trust-grid { grid-template-columns:1fr; }
 .home-reasons-title { text-align:center; }
 .privacy-main { padding:38px 0 52px; }
 .privacy-hero-copy h1 { font-size:29px; }
 .privacy-card { padding:22px 18px; }
 .privacy-card h2 { font-size:21px; }
 .privacy-grid { grid-template-columns:1fr; }
}


/* ===== v7 product detail stability & final polish ===== */

/* Product detail pages sit below a fixed navbar. Keep a deliberate gap. */
.product-detail-page .single-product-area {
  margin-top: 0 !important;
  padding: 105px 0 70px;
}

/* Only the selected hero image should display. These explicit rules protect
   the gallery from legacy/plugin CSS loading order changes. */
.product-detail-page .product-details-large > .tab-pane {
  display: none !important;
}
.product-detail-page .product-details-large > .tab-pane.active {
  display: block !important;
  opacity: 1 !important;
}
.product-detail-page .single-product-img {
  margin-top: 0 !important;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.product-detail-page .single-product-img img {
  display: block;
  width: 100%;
  height: auto;
}
.product-detail-page .single-product-menu { margin: 16px 0 0; }
.product-detail-page .single-product-name {
  margin-top: 0 !important;
  margin-bottom: 18px;
  line-height: 1.45;
}
.product-detail-page .single-product-content { min-width: 0; padding-top: 2px; }
.product-detail-page .single-product-content .disc {
  margin-left: 0;
  max-width: 100%;
  line-height: 1.75;
}
.product-detail-page .single-product-price { margin-top: 22px; }
.product-detail-page .single-product-content .product-info p {
  margin-left: 0;
  margin-top: 22px;
  line-height: 1.9;
}
.product-detail-page .single-product-content ul {
  margin-top: 14px;
  padding-left: 1.45em;
  color: #858b91;
  line-height: 1.9 !important;
}
.product-detail-page .single-product-content .btn {
  min-width: 96px;
  margin-right: 8px;
  border: 0;
  border-radius: 999px;
  background: #ffd000;
  color: #554800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.product-detail-page .single-product-content .btn:hover,
.product-detail-page .single-product-content .btn:focus {
  transform: translateY(-1px);
  background: #ffdc38;
  box-shadow: 0 7px 18px rgba(90,75,0,.13);
}

@media (min-width: 992px) {
  .product-detail-page .single-product-area > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    column-gap: 48px;
    align-items: start;
    margin-left: 0;
    margin-right: 0;
  }
  .product-detail-page .single-product-area > .container > .row > .col-md-5,
  .product-detail-page .single-product-area > .container > .row > .col-md-7 {
    float: none !important;
    width: auto !important;
    padding-left: 0;
    padding-right: 0;
  }
  .product-detail-page .single-product-content { padding-left: 4px; }
}

@media (max-width: 991px) {
  .product-detail-page .single-product-area {
    margin-top: 0 !important;
    padding-top: 92px;
    padding-bottom: 52px;
  }
  .product-detail-page .single-product-area > .container > .row { display: block; }
  .product-detail-page .single-product-content { padding-top: 28px; }
}

@media (max-width: 767px) {
  .product-detail-page .single-product-area { padding-top: 82px; }
  .product-detail-page .single-product-img { border-radius: 8px; }
  .product-detail-page .single-product-menu { margin-bottom: 18px; }
  .product-detail-page .single-product-content { padding: 20px 4px 26px; }
}

/* Small global polish, intentionally conservative to preserve the brand. */
.probootstrap-navbar { box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.probootstrap-footer { border-top: 1px solid rgba(255,255,255,.06); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(255,34,84,.32);
  outline-offset: 2px;
}

/* ===== v7.1 product detail layout correction =====
   Preserve the original desktop composition: gallery on the LEFT,
   product information on the RIGHT, aligned from the same top edge.
   This intentionally overrides the v7 grid rule above. */
@media (min-width: 992px) {
  .product-detail-page .single-product-area {
    margin-top: 0 !important;
    padding-top: 98px;
    padding-bottom: 70px;
  }

  .product-detail-page .single-product-area > .container > .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 46px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .product-detail-page .single-product-area > .container > .row > .col-md-5 {
    order: 1 !important;
    float: none !important;
    flex: 0 0 calc(44% - 23px);
    width: calc(44% - 23px) !important;
    max-width: calc(44% - 23px);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .product-detail-page .single-product-area > .container > .row > .col-md-7 {
    order: 2 !important;
    float: none !important;
    flex: 1 1 0;
    width: auto !important;
    max-width: none;
    min-width: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .product-detail-page .single-product-img,
  .product-detail-page .single-product-content,
  .product-detail-page .single-product-name {
    margin-top: 0 !important;
  }

  .product-detail-page .single-product-content {
    padding-top: 0 !important;
    padding-left: 0 !important;
  }

  .product-detail-page .product-details-large {
    width: 100%;
  }
}

/* Tablet/mobile: gallery first, information second. */
@media (max-width: 991px) {
  .product-detail-page .single-product-area > .container > .row > .col-md-5,
  .product-detail-page .single-product-area > .container > .row > .col-md-7 {
    width: 100% !important;
    max-width: 100%;
    float: none !important;
  }
}

/* ===== v7.2 product detail image compatibility + navbar spacing =====
   Use original JPG assets for maximum hosting compatibility and keep the
   product hero area visibly separated from the fixed navigation bar. */
@media (min-width: 992px) {
  .product-detail-page .single-product-area {
    padding-top: 135px !important;
    padding-bottom: 72px !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .product-detail-page .single-product-area {
    padding-top: 112px !important;
  }
}
@media (max-width: 767px) {
  .product-detail-page .single-product-area {
    padding-top: 96px !important;
  }
}

/* ===== v7.3 desktop product detail breathing room =====
   The matching product HTML files include the same desktop-only override
   inline to avoid stale browser/CDN CSS caches on the live site. */
@media (min-width: 992px) {
  .product-detail-page .single-product-area {
    padding-top: 125px !important;
  }
}


/* ===== v7.4 homepage quality cards ===== */
.home-quality-section {
  padding-top: 72px;
  padding-bottom: 76px;
}
.home-quality-wrap {
  max-width: 980px;
  margin: 0 auto;
}
.home-quality-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}
.home-quality-intro .home-eyebrow {
  margin-bottom: 10px;
  color: #d7a400;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}
.home-quality-intro h2 {
  margin: 0 0 12px;
  color: #2f2f2f;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .03em;
}
.home-quality-intro > p:last-child {
  margin: 0;
  color: #858585;
  font-size: 16px;
  line-height: 1.85;
}
.home-quality-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 0 38px !important;
}
.home-quality-card {
  min-height: 190px;
  padding: 28px 18px 24px !important;
  border: 1px solid #eadfd5 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(55, 40, 30, .07);
  text-align: center !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-quality-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(55, 40, 30, .11);
}
.home-quality-icon {
  display: flex;
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 800;
}
.home-quality-icon-award {
  background: #fff1c9;
  color: #c58d00;
}
.home-quality-icon-cas {
  background: #fff6f6;
}
.home-quality-icon-cas img {
  width: 46px;
  height: auto;
}
.home-quality-icon-sgs {
  background: #eef6ff;
  color: #3f7aa6;
  font-size: 17px;
  letter-spacing: .04em;
}
.home-quality-card strong {
  display: block !important;
  margin: 0 0 7px;
  color: #333 !important;
  font-size: 22px !important;
  font-weight: 700;
}
.home-quality-card span {
  display: block;
  margin: 0 !important;
  color: #8a817a !important;
  font-size: 14px !important;
  line-height: 1.6;
}
.home-quality-reasons {
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 34px;
  border-radius: 16px;
  background: #faf8f6;
}
.home-quality-reasons .home-reasons-title {
  margin: 0 0 18px;
  text-align: center !important;
  color: #333;
  font-size: 25px;
}
.home-quality-reason-list {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding-left: 1.4em !important;
  text-align: left;
}
.home-quality-reason-list li {
  margin-bottom: 10px;
  color: #6f6f6f !important;
  line-height: 1.75;
}
.home-quality-reason-list li:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .home-quality-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }
  .home-quality-intro {
    margin-bottom: 24px;
    padding: 0 8px;
  }
  .home-quality-intro h2 {
    font-size: 26px;
  }
  .home-quality-intro > p:last-child {
    font-size: 14px;
  }
  .home-quality-cards {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 26px !important;
  }
  .home-quality-card {
    min-height: 0;
    padding: 22px 18px 20px !important;
  }
  .home-quality-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }
  .home-quality-reasons {
    padding: 24px 20px;
  }
  .home-quality-reasons .home-reasons-title {
    font-size: 22px;
  }
  .home-quality-reason-list {
    font-size: 14px;
  }
}

/* ===== v7.6 product category sidebar hover / active contrast ===== */
.category-sidebar .list-group-item {
  color: #4a4a4a;
  background: #fff;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.category-sidebar .list-group-item span,
.category-sidebar .list-group-item b,
.category-sidebar .list-group-item strong {
  color: inherit !important;
}
.category-sidebar .list-group-item:hover,
.category-sidebar .list-group-item:focus {
  background: #ffd200 !important;
  border-color: #ffd200 !important;
  color: #fff !important;
}
.category-sidebar .list-group-item:hover span,
.category-sidebar .list-group-item:hover b,
.category-sidebar .list-group-item:hover strong,
.category-sidebar .list-group-item:focus span,
.category-sidebar .list-group-item:focus b,
.category-sidebar .list-group-item:focus strong {
  color: #fff !important;
}
.category-sidebar .list-group-item.active,
.category-sidebar .list-group-item.active:hover,
.category-sidebar .list-group-item.active:focus {
  background: #ff2254 !important;
  border-color: #ff2254 !important;
  color: #fff !important;
}
.category-sidebar .list-group-item.active span,
.category-sidebar .list-group-item.active b,
.category-sidebar .list-group-item.active strong,
.category-sidebar .list-group-item.active:hover span,
.category-sidebar .list-group-item.active:hover b,
.category-sidebar .list-group-item.active:hover strong,
.category-sidebar .list-group-item.active:focus span,
.category-sidebar .list-group-item.active:focus b,
.category-sidebar .list-group-item.active:focus strong {
  color: #fff !important;
}


/* v7.7: prevent full-bleed banners from creating horizontal scrollbars. */
html, body { overflow-x: hidden; }


/* ===== v7.8 product category UI consistency & clickable product images ===== */
/* Sidebar: current category and hover state are deliberately different but consistent across all six pages. */
.category-sidebar .list-group-item {
  background: #fff !important;
  color: #444 !important;
}
.category-sidebar .list-group-item span,
.category-sidebar .list-group-item b,
.category-sidebar .list-group-item strong {
  color: inherit !important;
}
.category-sidebar .list-group-item:not(.active):hover,
.category-sidebar .list-group-item:not(.active):focus {
  background: #ffd200 !important;
  border-color: #ffd200 !important;
  color: #333 !important;
}
.category-sidebar .list-group-item.active,
.category-sidebar .list-group-item.active:hover,
.category-sidebar .list-group-item.active:focus {
  background: #ff2254 !important;
  border-color: #ff2254 !important;
  color: #fff !important;
}
.category-sidebar .list-group-item.active span,
.category-sidebar .list-group-item.active b,
.category-sidebar .list-group-item.active strong {
  color: #fff !important;
}

/* Product cards: remove the unintended white gutters beside the photo. */
.product-card .item {
  padding: 0 0 20px !important;
}
.product-card .item > h3,
.product-card .item > p {
  padding-left: 18px;
  padding-right: 18px;
}
.product-card .item > h3 {
  margin-top: 20px;
}
.product-card .item > p {
  margin-left: 0;
  margin-right: 0;
}

/* The entire product image is now a direct link to the corresponding product detail page. */
.product-image-link {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 13px 13px 0 0;
  background: #eee;
  line-height: 0;
}
.product-image-link img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  transition: transform .25s ease, filter .25s ease;
}
.product-image-cta {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  transform: translateX(-50%);
  min-width: 108px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 34, 84, .94);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-align: center;
  box-shadow: 0 5px 16px rgba(0,0,0,.18);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.product-image-link:hover img,
.product-image-link:focus img {
  transform: scale(1.025);
  filter: brightness(.92);
}
.product-image-link:hover .product-image-cta,
.product-image-link:focus .product-image-cta {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

@media (hover: none), (max-width: 767px) {
  .product-image-cta {
    opacity: 1;
    bottom: 12px;
    min-width: 96px;
    padding: 8px 15px;
    font-size: 13px;
  }
}


/* ===== v8.0 homepage primary CTA ===== */
.home-primary-cta {
  padding: 18px 0 34px;
  background: #fff;
}
.home-primary-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border: 1px solid #f1ded2;
  border-radius: 20px;
  background: #fffaf6;
}
.home-primary-cta-kicker {
  margin: 0 0 5px;
  color: #d48b19;
  font-size: 13px;
  letter-spacing: .2em;
  font-weight: 700;
}
.home-primary-cta h2 {
  margin: 0;
  color: #30343a;
  font-size: 25px;
  line-height: 1.45;
}
.home-primary-cta-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
.home-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.home-primary-btn:hover, .home-primary-btn:focus {
  transform: translateY(-1px);
}
.home-primary-btn-main {
  background: #ff2455;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(255,36,85,.18);
}
.home-primary-btn-main:hover, .home-primary-btn-main:focus { background: #ef1748; }
.home-primary-btn-secondary {
  border: 1px solid #d9c4b6;
  background: #fff;
  color: #383838 !important;
}
.home-primary-btn-secondary:hover, .home-primary-btn-secondary:focus { background: #fff4ea; }
@media (max-width: 767px) {
  .home-primary-cta { padding: 12px 0 24px; }
  .home-primary-cta-inner { display: block; padding: 23px 20px; }
  .home-primary-cta h2 { font-size: 21px; }
  .home-primary-cta-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr; }
  .home-primary-btn { width: 100%; }
}
