/* ==========================================================
   ZEUS IT (THAILAND) — CLONE STYLESHEET
   ========================================================== */
:root {
  --bs-font-sans-serif: 'Noto Sans Thai', sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --brand-red: #BA1F23;
  --brand-red-dark: #8c1414;
  --brand-gold: #c9a24b;
  --text-dark: #050607;
  --text-muted: #666666;
  --bg-cream: #fdfaf6;
  --radius-pill: 999px;
  --radius-card: 10px;
  font-family: var(--bs-body-font-family);
}

/* Review score distribution tracks. */
.product-review-bars p {
  position: relative;
  display: block;
  min-height: 18px;
  padding-left: 45px;
}

.product-review-bars p::after {
  position: absolute;
  top: 6px;
  right: 0;
  left: 45px;
  height: 7px;
  border-radius: 99px;
  background: #eee;
  content: '';
}

.product-review-bars i {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 45px;
  display: block;
  height: 7px;
  max-width: calc(100% - 45px);
  border-radius: 99px;
  background: #ffc400;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--text-dark);
  background: #ffffff;
  margin: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
}

body.login-modal-open {
  overflow: hidden;
}

.login-modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-modal[hidden] {
  display: none;
}

.login-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgb(255 255 255 / 62%);
  backdrop-filter: blur(7px);
}

.login-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 600px);
  max-height: calc(100dvh - 48px);
  padding: 48px 50px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(0 0 0 / 10%);
  outline: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.login-modal-forgot-dialog {
  min-height: 367px;
}

.login-modal-forgot-dialog .login-modal-form {
  gap: 21px;
}

.login-modal-forgot-dialog .login-modal-form>label {
  gap: 17px;
}

.login-modal-dialog h2 {
  margin: 0;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.login-modal-welcome {
  margin: 10px 0 30px;
  color: #666;
  text-align: center;
  font-size: 16px;
}

.login-modal-form {
  display: grid;
  gap: 16px;
}

.login-modal-form[hidden] {
  display: none;
}

.login-modal-form>label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 15px;
}

.login-modal-form input[type="text"],
.login-modal-form input[type="tel"],
.login-modal-form input[type="email"],
.login-modal-form input[name="otp"],
.login-modal-form input[type="password"] {
  width: 100%;
  height: 53px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #eee;
  color: var(--text-dark);
  font-size: 14px;
}

.login-modal[data-register-modal] input[name="username"] {
  display: flex;
  flex: none;
  flex-direction: row;
  align-self: stretch;
  flex-grow: 0;
  align-items: center;
  order: 1;
  width: 500px;
  max-width: 100%;
  height: 52px;
  padding: 18px;
  gap: 10px;
  border: 0;
  border-radius: 100px;
  background: #efefef;
  color: var(--text-dark);
  font-size: 14px;
}

.login-modal-form input::placeholder {
  color: #9a9a9a;
}

.login-modal-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  font-size: 14px;
}

.login-modal-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.login-modal-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--brand-red);
}

.login-modal-options a,
.login-modal-register a {
  color: var(--brand-red);
}

.login-modal-submit,
.login-modal-social {
  min-height: 45px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.login-modal-submit {
  margin-top: 14px;
  background: linear-gradient(100deg, var(--brand-gold), #d5462b 58%, var(--brand-red));
  color: #fff;
}

.login-modal-divider {
  margin: 14px 0 4px;
  color: #c6c6c6;
  text-align: center;
  font-size: 13px;
}

.login-modal-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.login-modal-social i {
  width: auto;
  font-size: 21px;
}

.login-modal-facebook {
  background: #3c36b7;
  color: #fff;
}

.login-modal-google {
  background: #e9e9e9;
  color: #111;
}

.login-modal-google svg {
  width: 23px;
  height: 22px;
  flex: 0 0 auto;
}

.login-modal-register {
  margin: 4px 0 0;
  text-align: center;
  font-size: 13px;
}

.login-modal-status {
  margin: 0;
  color: var(--brand-red);
  text-align: center;
  font-size: 13px;
}

.login-modal :is(button, input, a):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

@media (min-width: 1536px) {

  /* Shared content width. The hero banner intentionally has no .container. */
  .container {
    max-width: 1300px !important;
  }
}

/* ---------------- PRODUCT DETAIL ---------------- */
.product-detail {
  padding-bottom: 70px;
}

.product-detail-breadcrumb {
  flex-wrap: wrap;
  align-items: center;
}

.product-detail-breadcrumb>a {
  padding-right: 25px;
  border-right: 1px solid #d9d9d9;
}

.product-detail-gallery {
  min-width: 0;
  align-items: start;
}

.product-detail-thumbnail {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  background: #fff;
  aspect-ratio: 1;
}

.product-detail-thumbnail[aria-pressed="true"] {
  border-color: #b9b9b9;
}

@media (min-width: 750px) {
  .product-detail-thumbnail-viewport {
    position: relative;
    min-width: 0;
    aspect-ratio: 1 / 4;
  }

  .product-detail-thumbnails {
    position: absolute;
    inset: 0;
    grid-auto-rows: calc((100% - 30px) / 4);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: thin;
    scrollbar-color: #b9b9b9 transparent;
  }

  .product-detail-thumbnails .product-detail-thumbnail {
    min-height: 0;
    aspect-ratio: auto;
    scroll-snap-align: start;
  }
}

.product-detail-thumbnails:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

.product-detail-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-image {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ebebeb;
  border-radius: 30px;
  aspect-ratio: 1100 / 1150;
}

.product-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-summary h1 {
  margin: 0 0 15px;
  max-width: 24ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.6px;
}

.product-detail-meta,
.product-detail-description {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 26px;
  overflow-wrap: anywhere;
}

.product-detail-meta>span+span {
  border-left: 1px solid #d9d9d9;
  padding-left: 12px;
}

.product-detail-accent {
  color: var(--brand-red);
}

.product-detail-price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin: 16px 0 30px;
}

.product-detail-price strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.product-detail-price del {
  color: #b9b9b9;
  font-size: 16px;
}

.product-detail-description p,
.product-detail-information .tab-pane p {
  margin: 0;
  font-size: 16px;
}

.product-detail-actions {
  margin-top: 30px;
}

.product-detail-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9b9b9;
  border-radius: var(--radius-pill);
  min-height: 54px;
}

.product-detail-quantity button,
.product-detail-quantity input {
  width: 32px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  color: var(--text-dark);
  font-size: 16px;
}

.product-detail-quantity button {
  min-height: 44px;
}

.product-detail-quantity button:disabled {
  color: #aaa;
}

.product-detail-quantity input {
  appearance: textfield;
  -moz-appearance: textfield;
}

.product-detail-quantity input::-webkit-inner-spin-button,
.product-detail-quantity input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.product-detail-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 16px;
}

.product-detail-cart {
  color: #fff;
  background: var(--brand-red);
}

.product-detail-cart:hover:not(:disabled) {
  color: #fff;
  background: var(--brand-red-dark);
}

.product-detail-cart:disabled {
  cursor: not-allowed;
  color: #777;
  background: #d9d9d9;
}

.product-detail-tabs {
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 1px solid #d9d9d9;
}

.product-detail-tabs button {
  padding: 12px 15px 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

.product-detail-tabs button.active {
  border-bottom-color: var(--brand-red);
}

.product-detail-information .tab-pane {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 28px;
  overflow-wrap: anywhere;
}

.product-reviews {
  max-width: 900px;
  margin: auto;
  color: #333
}

.product-review-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 45px 30px 24px;
  column-gap: 38px;
  align-items: center;
  width: min(100%, 700px);
  margin: 64px auto 0;
  padding: 0 0 0 22px;
  border-left: 1px solid #eee
}

.product-review-summary strong {
  grid-column: 1;
  grid-row: 1;
  font-size: 36px;
  line-height: 45px
}

.product-review-summary strong small {
  font-size: 18px
}

.product-review-summary>span,
.product-review-stars {
  color: #ffc400
}

.product-review-summary>span {
  grid-column: 1;
  grid-row: 2;
  font-size: 25px;
  letter-spacing: 1px
}

.product-review-summary>p {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  font-size: 13px
}

.product-review-bars {
  grid-column: 2;
  grid-row: 1/4
}

.product-review-bars p {
  display: flex;
  align-items: center;
  margin: 6px 0;
  gap: 10px;
  font-size: 13px
}

.product-review-bars p::first-line {
  min-width: 35px
}

