* { box-sizing: border-box; }

:root {
    --bg: #f7f8fb;
    --card: #ffffff;
    --text: #171923;
    --muted: #6b7280;
    --line: #e7e9ef;
    --primary: #5b46f6;
    --primary-dark: #4935dc;
    --primary-soft: #f0edff;
    --danger: #c9364f;
    --shadow: 0 16px 45px rgba(22, 27, 45, 0.08);
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.store-container {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.store-header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.store-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.store-brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--primary);
    color: white;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(91, 70, 246, 0.25);
}

.store-brand strong,
.store-brand small {
    display: block;
}

.store-brand strong {
    font-size: 14px;
}

.store-brand small {
    color: var(--muted);
    margin-top: 2px;
    font-size: 10px;
}

.store-admin-link {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.hero {
    padding: 80px 0 60px;
    background:
        radial-gradient(circle at 15% 20%, rgba(91, 70, 246, 0.15), transparent 34%),
        radial-gradient(circle at 85% 70%, rgba(37, 194, 160, 0.08), transparent 30%),
        white;
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    max-width: 760px;
}

.eyebrow {
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1,
.event-summary h1,
.checkout-heading h1,
.confirmation-success h1 {
    margin: 10px 0 0;
    letter-spacing: -0.05em;
    line-height: 1;
}

.hero h1 {
    font-size: clamp(44px, 7vw, 76px);
}

.hero p,
.checkout-heading p,
.confirmation-success p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.store-section {
    padding: 42px 0 72px;
}

.event-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.public-event-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.18s ease;
}

.public-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(22, 27, 45, 0.12);
}

.public-event-image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #ececf3;
}

.public-event-image img,
.event-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #5b46f6, #8b7cff);
    color: white;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.image-fallback.large {
    min-height: 420px;
}

.date-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 48px;
    height: 52px;
    border-radius: 10px;
    background: rgba(255,255,255,.95);
    display: grid;
    place-items: center;
    align-content: center;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.date-badge strong { font-size: 18px; }
.date-badge span { margin-top: 4px; color: var(--primary); font-size: 10px; font-weight: 900; }

.public-event-card-body { padding: 18px; }

.event-time {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.public-event-card h2 {
    margin: 7px 0 5px;
    font-size: 19px;
    letter-spacing: -0.025em;
}

.public-event-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.event-card-footer {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 12px;
}

.event-card-footer strong { color: var(--primary); }

.store-empty {
    padding: 80px 20px;
    text-align: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.store-empty-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 24px;
}

.store-empty h2 { margin: 0; }
.store-empty p { color: var(--muted); }

.event-hero {
    padding: 34px 0 24px;
}

.public-back {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.public-back:hover { color: var(--primary); }

.event-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    gap: 28px;
    align-items: center;
}

.event-cover {
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.event-summary {
    padding: 10px;
}

.event-summary h1 {
    font-size: clamp(38px, 5vw, 66px);
}

.summary-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 22px;
}

.summary-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
}

.summary-row strong,
.summary-row span {
    display: block;
}

.summary-row strong {
    font-size: 13px;
}

.summary-row span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.store-button {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
}

.store-button-primary {
    margin-top: 25px;
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 24px rgba(91,70,246,.23);
}

.store-button-primary:hover { background: var(--primary-dark); }

.store-button-secondary {
    background: white;
    border-color: var(--line);
}

.store-button-block { width: 100%; }

.event-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.event-description-card,
.ticket-panel,
.checkout-card,
.order-summary-card,
.confirmation-card,
.issued-ticket {
    background: white;
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow);
}

.event-description-card {
    padding: 25px;
}

