/* Tyler's Corner: Gifts for Him page, Christmas ship-by notice, product-page trust row and
   sticky add-to-cart polish. Builds on tc-shop.css (variables, panels, cards, pair box). */

/* Ship-by notice */
.tc-shipby { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; font-family: 'Inter', Arial, sans-serif; }
.tc-shipby--bar { background: var(--tc-gold); color: var(--tc-char); padding: 12px 20px; font-size: 15px; font-weight: 600; text-align: center; }
.tc-shipby--bar b { font-weight: 800; }
.tc-shipby-mark { width: 12px; height: 12px; border-top: 3px solid currentColor; border-left: 3px solid currentColor; flex: none; }
.tc-shipby-left { background: var(--tc-char); color: var(--tc-gold); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; }
.tc-shipby-note { font-size: 12px; opacity: .75; }
.tc-shipby--line { justify-content: flex-start; flex-wrap: nowrap; background: #F6EEDB; border-left: 4px solid var(--tc-gold); color: var(--tc-ink); padding: 10px 12px; font-size: 14px; border-radius: 2px; }
.tc-shipby--line .tc-shipby-mark { color: var(--tc-gold-deep); }
.tc-shipby--line .tc-shipby-text { flex: 1; min-width: 0; }
.tc-shipby.is-past { background: var(--tc-bone); color: var(--tc-muted); }

/* Gifts page */
.tc-gifts { padding: 0 0 40px; }
.tc-gifts .tc-wrap > * { margin-top: 26px; }
.tc-panel.tc-light { background: #fff; border: 1px solid var(--tc-line); }
.tc-gift-row .tc-rail-head p:last-child { max-width: 640px; }
.tc-gift-note { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.tc-gift-note a { color: var(--tc-gold-deep); font-weight: 800; }
.tc-dark .tc-gift-note a, .tc-olive .tc-gift-note a { color: var(--tc-gold); }
.tc-sets-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-bottom: 12px; }
.tc-set { margin: 0; }
.tc-set .tc-pair-imgs a { display: block; width: calc(50% - 12px); }
.tc-set .tc-pair-imgs img { width: 100%; }
.tc-set-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.tc-set-picks label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(236,229,213,.75); display: flex; flex-direction: column; gap: 4px; }
.tc-set-picks select { font: 600 13px/1.2 'Inter', Arial, sans-serif; color: var(--tc-ink); background: #fff; border: 0; border-radius: 2px; padding: 8px; width: 100%; }
.tc-set .tc-btn { width: 100%; margin-top: auto; }
.tc-gift-faq { max-width: 820px; margin-left: auto; margin-right: auto; padding: 18px 0 8px; }
.tc-gift-faq .tc-h { font-size: clamp(32px, 4vw, 48px); margin: 0 0 14px; }
.tc-gift-faq details { border-top: 1px solid var(--tc-line); padding: 14px 0; }
.tc-gift-faq details:last-child { border-bottom: 1px solid var(--tc-line); }
.tc-gift-faq summary { cursor: pointer; font-weight: 800; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tc-gift-faq summary::-webkit-details-marker { display: none; }
.tc-gift-faq summary::after { content: "+"; color: var(--tc-gold-deep); font-size: 22px; line-height: 1; }
.tc-gift-faq details[open] summary::after { content: "\2212"; }
.tc-gift-faq details div { padding: 10px 0 2px; font-size: 15px; line-height: 1.6; color: #3b3935; }
.tc-gift-faq details a { color: var(--tc-gold-deep); font-weight: 700; }
.tc-gifts .tc-help { margin-top: 30px; border-radius: var(--tc-radius); }
@media (max-width: 1100px) { .tc-sets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tc-sets-grid { grid-template-columns: 1fr; }
  .tc-shipby--bar { font-size: 14px; padding: 10px 14px; }
  .tc-gifts .tc-wrap { padding: 0 12px; }
}

/* Product page: trust row under Add to cart */
.tc-buybox.tc { background: transparent; }
.tc-buybox { margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; font-family: 'Inter', Arial, sans-serif; }
.tc-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.tc-trust li { position: relative; padding-left: 17px; font-size: 13px; line-height: 1.4; color: var(--tc-ink); }
.tc-trust li::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-top: 3px solid var(--tc-gold); border-left: 3px solid var(--tc-gold); }
.tc-trust b { font-weight: 800; }
.tc-trust a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Theme's sticky add-to-cart bar: show the short product name on phones */
.sticky-add-to-cart__bar .tc-sticky-name { display: block; font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; font-size: 16px; line-height: 1.05; color: var(--tc-ink, #22211F); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-add-to-cart__bar .sticky-add-to-cart__info { min-width: 0; }
.sticky-add-to-cart__bar .sticky-add-to-cart__variant { font-size: 12px; }
.sticky-add-to-cart__bar .sticky-add-to-cart__button { background: #22211F; color: #ECE5D5; }