.product-review-bars i {
  display: block;
  flex: 1;
  height: 7px;
  background: linear-gradient(to right, #ffc400 var(--w, 100%), #eee 0);
  border-radius: 9px
}

.product-review-sort,
.product-review header {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.product-review-sort {
  margin-top: 66px;
  padding-bottom: 18px;
  font-size: 16px
}

.product-review-sort label {
  display: flex;
  align-items: center;
  gap: 14px
}

.product-review-sort select {
  width: 112px;
  background: #fff
}

.product-review-sort select,
.product-review-form input,
.product-review-form textarea {
  border: 1px solid #ddd;
  border-radius: 22px;
  padding: 12px;
  width: 100%
}

.product-review {
  padding: 25px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px
}

.product-review-avatar {
  font-size: 34px;
  margin-right: 12px
}

.product-review header b small {
  display: block;
  font-weight: 400
}

.product-review h3 {
  font-size: 16px
}

.product-review-form {
  padding-top: 25px
}

.product-review-form>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.product-review-form label {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  font-size: 14px
}

.product-review-form textarea {
  min-height: 120px
}

.product-review-form button {
  border: 0;
  border-radius: 22px;
  padding: 12px 24px;
  background: #145b2b;
  color: #fff
}

.product-detail-information a {
  color: var(--brand-red);
}

.product-detail-chat {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
}

.product-detail :is(button, a, input):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

@media (max-width: 749px) {
  .product-detail {
    padding-bottom: 40px;
  }

  .product-detail-breadcrumb {
    gap: 10px;
  }

  .product-detail-breadcrumb>a {
    padding-right: 10px;
  }

  .product-detail-information .tab-pane {
    font-size: 14px;
    line-height: 24px;
  }

  .product-detail-chat {
    width: 48px;
    height: 48px;
    right: 15px;
    bottom: 15px;
  }
}

/* ---------------- CART ---------------- */
.cart-page {
  min-height: calc(100vh - 152px);
  padding-bottom: 70px;
}

.cart-page h1 {
  margin: 20px 0 32px;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
}

.cart-item {
  display: grid;
  grid-template-columns: 20px 120px minmax(0, 1fr) 104px 140px;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid #d9d9d9;
  align-items: start;
}

.cart-item:last-of-type {
  border-bottom: 1px solid #d9d9d9;
}

.cart-remove {
  align-self: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #666;
  font-size: 16px;
}

.cart-image {
  display: block;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 1;
}

.cart-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-info {
  min-width: 0;
}

.cart-item h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  overflow-wrap: anywhere;
}

.cart-item h2 a {
  color: var(--text-dark);
}

.cart-unit-price,
.cart-line-total {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  margin: 16px 0 0;
}

.cart-line-total {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.cart-summary dl {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 28px;
}

.cart-summary dl>div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
}

.cart-summary dt,
.cart-summary dd {
  margin: 0;
  font-weight: 500;
}

.cart-summary .cart-shipping {
  color: var(--text-muted);
}

.cart-shipping dt,
.cart-shipping dd {
  font-weight: 400;
}

.cart-coupon {
  min-height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 28px;
  overflow: hidden;
}

.cart-coupon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 24px 12px 16px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  text-align: left;
}

.cart-coupon-toggle svg {
  flex-shrink: 0;
}

.cart-coupon-toggle[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.cart-coupon-options {
  padding: 0 24px 16px 16px;
}

.cart-coupon-options fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cart-coupon-option {
  display: grid;
  grid-template-columns: 67px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 6px;
  cursor: pointer;
}

.cart-coupon-option:last-child {
  margin-bottom: 0;
}

.cart-coupon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 67px;
  height: 40px;
  border-radius: 6px;
  background: radial-gradient(ellipse at center, #ffc928, #ff7a00 65%, #d52013);
  color: #fff;
  line-height: 1;
  transform: rotate(-1deg);
}

.cart-coupon-placeholder strong {
  font-size: 18px;
  color: #fff33a;
  text-shadow: 1px 1px #ba1f23;
}

.cart-coupon-placeholder small {
  margin-top: 2px;
  font-size: 7px;
}

.cart-coupon-copy {
  min-width: 0;
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
}

.cart-coupon-copy small {
  display: block;
  color: var(--brand-red);
  font-size: 10px;
  line-height: 18px;
}

.cart-coupon-option input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}

.cart-coupon-option input:checked {
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.cart-coupon-option input:checked::after {
  content: '';
  display: block;
  width: 8px;
  height: 4px;
  margin: 4px 0 0 3px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
}

.cart-coupon-option input:disabled {
  opacity: 0.5;
}

.cart-coupon-empty {
  margin: 0;
  font-size: 14px;
}

.cart-checkout {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 15px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-red);
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.cart-checkout:hover {
  background: var(--brand-red-dark);
  color: #fff;
}

.cart-checkout:disabled,
.cart-checkout[aria-disabled="true"] {
  background: #d9d9d9;
  color: #666;
}

.cart-feedback {
  color: var(--brand-red);
  font-size: 14px;
  margin: 10px 0 0;
}

.cart-empty {
  padding: 40px 0;
  text-align: center;
}

.cart-empty a,
.cart-summary .modal-body a {
  color: var(--brand-red);
}

.cart-page :is(button, input, a):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

@media (max-width: 989px) {
  .cart-item {
    grid-template-columns: 24px 100px minmax(0, 1fr) 104px 100px;
    gap: 12px;
  }
}

@media (max-width: 749px) {
  .cart-page {
    padding-bottom: 40px;
  }

  .cart-page h1 {
    margin: 16px 0 24px;
    font-size: 22px;
  }

  .cart-item {
    grid-template-columns: 80px minmax(0, 1fr) 44px;
    gap: 12px;
    padding: 20px 0;
  }

  .cart-image {
    grid-column: 1;
    grid-row: 1;
    border-radius: 20px;
  }

  .cart-item-info {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-remove {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .cart-item h2 {
    font-size: 14px;
    line-height: 22px;
  }

  .cart-item .product-detail-meta {
    font-size: 12px;
    line-height: 20px;
  }

  .cart-item .product-detail-meta>span+span {
    padding-left: 0;
    border: 0;
  }

  .cart-quantity {
    grid-column: 1 / 3;
    grid-row: 2;
    width: 104px;
    min-height: 46px;
  }

  .cart-line-total {
    grid-column: 2 / 4;
    grid-row: 2;
    align-self: center;
    margin-left: 24px;
  }

  .cart-unit-price,
  .cart-line-total {
    font-size: 16px;
  }
}

/* ---------------- CHECKOUT ---------------- */
.my-account-page {
  min-height: calc(100vh - 152px);
  padding-bottom: 70px;
}

.my-account-title {
  margin: 20px 0 30px;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
  text-align: center;
}

.my-account-navigation {
  display: grid;
  height: fit-content;
  gap: 8px;
}

.my-account-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 11px;
  box-shadow: 0 1px 5px rgb(0 0 0 / 8%);
  color: #666;
  font-size: 16px;
}

.my-account-navigation a.is-active {
  background: #d9d9d9;
}

.my-account-navigation svg {
  flex: 0 0 auto;
  color: #666;
}

.my-account-navigation img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.my-account-profile {
  min-width: 0;
}

.my-account-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #e6ece8, #777f7b);
  color: #fff;
  font-size: 48px;
}

.my-account-avatar button {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

.my-account-avatar button svg {
  display: block;
  width: 30px;
  height: 30px;
}

.my-account-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-account-avatar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.my-account-form {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.my-account-form label {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: #666;
  font-size: 16px;
}

.my-account-form input,
.my-account-form select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 17px;
  border: 1px solid #d9d9d9;
  border-radius: 28px;
  background: #fff;
  color: #888;
  font-size: 14px;
}

.my-account-password {
  width: min(100%, calc(50% - 10px));
}

.my-account-logout {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
  font-size: 14px !important;
}

.my-account-logout input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--brand-red);
}

.my-account-save {
  width: 180px;
  min-height: 52px;
  margin-top: 4px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #707070;
  color: #fff;
  font-size: 14px;
}

.my-account-status {
  margin: -10px 0 0;
  color: var(--brand-red);
  font-size: 14px;
}

.my-purchase-history {
  min-width: 0;
}

.my-purchase-row .received {
  width: max-content;
  height: fit-content;
  padding: 3px 25px;
  background: #707070;
  color: #fff;
}

.my-account-navigation {
  gap: 10px;
}

.my-account-navigation a {
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 4px rgb(0 0 0 / 10%);
  font-size: 18px;
  line-height: 26px;
}

.my-purchase-history {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 900px;
}

.my-purchase-row {
  flex: none;
  height: fit-content;
  margin: 0;
  padding: 3px 25px;
  gap: 15px;
}

.my-purchase-row img {
  width: 95px;
  height: 95px;
  border-radius: 0;
}

.my-purchase-row>div {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  height: 95px;
}

.my-purchase-row h2 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

.my-purchase-row p {
  font-size: 12px;
  line-height: 18px;
}

.my-purchase-row p b {
  height: 18px;
  margin: 0 10px;
}

.my-purchase-row div div {
  height: 28px;
  margin: 0;
  gap: 14px;
}

.my-purchase-row strong {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: .05em;
}

.my-purchase-row em {
  box-sizing: border-box;
  width: 100px;
  height: 28px;
  padding: 2px 16px;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: .05em;
  text-align: center;
}

.my-purchase-history .success {
  width: max-content;
  height: fit-content;
  padding: 3px 25px;
}

.my-purchase-history .pending {
  width: max-content;
  height: fit-content;
  padding: 3px 25px;
}

.my-purchase-history .cancelled {
  width: 70px;
  padding-inline: 10px;
}

.my-purchase-history .unpaid {
  width: max-content;
  height: fit-content;
  padding: 3px 25px;
}

.my-purchase-row {
  display: flex;
  gap: 20px;
  padding: 0 0 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid #d9d9d9;
}

.my-purchase-row img {
  width: 120px;
  height: 120px;
  border-radius: 30px;
  object-fit: cover;
}

.my-purchase-row h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.my-purchase-row p {
  margin: 0;
  color: #666;
}

.my-purchase-row p span {
  color: var(--brand-red);
}

.my-purchase-row p b {
  display: inline-block;
  height: 25px;
  margin: 0 12px;
  border-left: 1px solid #d9d9d9;
  vertical-align: middle;
}

