/* ===== TALL Creations — landing page ===== */
/* Palette matched to the admin welcome screen */
:root {
    --bg:          #0f0e16;  /* brand dark */
    --bg-alt:      #08070d;  /* darker section, toward #010003 */
    --surface:     rgba(255, 255, 255, 0.04);
    --surface-brd: rgba(255, 255, 255, 0.08);
    --text:        #eff0f3;  /* brand off-white */
    --text-muted: #c7c6d6;
    --violet:      #9267f2;  /* brand primary */
    --violet-deep: #5724c8;  /* brand deep */
    --violet-lite: #d29ff4;  /* brand light lavender */
    --violet-soft: rgba(146, 103, 242, 0.15);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* Stops iOS Safari's automatic text-size boost, which inflates font size
       after buttons are already sized to fit their content and clips labels
       that use overflow: hidden (e.g. the colour swatch pills). */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* iOS Safari's horizontal rubber-band bounce is driven by <html>'s
       scrollable area, not <body>'s — without this, stray sub-pixel width
       (e.g. Bootstrap .row's normal negative gutter margins) that body's own
       overflow-x: hidden already clips visually can still let the whole page
       wobble sideways on a swipe near the edge. overscroll-behavior-x (not
       overflow-x) is used here because giving <html> itself a non-visible
       overflow stops it acting as the document's scrolling viewport, which
       silently breaks `position: sticky` for anything on the page (e.g. the
       product gallery on shop.show) — it was set to overflow-x: hidden
       briefly and broke exactly that. */
    overscroll-behavior-x: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

/* Bootstrap's default .text-muted is too dark to read against this dark theme. */
.text-muted { color: var(--text-muted) !important; }

/* ----- Background decoration (grid + glow) ----- */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(146, 103, 242, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(146, 103, 242, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    z-index: -1;
    background: radial-gradient(ellipse, rgba(146, 103, 242, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ----- Navbar ----- */
.tc-navbar {
    background: rgba(15, 14, 22, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-brd);
    padding: 0.85rem 0;
    transition: background 0.3s, padding 0.3s;
}
.tc-navbar.scrolled {
    background: rgba(15, 14, 22, 0.95);
    padding: 0.6rem 0;
}
.nav-logo { height: 38px; width: auto; }
.brand-text {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    font-size: 1.1rem;
}
.tc-navbar .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.tc-navbar .nav-link:hover { color: #fff; }
.navbar-toggler {
    border-color: var(--surface-brd);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28239, 240, 243, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--violet-soft); }
.tc-nav-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}
.tc-nav-cart-link:hover { color: var(--violet-lite); }
.tc-nav-cart-link .tc-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 0.65rem;
    line-height: 1;
    padding: 0.25rem 0.4rem;
}
.tc-nav-app-link {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}
.tc-nav-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    color: var(--text);
    cursor: pointer;
}
.tc-nav-search-btn:hover { color: var(--violet-lite); }
.tc-nav-search-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 14, 22, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-brd);
}
.tc-nav-search-collapse .container {
    padding: 1rem 1rem 1.25rem;
}
.tc-nav-search-form {
    position: relative;
}
.tc-nav-search-form .tc-input {
    width: 100%;
    padding-right: 2.75rem;
}

/* ----- Buttons ----- */
.btn-tc-primary {
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.75rem;
    box-shadow: 0 4px 20px rgba(146, 103, 242, 0.35);
    transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
}
.btn-tc-primary:hover {
    color: #fff;
    opacity: 0.92;
    box-shadow: 0 4px 30px rgba(146, 103, 242, 0.55);
}
.btn-tc-primary:active { transform: scale(0.99); }

.btn-tc-ghost {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    color: var(--text);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.75rem;
    transition: border-color 0.2s, color 0.2s;
}
.btn-tc-ghost:hover {
    color: #fff;
    border-color: rgba(146, 103, 242, 0.6);
}

/* ----- Hero ----- */
.tc-hero {
    padding: 11rem 0 6rem;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--violet);
    margin-bottom: 1rem;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 1.25rem;
}
.gradient-text {
    background: linear-gradient(135deg, var(--violet), var(--violet-lite));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}
