/* ================================================================
   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-recessed) !important; padding: 50px 0; }
.one-onsale-title { font-family: var(--one-font-display); margin: auto; font-display: optional; color: var(--one-text-primary); font-size: 3em; max-width: 900px; font-weight: bolder; }
.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 { min-height: 48px; line-height: 1.2; }
.one-onsale-block-title { color: #222; font-weight: 700;}
.one-onsale-block-h6{font-size:15px;line-height:1.2em;margin-bottom:8px}
.one-onsale-block-title:hover { color: var(--one-red); }
.one-onsale-block-price { color: #888; font-size: 14px; text-decoration: line-through; }
.one-onsale-block-btn { min-width: 65%; font-weight: 800;}
.one-onsale-sales-price { color: #000; font-size: 20px; font-family: var(--one-font-body); font-weight: 900; letter-spacing: -0.3px; }
.one-onsale-block-save { text-align: center; color: #222; font-size: 12px; }
.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: var(--one-text-inverse); font-size: 12px; }
.one-onsale-block-off { margin: auto; background-color: #FFE000; color: #000; width: fit-content; padding: 2px 8px; font-size: 11px; border-radius: var(--one-radius-sm); font-family: var(--one-font-body); font-weight: 800; }
.one-onsale-count { font-size: 1.2em; color: var(--one-text-primary); padding: 6px; }

@media (max-width: 991.98px) {
  .one-onsale-header { padding: 30px 0; }
  .one-onsale-logo { max-width: 160px; }
  .one-onsale-title { color: var(--one-text-inverse); 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-title-container { min-height: 40px; }
  .one-onsale-block-title {}
  .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:85%;}
  .one-onsale-sales-price {}
  .one-onsale-block-off { border-radius: var(--one-radius-sm); }
  .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: var(--one-text-inverse) !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: var(--one-text-inverse); background-color: var(--one-red); }
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear { color: var(--one-text-inverse); 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-display); font-display: optional; 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-display); font-size: 3em; color: var(--one-success); font-weight: bolder; }
.one-offers-list-off-inactive { font-family: var(--one-font-display); font-size: 3em; color: var(--one-text-secondary); font-weight: bolder; }
.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-inverse); border-radius: var(--one-radius-xs); text-align: center; padding: 5px; font-size: 1em; font-weight: bold; }
.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: bold; font-family: var(--one-font-display); font-display: optional; 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: var(--one-text-inverse); 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: bold; font-family: var(--one-font-display); font-display: optional; 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-inverse); 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%; }
}