.my-purchase-row div div {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.my-purchase-row strong {
  font-size: 20px;
}

.my-purchase-row em {
  padding: 8px 25px;
  border-radius: 99px;
  font-style: normal;
  font-size: 14px;
}

.my-purchase-row .success {
  background: #c9f1cc;
  color: #169b2f;
}

.my-purchase-row .pending {
  background: #f2eadb;
  color: #c4954a;
}

.my-purchase-row .cancelled {
  background: #f2f0f0;
  color: #666;
}

.my-purchase-row .unpaid {
  background: #f4d3d4;
  color: var(--brand-red);
}

@media (max-width: 749px) {
  .my-purchase-row {
    gap: 12px;
    padding-bottom: 22px;
    margin-bottom: 22px;
  }

  .my-purchase-row img {
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  .my-purchase-row h2 {
    font-size: 15px;
  }

  .my-purchase-row p {
    font-size: 12px;
  }

  .my-purchase-row div div {
    margin-top: 14px;
    gap: 10px;
  }

  .my-purchase-row strong {
    font-size: 16px;
  }

  .my-purchase-row em {
    padding: 6px 12px;
    font-size: 12px;
  }
}

.my-address-book {
  display: grid;
  min-width: 0;
  gap: 38px;
}

.my-address-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid #d9d9d9;
  border-radius: 32px;
}

.my-address-card-header,
.my-address-primary,
.my-address-options label {
  display: flex;
  align-items: center;
}

.my-address-card-header {
  justify-content: space-between;
  min-height: 24px;
}

.my-address-primary {
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.my-address-primary input,
.my-address-radio {
  box-sizing: border-box;
  width: 11px;
  height: 11px;
  margin: 0;
  border: 1px solid #666;
  border-radius: 50%;
  accent-color: #666;
}

.my-address-primary input:checked {
  border-width: 3px;
}

.my-address-edit {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 14px;
}

.my-address-form>label,
.my-address-form .tw-grid>label {
  display: block;
  min-width: 0;
}

.my-address-form input:not([type='radio']):not([type='checkbox']),
.my-address-form select,
.my-address-form textarea,
.my-address-card-summary p {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 14px 17px;
  border: 1px solid #d9d9d9;
  border-radius: 28px;
  background: #fff;
  color: #888;
  font-size: 14px;
}

.my-address-form textarea {
  min-height: 114px;
  resize: vertical;
}

.my-address-options {
  display: grid;
  margin-top: 4px;
}

.my-address-options label {
  justify-content: space-between;
  min-height: 47px;
  border-bottom: 1px solid #d9d9d9;
  color: #999;
  font-size: 14px;
}

.my-address-switch {
  appearance: none;
  width: 36px;
  height: 20px;
  margin: 0;
  border: 0;
  border-radius: 99px;
  background: #b3b3b3;
  cursor: pointer;
}

.my-address-switch::after {
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  content: '';
  transition: transform .2s ease;
}

.my-address-switch:checked {
  background: var(--brand-red);
}

.my-address-switch:checked::after {
  transform: translateX(16px);
}

.my-address-save,
.my-address-add {
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 14px;
}

.my-address-save {
  width: fit-content;
  margin-top: 12px;
  background: var(--brand-red);
}

.my-address-status {
  margin: -6px 0 0;
  color: var(--brand-red);
  font-size: 14px;
}

.my-address-card-summary {
  order: 1;
  min-height: 156px;
  margin-bottom: 42px;
}

.my-address-card-summary p {
  display: flex;
  align-items: center;
}

.my-address-add-wrap {
  order: 5;
  padding-top: 40px;
  border-top: 1px solid #d9d9d9;
}

.my-address-form {
  position: relative;
  order: 3;
}

.my-address-form::before {
  position: absolute;
  top: -41px;
  left: 0;
  width: 100%;
  border-top: 1px solid #d9d9d9;
  content: '';
}

.my-address-book.is-expanded-top .my-address-form {
  order: 1;
  margin-bottom: 42px;
}

.my-address-book.is-expanded-top .my-address-form::before {
  display: none;
}

.my-address-book.is-expanded-top .my-address-card-summary {
  position: relative;
  order: 3;
  margin-bottom: 0;
}

.my-address-book.is-expanded-top .my-address-card-summary::before {
  position: absolute;
  top: -41px;
  left: 0;
  width: 100%;
  border-top: 1px solid #d9d9d9;
  content: '';
}

.my-address-add {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #707070;
}

.my-address-add span {
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.my-bank-card-book {
  display: grid;
  min-width: 0;
  gap: 38px;
}

.my-bank-card-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid #d9d9d9;
  border-radius: 32px;
}

.my-bank-card-panel+.my-bank-card-panel {
  position: relative;
  margin-top: 42px;
}

.my-bank-card-panel+.my-bank-card-panel::before {
  position: absolute;
  top: -41px;
  left: 0;
  width: 100%;
  border-top: 1px solid #d4d4d4;
  content: '';
}

.my-bank-card-panel h2 {
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 500;
}

.my-bank-card-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.my-bank-card-panel-heading img {
  width: 118px;
  max-width: 36%;
  height: auto;
  object-fit: contain;
}

.my-bank-card-panel>label,
.my-bank-card-panel .tw-grid>label {
  display: block;
  min-width: 0;
}

.my-bank-card-panel input:not([type='radio']):not([type='checkbox']) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 17px;
  border: 1px solid #d9d9d9;
  border-radius: 28px;
  background: #fff;
  color: #888;
  font-size: 14px;
}

.my-bank-card-options {
  display: grid;
  gap: 7px;
  max-width: 160px;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}

.my-bank-card-options label {
  display: grid;
  grid-template-columns: 14px 15px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 18px;
  color: #111;
  font-size: 11px;
  cursor: pointer;
}

.my-bank-card-options input {
  position: absolute;
  opacity: 0;
}

.my-bank-card-options img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.my-bank-card-options i {
  display: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-style: normal;
}

.my-bank-card-options label:has(input:checked) {
  background: #f3f3f3;
}

.my-bank-card-options label:has(input:checked) i {
  display: grid;
}

.my-bank-card-default {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  margin-top: 4px;
  border-bottom: 0;
  color: #999;
  font-size: 14px;
}

.my-bank-card-save {
  width: fit-content;
  min-height: 52px;
  margin-top: 0;
  padding: 12px 36px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-red);
  color: #fff;
  font-size: 14px;
}

.my-bank-card-status {
  margin: -6px 0 0;
  color: var(--brand-red);
  font-size: 14px;
}

/* Bank account panel: dimensions and spacing follow the approved design frame. */
.my-bank-card-panel[data-bank-form] {
  box-sizing: border-box;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  height: 525px;
  gap: 15px;
  padding: 30px;
  border-radius: 30px;
}

.my-bank-card-panel[data-bank-form] h2 {
  flex: none;
  order: 0;
  height: 26px;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-options {
  box-sizing: border-box;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  order: 1;
  width: 224px;
  height: 160px;
  gap: 5px;
  margin: 0;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-options label {
  box-sizing: border-box;
  flex: none;
  grid-template-columns: 16px minmax(0, 1fr) 20px;
  width: 184px;
  min-height: 38px;
  padding: 10px;
  gap: 10px;
  font-size: 12px;
  line-height: 18px;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-options label:first-of-type {
  width: 224px;
  gap: 11px;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-options label:has(input:checked) {
  width: 224px;
  min-height: 31px;
  padding: 5px 10px;
  background: #f5f5f5;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-options img {
  width: 16px;
  height: 16px;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-options span {
  width: max-content;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-options i {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.my-bank-card-panel[data-bank-form]>label:not(.my-bank-card-default) {
  flex: none;
  order: 2;
  align-self: stretch;
  width: 100%;
}

.my-bank-card-panel[data-bank-form]>label:not(.my-bank-card-default)+label:not(.my-bank-card-default) {
  order: 3;
}

.my-bank-card-panel[data-bank-form] input:not([type='radio']):not([type='checkbox']) {
  height: 52px;
  min-height: 52px;
  padding: 18px 25px 18px 18px;
  border-color: rgb(102 102 102 / 20%);
  font-weight: 300;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-default {
  flex: none;
  order: 4;
  align-self: stretch;
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 10px 0;
  color: #666;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-save {
  flex: none;
  order: 5;
  width: 100px;
  height: 52px;
  min-height: 52px;
  padding: 18px 35px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.my-bank-card-panel[data-bank-form] .my-bank-card-status {
  order: 6;
}

.my-account-page :is(a, button, input, select):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

@media (max-width: 989px) {
  .my-account-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 749px) {
  .my-account-page {
    padding-bottom: 40px;
  }

  .my-account-title {
    margin: 12px 0 24px;
    font-size: 22px;
  }

  .my-account-navigation {
    grid-template-columns: 1fr;
  }

  .my-account-profile {
    display: grid;
    justify-items: center;
  }

  .my-account-form {
    width: 100%;
  }

  .my-account-password {
    width: 100%;
  }

  .my-address-card {
    padding: 22px;
    border-radius: 24px;
  }

  .my-address-card-summary {
    margin-bottom: 28px;
  }

  .my-address-form::before {
    top: -34px;
  }

  .my-address-book.is-expanded-top .my-address-form {
    margin-bottom: 28px;
  }

  .my-address-book.is-expanded-top .my-address-card-summary::before {
    top: -34px;
  }

  .my-address-add-wrap {
    padding-top: 28px;
  }

  .my-bank-card-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .my-bank-card-panel+.my-bank-card-panel {
    margin-top: 28px;
  }

  .my-bank-card-panel+.my-bank-card-panel::before {
    top: -40px;
  }

  .my-bank-card-panel[data-bank-form] {
    height: auto;
    min-height: 525px;
  }
}

.news-detail-page {
  padding-bottom: 70px;
}

.news-detail-article {
  width: min(100%, 900px);
  margin: 12px auto 0;
}

.news-detail-article header {
  text-align: center;
}

.news-detail-article h1 {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-red));
  background-clip: text;
  color: transparent;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.news-detail-article time {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.news-detail-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
  border-radius: 30px;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}

.news-detail-copy {
  width: min(100%, 720px);
  margin: 25px auto 0;
  color: #999;
  font-size: 16px;
  line-height: 26px;
}

.news-detail-copy p {
  margin: 0 0 14px;
}

.news-detail-latest {
  margin-top: 62px;
  padding-top: 62px;
  border-top: 1px solid #999;
}

.news-detail-latest>h2 {
  margin: 0 0 30px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-red));
  background-clip: text;
  color: transparent;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
}

.news-detail-latest .news-archive-card h3 {
  margin: 12px 0 7px;
  overflow: hidden;
  color: var(--text-dark);
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-detail-latest .news-archive-card h3 a {
  color: inherit;
}

.news-detail-page :is(a, button):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

@media (max-width: 749px) {
  .news-detail-page {
    padding-bottom: 40px;
  }

  .news-detail-article {
    margin-top: 4px;
  }

  .news-detail-article h1 {
    font-size: 20px;
    line-height: 29px;
  }

  .news-detail-image {
    margin-top: 20px;
    border-radius: 20px;
  }

  .news-detail-copy {
    font-size: 14px;
    line-height: 23px;
  }

  .news-detail-latest {
    margin-top: 38px;
    padding-top: 38px;
  }

  .news-detail-latest>h2 {
    margin-bottom: 22px;
    font-size: 27px;
  }
}

.news-archive-page {
  padding: 12px 0 50px;
}

.news-archive-hero {
  position: relative;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 3.5 / 1;
  background: #eee;
}

.news-archive-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 28%);
}

.news-archive-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-archive-hero h1 {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-red));
  background-clip: text;
  color: transparent;
  font-size: 34px;
  font-weight: 700;
}

.news-archive-content {
  max-width: 1120px !important;
}

.news-archive-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 42px 0 43px;
}

.news-archive-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 500;
}

.news-archive-tabs a.is-active {
  min-width: 80px;
  background: var(--brand-red);
  color: #fff;
}

.news-archive-card {
  min-width: 0;
}

.news-archive-card[hidden] {
  display: none;
}

.news-archive-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  background: #eee;
}