.event-description-card h2,
.ticket-panel h2,
.order-summary-card h2 {
    margin: 0;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.event-description {
    margin-top: 15px;
    color: #414755;
    font-size: 14px;
    line-height: 1.75;
}

.store-muted { color: var(--muted); }

.ticket-panel {
    position: sticky;
    top: 88px;
    overflow: hidden;
}

.ticket-panel-header {
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.ticket-panel-header p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.ticket-picker { padding: 14px; }

.ticket-option {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-option-copy {
    min-width: 0;
    flex: 1;
}

.ticket-option-copy strong,
.ticket-price {
    display: block;
}

.ticket-option-copy strong {
    font-size: 13px;
}

.ticket-option-copy p {
    margin: 4px 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.ticket-price {
    margin-top: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.ticket-option select {
    width: 64px;
    height: 39px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 0 8px;
}

.sold-out {
    opacity: .55;
}

.sold-out-label {
    color: var(--danger);
    font-size: 10px;
    font-weight: 800;
}

.ticket-picker .store-button {
    margin-top: 15px;
}

.test-note,
.confirmation-note {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.ticket-unavailable {
    padding: 24px;
    color: var(--muted);
    font-size: 13px;
}

.checkout-section,
.confirmation-section {
    padding: 34px 0 72px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}

.checkout-card,
.order-summary-card {
    padding: 24px;
}

.checkout-heading h1 {
    font-size: 40px;
}

.checkout-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.store-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.store-field span {
    font-size: 11px;
    font-weight: 800;
}

.store-field input {
    height: 44px;
    border: 1px solid #d9dce4;
    border-radius: 9px;
    padding: 0 12px;
    outline: none;
}

.store-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91,70,246,.1);
}

.test-checkout-box {
    padding: 13px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: #4935dc;
}

.test-checkout-box strong {
    font-size: 12px;
}

.test-checkout-box p {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.5;
}

.summary-event {
    margin-top: 15px;
    display: flex;
    gap: 11px;
    align-items: center;
}

.summary-event img {
    width: 58px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.summary-event strong,
.summary-event span {
    display: block;
}

.summary-event strong {
    font-size: 12px;
}

.summary-event span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.order-lines {
    margin-top: 18px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}

.order-line {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--line);
}

.order-line strong,
.order-line span {
    display: block;
}

.order-line strong {
    font-size: 11px;
}

.order-line span {
    color: var(--muted);
    margin-top: 3px;
    font-size: 10px;
}

.order-total {
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.confirmation-wrap {
    max-width: 860px;
}

.confirmation-success {
    text-align: center;
    margin-bottom: 25px;
}

.big-check {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf8f1;
    color: #168a5b;
    font-size: 27px;
    font-weight: 900;
}

.confirmation-success h1 {
    font-size: 48px;
}

.confirmation-card {
    padding: 22px;
    margin-bottom: 18px;
}

.confirmation-order-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--line);
}

.confirmation-order-head span,
.confirmation-order-head strong {
    display: block;
}

.confirmation-order-head span {
    color: var(--muted);
    font-size: 10px;
}

.confirmation-order-head strong {
    margin-top: 4px;
    font-size: 12px;
}

.confirmation-event {
    padding-top: 18px;
}

.confirmation-event h2 {
    margin: 0 0 7px;
    font-size: 18px;
}

.confirmation-event p {
    margin: 3px 0;
    color: var(--muted);
    font-size: 12px;
}

.ticket-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.issued-ticket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    overflow: hidden;
}

.issued-ticket-main {
    padding: 22px;
}

.issued-ticket-main h3 {
    margin: 7px 0 14px;
    font-size: 21px;
}

.issued-ticket-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--muted);
    font-size: 11px;
}

.ticket-code {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px dashed var(--line);
}

.ticket-code span,
.ticket-code strong {
    display: block;
}

.ticket-code span {
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .06em;
}

.ticket-code strong {
    margin-top: 4px;
    font-size: 19px;
    letter-spacing: .13em;
}

.qr-wrap {
    padding: 18px;
    border-left: 1px dashed var(--line);
    display: grid;
    place-items: center;
    align-content: center;
    background: #fbfbfd;
}

.qr-wrap img {
    width: 150px;
    height: 150px;
    background: white;
}

.qr-wrap small {
    margin-top: 7px;
    color: var(--muted);
    text-align: center;
    font-size: 8px;
}

.confirmation-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.confirmation-actions .store-button {
    margin-top: 0;
}

.confirmation-note {
    margin-top: 18px;
}

.store-footer {
    padding: 25px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: white;
    font-size: 10px;
}

@media (max-width: 900px) {
    .event-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .event-hero-grid,
    .event-content-grid,
    .checkout-grid { grid-template-columns: 1fr; }
    .ticket-panel { position: static; }
    .event-cover { min-height: 330px; }
}

