/* ================================================================
   TrueKatana — On Sale / Offers
   Design System: --one-* tokens (from layout.css :root)
   ================================================================ */


/* ── On Sale ── */
.one-onsale { background-color: var(--one-bg-primary) !important; color: var(--one-text-secondary); }
.one-onsale-header { background-color: var(--one-bg-hero) !important; padding: 50px 0; }
.one-onsale-title { font-family: var(--one-font-body); margin: auto; font-weight: 800; letter-spacing: -0.01em; color: var(--one-text-primary); font-size: 3em; max-width: 1024px; }
.one-onsale-subtitle { max-width: 980px; margin: auto; font-weight: normal; color: var(--one-text-primary); line-height: 1.25; padding-bottom: 15px; }

.one-onsale-catalog { max-width: 980px; text-align: center; margin: auto; }
.one-onsale-catalog a { font-size: 14px; border-radius: var(--one-radius-full); min-width: 100px; padding-left: 15px; padding-right: 15px; }
.one-onsale-catalog-active { background-color: var(--one-red); border-color: var(--one-red); }

.one-onsale-logo { max-width: 200px; }
.one-onsale-container { margin-bottom: 100px; max-width: 1560px; min-height: 800px; }
.one-onsale-block { border-radius: 5px !important; overflow: hidden; }
.one-onsale-figure { background-color: #000; }
.one-catalog-review-star { color: var(--one-red); }
.one-onsale-block-title-container { line-height: 1.25; }
.one-onsale-block-body { padding-bottom: 20px; }
.one-onsale-block-body figcaption { line-height: 1.15em; margin-bottom: 6px; }
.one-onsale-block-title { color: #222; font-size: 15px; font-weight: 800; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.one-onsale-block-h6 { font-size: 15px; line-height: 1.2em; }
.one-onsale-block-title:hover { color: var(--one-red) !important; }
.one-onsale-block-price { color: #333; font-size: 12px; font-weight: 700; margin-left: 4px; }
.one-onsale-block-btn { min-width: 60%; font-weight: 800; color: #fff !important; }
.one-onsale-sales-price { color: #000; font-size: 21px; font-family: var(--one-font-body); font-weight: 900; letter-spacing: -0.3px; }
.one-onsale-block-save { text-align: center; color: #555; font-size: 14px; }
.one-onsale-sales-was{color: #333; font-size: 12px; font-weight: 700; margin-left: 4px;}
.one-onsale-block figure { background: var(--one-bg-card); }
.one-onsale-block figure span { position: absolute; top: 15px; left: 15px; background-color: var(--one-success); padding: 2px 10px; border-radius: var(--one-radius-full); color: #fff; font-size: 12px; }
.one-onsale-block-off { margin: auto; background-color: #fff59d; color: #000; width: fit-content; padding: 2px 12px; font-size: 11px; border-radius: 50px; font-weight: 900; margin-bottom: 3px; }
.one-onsale-shipping-tips { color: #008b15; font-size: 13px; margin-bottom: 3px; font-weight: 800; line-height: 1.25; }
.one-onsale-review-star { color: var(--one-red); }
.one-onsale-review-star small { color: #333; font-weight: 700; }
.one-onsale-review-count { color: #111; font-weight: 800; }
.one-onsale-add-to-wishlist { color: var(--one-text-muted) !important; font-size: 0.9em; }
.one-onsale-add-to-wishlist:hover { color: var(--one-red) !important; }
.one-onsale-wishlist-added { color: var(--one-red) !important; font-size: 0.9em; }
.one-onsale-block-quickship { background-color: #774BDD; letter-spacing: 1px; padding: 3px 12px; border-radius: 20px; color: #fff; font-size: 10px; width: fit-content; font-weight: 700; }
.one-onsale-count { font-size: 1.2em; color: var(--one-text-primary); padding: 6px; font-weight: 800}

@media (max-width: 991.98px) {
  .one-onsale-header { padding: 30px 0; }
  .one-onsale-logo { max-width: 160px; }
  .one-onsale-title { color: var(--one-text-primary); font-size: 2.5em; max-width: 90%; margin: auto; }
  .one-onsale-subtitle { max-width: 85%; margin: auto; font-weight: normal; padding-bottom: 5px; }
  .one-onsale-catalog a { min-width: 150px; }
  .one-onsale-container { margin-top: 20px; margin-bottom: 150px; max-width: 1500px; }
  .one-onsale-items-container { padding: 10px 2px; }
  .one-onsale-block-body { padding: 8px; }
  .one-onsale-block-body figcaption { line-height: 1em; margin-bottom: 6px; }
  .one-onsale-block-title { color: #111; font-weight: 700; font-size: 14px; }
  .one-onsale-block-title a { color: #333; }
  .one-onsale-block-h6 { line-height: 1.2em; margin-bottom: 6px; font-size: 14px; }
  .one-onsale-col { padding: 2px !important; }
  .one-onsale-block-btn { min-width: 90%; }
  .one-onsale-sales-price { color: #000; font-size: 17px; font-weight: 800; }
  .one-onsale-block-was { font-size: 11px; }
  .one-onsale-shipping-tips { font-size: 0.85em; margin-bottom: 3px; }
  .one-onsale-dropdown button { margin-top: 15px; border-radius: var(--one-radius-full); padding: 10px 40px; background-color: #000; border-color: var(--one-text-secondary); color: var(--one-text-primary); }
  .one-onsale-dropdown ul li a { padding: 10px 12px; }
  .one-onsale-catalog-active { color: #fff !important; }
  .one-onsale-block { margin-bottom: 3px !important; }
}


/* ── Flipdown Clock ── */
.flipdown.flipdown__theme-dark .rotor-group-heading:before { color: var(--one-text-secondary); }
.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after { background-color: var(--one-text-secondary); }
.flipdown.c .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front { color: #fff; background-color: var(--one-red); }
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear { color: #fff; background-color: var(--one-red); }
.flipdown.flipdown__theme-dark .rotor:after { border-top: solid 1px #111; }


/* ── Offers (coupon listing) ── */
.one-offers { background-color: var(--one-bg-primary) !important; color: var(--one-text-secondary); }
.one-offers-header { background-color: var(--one-bg-recessed) !important; padding: 50px 0; }
.one-offers-title { margin: auto; font-family: var(--one-font-body); font-weight: 800; letter-spacing: -0.01em; color: var(--one-text-primary); font-size: 2.65em; max-width: 900px; }
.one-offers-subtitle { max-width: 980px; margin: auto; font-weight: normal; color: var(--one-text-primary); line-height: 1.4; }

.one-offers-list-container { margin-bottom: 100px; max-width: 1280px; min-height: 800px; }
.one-offers-list { padding-top: 40px; }
.one-offers-list-right { text-align: center; padding-top: 20px; }
.one-offers-list-card-active { background-color: var(--one-bg-void) !important; color: var(--one-text-primary); padding: 15px; border: 2px dashed var(--one-success); }
.one-offers-list-card-inactive { background-color: var(--one-bg-card) !important; color: var(--one-text-secondary); padding: 15px; }
.one-offers-list-off { font-family: var(--one-font-body); font-size: 3em; color: var(--one-success); font-weight: 800; letter-spacing: -0.01em; }
.one-offers-list-off-inactive { font-family: var(--one-font-body); font-size: 3em; color: var(--one-text-secondary); font-weight: 800; letter-spacing: -0.01em; }
.one-offers-list-title { margin-bottom: 8px; font-size: 1.5em; }
.one-offers-list-subtitle { font-weight: normal; font-size: 0.9em; line-height: 1.35; max-width: 600px; }
.one-offers-list-code { border: 1px dashed var(--one-text-primary); border-radius: var(--one-radius-xs); text-align: center; padding: 5px; font-size: 1em; font-weight: 700; }
.one-offers-list-date { margin-top: 15px; }
.one-offers-list-btn { padding: 8px 40px; }

@media (max-width: 991.98px) {
  .one-offers-list-off { font-size: 5em; }
  .one-offers-list-left { text-align: center; }
  .one-offers-header { padding: 20px 0; }
}


/* ── Offers Product Grid ── */
.one-offers-container { margin-bottom: 100px; max-width: 1560px; min-height: 800px; }
.one-offers-card-title { text-align: center; font-weight: 800; font-family: var(--one-font-body); letter-spacing: -0.01em; color: var(--one-text-primary); font-size: 2.5em; }
.one-offers-block-title-container { min-height: 40px; }
.one-offers-block-title { color: #333; line-height: 1.15em; font-weight: normal; }
.one-offers-block-title:hover { color: var(--one-red); }
.one-offers-block-price { color: #222; font-size: 12px; text-decoration: line-through; }
.one-offers-block-btn { min-width: 65%; }
.one-offers-sales-price { color: var(--one-red); font-size: 20px; }
.one-offers-block-save { text-align: center; color: var(--one-red); font-size: 11px; }
.one-offers-block-del { color: #222; font-size: 11px; }
.one-offers-block figure span { position: absolute; top: 15px; left: 15px; background-color: var(--one-red-active); padding: 2px 8px; border-radius: var(--one-radius-xs); color: #fff; font-size: 12px; }
.one-offers-shipping-tips { color: var(--one-success); font-size: 11px; }

@media (max-width: 991.98px) {
  .one-offers-container { margin-top: 20px; margin-bottom: 150px; max-width: 1500px; }
  .one-offers-items-container { padding: 10px; }
  .one-offers-block-h6 { margin-bottom: 8px; }
  .one-offers-title { font-size: 2em; max-width: 85%; margin: auto; }
  .one-offers-subtitle { max-width: 85%; margin: auto; font-weight: normal; }
  .one-offers-block-title-container { min-height: 40px; }
  .one-offers-block-title { font-size: 13px; }
  .one-offers-col { padding: 2px !important; }
}


/* ── Catalog Reviews (on onsale page) ── */
.one-catalog-review-h3 { margin-top: 30px !important; color: var(--one-text-primary); font-weight: 800; font-family: var(--one-font-body); letter-spacing: -0.01em; font-size: 2em; }
.one-catalog-review-card { background-color: var(--one-bg-card) !important; }
.one-catalog-review-left { border-right: 1px solid var(--one-border); min-height: 230px; }
.one-catalog-review-left small { color: var(--one-text-secondary); font-size: 0.9em; }
.one-catalog-review-item { margin-top: 35px; max-width: 45%; }
.one-catalog-review-item img { margin-right: 10px; border-radius: var(--one-radius-xs); }
.one-catalog-review-item { color: var(--one-text-secondary); font-weight: normal; }
.one-catalog-review-body { color: var(--one-text-primary); font-weight: 600; max-width: 90%; }
.one-catalog-review-item a { color: var(--one-text-secondary); }
.one-catalog-review-item a:hover { text-decoration: underline; }
.one-catalog-review-date { color: var(--one-text-secondary); }
.one-catalog-review-title { color: var(--one-text-primary); }
.one-catalog-review-count { color: #333; font-weight:800; }
.one-catalog-review-reply { border: 1px dashed var(--one-border-hover); padding: 10px 15px; color: var(--one-text-primary); border-radius: var(--one-radius-sm); max-width: 500px; }

@media (max-width: 991.98px) {
  .one-catalog-review-left { border-right: 0; border-bottom: 1px solid var(--one-border); min-height: 50px; margin-bottom: 10px; }
  .one-catalog-review-item { margin-top: 35px; max-width: 100%; }
  .one-catalog-review-body { max-width: 100%; }
}
