/* Packet promotions use the same dark palette on custom and legacy pages. */
.ttd-packet, .ttd-packet-dialog, .ttd-packet-bar { box-sizing: border-box; color: #f7f7f7; font: 400 16px/1.55 'DM Sans', Arial, sans-serif; }
.ttd-packet *, .ttd-packet-dialog *, .ttd-packet-bar * { box-sizing: border-box; }
.ttd-packet [hidden], .ttd-packet-bar [hidden], .ttd-packet-dialog [hidden] { display: none !important; }
.ttd-packet-bar { background: #10213b; border-bottom: 1px solid #476a9c; padding: 10px 20px; text-align: center; }
.ttd-packet-bar a { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; color: #f7f7f7; font-size: 13px; text-decoration: none; }
.ttd-packet-bar a:hover { text-decoration: underline; }
.ttd-packet-bar .ttd-packet-price { font-size: 15px; }
.ttd-packet-bar del { color: #bdc9d8; }
.ttd-packet { display: grid; grid-template-columns: minmax(150px, .65fr) 1.5fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); margin: 0 0 32px; background: #101010; border: 1px solid #3a4b65; border-radius: 8px; }
.ttd-packet-home:has(> .ttd-packet) { padding-top: clamp(32px, 5vw, 60px); }
.ttd-packet-home .ttd-packet { margin-bottom: 0; }
.ttd-packet-cover { display: block; max-width: 260px; margin: auto; }
.ttd-packet-cover img { display: block; width: 100%; height: auto; box-shadow: 0 12px 38px #0008; }
.ttd-packet .ttd-packet-eyebrow, .ttd-packet-dialog .ttd-packet-eyebrow { margin: 0 0 12px; color: #adceff; font: 800 11px/1.5 'DM Sans', Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.ttd-packet h2, .ttd-packet-dialog h2 { margin: 0 0 16px; padding: 0; color: #fff; font: 800 clamp(32px, 4vw, 48px)/1.03 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; text-transform: none; }
.ttd-packet .ttd-packet-copy > p:not(.ttd-packet-eyebrow), .ttd-packet-dialog > p:not(.ttd-packet-eyebrow) { color: #d5d5d5; margin: 0 0 18px; font: inherit; }
.ttd-packet ul { padding-left: 20px; color: #d5d5d5; margin: 0 0 24px; }
.ttd-packet-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.ttd-packet-price { display: inline-flex; align-items: baseline; gap: 10px; color: #fff; font-size: 26px; line-height: 1.4; }
.ttd-packet-price del { color: #a6a6a6; font-size: .68em; }
.ttd-packet-price ins { color: #fff; background: none; text-decoration: none; }
.ttd-packet .ttd-packet-button, .ttd-packet-dialog .ttd-packet-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 18px; background: #adceff; border: 1px solid #adceff; border-radius: 4px; color: #10151e; font: 800 15px/1.3 'DM Sans', Arial, sans-serif; text-align: center; text-decoration: none; }
.ttd-packet-button:hover { background: #d1e4ff !important; text-decoration: none !important; }
.ttd-packet-deadline { display: block; color: #b7c7df; font-size: 12px; margin-top: 12px; }
.ttd-packet-compact { grid-template-columns: 90px 1fr; padding: 24px; gap: 24px; }
.ttd-packet-compact h2 { font-size: 30px; margin-bottom: 10px; }
.ttd-packet-compact .ttd-packet-copy > p:not(.ttd-packet-eyebrow) { font-size: 14px; margin-bottom: 14px; }
.ttd-packet-compact .ttd-packet-price { font-size: 22px; }
.ttd-packet-product-note { display: grid; gap: 8px; color: #d5d5d5; font-size: 14px; margin: 0 0 16px; }
.ttd-packet-product-note .ttd-packet-deadline { margin-top: 0; }
.ttd-packet-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 36px; border: 1px solid #476a9c; border-radius: 8px; background: #101010; box-shadow: 0 24px 90px #0009; }
.ttd-packet-dialog:not([open]) { display: none; }
.ttd-packet-dialog::backdrop { background: #000a; }
.ttd-packet-dialog h2 { padding-right: 14px; font-size: 44px; }
.ttd-packet-dialog > .ttd-packet-price { margin-bottom: 16px; }
.ttd-packet-dialog > .ttd-packet-button { display: flex; width: 100%; }
.ttd-packet-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; padding: 0; background: none; color: #fff; border: 0; font: 400 30px/1 Arial,sans-serif; cursor: pointer; }
.ttd-packet-dismiss { display: block; width: 100%; min-height: 44px; padding: 8px; margin-top: 12px; background: none; border: 0; color: #c7c7c7; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.ttd-packet :focus-visible, .ttd-packet-dialog :focus-visible, .ttd-packet-bar :focus-visible { outline: 3px solid #79abff; outline-offset: 4px; }
@media (max-width: 600px) {
  .ttd-packet { grid-template-columns: 1fr; gap: 22px; }
  .ttd-packet-cover { max-width: 150px; }
  .ttd-packet-compact .ttd-packet-cover { display: none; }
  .ttd-packet-buy { align-items: stretch; flex-direction: column; gap: 12px; }
  .ttd-packet-bar a > span:not(.ttd-packet-price) { display: none; }
  .ttd-packet-dialog { padding: 30px 24px 20px; }
  .ttd-packet-dialog h2 { font-size: 38px; }
}
/* The parent theme applies container sizing to the WooCommerce body itself. */
body.ttd-store-page { width: auto; max-width: none; padding: 0; margin: 0; }
.ttd-store-page .ttd-shell div.product .product_title { color: #fff; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.06; margin-bottom: 18px; }
.ttd-store-page .ttd-shell div.product .price { color: #adceff; }
.ttd-store-page .ttd-shell div.product .price ins { background: transparent; text-decoration: none; }
.ttd-store-page .ttd-shell span.onsale { background: #adceff; color: #11151b; border-radius: 4px; min-width: 0; min-height: 0; line-height: 1.4; padding: 7px 11px; }