.text-lg-start .hero-lead { margin-left: 0; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.text-center .hero-actions { justify-content: center; }

.hero-logo-wrap {
    display: inline-block;
    filter: drop-shadow(0 0 40px rgba(146, 103, 242, 0.45));
    animation: float 6s ease-in-out infinite;
}
.hero-logo { max-width: 100%; height: auto; max-height: 360px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* ----- Sections ----- */
.tc-section { padding: 5rem 0; }
.tc-section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--surface-brd);
    border-bottom: 1px solid var(--surface-brd);
}
.section-head { margin-bottom: 3rem; }
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 0.75rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}

.tc-app-promo-badge { height: 54px; width: auto; }
.tc-app-promo-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

/* ----- Product cards ----- */
.tc-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(146, 103, 242, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.tc-card-img { aspect-ratio: 1 / 1; overflow: hidden; }
.tc-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.tc-card:hover .tc-card-img img { transform: scale(1.06); }
.tc-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.tc-card-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0; }
.tc-card-rating { margin-top: 0.3rem; }
.tc-card-text { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Price + pills + quick-add row: always pinned to the bottom of the card via
   margin-top: auto, so a card with a promo pill or a rating never sits taller
   up top than one without — every card's footer lines up across the row. */
.tc-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.tc-card-footer-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.tc-card-footer-actions .tc-badge-promo { margin: 0; white-space: nowrap; }
.tc-quick-add, .tc-quick-add-link {
    position: relative;
    z-index: 2; /* escape the title's stretched-link overlay, same trick as .tc-badge-promo-link */
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.tc-quick-add {
    background: var(--violet);
    border: none;
    color: #fff;
}
.tc-quick-add:hover { background: var(--violet-lite); }
.tc-quick-add:disabled { opacity: 0.7; cursor: default; }
.tc-quick-add.tc-quick-add-ok { background: #4ade80; }
.tc-quick-add.tc-quick-add-error { background: #f87171; }
.tc-quick-add-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
    text-decoration: none;
}
.tc-quick-add-link:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.26); color: var(--text); }

/* Dense grid (4+ per row): shrink title and quick-add controls so cards stay
   readable at a narrower column width — set automatically from the "Products
   Per Row" store setting rather than per-page. */
.tc-cards-dense .tc-card-title { font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-cards-dense .tc-card-body { padding: 1rem; }
.tc-cards-dense .tc-price-tag { font-size: 0.95rem; }
.tc-cards-dense .tc-quick-add, .tc-cards-dense .tc-quick-add-link { width: 30px; height: 30px; }
.tc-cards-dense .tc-card-footer-actions .tc-badge-promo { font-size: 0.65rem; padding: 0.15rem 0.5rem; }

/* ----- About ----- */
.about-img {
    border-radius: 18px;
    border: 1px solid var(--surface-brd);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.about-img-carousel {
    border-radius: 18px;
    border: 1px solid var(--surface-brd);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.about-img-carousel .carousel-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.about-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1rem; }
.tc-name { color: var(--violet-lite); font-weight: 800; }
.about-features { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.about-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
    color: var(--text);
    font-weight: 500;
}
.about-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
    box-shadow: 0 0 12px rgba(146, 103, 242, 0.5);
}

/* ----- Contact ----- */
.tc-contact-card {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
@media (max-width: 575.98px) {
    .tc-contact-card { padding: 1.5rem; }
}

/* ----- Cart line ----- */
.tc-cart-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}
.tc-cart-line-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
}
.tc-cart-line-info {
    flex: 1 1 180px;
    min-width: 0;
}
.tc-cart-line-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}
@media (max-width: 575.98px) {
    .tc-cart-line-actions {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }
}
.tc-cart-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
}
.tc-cart-actions .btn { width: 100%; }
@media (min-width: 576px) {
    .tc-cart-actions {
        flex-direction: row;
        justify-content: center;
    }
    .tc-cart-actions .btn { width: auto; }
}
.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9999aa;
}
.tc-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    padding: 0.7rem 1rem;
}
.tc-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(146, 103, 242, 0.6);
    box-shadow: 0 0 0 3px var(--violet-soft);
    color: var(--text);
}
.tc-input::placeholder { color: #4a4a58; }

.form-alert {
    margin-top: 1.25rem;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}
.form-alert.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}
.form-alert.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}
.form-alert.info {
    background: var(--violet-soft);
    border: 1px solid rgba(146, 103, 242, 0.3);
    color: var(--violet-lite);
}

