/* Styles for the custom store pages (checkout, order status, search, 404). Uses the theme's own tokens. */
.tc-page { max-width: 1120px; margin: 0 auto; padding: 40px 20px 80px; color: var(--color-foreground, #000); }
.tc-page h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 24px; }
.tc-page h2 { font-size: 1.125rem; margin: 28px 0 12px; }
.tc-center { text-align: center; max-width: 640px; }
.tc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 849px) { .tc-grid { grid-template-columns: 1fr; gap: 28px; } .tc-summary { order: -1; } }
.tc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tc-field label, .tc-label { font-size: .875rem; }
.tc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 549px) { .tc-row { grid-template-columns: 1fr; } }
.tc-reviews input[type=text], .tc-reviews input[type=email], .tc-reviews select, .tc-reviews textarea, .tc-page input[type=text], .tc-page input[type=email], .tc-page input[type=tel], .tc-page input[type=search], .tc-page select, .tc-page textarea {
  width: 100%; font: inherit; padding: 13px 14px; border: 1px solid rgb(0 0 0 / .25); border-radius: 8px; background: #fff; color: inherit; box-sizing: border-box; }
.tc-page input:focus, .tc-page select:focus, .tc-page textarea:focus { outline: 2px solid #000; outline-offset: 1px; }
.tc-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgb(0 0 0 / .2); border-radius: 8px; margin-bottom: 10px; cursor: pointer; }
.tc-opt:has(input:checked) { border-color: #000; box-shadow: 0 0 0 1px #000; }
.tc-opt small { display: block; opacity: .65; margin-top: 2px; }
.tc-opt-body { flex: 1; }
.tc-summary { background: rgb(0 0 0 / .03); border-radius: 12px; padding: 24px; position: sticky; top: 90px; }
.tc-line { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.tc-line img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; background: #eee; }
.tc-line .tc-qty { position: relative; }
.tc-line .tc-badge { position: absolute; top: -8px; inset-inline-end: -8px; background: #000; color: #fff; border-radius: 50%; min-width: 20px; height: 20px; font-size: .75rem; display: grid; place-items: center; }
.tc-line-info { flex: 1; font-size: .9rem; } .tc-line-info small { opacity: .65; display: block; }
.tc-totals { border-top: 1px solid rgb(0 0 0 / .12); margin-top: 8px; padding-top: 14px; }
.tc-totals div { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .95rem; }
.tc-totals .tc-grand { font-size: 1.15rem; font-weight: 600; margin-top: 12px; }
.tc-totals small { opacity: .65; }
.tc-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 16px 20px; background: #000; color: #fff; border: 0; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; margin-top: 8px; }
.tc-btn:hover { opacity: .88; } .tc-btn[disabled] { opacity: .5; cursor: wait; }
.tc-btn.tc-inline { width: auto; }
.tc-alert { background: #fdecec; color: #8a1c1c; border: 1px solid #f3b9b9; border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; }
.tc-ok { background: #edf7ee; color: #1d5c2b; border: 1px solid #b7dfbe; border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; }
.tc-muted { opacity: .65; }
.tc-table { width: 100%; border-collapse: collapse; } .tc-table td, .tc-table th { padding: 10px 6px; text-align: start; border-bottom: 1px solid rgb(0 0 0 / .1); }
.tc-steps { display: flex; gap: 8px; font-size: .85rem; opacity: .7; margin-bottom: 20px; flex-wrap: wrap; }
.tc-search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.tc-search-grid a { color: inherit; text-decoration: none; } .tc-search-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #eee; }
.cart-totals__discount-note { display: block; text-align: end; opacity: .75; }
.tc-table td:last-child { white-space: nowrap; }
/* reviews */
.tc-reviews { max-width: 1120px; margin: 40px auto; padding: 0 20px; } .tc-reviews__inner { border-top: 1px solid rgb(0 0 0 / .12); padding-top: 32px; }
.tc-stars { color: #111; letter-spacing: 2px; } .tc-review { padding: 16px 0; border-bottom: 1px solid rgb(0 0 0 / .08); } .tc-review h3 { margin: 4px 0; font-size: 1rem; } .tc-review p { margin: 4px 0 8px; } .tc-review small { opacity: .6; }
.tc-reviews__form { margin-top: 24px; } .tc-reviews__form summary { cursor: pointer; font-weight: 600; margin-bottom: 14px; } .tc-reviews__form form { max-width: 620px; }
/* discount code box (checkout) */
.tc-codebox { margin: 4px 0 14px; } .tc-coderow { display: flex; gap: 8px; } .tc-coderow input { flex: 1; min-width: 0; }
.tc-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; } .tc-pill { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid rgb(0 0 0 / .2); border-radius: 99px; padding: 3px 4px 3px 12px; text-transform: uppercase; font-size: .8rem; }
.tc-pill button { border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; line-height: 1; padding: 0 6px; }
/* announcement bar rotator */
.announcement-bar { position: relative; }
.announcement-bar__slides[data-rotator] { display: grid; }
.announcement-bar__slides[data-rotator] .announcement-bar__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, transform .45s ease; }
.announcement-bar__slides[data-rotator] .announcement-bar__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.announcement-bar__slides[data-transition="slide"] .announcement-bar__slide { transform: translateY(60%); }
.announcement-bar__slides[data-transition="none"] .announcement-bar__slide { transition: none; }
.tc-ann-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; padding: 4px 12px; cursor: pointer; opacity: .7; }
.tc-ann-arrow:hover { opacity: 1; } .tc-ann-prev { inset-inline-start: 4px; } .tc-ann-next { inset-inline-end: 4px; }
@media (prefers-reduced-motion: reduce) { .announcement-bar__slides[data-rotator] .announcement-bar__slide { transition: none; } }

/* ---- quick-add: clean "Choose" button + compact modal ---- */
.quick-add__button, .quick-add__button--choose { border: 1px solid rgba(0,0,0,.9) !important; box-shadow: 0 1px 4px rgba(0,0,0,.18) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #fff !important; }
.quick-add-modal { --qa-h: min(500px, calc(100vh - 48px)); height: var(--qa-h) !important; min-height: 0 !important; }
.quick-add-modal__content { height: var(--qa-h) !important; max-height: none !important; }
.quick-add-modal__content .buy-buttons-block { position: static !important; margin-top: 0 !important; }
.quick-add-modal__content .variant-picker { padding-bottom: 16px !important; }
.quick-add-modal__content product-inventory { display: block; padding: 0 28px 24px; }
.quick-add-modal .product-information__media, .quick-add-modal media-gallery { height: var(--qa-h) !important; }
.quick-add-modal slideshow-slide, .quick-add-modal slideshow-slide .product-media-container, .quick-add-modal slideshow-slide .product-media, .quick-add-modal slideshow-slide img { height: var(--qa-h) !important; max-height: var(--qa-h) !important; }
.quick-add-modal slideshow-slide img { object-fit: cover !important; width: 100% !important; }
@media (max-width: 749px) { .quick-add-modal { --qa-h: min(640px, calc(100vh - 32px)); } }

@media (max-width: 749px) { .tc-bundle__slots { grid-template-columns: 1fr; } }

.tc-bundle-promo { text-align: center; padding: 48px 20px; }
.tc-bundle-promo h2 { margin: 0 0 8px; font-size: 1.5rem; }
.tc-bundle-promo p { margin: 0 0 20px; }

/* Bundle builder (/pages/bundle): same look as the theme's product options and Add to cart button */
.tc-bundle__size { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 0; }
.tc-bundle__tab, .tc-bundle select { font: inherit; font-size: 14px; color: #000; background: #fff; border: 1px solid rgb(0 0 0 / .12); border-radius: 14px; min-height: 46px; padding: 8px 20px; }
.tc-bundle__tab { cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.tc-bundle__tab:hover { border-color: #000; }
.tc-bundle__tab.is-on { background: #000; color: #fff; border-color: #000; }
.tc-bundle__slots { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.tc-bundle__slot { border: 1px solid rgb(0 0 0 / .12); border-radius: 14px; padding: 20px; }
.tc-bundle__slot h2 { margin: 0 0 12px; }
.tc-bundle__slot img { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto 16px; }
.tc-bundle__media { cursor: pointer; }
.tc-bundle select { appearance: none; -webkit-appearance: none; width: 100%; padding-right: 48px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center; }
.tc-bundle select:focus-visible, .tc-bundle__tab:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.tc-bundle__price { font-weight: 600; margin: 8px 0 0; }
.tc-bundle__sum { max-width: 420px; margin: 0 0 16px; }
.tc-bundle__sum > div { display: flex; justify-content: space-between; padding: 6px 0; }
.tc-bundle__total { border-top: 1px solid rgb(0 0 0 / .15); font-size: 1.125rem; }
.tc-bundle #tcb-add { width: 100%; max-width: 420px; height: 52px; border: 1px solid #000; border-radius: 14px; background: rgb(246 249 253); color: #000; font-size: 14px; font-weight: 400; cursor: pointer; }
.tc-bundle #tcb-add[disabled] { opacity: .5; cursor: wait; }

/* Home hero: lift the button so the text block and button sit centred in the banner (desktop) */
@media (min-width: 750px) { .hero__container { padding-bottom: 52px !important; } }

/* Bundle builder on phones: two items side by side */
@media (max-width: 749px) {
  .tc-bundle__slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tc-bundle__slot { padding: 12px; }
  .tc-bundle__slot h2 { font-size: 1rem; margin-bottom: 8px; }
  .tc-bundle__slot img { max-width: 110px; margin-bottom: 10px; }
  .tc-bundle select { font-size: 13px; padding: 8px 32px 8px 12px; min-height: 42px; background-position: right 12px center; }
  .tc-bundle .tc-field { margin-bottom: 8px; }
  .tc-bundle .tc-field label { font-size: .8125rem; }
  .tc-bundle__tab { font-size: 13px; padding: 8px 14px; }
}
/* Bundle builder: summary and button centred under the items */
.tc-bundle__sum { margin: 0 auto 16px; }
.tc-bundle #tcb-add { display: block; margin: 0 auto; }
.tc-bundle .tc-error { text-align: center; }
/* Bundle builder: the page keeps the same width for 2, 3 and 4 items, so the heading and text never shift */
.tc-page:has(.tc-bundle) { width: 100%; box-sizing: border-box; }
.tc-bundle { width: 100%; }

/* Announcement bar as a scrolling ticker */
.announcement-bar__slider:has(.tc-marquee) { grid-column: 1 / -1; width: 100%; }
.announcement-bar__slides.tc-marquee { max-width: none; margin-inline: 0; overflow: hidden; white-space: nowrap; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tc-marquee__track { display: flex; width: max-content; animation: tc-marq var(--tc-marq-dur, 40s) linear infinite; }
.tc-marquee:hover .tc-marquee__track { animation-play-state: paused; }
.tc-marquee__group { display: flex; flex: none; align-items: center; }
.tc-marquee__item { font-size: .75rem; font-family: var(--font-subheading--family); text-transform: uppercase; letter-spacing: var(--letter-spacing--body-normal); padding: 0 clamp(48px, 7vw, 110px); line-height: 1; }
.tc-marquee__item a { color: inherit; text-decoration: none; }
.tc-marquee__sep { font-size: .5rem; opacity: .55; line-height: 1; }
@keyframes tc-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tc-marquee__track { animation-duration: 240s; } }