.news-archive-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-archive-image span {
  position: absolute;
  top: 13px;
  left: 16px;
  min-width: 58px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 45%);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.news-archive-card h2 {
  margin: 12px 0 7px;
  overflow: hidden;
  color: var(--text-dark);
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-archive-card h2 a {
  color: inherit;
}

.news-archive-card time,
.news-archive-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 22px;
}

.news-archive-card time {
  display: block;
  margin-bottom: 10px;
}

.news-archive-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-archive-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 52px;
}

.news-archive-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--brand-gold);
  border-radius: 50%;
  color: var(--brand-gold);
  font-size: 13px;
}

.news-archive-pagination a[aria-current="page"] {
  background: var(--brand-gold);
  color: #fff;
}

.news-archive-page :is(a, button):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

@media (max-width: 749px) {
  .news-archive-page {
    padding-top: 8px;
  }

  .news-archive-hero {
    margin: 0 8px;
    border-radius: 20px;
    aspect-ratio: 2 / 1;
  }

  .news-archive-hero h1 {
    font-size: 26px;
  }

  .news-archive-tabs {
    gap: 6px;
    margin: 24px 0 28px;
  }

  .news-archive-tabs a {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .news-archive-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .news-archive-pagination {
    margin-top: 36px;
  }
}

.order-details-page {
  min-height: calc(100vh - 152px);
  padding-bottom: 70px;
}

.order-details-layout {
  margin-top: 20px;
}

.order-details-title {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
}

.order-details-page .checkout-address :is(input[readonly], textarea[readonly], select:disabled) {
  cursor: default;
}

.order-details-metadata {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding-top: 28px;
  border-top: 1px solid #d9d9d9;
  font-size: 18px;
}

.order-details-metadata>div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.order-details-metadata dt,
.order-details-metadata dd {
  margin: 0;
}

.order-details-metadata dt {
  font-weight: 500;
}

.order-details-metadata>div:not(:first-child) dt {
  color: #666666;
  font-weight: 400;
}

.order-details-metadata dd {
  color: var(--text-muted);
  text-align: right;
}

.order-details-metadata>div:first-child dd {
  color: var(--text-dark);
  font-weight: 500;
}

.order-details-products {
  position: relative;
}

.order-details-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  margin-bottom: 20px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand-red);
  color: #fff;
  font-size: 14px;
}

.order-details-status i {
  font-size: 18px;
}

.order-details-product-list {
  display: grid;
  gap: 20px;
}

.order-details-product {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
}

.order-details-product-image {
  display: block;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 30px;
}

.order-details-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.order-details-product-copy {
  min-width: 0;
  padding-top: 2px;
}

.order-details-product h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.order-details-product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 22px;
  color: var(--text-muted);
  font-size: 16px;
}

.order-details-product-meta span {
  color: var(--brand-red);
}

.order-details-product-meta b {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  background: #d9d9d9;
}

.order-details-product-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.order-details-product-actions strong {
  font-size: 20px;
  font-weight: 500;
}

.order-details-product-actions button {
  min-width: 92px;
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #f2eeee;
  color: #666;
  font-size: 14px;
}

@media (min-width: 990px) {
  .order-details-products::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -25px;
    border-left: 1px solid #d9d9d9;
  }
}

@media (max-width: 749px) {
  .order-details-page {
    padding-bottom: 40px;
  }

  .order-details-metadata {
    font-size: 15px;
  }

  .order-details-product {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .order-details-product-image {
    width: 92px;
    height: 92px;
  }

  .order-details-product h2 {
    font-size: 15px;
    line-height: 23px;
  }

  .order-details-product-meta {
    margin: 4px 0 10px;
    font-size: 13px;
  }

  .order-details-product-actions strong {
    font-size: 17px;
  }
}

.order-success-page {
  min-height: calc(100vh - 152px);
  padding-bottom: 70px;
}

.order-success-breadcrumb {
  margin-bottom: 72px;
}

.order-success-confirmation {
  width: min(100%, 510px);
  margin: 0 auto;
  padding: 29px 70px 31px;
  border: 1px solid #f0f0f0;
  border-radius: 30px;
  box-shadow: 0 0 3px #eee;
  text-align: center;
}

.order-success-confirmation h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
}

.order-success-rule {
  display: block;
  width: 100px;
  height: 2px;
  margin: 25px auto 30px;
  background: linear-gradient(90deg, var(--brand-gold) 0 50%, var(--brand-red) 50% 100%);
}

.order-success-method {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.order-success-message {
  margin: 10px 0 12px;
  color: var(--text-muted);
  font-size: 16px;
}

.order-success-total {
  margin: 0;
  color: var(--brand-red);
  font-size: 20px;
  font-weight: 500;
}

.order-success-actions {
  margin-top: 31px;
}

.order-success-actions a {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.order-success-home {
  background: #d9d9d9;
  color: #666;
}

.order-success-orders {
  background: var(--brand-red);
  color: #fff;
}

.order-success-actions a:hover {
  color: inherit;
}

.order-success-orders:hover {
  background: var(--brand-red-dark);
}

.order-success-page :is(a, button):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

@media (max-width: 749px) {
  .order-success-page {
    padding-bottom: 40px;
  }

  .order-success-breadcrumb {
    margin-bottom: 40px;
  }

  .order-success-confirmation {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .order-success-method {
    font-size: 16px;
  }

  .order-success-message {
    font-size: 14px;
  }
}

.checkout-page {
  padding-bottom: 65px;
}

.checkout-layout {
  margin-top: 20px;
}

.checkout-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}

.checkout-heading h1 {
  margin: 0;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
}

.checkout-heading button {
  padding: 8px 0;
  border: 0;
  background: none;
  color: #279aff;
  font-size: 14px;
}

.checkout-address,
.checkout-payment,
.checkout-banks {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.checkout-address {
  display: grid;
  gap: 20px;
}

.checkout-address label {
  display: block;
  min-width: 0;
}

.checkout-address input,
.checkout-address select,
.checkout-address textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 17px;
  border: 1px solid #d9d9d9;
  border-radius: 28px;
  background: #fff;
  color: var(--text-dark);
  font-size: 14px;
}

.checkout-address input::placeholder,
.checkout-address textarea::placeholder,
.checkout-address select:invalid {
  color: #888;
}

.checkout-address select {
  padding-right: 35px;
}

.checkout-address textarea {
  min-height: 114px;
  resize: vertical;
  border-radius: 25px;
}

.checkout-payment {
  margin-top: 10px;
  font-size: 14px;
}

.checkout-method {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}

.checkout-method input {
  accent-color: var(--brand-red);
}

.checkout-banks {
  display: grid;
  gap: 5px;
  max-width: 220px;
  margin: 4px 0 8px 37px;
}

.checkout-bank-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 4px 10px;
  border-radius: 22px;
  cursor: pointer;
  font-size: 12px;
}

.checkout-bank-option:has(input:checked) {
  background: #f5f5f5;
}

.checkout-bank-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkout-bank-option:has(input:focus-visible) {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.checkout-bank-icon {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.checkout-bank-check {
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
}

.checkout-bank-option input:checked~.checkout-bank-check {
  display: inline-flex;
}

.checkout-account {
  width: min(100%, 316px);
  margin: 8px auto 0;
  padding: 20px;
  border: 1px solid #f0f0f0;
  border-radius: 22px;
  box-shadow: 0 0 3px #eee;
  text-align: center;
}

.checkout-account>.checkout-account-bank-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto;
}

.checkout-account p {
  margin: 8px 0;
  font-size: 16px;
}

.checkout-account-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 25px;
  background: #d9d9d9;
  color: #fff;
  font-size: 12px;
}

.checkout-account .checkout-account-owner {
  margin-bottom: 0;
  font-size: 14px;
}

.checkout-card {
  width: min(100%, 625px);
  margin: 0 0 14px;
  padding: 24px 30px 30px;
  border: 1px solid #d9d9d9;
  border-radius: 28px;
}

.checkout-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9d9d9;
  font-size: 16px;
}