.apple-pay-button {
    display: inline-block;
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: buy;
    width: 100%;
    height: 48px;
    border-radius: 10px;
    cursor: pointer;
}
.apple-pay-button-black { -apple-pay-button-style: black; }
.tc-or-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.tc-or-divider::before,
.tc-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--surface-brd);
}

.tc-link { color: var(--violet); text-decoration: none; }
.tc-link:hover { text-decoration: underline; }

/* ----- Footer ----- */
.tc-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--surface-brd);
    padding: 2.5rem 0;
}
.footer-logo { height: 32px; width: auto; }
.footer-app-badge { height: 40px; width: auto; }
.footer-social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.2s;
}
.footer-social-link:first-child { margin-left: 0; }
.footer-social-link:hover { color: var(--violet); }
.heart { color: var(--violet); }

.tc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    transition: transform 0.2s, border-color 0.2s;
}
.tc-social-icon:hover {
    transform: translateY(-3px);
    border-color: var(--violet-lite);
}

/* ----- Collections ----- */
.tc-collection-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tc-collection-tile:hover {
    border-color: var(--violet);
    background: var(--violet-soft);
    color: var(--text);
    transform: translateY(-3px);
}
.tc-collection-tile-emoji { font-size: 2rem; line-height: 1; }
.tc-collection-tile-name { font-weight: 600; }

.tc-pdp-collections {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.tc-collection-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--violet-soft);
    color: var(--violet-lite);
    text-decoration: none;
    font-weight: 600;
}
.tc-collection-pill:hover {
    background: rgba(146, 103, 242, 0.28);
    color: var(--violet-lite);
}