@media (max-width: 620px) {
    .event-card-grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 44px; }
    .hero h1 { font-size: 46px; }
    .event-summary h1 { font-size: 40px; }
    .event-cover { min-height: 260px; }
    .form-row-two { grid-template-columns: 1fr; }
    .issued-ticket { grid-template-columns: 1fr; }
    .qr-wrap { border-left: 0; border-top: 1px dashed var(--line); }
    .confirmation-actions { flex-direction: column; }
}


/* Cleaner, Ticket Tailor-inspired storefront */
.store-header {
    background: #fff;
    backdrop-filter: none;
}

.store-header-inner {
    min-height: 74px;
}

.store-brand-mark {
    border-radius: 8px;
    box-shadow: none;
}

.hero {
    padding: 64px 0 52px;
    background: #fff;
}

.hero h1 {
    max-width: 720px;
}

.public-event-card {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(22,27,45,.06);
}

.public-event-image {
    height: 230px;
}

.event-hero {
    padding-top: 42px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.event-hero-grid {
    align-items: stretch;
}

.event-cover {
    border-radius: 12px;
    box-shadow: none;
    min-height: 500px;
}

.event-summary {
    padding: 34px 10px 34px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-summary h1 {
    font-size: clamp(42px, 5vw, 70px);
}

.event-description-card,
.ticket-panel,
.checkout-card,
.order-summary-card,
.confirmation-card,
.issued-ticket {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(22,27,45,.055);
}

.ticket-panel {
    border-top: 4px solid var(--primary);
}

.ticket-option select {
    min-width: 72px;
}

@media (max-width: 900px) {
    .event-summary {
        padding: 20px 0 0;
    }

    .event-cover {
        min-height: 360px;
    }
}

.ticket-cancelled{opacity:.7;border-color:#f4b7c1}.cancelled-banner,.checked-banner{margin-top:16px;padding:10px 12px;border-radius:9px;font-size:11px;font-weight:800}.cancelled-banner{background:#fff0f2;color:#9f233a}.checked-banner{background:#eaf8f1;color:#126b47}.qr-cancelled{width:150px;height:150px;display:grid;place-items:center;color:#c9364f;border:3px solid #c9364f;font-weight:900;transform:rotate(-10deg)}


.public-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.public-nav a {
    padding: 9px 12px;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 750;
}

.public-nav a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.catalog-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.catalog-card-image {
    height: 240px;
    background: #ececf3;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card-body {
    padding: 18px;
}

.catalog-card h2 {
    margin: 0;
    font-size: 20px;
}

.catalog-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 12px;
}

.catalog-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-top: 15px;
    margin-top: 16px;
    border-top: 1px solid var(--line);
}

.membership-manage-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 26px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.membership-number {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .08em;
}

.membership-state {
    margin-top: 18px;
    padding: 16px;
    border-radius: 12px;
    background: #f7f8fb;
}

@media (max-width: 760px) {
    .store-header-inner {
        min-height: 0;
        padding: 12px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .public-nav {
        width: 100%;
    }

    .public-nav a {
        flex: 1;
        text-align: center;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }
}


.membership-benefit-public-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
}

.membership-benefit-public {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fbfbfd;
}

.membership-benefit-public strong,
.membership-benefit-public span,
.membership-benefit-public small {
    display: block;
}

.membership-benefit-public strong {
    font-size: 12px;
}

.membership-benefit-public span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.membership-benefit-public small {
    margin-top: 7px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
}

.shipping-address-box {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfbfd;
}

.shipping-address-box h3 {
    margin: 0 0 12px;
    font-size: 15px;
}


.store-brand-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.store-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quantity-stepper {
    display: inline-grid;
    grid-template-columns: 42px 54px 42px;
    align-items: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.quantity-stepper-button {
    height: 42px;
    border: 0;
    background: #f7f8fb;
    color: #171923;
    cursor: pointer;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.quantity-stepper-button:hover:not(:disabled) {
    color: var(--primary);
    background: var(--primary-soft);
}

.quantity-stepper-button:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.quantity-stepper-input {
    width: 54px;
    height: 42px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    color: #171923;
    text-align: center;
    font-size: 14px;
    font-weight: 850;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-stepper-input::-webkit-outer-spin-button,
.quantity-stepper-input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.ticket-option .quantity-stepper {
    flex: 0 0 auto;
}


.terms-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    margin: 12px 0;
    border: 1px solid #e2e5ec;
    border-radius: 12px;
    background: #f8f9fc;
    font-size: 14px;
    line-height: 1.5;
}

.terms-acceptance input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.terms-acceptance a {
    font-weight: 800;
}

.terms-document {
    padding: 6px 0;
}


.terms-checkout-box {
    margin: 18px 0;
    padding: 18px;
    border: 2px solid var(--site-primary, #5B46F6);
    border-radius: 14px;
    background: #ffffff;
}

.terms-checkout-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.terms-checkout-heading strong {
    font-size: 16px;
}

.terms-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--site-primary, #5B46F6);
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.terms-link-button:hover {
    filter: brightness(.92);
}

.terms-inline-details {
    margin: 10px 0 14px;
    border: 1px solid #d9ddea;
    border-radius: 10px;
    background: #f8f9fc;
}

.terms-inline-details summary {
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 800;
}

.terms-inline-content {
    max-height: 260px;
    overflow: auto;
    padding: 0 14px 14px;
    line-height: 1.65;
    white-space: normal;
    color: #333846;
}

.terms-inline-link {
    color: var(--site-primary, #5B46F6) !important;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .terms-checkout-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .terms-link-button {
        width: 100%;
    }
}


/* ==========================================================================
   v13.9 — responsive public storefront
   ========================================================================== */

img,
video,
svg {
    max-width: 100%;
}

@media (max-width: 760px) {
    body {
        overflow-x: hidden;
    }

    .store-container {
        width: min(100% - 24px, 1160px);
    }

    .store-header {
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .store-header-inner {
        width: 100%;
        min-height: auto;
        padding: 10px 0;
        gap: 10px;
    }

    .store-brand {
        width: 100%;
        min-width: 0;
    }

    .store-brand > div:last-child {
        min-width: 0;
    }

    .store-brand strong,
    .store-brand small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .public-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .public-nav a {
        min-width: 0;
        padding: 9px 6px;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero {
        padding: 44px 0 36px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 54px);
        overflow-wrap: anywhere;
    }

    .hero p {
        font-size: 15px;
    }

    .event-card-grid,
    .catalog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .public-event-image {
        height: auto;
        min-height: 190px;
        aspect-ratio: 16 / 9;
    }

    .event-hero {
        padding-top: 22px;
    }

    .event-hero-grid,
    .event-content-grid,
    .checkout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .event-cover {
        min-height: 0;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
    }

    .event-summary {
        padding: 8px 0 0;
    }

    .event-summary h1,
    .checkout-heading h1 {
        font-size: clamp(34px, 10vw, 46px);
        overflow-wrap: anywhere;
    }

    .event-description-card,
    .ticket-panel,
    .checkout-card,
    .order-summary-card,
    .confirmation-card,
    .issued-ticket {
        min-width: 0;
        border-radius: 14px;
    }

    .event-description-card,
    .checkout-card,
    .order-summary-card,
    .confirmation-card {
        padding: 18px 15px;
    }

    .ticket-panel {
        position: static;
    }

    .ticket-option {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .ticket-option-copy {
        flex: 1 1 calc(100% - 88px);
    }

    .ticket-option select {
        flex: 0 0 72px;
    }

    .form-row-two {
        grid-template-columns: minmax(0, 1fr);
    }

    .store-field input,
    .store-field select,
    .store-field textarea,
    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        width: 100%;
        max-width: 100%;
        min-height: 46px;
        font-size: 16px;
    }

    .order-line {
        gap: 10px;
    }

    .order-line > div {
        min-width: 0;
    }

    .order-line strong,
    .order-line span {
        overflow-wrap: anywhere;
    }

    .terms-checkout-box {
        padding: 14px;
    }

    .terms-checkout-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .terms-link-button {
        width: 100%;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .store-button {
        width: 100%;
    }

    .membership-number {
        font-size: clamp(18px, 7vw, 24px);
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .store-container {
        width: calc(100% - 18px);
    }

    .public-nav a {
        font-size: 11px;
        padding-inline: 4px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .event-summary h1,
    .checkout-heading h1 {
        font-size: 34px;
    }

    .event-description-card,
    .checkout-card,
    .order-summary-card,
    .confirmation-card {
        padding: 15px 12px;
    }
}