.checkout-card-brands {
  display: flex;
  align-items: center;
  width: auto;
  height: 24px;
  max-width: 50%;
  object-fit: contain;
}

.checkout-card-fields {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.checkout-card-fields label {
  display: block;
  min-width: 0;
}

.checkout-card-fields input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 17px;
  border: 1px solid #d9d9d9;
  border-radius: 28px;
  background: #fff;
  color: var(--text-dark);
  font-size: 14px;
}

.checkout-card-fields input::placeholder {
  color: #888;
}

.checkout-card-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.checkout-card-save {
  min-width: 100px;
  min-height: 52px;
  margin-top: 16px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-red);
  color: #fff;
  font-size: 14px;
}

.checkout-actions {
  margin-top: 5px;
}

.checkout-slip,
.checkout-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 52px;
  border: 1px solid var(--brand-red);
  border-radius: var(--radius-pill);
  padding: 12px 16px;
}

.checkout-slip {
  color: var(--brand-red);
  background: #fff;
  font-size: 16px;
}

.checkout-slip i {
  font-size: 18px;
}

.checkout-pay {
  background: var(--brand-red);
  color: #fff;
  font-size: 16px;
}

.checkout-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-status {
  margin: 12px 0 0;
  color: var(--brand-red);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.checkout-summary {
  position: relative;
}

.checkout-products {
  display: grid;
  gap: 10px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d9d9d9;
}

.checkout-product {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
}

.checkout-product-image {
  position: relative;
  display: block;
}

.checkout-product-image img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
}

.checkout-product-count {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 20px;
  background: #050607;
  color: #fff;
  font-size: 12px;
}

.checkout-product h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.checkout-product p {
  margin: 0;
  color: var(--brand-red);
  font-size: 18px;
}

.checkout-totals {
  margin: 28px 0 0;
  font-size: 18px;
}

.checkout-totals>div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.checkout-totals dt,
.checkout-totals dd {
  margin: 0;
  font-weight: 400;
}

.checkout-totals .checkout-grand-total {
  color: var(--text-dark);
}

.checkout-grand-total dt,
.checkout-grand-total dd {
  font-weight: 500;
}

.checkout-page :is(button, input, select, textarea, a):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

@media (min-width: 990px) {
  .checkout-summary::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0;
    bottom: 0;
    border-left: 1px solid #d9d9d9;
  }

}

@media (max-width: 749px) {
  .checkout-page {
    padding-bottom: 40px;
  }

  .checkout-product {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .checkout-product-image img {
    width: 64px;
    height: 64px;
  }

  .checkout-product h2 {
    font-size: 14px;
    line-height: 22px;
  }

  .checkout-product p,
  .checkout-totals {
    font-size: 16px;
  }

  .checkout-banks {
    margin-left: 20px;
  }

  .checkout-card {
    padding: 20px;
    border-radius: 22px;
  }

  .checkout-card-heading {
    font-size: 15px;
  }

  .checkout-card-field-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

}

/* ---------------- HEADER ---------------- */
.site-header {
  background: var(--brand-red);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 80px;
}

.search-form {
  max-width: 640px;
}

.search-form .form-control {
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  border: none;
  padding: 0.6rem 1.2rem;
  font-family: 'Noto Sans Thai', sans-serif;
}

.search-form .form-control:focus {
  box-shadow: none;
  outline: 2px solid var(--brand-gold);
}

.btn-search {
  background: #ffffff;
  border: none;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  padding: 0 1.1rem;
  color: var(--brand-red);
}

.header-icons a,
.header-icons button {
  font-size: 1.1rem;
}

.header-login-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}

.header-icons .divider {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------------- SLIDE-DOWN MENU ---------------- */
body.site-menu-open {
  overflow: hidden;
}

.site-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: 0;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.03);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
  transition: max-height 380ms ease, opacity 220ms ease, transform 380ms ease;
}

.site-header.menu-open .site-menu {
  max-height: 420px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-menu-content {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(260px, 1.35fr) minmax(420px, 2.3fr);
  padding: 22px 28px 26px;
}

.site-menu-section {
  min-width: 0;
  padding: 0 28px;
}

.site-menu-section+.site-menu-section {
  border-left: 1px solid #e5e5e5;
}

.site-menu-section h2 {
  margin: 0 0 14px;
  color: #222;
  font-size: 22px;
  font-weight: 600;
}

.site-menu-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-menu-links h2 {
  margin-bottom: 4px;
}

.site-menu-section.site-menu-links a {
  font-size: 22px;
}

section.site-menu-section.site-menu-account a {
  font-size: 22px;
}

.site-menu a {
  color: #666;
  font-size: 22px;
  line-height: 1.5;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--brand-red);
}

.site-menu-account>div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
}

.site-menu-product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-menu-product {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.site-menu-product img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}