.tc-collection-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.6rem 0 0.9rem;
}
.tc-badge-collection-number {
    display: inline-block;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.tc-badge-collection-number:hover {
    background: rgba(245, 158, 11, 0.24);
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

/* ----- FAQ accordion ----- */
.tc-faq .accordion {
    --bs-accordion-bg: var(--surface);
    --bs-accordion-border-color: var(--surface-brd);
    --bs-accordion-color: var(--text-muted);
    --bs-accordion-btn-color: var(--text);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-bg: var(--violet-soft);
    --bs-accordion-active-color: var(--violet-lite);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.15rem var(--violet-soft);
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23eff0f3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d29ff4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.tc-faq .accordion-button {
    font-weight: 600;
}
.tc-faq .accordion-body a {
    font-weight: 500;
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
    .tc-hero { padding: 9rem 0 4rem; }
    .hero-logo { max-height: 280px; }
}

/* ----- Shop grid ----- */
.tc-shop-header { padding: 8rem 0 1rem; }
.tc-promo-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}
.tc-promo-banner-divider { opacity: 0.5; }
.tc-collection-pills-hero { justify-content: center; }
.tc-card-link { text-decoration: none; display: block; color: inherit; }
.tc-price-tag {
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
}
.tc-badge-outofstock {
    display: inline-block;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
}
.tc-badge-madetoorder {
    display: inline-block;
    background: var(--violet-soft);
    border: 1px solid rgba(146, 103, 242, 0.3);
    color: var(--violet-lite);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
}
.tc-badge-available {
    display: inline-block;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
}
.tc-badge-comingsoon {
    display: inline-block;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
}
.tc-badge-collection-number-card {
    display: inline-block;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
    margin-right: 0.4rem;
}

.tc-badge-promo {
    display: inline-block;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
    margin-left: 0.4rem;
}
.tc-badge-promo-link {
    position: relative;
    z-index: 2;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.tc-badge-promo-link:hover {
    background: rgba(245, 158, 11, 0.24);
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.tc-collection-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.tc-collection-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.tc-collection-pill:hover,
.tc-collection-pill.active {
    color: var(--violet-lite);
    background: var(--violet-soft);
    border-color: var(--violet);
}
.tc-collection-pill-icon {
    font-size: 1.1rem;
    line-height: 1;
}
.tc-collection-pill-promo {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
}
.tc-collection-pill-promo:hover,
.tc-collection-pill-promo.active {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.5);
}

/* Small screens: the marquee + banner + pill row can otherwise fill the
   whole first viewport, pushing every product below the fold — shrink text
   and spacing here so part of the grid is visible without scrolling. */
@media (max-width: 575.98px) {
    .tc-promo-banner {
        gap: 0.3rem;
        margin-bottom: 0.75rem;
        padding: 0.4rem 0.85rem;
        font-size: 0.7rem;
    }
    .tc-collection-pills {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    .tc-collection-pill {
        padding: 0.3rem 0.65rem;
        font-size: 0.72rem;
        gap: 0.3rem;
    }
    .tc-collection-pill-icon {
        font-size: 0.85rem;
    }
}

.tc-shop-filters {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 12px;
    padding: 1.25rem;
}
.tc-mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.tc-mobile-filter-chevron {
    transition: transform 0.2s ease;
}
.tc-mobile-filter-toggle.collapsed .tc-mobile-filter-chevron {
    transform: rotate(-90deg);
}
.tc-filter-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.tc-shop-search {
    margin-bottom: 1.25rem;
}
.tc-shop-search-row {
    position: relative;
}
.tc-shop-search-row .tc-input {
    width: 100%;
    padding-right: 2.75rem;
}
.tc-search-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.15s ease;
}
.tc-search-btn:hover {
    color: var(--violet-lite);
}
.tc-shop-search .tc-link.small {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}
.tc-category-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tc-category-nav li {
    margin-bottom: 0.35rem;
}
.tc-category-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
}
.tc-category-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
.tc-category-nav a.active {
    color: var(--violet-lite);
    background: var(--violet-soft);
    font-weight: 600;
}
.tc-category-count {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--violet-lite);
    background: var(--violet-soft);
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
}
.tc-category-nav a:hover .tc-category-count {
    background: rgba(146, 103, 242, 0.28);
}
.tc-category-nav a.active .tc-category-count {
    color: var(--violet-deep);
    background: #fff;
}
.tc-filter-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.tc-filter-check label {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    cursor: pointer;
}

/* ----- Add-on toggle (product page) ----- */
.tc-addon-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    cursor: pointer;
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.tc-addon-toggle:hover {
    border-color: rgba(146, 103, 242, 0.5);
}
.tc-addon-toggle:has(input:checked) {
    border-color: var(--violet);
    background: var(--violet-soft);
}
.tc-addon-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.tc-addon-toggle .tc-addon-photo {
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--surface-brd);
    flex-shrink: 0;
}
.tc-addon-toggle .tc-addon-label {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    font-size: 0.92rem;
    color: var(--text);
    margin: 0;
    line-height: 1.35;
}
.tc-addon-toggle .tc-addon-price {
    color: var(--violet-lite);
    font-weight: 600;
}
.tc-addon-toggle input:disabled ~ .tc-addon-label {
    opacity: 0.5;
    cursor: not-allowed;
}
.tc-addon-toggle input:disabled ~ .tc-addon-photo {
    opacity: 0.5;
}
.tc-addon-toggle .tc-toggle-track {
    position: relative;
    flex-shrink: 0;
    width: 2.6rem;
    height: 1.5rem;
    border-radius: 999px;
    background: var(--surface-brd);
    transition: background 0.15s ease;
    margin-left: auto;
}
.tc-addon-toggle .tc-toggle-track::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--text-muted);
    transition: transform 0.15s ease, background 0.15s ease;
}
.tc-addon-toggle input:checked ~ .tc-toggle-track {
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
}
.tc-addon-toggle input:checked ~ .tc-toggle-track::before {
    transform: translateX(1.1rem);
    background: #fff;
}
.tc-addon-toggle input:focus-visible ~ .tc-toggle-track {
    outline: 2px solid var(--violet-lite);
    outline-offset: 2px;
}
.tc-addon-toggle input:disabled ~ .tc-toggle-track {
    opacity: 0.4;
}
.tc-addon-toggle input:disabled ~ .tc-addon-photo {
    opacity: 0.5;
}

/* ----- Reviews ----- */
.tc-star-choice {
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--surface-brd);
    transition: color 0.15s;
}
.tc-star-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tc-star-choice input:checked + span {
    color: var(--violet);
}
.tc-star-choice:hover {
    color: var(--violet-lite);
}
.tc-stars {
    color: var(--violet);
    letter-spacing: 1px;
}
.tc-stars .tc-star-empty {
    color: var(--surface-brd);
}
.tc-review {
    border-bottom: 1px solid var(--surface-brd);
    padding: 1rem 0;
}
.tc-review:last-child {
    border-bottom: none;
}

/* ----- Testimonial marquee ----- */
.tc-shop-top-marquee { padding: 7rem 0 0; }
.tc-shop-header-after-marquee { padding-top: 1rem; }
.tc-testimonial-marquee {
    overflow: hidden;
    border: 1px solid var(--surface-brd);
    border-radius: 16px;
    background: var(--surface);
    padding: 0.65rem 0;
    margin: 2rem 0 3rem;
}
.tc-testimonial-marquee-top { margin-top: 0; margin-bottom: 1.5rem; }
.tc-testimonial-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    padding-left: 100%;
    animation: tc-marquee 48s linear infinite;
}
.tc-testimonial-marquee:hover .tc-testimonial-track {
    animation-play-state: paused;
}
.tc-testimonial-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}
@keyframes tc-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .tc-testimonial-track { animation: none; }
}

/* ----- Pagination ----- */
.tc-pagination nav { width: 100%; }
.tc-pagination .small.text-muted { color: var(--text-muted); }
.tc-pagination .pagination { gap: 0.35rem; }
.tc-pagination .page-item:first-child .page-link,
.tc-pagination .page-item:last-child .page-link,
.tc-pagination .page-link {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    color: var(--text);
    border-radius: 10px;
    transition: border-color 0.2s, color 0.2s;
}
.tc-pagination .page-link:hover {
    border-color: rgba(146, 103, 242, 0.6);
    color: #fff;
    background: var(--surface);
}
.tc-pagination .page-link:focus {
    box-shadow: 0 0 0 3px var(--violet-soft);
}
.tc-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(146, 103, 242, 0.35);
}
.tc-pagination .page-item.disabled .page-link {
    background: transparent;
    border-color: var(--surface-brd);
    color: var(--text-muted);
    opacity: 0.5;
}

.tc-order-status {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}
.tc-order-status.paid,
.tc-order-status.fulfilled {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}
.tc-order-status.failed,
.tc-order-status.cancelled {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ----- Product detail ----- */
/* On desktop the gallery stays pinned while the (often long) details and
   customiser column scrolls, so the image / 3D preview is always in view. */
@media (min-width: 992px) {
    .tc-product-media {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}
.tc-product-gallery {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--surface-brd);
    background: var(--surface);
    aspect-ratio: 1 / 1;
}
.tc-product-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The 3D preview canvas sits in the same square as the product image. */
.tc-gallery-viewer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; cursor: grab; }
.tc-gallery-viewer:active { cursor: grabbing; }
.tc-gallery-viewer canvas { display: block; width: 100% !important; height: 100% !important; }
.tc-viewer-hint {
    position: absolute;
    bottom: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 14, 22, 0.72);
    border: 1px solid var(--surface-brd);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}