.site-menu-product span {
  overflow: hidden;
  color: #333;
  font-size: 22px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-menu-product strong {
  color: var(--brand-red);
  font-size: 13px;
  line-height: 1.2;
}

.site-menu-product del {
  color: #b7b7b7;
  font-size: 12px;
  line-height: 1.2;
}

.site-menu-backdrop {
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease;
  visibility: hidden;
}

body.site-menu-open .site-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

@media (max-width: 991px) {
  .site-header.menu-open .site-menu {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .site-menu-content {
    grid-template-columns: 1fr 1.4fr;
    gap: 22px 0;
    padding: 22px 12px 26px;
  }

  .site-menu-products {
    grid-column: 1 / -1;
    border-top: 1px solid #e5e5e5;
    border-left: 0 !important;
    padding-top: 22px;
  }
}

@media (max-width: 575px) {
  .site-header.menu-open .site-menu {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .site-menu-content {
    grid-template-columns: 1fr;
  }

  .site-menu-section {
    padding: 0 14px;
  }

  .site-menu-section+.site-menu-section {
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    border-left: 0;
  }

  .site-menu-products {
    grid-column: auto;
  }

  .site-menu-product-list {
    gap: 10px;
  }
}

/* iPad: stacked menu, account navigation, then a two-column product grid. */
@media (min-width: 576px) and (max-width: 1199px) {
  .site-header.menu-open .site-menu {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .site-menu-content {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 48px;
    padding: 50px 60px 60px;
  }

  .site-menu-links {
    grid-column: auto;
    grid-row: auto;
    gap: 18px;
    padding: 0;
  }

  .site-menu-account {
    grid-column: auto;
    grid-row: auto;
    padding: 0;
    border: 0 !important;
  }

  .site-menu-products {
    grid-column: auto;
    grid-row: auto;
    padding: 0;
    border: 0 !important;
  }

  .site-menu-section h2 {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .site-menu-account>div {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-menu-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .site-menu-product:nth-child(n + 3) {
    display: none;
  }

  .site-menu-product {
    gap: 8px;
    padding: 14px;
    border: 1px solid #f0f0f0;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 7%);
  }

  .site-menu-product img {
    border-radius: 18px;
  }

  .site-menu-product span {
    font-size: 18px;
  }

  .site-menu-product strong {
    font-size: 18px;
  }

  .site-menu-product del {
    font-size: 15px;
  }
}

@media screen and (max-width: 989px) {
  .site-menu-content {
    padding: 20px 20px 50px;
  }

  section.site-menu-section.site-menu-links {
    padding: 0;
  }

  section.site-menu-section.site-menu-account {
    padding: 0;
  }
}

@media screen and (max-width: 575px) {
  .site-menu-content {
    gap: 48px;
  }

  .site-menu-section+.site-menu-section {
    padding-top: 0;
    border: 0;
  }

  .site-menu-section h2 {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .site-menu-links {
    gap: 18px;
  }

  .site-menu-account>div {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-menu-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .site-menu-product:nth-child(n + 3) {
    display: none;
  }

  .site-menu-product {
    gap: 8px;
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 7%);
  }

  .site-menu-product img {
    border-radius: 14px;
  }
}

@media screen and (max-width: 749px) {
  .site-menu-section h2 {
    margin-bottom: 5px;
    font-size: 24px;
  }

  .site-menu-content {
    gap: 25px;
    padding: 10px 0 20px;
  }

  section.site-menu-section.site-menu-links {
    gap: 10px;
  }

  h2#siteMenuTitle {
    margin-bottom: 5px;
    font-size: 20px;
  }

  .siteMenuAccountTitle,
  .siteMenuProductsTitle {
    margin-bottom: 5px;
    font-size: 20px;
  }

  section.site-menu-section.site-menu-products {
    padding: 0;
  }
}

/* ---------------- HERO ---------------- */
.hero-section {
  padding: 15px;
  margin-top: -25px;
}

.hero-bg {
  position: relative;
}

.hero-bg .swiper-slide img {
  display: block;
}

.hero-left {
  padding: 1rem 2rem;
}

.hero-left h1 {
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 2rem;
}

.distributor-badge {
  background: #ffffff;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  padding: 1.2rem 2.2rem 1.2rem 3.5rem;
  text-align: right;
}

.distributor-label {
  display: block;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.hikvision-word {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: 0.01em;
  color: #b0b0b0;
}

.hikvision-word span {
  color: var(--brand-red);
}

.hero-products {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 1rem;
}

.chat-fab {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ---------------- BRAND PILL STRIP ---------------- */
.brand-strip {
  background: #ffffff;
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #D9D9D9;
  border-radius: var(--radius-pill);
  padding: 12px 10px 12px 15px;
  height: 100%;
}

.brand-pill:hover {
  border-color: var(--brand-red);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.brand-pill .brand-mark {
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--brand-red);
  white-space: nowrap;
}

.brand-pill .brand-mark span {
  color: #9c9c9c;
}

.brand-pill .brand-text {
  color: #050607;
  font-size: 16px;
  line-height: 26px;
  white-space: nowrap;
}

.brand {
  height: 50px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  border-radius: 100px;
}

/* ---------------- SECTION TITLES ---------------- */
.section-title {
  background: linear-gradient(90deg, #BB9753 0%, #BA1F23 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 500;
  font-size: 28px;
  line-height: 36px;
  padding-bottom: 30px;
  width: fit-content;
  margin: 0 auto;
}

.title-contact {
  background: linear-gradient(90deg, #BB9753 0%, #BA1F23 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 500;
  font-size: 28px;
  line-height: 36px;
  width: fit-content;
  margin: 0;
}

.brand-strip {
  padding: 60px 0;
}

.products-section {
  padding-bottom: 60px;
}

.flash-sale-section {
  padding-bottom: 60px;
}

.news-section {
  padding-bottom: 60px;
}

.contact-section {
  padding-bottom: 60px;
  background: url('../img/bg_contact_home.jpg') no-repeat;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* ---------------- PRODUCT CARDS ---------------- */
.swiper.product-swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  padding: 5px;
}

.product-card {
  padding: 12px;
  border-radius: 25px;
  overflow: hidden;
  height: 100%;
  width: 100%;
  min-width: 0;
  background: #fff;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.col-md-3 {
  width: fit-content;
  padding: 0;
}

.img-product {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 25px;
  padding-bottom: 17px;
}

.product-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px;
  cursor: grab;
  scroll-behavior: smooth;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-scroll::-webkit-scrollbar {
  display: none;
}

.product-scroll:active {
  cursor: grabbing;
}

.product-scroll .product-card {
  flex: 0 0 calc((100% - 80px) / 5);
  width: calc((100% - 80px) / 5);
  user-select: none;
}

@media (max-width: 989px) {
  .product-scroll .product-card {
    flex: 0 0 calc((100% - 40px) / 3);
    width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 749px) {
  .product-scroll {
    gap: 10px;
  }

  .product-scroll .product-card {
    flex: 0 0 calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
  }
}

.product-swiper {
  overflow: hidden;
  padding: 5px;
}

.product-swiper .swiper-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.product-swiper .swiper-slide {
  flex: 0 0 calc((100% - 80px) / 5);
  width: calc((100% - 80px) / 5);
  height: auto;
  display: flex;
}

.product-swiper .swiper-slide:not(:last-child) {
  margin-right: 20px;
}

.product-swiper .product-card {
  width: 100%;
  flex: 1 1 auto;
}

@media (max-width: 989px) {
  .product-swiper .swiper-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 749px) {
  .product-swiper .swiper-slide {
    flex: 0 0 calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
  }

  .product-swiper .swiper-slide:not(:last-child) {
    margin-right: 10px;
  }
}

.product-pagination {
  position: static;
  margin-top: 18px;
  line-height: 8px;
  text-align: center;
}

.product-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 8px !important;
  border: 1px solid #D9D9D9;
  background: transparent;
  opacity: 1;
}

.product-pagination .swiper-pagination-bullet-active {
  width: 62px;
  border-radius: var(--radius-pill);
  background: #D9D9D9;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-thumb {
  background: linear-gradient(160deg, #fdf3df 0%, #fff8ec 60%, #ffffff 100%);
  position: relative;
  padding: 1.2rem;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb .brand-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-weight: 700;
  font-size: 0.75rem;
  color: #e8720c;
}

.product-thumb .mp-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.product-thumb .mp-badge small {
  font-weight: 400;
  font-size: 0.55rem;
  display: block;
  text-align: right;
  color: var(--text-muted);
}

.product-body {
  width: 100%;
  padding: 0;
  display: grid;
  gap: 8px;
}

.product-name {
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.product-price {
  color: var(--brand-red);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

.product-price-old {
  color: #B8B8B8;
  text-decoration: line-through;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  margin: 0;
}

.carousel-dots .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid #D9D9D9;
  border-radius: 50%;
  margin: 0 15px;
}

.carousel-dots .dot.active {
  width: 62px;
  border-radius: var(--radius-pill);
  background: #D9D9D9;
}

.swiper-pagination.product-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
  position: initial;
}


/* ---------------- FLASH SALE ---------------- */
.flash-banner {
  position: relative;
  background: url('../img/flash_sale.jpg') no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
  padding: 0;
  min-height: 400px;
}

.special-day {
  display: inline-block;
  background: #ffd23f;
  color: #7a0f0f;
  font-weight: 700;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.flash-title {
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.95;
  color: #ffd23f;
  -webkit-text-stroke: 2px #7a0f0f;
  text-shadow: 3px 3px 0 #7a0f0f;
  margin: 0.2rem 0;
}

.flash-sub {
  color: #fff;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.btn-shop-now {
  background: #fff;
  color: var(--brand-red-dark);
  font-weight: 700;
  padding: 0.55rem 1.6rem;
  border-radius: 6px;
  display: inline-block;
}

.countdown {
  position: absolute;
  right: 19%;
  top: 50%;
  transform: translate3d(65px, -40px, 10px);
  color: #fff;
  font-weight: 700;
  font-size: 65px;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.podium {
  position: absolute;
  right: 6%;
  bottom: 0;
  opacity: 0.9;
}

.spark {
  position: absolute;
  opacity: 0.85;
}

.spark-1 {
  top: 12%;
  right: 22%;
}

.spark-2 {
  top: 8%;
  right: 10%;
}

.spark-3 {
  bottom: 18%;
  right: 30%;
}

/* ---------------- NEWS ---------------- */
.news-card {
  overflow: hidden;
  height: 100%;
  display: grid;
  gap: 15px;
}

.news-thumb {
  height: fit-content;
  position: relative;
}

.img-news {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  z-index: 10;
}

.news-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 0.75rem;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
}

.news-body {
  padding: 0;
  display: grid;
  gap: 9px;
}

.news-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  color: #b3b3b3;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
}

.news-excerpt {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: var(--brand-red);
  border-top: 1px solid #f0f0f0;
}

.contact-eyebrow {
  color: var(--text-dark);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
}

.small-dot {
  font-size: 0.4rem;
  vertical-align: middle;
}

.company-desc {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 100px;
}

.contact-icon {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-details p {
  color: var(--text-dark);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.fw-semibold {
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  margin: 15px 0;
}

.social {
  display: flex;
  gap: 20px;
}

.footer-bottom {
  background: linear-gradient(90deg, #BB9753 0%, #BA1F23 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}

/* ---------------- Product-Page ---------------- */
.page_link {
  display: flex;
  gap: 25px;
  padding: 15px 0;
}

.page_link a {
  font-size: 16px;
  line-height: 26px;
  color: #D9D9D9;
}

.page_link span {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-dark);
}

.hero-content {
  background: url('../img/product/banner.jpg') no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
  min-height: 400px;
  display: grid;
  align-content: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 30px;
  font-weight: 600;
  line-height: 40px;
}

.hero-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.toolbar-section {
  padding: 40px 0 30px;
}

.product-section {
  padding: 0 0 60px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-filter {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-filter .select-wrap {
  position: relative;
}

.product-filter-toggle {
  display: none;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-red);
}

.product-filter-toggle:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.product-filter-modal .product-sidebar {
  width: 100%;
  gap: 0;
}

.product-filter-heading {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.product-filter-options {
  display: grid;
  gap: inherit;
}

.product-filter-modal .modal-dialog {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  max-width: none;
  margin: 0;
  pointer-events: none;
}

.product-filter-modal .modal-content {
  max-height: 90vh;
  max-height: 90dvh;
  padding: 22px 24px 24px;
  border: 1px solid #d9d9d9;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.03);
  color: #050607;
}

.product-filter-modal .modal-header,
.product-filter-modal .modal-body,
.product-filter-modal .modal-footer {
  padding: 0;
  border: 0;
}

.product-filter-modal .modal-body {
  overflow-y: auto;
}

.product-filter-modal .modal-title,
.product-filter-selection h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.product-filter-modal .filter-group {
  gap: 0;
  padding: 0;
  border: 0;
}

.product-filter-modal .product-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  border-bottom: 1px solid #d9d9d9;
  font-size: 14px;
  font-weight: 400;
}

.product-filter-modal .product-filter-heading::after {
  content: '';
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.product-filter-modal .product-filter-options {
  gap: 0;
  padding: 18px 0 0;
}

.product-filter-modal .is-collapsed .product-filter-options {
  display: none;
}

.product-filter-modal .filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  position: relative;
  overflow-wrap: anywhere;
}

.product-filter-modal .filter-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.product-filter-modal .product-sidebar .filter-option {
  font-size: 14px;
  line-height: 24px;
  color: #333;
  cursor: pointer;
}

.product-filter-modal .filter-option input:checked+span {
  color: var(--brand-red);
}

.product-filter-modal .filter-option input:focus-visible+span {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.product-filter-selection {
  padding-top: 20px;
}

.product-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 20px 0 24px;
}

.product-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #fcf4f4;
  color: var(--brand-red);
  font-size: 10px;
}

.product-filter-chip::after {
  content: '\00d7';
  font-size: 14px;
}

.product-filter-modal .modal-footer {
  justify-content: space-between;
  flex-shrink: 0;
}

.product-filter-modal .modal-footer>* {
  margin: 0;
}

.product-filter-search {
  min-width: 124px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(100deg, #bc9852, #b5121b);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.product-filter-clear {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-red);
  font-size: 14px;
  text-decoration: underline;
}

.brand-filter .brand-logo {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 32px;
  object-fit: cover;
  pointer-events: none;
}

.brand-filter .has-brand-logo .form-select {
  padding-left: 66px;
}

.product-count {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.brandSelect {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
}

.row {
  height: fit-content;
}

.product-container {
  display: flex;
  gap: 50px;
}

.product-sidebar {
  width: 20%;
  display: grid;
  align-content: start;
  gap: 15px;
}

.filter-group {
  display: grid;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #D9D9D9;
}

.product-container .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1;
  min-width: 0;
  margin: 0;
  gap: 10px;
}

.product-container .row>.col-6 {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  padding: 0;
  overflow-wrap: anywhere;
}

.product-sidebar h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 0;
}

.product-sidebar .filter-option {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

/* 5-per-row utility (Bootstrap has no col-lg-2.4 by default) */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 989px) {
  .hero-right {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .distributor-badge {
    clip-path: none;
    padding: 1rem 1.5rem;
  }

  .countdown {
    position: static;
    transform: none;
    margin-top: 1rem;
  }

  .podium {
    display: none;
  }

  /* ---------------- HEADER ---------------- */
  .site-header {
    border-radius: 0px 0px 30px 30px !important;
  }

  .d-flex.align-items-center {
    padding: 10px 0 !important;
  }

  .logo-img {
    height: 60px;
  }

  .header-icons {
    display: flex;
    gap: 10px !important;
  }

  .form-control {
    font-size: 12px !important;
  }

  svg {
    height: 18px;
  }

  /* ---------------- SECTION TITLES ---------------- */
  .section-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    padding-bottom: 25px;
  }

  /* ---------------- BANNER ---------------- */
  .swiper.mySwiper {
    border-radius: 20px !important;
  }

  /* ---------------- BRAND ---------------- */
  .brand-strip {
    padding: 30px 15px !important;
  }

  .brand-strip .container {
    max-width: 100%;
    padding: 0;
  }

  .brand-pill {
    padding: 8px 8px 8px 12px;
  }

  .brand {
    height: 40px;
  }

  .brand-pill .brand-text {
    font-size: 14px;
    line-height: 24px;
  }

  /* ---------------- PRODUCT ---------------- */
  .products-section {
    padding: 0 15px 30px 15px !important;
  }

  .products-section .container {
    max-width: 100%;
    padding: 0;
  }

  .img-product {
    width: 100%;
    padding-bottom: 15px;
  }

  .product-body {
    gap: 5px;
  }

  .product-name {
    font-size: 16px;
  }

  .product-price {
    font-size: 14px;
  }

  .product-price-old {
    font-size: 14px;
  }

  /* ---------------- flash-sale ---------------- */
  .flash-sale-section {
    padding: 0 15px 30px 15px !important;
  }

  .flash-sale-section .container {
    max-width: 100%;
    padding: 0;
  }

  .flash-banner {
    min-height: 230px;
    border-radius: 25px;
  }

  .countdown {
    position: absolute;
    transform: translate3d(35px, -20px, 0);
    margin-top: 0;
    font-size: 34px;
  }

  /* ---------------- NEWS ---------------- */
  .news-section {
    padding: 0 15px 30px 15px !important;
  }

  .news-section .container {
    max-width: 100%;
    padding: 0;
  }

  .news-card {
    gap: 10px;
  }

  .img-news {
    height: 180px;
  }

  .news-badge {
    top: 15px;
    left: 15px;
  }

  .news-body {
    gap: 6px;
  }

  .news-title {
    font-size: 16px;
    line-height: 26px;
  }

  .news-date {
    font-size: 14px;
    line-height: 24px;
  }

  .news-excerpt {
    font-size: 14px;
    line-height: 24px;
  }

  /* ---------------- CONTACT ---------------- */
  .contact-section {
    padding: 0 15px 40px 15px !important;
  }

  .contact-section .container {
    max-width: 100%;
    padding: 0;
  }

  .contact-eyebrow {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 10px;
  }

  .title-contact {
    font-size: 24px;
    line-height: 34px;
  }

  .company-desc {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 60px;
  }

  .contact-details {
    gap: 15px;
  }

  .contact-icon {
    gap: 10px;
  }

  .contact-details p {
    font-size: 14px;
    line-height: 24px;
  }

  .fw-semibold {
    font-size: 16px;
    line-height: 26px;
    margin: 10px 0;
  }

  .follow-block {
    margin-top: 15px !important;
  }

  .social {
    gap: 15px;
  }

  .social svg {
    width: 20px;
    height: 20px;
  }

  /* ---------------- FOOTER ---------------- */
  .footer-bottom {
    padding: 10px 0 !important;
    font-size: 13px;
  }

  /* ---------------- Product-Page ---------------- */
  .page_link {
    gap: 20px;
    padding: 10px 0;
  }

  .page_link a {
    font-size: 14px;
    line-height: 24px;
  }

  .page_link span {
    font-size: 14px;
    line-height: 24px;
  }

  .hero-content {
    border-radius: 25px;
    min-height: 270px;
    padding: 15px;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 26px;
  }

  .toolbar-section {
    padding: 40px 0 20px;
  }

  .brand-filter {
    gap: 15px;
  }

  .product-count {
    font-size: 14px;
    line-height: 24px;
  }

  .brandSelect {
    font-size: 14px;
    line-height: 24px;
  }

  .product-container {
    gap: 40px;
  }

  .col-md-3 {
    width: 30%;
    padding: 0;
  }

  .filter-group {
    gap: 10px;
    padding-bottom: 10px;
  }

  .product-container .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .product-sidebar h4 {
    font-size: 16px;
    line-height: 26px;
  }

  .product-sidebar .filter-option {
    font-size: 14px;
    line-height: 24px;
  }

  .product-card {
    border-radius: 20px;
    width: 100%;
  }
}

@media (max-width: 749px) {
  .login-modal {
    padding: 16px;
  }

  .login-modal-dialog {
    max-height: calc(100dvh - 32px);
    padding: 32px 24px;
    overflow-y: auto;
    border-radius: 24px;
  }

  .login-modal-forgot-dialog {
    min-height: 0;
  }

  .login-modal-forgot-dialog .login-modal-form {
    gap: 16px;
  }

  .login-modal-forgot-dialog .login-modal-form>label {
    gap: 7px;
  }

  .login-modal-dialog h2 {
    font-size: 23px;
  }

  .login-modal-welcome {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .search-form {
    margin: 0 0.75rem !important;
  }

  .hero-bg {
    min-height: 380px;
  }

  .flash-title {
    font-size: 2.4rem;
  }

  /* ---------------- HEADER ---------------- */
  .site-header {
    border-radius: 0px 0px 20px 20px !important;
  }

  .logo-img {
    height: 45px;
  }

  .header-icons {
    gap: 5px !important;
  }

  .form-control {
    font-size: 10px !important;
  }

  svg {
    height: 14px;
  }

  /* ---------------- SECTION TITLES ---------------- */
  .section-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    padding-bottom: 20px;
  }

  /* ---------------- BANNER ---------------- */
  .brand-strip {
    padding: 30px 10px !important;
  }

  .brand-strip .container {
    max-width: 100%;
    padding: 0;
  }

  .products-section {
    padding-bottom: 30px;
  }

  .swiper.mySwiper {
    border-radius: 15px !important;
  }

  .hero-bg {
    min-height: fit-content;
  }

  /* ---------------- BRAND ---------------- */
  .brand-strip {
    padding: 0 10px !important;
  }

  .brand-pill {
    padding: 6px 6px 6px 8px;
  }

  .brand {
    height: 30px;
  }

  .brand-pill .brand-text {
    font-size: 12px;
    line-height: 22px;
  }

  /* ---------------- PRODUCT ---------------- */
  .products-section {
    padding: 0 10px 30px 10px !important;
  }

  .products-section .container {
    max-width: 100%;
    padding: 0;
  }

  .img-product {
    width: 100%;
    border-radius: 16px;
    padding-bottom: 10px;
  }

  .product-body {
    gap: 2px;
  }

  .product-name {
    font-size: 14px;
  }

  .product-price {
    font-size: 12px;
  }

  .product-price-old {
    font-size: 12px;
  }

  .col-md-3 {
    width: 50%;
    padding: 0;
  }

  /* ---------------- flash-sale ---------------- */
  .flash-sale-section {
    padding: 0 10px 0 10px !important;
  }

  .flash-sale-section .container {
    max-width: 100%;
    padding: 0;
  }

  .flash-banner {
    min-height: 120px;
    border-radius: 20px;
  }

  .countdown {
    position: absolute;
    transform: translate3d(20px, -10px, 0);
    margin-top: 0;
    font-size: 20px;
  }

  /* ---------------- NEWS ---------------- */
  .news-section {
    padding: 0 10px 0 10px !important;
    margin-top: -30px;
  }

  .news-section .container {
    max-width: 100%;
    padding: 0;
  }

  .news-card {
    gap: 7px;
  }

  .img-news {
    height: 160px;
  }

  .news-badge {
    top: 10px;
    left: 10px;
  }

  .news-body {
    gap: 4px;
  }

  .news-title {
    font-size: 14px;
    line-height: 24px;
  }

  .news-date {
    font-size: 12px;
    line-height: 22px;
  }

  .news-excerpt {
    font-size: 12px;
    line-height: 22px;
  }

  /* ---------------- CONTACT ---------------- */
  .contact-section {
    padding: 0 10px 30px 10px !important;
  }

  .contact-section .container {
    max-width: 100%;
    padding: 0;
  }

  .contact-eyebrow {
    font-size: 12px;
    line-height: 22px;
    margin-bottom: 5px;
  }

  .title-contact {
    font-size: 22px;
    line-height: 32px;
  }

  .company-desc {
    font-size: 12px;
    line-height: 22px;
    margin-bottom: 40px;
  }

  .contact-details {
    gap: 10px;
  }

  .contact-icon {
    gap: 7px;
  }

  .contact-details p {
    font-size: 12px;
    line-height: 22px;
  }

  .fw-semibold {
    font-size: 14px;
    line-height: 24px;
    margin: 5px 0;
  }

  .follow-block {
    margin-top: 15px !important;
  }

  .social svg {
    width: 16px;
    height: 16px;
  }

  /* ---------------- FOOTER ---------------- */
  .footer-bottom {
    padding: 6px 0 !important;
    font-size: 11px;
  }

  /* ---------------- Product-Page ---------------- */
  .page_link {
    gap: 15px;
    padding: 7px 0;
  }

  .page_link a {
    font-size: 12px;
    line-height: 22px;
  }

  .page_link span {
    font-size: 12px;
    line-height: 22px;
  }

  .hero-content {
    border-radius: 20px;
    min-height: 200px;
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 24px;
    line-height: 34px;
  }

  .hero-content p {
    font-size: 12px;
    line-height: 24px;
  }

  .toolbar-section {
    padding: 30px 0 15px;
  }

  .brand-filter {
    gap: 10px;
  }

  .toolbar-section .toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand-filter {
    flex-wrap: wrap;
    margin-left: auto;
    max-width: 100%;
  }

  .product-filter-toggle {
    display: inline-flex;
  }

  .product-container>.product-sidebar {
    display: none;
  }

  .product-count {
    font-size: 12px;
    line-height: 22px;
  }

  .brandSelect {
    font-size: 12px;
    line-height: 22px;
  }

  .product-container {
    gap: 30px;
  }

  .filter-group {
    gap: 5px;
    padding-bottom: 5px;
  }

  .product-container .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-sidebar h4 {
    font-size: 14px;
    line-height: 24px;
  }

  .product-sidebar .filter-option {
    font-size: 12px;
    line-height: 22px;
  }
}

.product-review-bars p {
  position: relative;
  display: block;
  min-height: 30px;
  padding-left: 0;
  color: #666;
  font-size: 16px;
  line-height: 30px;
}

.product-review-bars p::after {
  position: absolute;
  top: 12px;
  right: 0;
  left: 108px;
  width: 400px;
  height: 7px;
  border-radius: 99px;
  background: #eee;
  content: '';
}

.product-review-bars i {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 108px;
  display: block;
  height: 7px;
  max-width: calc(100% - 108px);
  border-radius: 99px;
  background: #ffc400;
}

.product-review-bars p:nth-child(1) i {
  width: 352px !important;
}

.product-review-bars p:nth-child(2) i {
  width: 140px !important;
}

.product-review-bars p:nth-child(3) i {
  width: 56px !important;
}

.product-review-bars p:nth-child(4) i {
  width: 28px !important;
}

.product-review-bars p:nth-child(5) i {
  width: 16px !important;
}

.product-review-summary {
  position: relative;
  grid-template-columns: 150px 1fr;
  width: min(100%, 500px);
  margin-top: 45px;
  padding: 0;
  column-gap: 38px;
  border-left: 0;
}

.product-review-summary::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 168px;
  width: 1px;
  background: #e5e5e5;
  content: '';
}

.product-review-summary strong,
.product-review-summary>span,
.product-review-summary>p {
  text-align: center;
}

.product-review-summary> :is(strong, span, p) {
  display: grid;
  gap: 10px;
  justify-content: center;
}

.product-review-score {
  display: grid;
  grid-column: 1;
  grid-row: 1 / 4;
  gap: 10px;
  justify-content: center;
}

.product-review-score strong {
  display: flex;
}

/* Review score summary reset. */
.product-review-summary {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  grid-template-rows: auto;
  width: 100%;
  max-width: none;
  min-height: 220px;
  margin: 45px 0 0;
  padding: 0;
  column-gap: 0;
  border: 0;
}

.product-review-summary::after {
  top: 0;
  bottom: 0;
  left: 44%;
}

.product-review-score {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  align-content: center;
  justify-content: end;
  gap: 14px;
  padding-right: 70px;
}

.product-review-score strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-size: 35px;
  line-height: 1;
}

.product-review-score strong small {
  font-size: 16px;
}

.product-review-score>span {
  font-size: 32px;
  line-height: 1;
  letter-spacing: 2px;
  text-align: center;
  color: #fabd0b;
}

.product-review-score>p {
  margin: 0;
  font-size: 19px;
  line-height: 1;
}

.product-review-bars {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  align-content: center;
  gap: 0;
  padding-left: 70px;
}

.product-review-bars p {
  min-height: 34px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 34px;
}

.product-review-bars p::after {
  top: 11px;
  right: 0;
  left: 82px;
  width: auto;
  height: 12px;
}

.product-review-bars i {
  top: 11px;
  left: 82px;
  height: 12px;
  max-width: calc(100% - 82px);
}

.product-review-bars p:nth-child(1) i {
  width: calc(94% - 120px) !important;
}

.product-review-bars p:nth-child(2) i {
  width: calc(70% - 90px) !important;
}

.product-review-bars p:nth-child(3) i {
  width: calc(48% - 62px) !important;
}

.product-review-bars p:nth-child(4) i {
  width: calc(28% - 36px) !important;
}

.product-review-bars p:nth-child(5) i {
  width: calc(12% - 15px) !important;
}

.product-review-summary>span {
  color: #ffc400;
}

.product-review-bars i {
  background: #ba1f23;
}

.product-review-bars p::after {
  background: #eee;
}

.product-detail-information:has(#productReviews.active) {
  max-width: 900px !important;
}

.product-reviews {
  width: 100%;
}

.product-review-sort {
  margin-top: 60px;
  padding-bottom: 20px;
}

.product-review-sort label {
  width: fit-content;
  white-space: nowrap;
}

.product-review-sort select,
.product-review-form input,
.product-review-form textarea {
  width: 200px;
  border-radius: 100px;
}

.product-review {
  padding: 20px 0 24px;
}

.product-review header time {
  color: #666;
  font-size: 14px;
}

.product-review-form {
  margin-top: 0;
  border-top: 1px solid #e5e5e5;
}

.product-review-form h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.product-review-form>p {
  margin: 0 0 18px;
  font-size: 13px;
}

.product-review-upload {
  min-height: 104px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: center;
}

.product-review-upload input {
  border: 0 !important;
  border-radius: 0 !important;
}

/* Product review cards and review form. */
.product-review {
  padding: 28px 0 40px;
  color: #333;
}

.product-review header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.product-review-avatar {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.product-review header b {
  font-size: 16px;
  line-height: 1.25;
}

.product-review header b small {
  margin-top: 2px;
  color: #666;
  font-size: 13px;
}

.product-review header time {
  align-self: start;
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

.product-review h3 {
  margin: 22px 0 6px;
  color: #222;
  font-size: 18px;
  font-weight: 600;
}

.product-review>p {
  max-width: 100%;
  margin: 0 0 14px;
  color: #444;
  font-size: 16px;
  line-height: 1.55;
}

.product-review-stars {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: #fabd0b;
  font-size: 23px;
  letter-spacing: 1px;
  line-height: 1;
}

.product-review-stars b {
  color: #555;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.product-review-media {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-review-media img {
  width: 150px;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
}

.product-review-form {
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding: 32px 0 0;
  border-top: 1px solid #d9d9d9;
  color: #333;
}

.product-review-form h2 {
  margin: 0;
  color: #222;
  font-size: 24px;
  line-height: 1.25;
}

.product-review-form>p {
  margin: -6px 0 2px;
  color: #666;
  font-size: 14px;
}

.product-review-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.product-review-form input,
.product-review-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 100px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

.product-review-form textarea {
  min-height: 155px;
  border-radius: 14px;
  resize: vertical;
}

.product-review-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-review-form .product-review-upload {
  position: relative;
  min-height: 124px;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.product-review-upload>span {
  display: grid;
  min-height: 104px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  color: #666;
  font-size: 28px;
  font-weight: 400;
}

.product-review-upload>span img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.product-review-upload small {
  font-size: 14px;
  font-weight: 400;
}

.product-review-upload b {
  color: var(--brand-red);
  font-size: 14px;
}

.product-review-upload input {
  position: absolute;
  inset: 24px 0 0;
  width: 100% !important;
  height: calc(100% - 24px);
  padding: 0 !important;
  opacity: 0;
  cursor: pointer;
}

.product-review-form button {
  width: fit-content;
  margin-top: 4px;
  padding: 11px 26px;
  border: 0;
  border-radius: 100px;
  background: #707070;
  color: #fff;
  font-size: 14px;
}

@media (max-width: 749px) {
  .product-review-media img {
    width: calc(50% - 5px);
  }

  .product-review-contact-fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-review header {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .product-review header time {
    grid-column: 2;
    grid-row: 2;
    align-self: auto;
  }
}

@media screen and (max-width: 989px) {
  .product-review-score strong {
    font-size: 28px;
  }
}

@media screen and (max-width: 749px) {
  .product-review-score strong {
    font-size: 22px;
  }

  .product-review-summary {
    display: inline;
  }

  .product-review-score {
    width: 100%;
    justify-content: center;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .product-review-bars {
    padding-left: 0;
  }

  .product-review-summary::after {
    display: none;
  }

  .product-review-sort {
    font-size: 14px;
  }
}

@media (max-width: 749px) {
  .product-review-summary {
    grid-template-columns: 120px 1fr;
    width: 100%;
    column-gap: 18px;
  }

  .product-review-summary::after {
    left: 130px;
  }

  .product-review-bars p::after {
    left: 65px;
    width: calc(100% - 65px);
  }

  .product-review-bars i {
    left: 65px;
    max-width: calc(100% - 65px);
  }

  .product-review-form>div {
    grid-template-columns: 1fr;
  }
}