.tc-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--surface-brd);
    background: rgba(15, 14, 22, 0.65);
    color: #fff;
    opacity: 0;
    transition: opacity 0.15s ease, background 0.15s ease;
    z-index: 2;
}
.tc-product-gallery:hover .tc-gallery-arrow {
    opacity: 1;
}
.tc-gallery-arrow:hover {
    background: rgba(146, 103, 242, 0.85);
    border-color: transparent;
}
.tc-gallery-arrow-prev { left: 0.75rem; }
.tc-gallery-arrow-next { right: 0.75rem; }
@media (hover: none) {
    .tc-gallery-arrow {
        opacity: 1;
        background: rgba(15, 14, 22, 0.5);
    }
}
.tc-gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.tc-gallery-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--surface-brd);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.2s;
}
.tc-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-gallery-thumb:hover { border-color: rgba(146, 103, 242, 0.5); }
.tc-gallery-thumb.active { border-color: var(--violet); }
.tc-gallery-thumb-3d {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    color: var(--violet-lite);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.tc-option-group { margin-bottom: 1.25rem; }
.tc-option-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9999aa;
    margin-bottom: 0.5rem;
    display: block;
}
.tc-option-btn {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    color: var(--text);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0.5rem 0.5rem 0;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tc-option-btn:hover { border-color: rgba(146, 103, 242, 0.5); color: #fff; }
.tc-option-btn--swatch {
    display: inline-flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}
.tc-option-swatch-fill {
    flex: 0 0 30px;
}
.tc-option-btn--swatch .tc-option-btn-text {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem 0.5rem 0.6rem;
    min-width: 0;
    max-width: 40vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tc-option-btn.active {
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
    border-color: transparent;
    color: #fff;
}
.tc-option-btn:disabled,
.tc-option-btn.unavailable {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}
.tc-option-btn:disabled:hover,
.tc-option-btn.unavailable:hover {
    border-color: var(--surface-brd);
    color: var(--text);
}
.tc-colour-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.375rem; }
.tc-colour-swatch {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid var(--surface-brd);
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.1s, box-shadow 0.2s;
}
.tc-colour-swatch:hover { border-color: rgba(146, 103, 242, 0.5); transform: scale(1.06); }
.tc-colour-swatch.active {
    border-color: var(--violet);
    box-shadow: 0 0 0 2px rgba(146, 103, 242, 0.35);
}
.tc-colour-swatch-name { font-size: 0.85rem; color: var(--text-muted); word-break: break-word; }
.tc-font-select { font-size: 1.05rem; }
.tc-font-preview {
    margin-top: 0.6rem;
    min-height: 2.2rem;
    font-size: 1.9rem;
    line-height: 1.2;
    color: var(--text);
}
.tc-product-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.tc-product-price-inline {
    font-size: 1.3rem;
    margin-bottom: 0;
    white-space: nowrap;
}
.tc-stock-status { font-size: 0.9rem; margin-bottom: 1.25rem; }
.tc-stock-status.in-stock { color: #4ade80; }
.tc-stock-status.out-of-stock { color: #f87171; }
.tc-stock-status.made-to-order { color: var(--violet-lite); }
.tc-stock-status.coming-soon { color: #38bdf8; }
.tc-qty-input {
    width: 80px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    padding: 0.6rem 0.75rem;
}
.tc-shipping-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1.1rem 0 0;
    font-size: 1.02rem;
    color: var(--text);
}
.tc-shipping-highlight-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.tc-shipping-highlight-free {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}
.tc-trust-cues {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin: 0.9rem 0 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.tc-progress-track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.tc-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
    transition: width 0.2s ease;
}
.tc-payment-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--surface-brd);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.tc-payment-logo {
    height: 26px;
    width: auto;
    display: block;
    border-radius: 4px;
}
.tc-ukca-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 0.3rem;
    margin-left: auto;
    background: #fff;
    border-radius: 4px;
}
.tc-ukca-badge img {
    height: 21px;
    width: auto;
    display: block;
}
.tc-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--surface-brd);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(100%);
    transition: transform 0.2s ease;
}
.tc-sticky-cta.tc-sticky-cta-visible {
    transform: translateY(0);
}
.tc-sticky-cta-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.tc-sticky-cta-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tc-sticky-cta-price {
    font-weight: 700;
    color: #fff;
}
@media (max-width: 991.98px) {
    body:has(#stickyMobileCta) {
        padding-bottom: 4.5rem;
    }
}

/* ----- Add-to-cart toast (product page) ----- */
.tc-cart-toast-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
    display: none;
}
.tc-cart-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    max-width: 360px;
    background: var(--bg-alt);
    border: 1px solid var(--surface-brd);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    animation: tc-toast-in 0.2s ease-out;
}
@keyframes tc-toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.tc-cart-toast-message {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.9rem;
    line-height: 1.4;
}
.tc-cart-toast.tc-toast-error .tc-cart-toast-message {
    color: #f87171;
}
.tc-cart-toast-actions {
    display: flex;
    gap: 0.5rem;
}
.tc-cart-toast-actions .btn {
    flex: 1;
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem;
}

/* ----- Party bags ----- */
.tc-partybag-card {
    display: block;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 16px;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}
.tc-partybag-card:hover { border-color: var(--violet); transform: translateY(-2px); color: var(--text); }
.tc-partybag-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tc-partybag-card-body { padding: 1.25rem; }
.tc-partybag-card-title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.tc-partybag-save { color: #4ade80; font-weight: 600; }
.tc-partybag-step { font-size: 1.15rem; margin: 2rem 0 0.75rem; }

.tc-partybag-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}
.tc-partybag-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.85rem 0.5rem;
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
}
.tc-partybag-tier:hover { border-color: var(--violet); }
.tc-partybag-tier.active { border-color: var(--violet); background: var(--violet-soft); }
.tc-partybag-tier-size { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.tc-partybag-tier-unit { font-size: 0.9rem; }
.tc-partybag-tier-save { font-size: 0.8rem; color: #4ade80; font-weight: 600; }

.tc-partybag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}
.tc-partybag-item {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 12px;
    padding: 0.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.tc-partybag-item.selected { border-color: var(--violet); background: var(--violet-soft); }
.tc-partybag-item.sold-out { opacity: 0.5; }
.tc-partybag-item-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 0.5rem;
}
.tc-partybag-item-noimg { background: rgba(255, 255, 255, 0.05); }
.tc-partybag-item-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.tc-partybag-item-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.6rem;
}
.tc-partybag-pill {
    font-size: 0.72rem;
    line-height: 1;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--violet-soft);
    border: 1px solid var(--surface-brd);
    color: var(--violet-lite);
    white-space: nowrap;
}
.tc-partybag-item-controls { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.tc-partybag-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--surface-brd);
    background: var(--surface);
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
.tc-partybag-btn:hover:not(:disabled) { border-color: var(--violet); background: var(--violet-soft); }
.tc-partybag-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.tc-partybag-qty { min-width: 1.5rem; font-weight: 700; }

.tc-partybag-summary {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-alt);
    border: 1px solid var(--surface-brd);
    border-radius: 14px;
}
.tc-partybag-summary-action { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

.tc-cart-bag-items { margin: 0.4rem 0 0; padding-left: 1.1rem; font-size: 0.85rem; color: var(--text-muted); }
