* { 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;
    }
}


/* ==========================================================================
   v13.19 — mobile terms layout + checkout email validation
   ========================================================================== */

.email-validation-message {
    margin: -4px 0 2px;
    color: #9f233a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.email-validation-message.is-valid {
    color: #168a5b;
}

.store-button.is-email-locked,
.store-button:disabled {
    cursor: not-allowed;
}

.store-button.is-email-locked {
    opacity: .5;
}

/*
 * The generic mobile checkout input rule makes all checkout inputs 100% wide.
 * A checkbox is also an input, which caused the terms checkbox to expand into
 * a huge block and push the label text off-screen. Keep the checkbox fixed.
 */
.terms-acceptance {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow: hidden;
}

.terms-acceptance input[type="checkbox"] {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    padding: 0 !important;
    margin: 1px 0 0 !important;
    flex: 0 0 22px !important;
    appearance: auto;
    -webkit-appearance: checkbox;
}

.terms-acceptance > span {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
    word-break: normal;
}

.terms-inline-link {
    display: inline;
    overflow-wrap: anywhere;
}

.terms-checkout-box,
.terms-inline-details,
.terms-inline-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 760px) {
    .checkout-card {
        overflow: hidden;
    }

    .checkout-form {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .terms-checkout-box {
        margin: 14px 0;
        padding: 14px 12px;
        overflow: hidden;
    }

    .terms-checkout-heading {
        width: 100%;
        min-width: 0;
    }

    .terms-checkout-heading strong {
        overflow-wrap: anywhere;
    }

    .terms-inline-details summary {
        padding: 12px;
        font-size: 14px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .terms-inline-content {
        max-height: 220px;
        padding: 0 12px 12px;
        overflow-x: hidden;
        overflow-y: auto;
        overflow-wrap: anywhere;
    }

    .terms-acceptance {
        padding: 12px;
        font-size: 13px;
        line-height: 1.5;
    }

    .checkout-form input[type="checkbox"] {
        width: 22px !important;
        min-width: 22px !important;
        max-width: 22px !important;
        height: 22px !important;
        min-height: 22px !important;
        max-height: 22px !important;
    }
}


/* ==========================================================================
   v13.21 — passwordless customer account lookup
   ========================================================================== */

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

.account-container {
    max-width: 1080px;
}

.account-lookup-card {
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #e2e5ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(22, 28, 45, 0.08);
}

.account-lookup-card h1 {
    margin: 8px 0 10px;
    font-size: clamp(38px, 6vw, 58px);
}

.account-lookup-help {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--primary-soft);
}

.account-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.account-heading h1 {
    margin: 6px 0 6px;
    font-size: clamp(38px, 6vw, 64px);
}

.account-heading p {
    margin: 0;
}

.account-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.account-stat-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #e2e5ec;
    border-radius: 14px;
    background: #fff;
}

.account-stat-card span {
    color: #6e7484;
    font-size: 13px;
    font-weight: 700;
}

.account-stat-card strong {
    font-size: 28px;
}

.account-section-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 24px;
    padding: 8px;
    border: 1px solid #e2e5ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(22, 28, 45, 0.08);
}

.account-section-nav a {
    padding: 10px 8px;
    border-radius: 9px;
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

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

.account-section-block {
    scroll-margin-top: 84px;
    margin-top: 26px;
}

.account-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.account-section-title h2 {
    margin: 4px 0 0;
    font-size: 28px;
}

.account-section-title > strong {
    min-width: 42px;
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    text-align: center;
}

.account-card-list {
    display: grid;
    gap: 12px;
}

.account-record-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e2e5ec;
    border-radius: 16px;
    background: #fff;
}

.account-record-main {
    min-width: 0;
}

.account-record-type {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.account-record-main h3 {
    margin: 5px 0 5px;
    font-size: 21px;
    overflow-wrap: anywhere;
}

.account-record-main p {
    margin: 0;
    color: #6e7484;
}

.account-code-box,
.account-order-summary {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 5px;
}

.account-code-box span {
    color: #6e7484;
    font-size: 11px;
    font-weight: 700;
}

.account-code-box strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.account-order-summary strong {
    font-size: 19px;
}

.account-item-list {
    grid-column: 1 / -1;
    display: grid;
    gap: 7px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f8fb;
}

.account-item-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.account-record-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.account-membership-period {
    grid-column: 1 / -1;
    margin: 0;
    padding: 11px 13px;
    border-radius: 10px;
    background: var(--primary-soft);
}

.store-empty.compact {
    padding: 22px;
}

@media (max-width: 760px) {
    .public-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .public-nav a {
        font-size: 10px;
        padding-inline: 3px;
    }

    .account-section {
        padding-top: 22px;
    }

    .account-lookup-card {
        padding: 20px 15px;
        border-radius: 16px;
    }

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

    .account-heading form,
    .account-heading .store-button {
        width: 100%;
    }

    .account-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-section-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        top: 0;
    }

    .account-record-card {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px 14px;
    }

    .account-code-box,
    .account-order-summary {
        justify-items: start;
    }

    .account-record-actions {
        justify-content: stretch;
    }

    .account-record-actions .store-button {
        flex: 1 1 100%;
        width: 100%;
    }

    .account-item-list > div {
        align-items: flex-start;
    }
}


/* ==========================================================================
   v13.22 — address lookup and structured shipping address entry
   ========================================================================== */

.store-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9dce4;
    border-radius: 9px;
    padding: 0 12px;
    background: #fff;
    outline: none;
}

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

.address-entry {
    display: grid;
    gap: 15px;
}

.address-entry-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.address-entry-heading h3 {
    margin: 0;
}

.address-entry-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.address-mode-toggle {
    flex: 0 0 auto;
}

.address-search-mode {
    position: relative;
    display: grid;
    gap: 8px;
}

.address-search-control {
    position: relative;
}

.address-search-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    pointer-events: none;
}

.address-search-results {
    display: grid;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(22, 28, 45, 0.12);
}

.address-search-result {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: #252a36;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
}

.address-search-result:last-child {
    border-bottom: 0;
}

.address-search-result:hover,
.address-search-result:focus {
    background: var(--primary-soft);
    color: var(--primary);
    outline: none;
}

.address-search-empty {
    padding: 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.address-search-note {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
}

.address-manual-fields {
    display: grid;
    gap: 15px;
}

.address-selected-summary {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, white);
    border-radius: 10px;
    background: var(--primary-soft);
}

.address-selected-summary strong {
    color: var(--primary);
    font-size: 11px;
}

.address-selected-summary span {
    color: #4e5565;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .address-entry-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .address-mode-toggle {
        width: 100%;
    }

    .address-search-results {
        max-height: 220px;
    }
}


/* ==========================================================================
   v13.23 — unified cart
   ========================================================================== */

.public-cart-link {
    position: relative;
}

.public-cart-count {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    margin-left: 4px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

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

.cart-container {
    max-width: 1120px;
}

.cart-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.cart-heading h1 {
    margin: 7px 0 6px;
    font-size: clamp(42px, 7vw, 70px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.cart-heading p {
    margin: 0;
    color: var(--muted);
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
}

.cart-main {
    display: grid;
    gap: 16px;
}

.cart-group-card,
.cart-summary-card {
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow);
}

.cart-group-card {
    overflow: hidden;
}

.cart-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.cart-group-heading h2 {
    margin: 4px 0 0;
    font-size: 22px;
}

.cart-group-heading > strong {
    min-width: 38px;
    padding: 7px 9px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    text-align: center;
}

.cart-line-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.cart-line-item:last-of-type {
    border-bottom: 0;
}

.cart-line-main {
    min-width: 0;
}

.cart-line-label {
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cart-line-main h3 {
    margin: 5px 0 5px;
    font-size: 18px;
}

.cart-line-main p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.cart-line-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cart-line-controls label {
    display: grid;
    gap: 5px;
}

.cart-line-controls label span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
}

.cart-line-controls input {
    width: 72px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 8px;
}

.cart-line-controls > strong {
    min-width: 76px;
    text-align: right;
}

.cart-combined-shipping-note {
    display: grid;
    gap: 3px;
    margin: 14px;
    padding: 13px 14px;
    border-radius: 10px;
    background: var(--primary-soft);
}

.cart-combined-shipping-note strong {
    color: var(--primary);
    font-size: 12px;
}

.cart-combined-shipping-note span {
    color: #555d6d;
    font-size: 11px;
    line-height: 1.5;
}

.cart-summary-card {
    position: sticky;
    top: 88px;
    padding: 20px;
}

.cart-summary-card h2 {
    margin: 0 0 10px;
}

.cart-empty-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-summary-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .public-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .public-nav a {
        font-size: 9px;
    }

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

    .cart-heading form,
    .cart-heading .store-button {
        width: 100%;
    }

    .cart-line-item {
        grid-template-columns: minmax(0, 1fr);
        padding: 15px 14px;
    }

    .cart-line-controls {
        justify-content: space-between;
    }
}

@media (max-width: 460px) {
    .public-nav {
        overflow-x: auto;
        grid-template-columns: repeat(5, minmax(72px, 1fr));
        scrollbar-width: none;
    }

    .public-nav::-webkit-scrollbar {
        display: none;
    }
}


/* ==========================================================================
   v13.24 — configurable public footer
   ========================================================================== */

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

.store-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, 0.65fr));
    gap: 44px;
    padding: 46px 0 36px;
}

.store-footer-brand {
    max-width: 470px;
}

.store-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
}

.store-footer-logo img {
    width: auto;
    max-width: 150px;
    height: 44px;
    object-fit: contain;
}

.store-footer-logo strong {
    font-size: 17px;
}

.store-footer-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.store-footer-brand p {
    max-width: 420px;
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.store-footer-column {
    min-width: 0;
}

.store-footer-column-title {
    display: block;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 12px;
}

.store-footer-links {
    display: grid;
    gap: 10px;
}

.store-footer-links a {
    width: fit-content;
    max-width: 100%;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    overflow-wrap: anywhere;
    transition: color 0.16s ease;
}

.store-footer-links a:hover {
    color: var(--primary);
}

.store-footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.store-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 760px) {
    .store-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
        padding: 34px 0 28px;
    }

    .store-footer-brand {
        grid-column: 1 / -1;
    }

    .store-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 430px) {
    .store-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .store-footer-brand {
        grid-column: auto;
    }
}


/* ==========================================================================
   v13.25 — public blog
   ========================================================================== */

.blog-hero {
    padding: 70px 0 54px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.blog-hero h1 {
    margin: 8px 0 0;
    font-size: clamp(50px, 8vw, 86px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.blog-hero p {
    max-width: 650px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

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

.public-blog-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.public-blog-image {
    display: block;
    height: 220px;
    overflow: hidden;
    background: #ececf3;
}

.public-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.public-blog-card:hover .public-blog-image img {
    transform: scale(1.03);
}

.public-blog-card-body {
    padding: 19px;
}

.blog-date {
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.public-blog-card h2 {
    margin: 8px 0 8px;
    font-size: 22px;
    line-height: 1.15;
}

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

.blog-read-more {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.blog-post-page {
    padding: 42px 0 80px;
}

.blog-post-container {
    max-width: 900px;
}

.blog-post-header {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
}

.blog-post-header h1 {
    margin: 8px 0 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.blog-post-header p {
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.blog-post-cover {
    overflow: hidden;
    margin: 0 auto 34px;
    border-radius: 16px;
    background: #ececf3;
}

.blog-post-cover img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.blog-post-content {
    max-width: 740px;
    margin: 0 auto;
    color: #303642;
    font-size: 16px;
    line-height: 1.85;
}

.blog-post-content h2 {
    margin: 34px 0 12px;
    color: var(--text);
    font-size: 30px;
    line-height: 1.15;
}

.blog-post-content h3 {
    margin: 28px 0 10px;
    color: var(--text);
    font-size: 23px;
}

.blog-post-content p {
    margin: 0 0 18px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.blog-post-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--primary);
    background: var(--primary-soft);
    border-radius: 0 10px 10px 0;
}

.blog-post-content a {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .blog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .blog-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-hero {
        padding: 48px 0 38px;
    }

    .public-blog-image {
        height: 210px;
    }

    .blog-post-page {
        padding-top: 24px;
    }

    .blog-post-header {
        text-align: left;
    }

    .blog-post-content {
        font-size: 15px;
    }
}


/* v13.26 public gallery */
.gallery-hero{padding:70px 0 54px;border-bottom:1px solid var(--line);background:#fff}
.gallery-hero h1{margin:8px 0 0;font-size:clamp(50px,8vw,86px);line-height:.95;letter-spacing:-.06em}
.gallery-hero p{max-width:650px;margin:16px 0 0;color:var(--muted);font-size:16px;line-height:1.6}
.public-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.public-album-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}
.public-album-cover{position:relative;height:250px;overflow:hidden;background:#ececf3}
.public-album-cover img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.public-album-card:hover .public-album-cover img{transform:scale(1.03)}
.album-photo-count{position:absolute;right:12px;bottom:12px;padding:7px 10px;border-radius:999px;background:rgba(20,20,24,.82);color:#fff;font-size:10px;font-weight:800}
.public-album-copy{padding:18px}
.public-album-copy h2{margin:0;font-size:21px}
.public-album-copy p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.gallery-album-page{padding:42px 0 80px}
.gallery-album-header{max-width:760px;margin-bottom:28px}
.gallery-album-header h1{margin:8px 0 0;font-size:clamp(42px,7vw,72px);line-height:1;letter-spacing:-.055em}
.gallery-album-header p{margin:15px 0 0;color:var(--muted);font-size:15px;line-height:1.65}
.gallery-photo-grid{columns:4 240px;column-gap:12px}
.gallery-photo-button{display:block;width:100%;margin:0 0 12px;padding:0;border:0;border-radius:10px;overflow:hidden;background:#eee;cursor:zoom-in;break-inside:avoid}
.gallery-photo-button img{display:block;width:100%;height:auto}
.gallery-lightbox[hidden]{display:none}
.gallery-lightbox{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:rgba(5,6,10,.94);padding:30px 70px}
.gallery-lightbox img{max-width:min(1200px,90vw);max-height:88vh;object-fit:contain}
.gallery-lightbox-close,.gallery-lightbox-nav{position:fixed;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}
.gallery-lightbox-close{top:18px;right:18px;width:44px;height:44px;border-radius:50%;font-size:30px}
.gallery-lightbox-nav{top:50%;transform:translateY(-50%);width:48px;height:68px;border-radius:12px;font-size:44px}
.gallery-lightbox-prev{left:16px}.gallery-lightbox-next{right:16px}
.gallery-lightbox-open{overflow:hidden}
@media(max-width:900px){.public-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-photo-grid{columns:3 200px}}
@media(max-width:620px){.public-album-grid{grid-template-columns:1fr}.gallery-hero{padding:48px 0 38px}.gallery-photo-grid{columns:2 140px}.gallery-lightbox{padding:60px 10px 70px}.gallery-lightbox-nav{top:auto;bottom:12px;transform:none;width:54px;height:48px}.gallery-lightbox-prev{left:calc(50% - 64px)}.gallery-lightbox-next{right:calc(50% - 64px)}}


/* ==========================================================================
   v13.28 — optional gallery date
   ========================================================================== */

.gallery-album-date {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gallery-album-date-large {
    margin: 9px 0 0 !important;
    font-size: 11px;
}


/* ==========================================================================
   v13.32 — corporate team-building page
   ========================================================================== */

.corporate-hero {
    padding: 72px 0;
    background:
        radial-gradient(
            circle at 80% 10%,
            color-mix(in srgb, var(--primary) 16%, transparent),
            transparent 34%
        ),
        #fff;
    border-bottom: 1px solid var(--line);
}

.corporate-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 36px;
    align-items: center;
}

.corporate-hero-copy h1 {
    max-width: 850px;
    margin: 10px 0 18px;
    font-size: clamp(48px, 8vw, 92px);
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.corporate-hero-lead {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 2.3vw, 24px);
    line-height: 1.55;
}

.corporate-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.corporate-hero-panel {
    padding: 28px;
    border-radius: 24px;
    color: #fff;
    background: #11131a;
    box-shadow: 0 28px 60px rgba(17, 19, 26, 0.18);
}

.corporate-panel-kicker {
    color: #8ee9c6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.corporate-hero-panel h2 {
    margin: 10px 0 22px;
    font-size: 30px;
    line-height: 1.12;
}

.corporate-benefit-list {
    display: grid;
    gap: 12px;
}

.corporate-benefit-list > div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.corporate-benefit-list strong {
    font-size: 13px;
}

.corporate-benefit-list span {
    color: rgba(255, 255, 255, 0.67);
    font-size: 11px;
    line-height: 1.5;
}

.corporate-experience-section {
    padding: 70px 0;
}

.corporate-section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.corporate-section-heading h2 {
    margin: 8px 0 12px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.corporate-section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

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

.corporate-ideas-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.corporate-ideas-grid article > span {
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
}

.corporate-ideas-grid h3 {
    margin: 12px 0 8px;
    font-size: 22px;
}

.corporate-ideas-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.corporate-enquiry-section {
    padding: 76px 0;
    background: #f5f6fa;
    border-top: 1px solid var(--line);
}

.corporate-enquiry-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
}

.corporate-enquiry-intro h2 {
    margin: 8px 0 12px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.corporate-enquiry-intro > p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.corporate-contact-points {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.corporate-contact-points > div {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
}

.corporate-contact-points strong {
    font-size: 13px;
}

.corporate-contact-points span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.corporate-enquiry-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.corporate-enquiry-form {
    display: grid;
    gap: 16px;
}

.corporate-enquiry-form textarea {
    resize: vertical;
}

.corporate-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.corporate-form-note {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.corporate-success-card {
    padding: 24px 10px;
    text-align: center;
}

.corporate-success-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    color: #0b5e3e;
    background: #d9f8e9;
    font-size: 28px;
    font-weight: 900;
}

.corporate-success-card h2 {
    margin: 0;
    font-size: 30px;
}

.corporate-success-card p {
    max-width: 520px;
    margin: 12px auto 20px;
    color: var(--muted);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .corporate-hero-grid,
    .corporate-enquiry-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .corporate-ideas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .corporate-hero {
        padding: 48px 0;
    }

    .corporate-hero-panel {
        padding: 20px;
        border-radius: 18px;
    }

    .corporate-ideas-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .corporate-enquiry-section {
        padding: 48px 0;
    }

    .corporate-enquiry-card {
        padding: 16px;
    }

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


/* ==========================================================================
   v13.33 — consistent dual-action button sizing
   ========================================================================== */

.corporate-hero-actions,
.cart-empty-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 220px));
    gap: 10px;
    justify-content: start;
    align-items: stretch;
}

.corporate-hero-actions .store-button,
.cart-empty-actions .store-button {
    width: 100%;
    min-height: 64px;
    padding: 0 20px;
    margin-top: 0;
}

@media (max-width: 620px) {
    .corporate-hero-actions,
    .cart-empty-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .corporate-hero-actions .store-button,
    .cart-empty-actions .store-button {
        width: 100%;
    }
}


/* ==========================================================================
   v13.34 — center empty-cart action buttons
   ========================================================================== */

.cart-empty-actions {
    justify-content: center;
}

.corporate-hero-actions {
    justify-content: start;
}


/* ==========================================================================
   v13.41 — user-editable photo albums
   ========================================================================== */

.public-gallery-upload-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin: 26px 0 30px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.public-gallery-upload-card h2 {
    margin: 7px 0 5px;
    font-size: 25px;
}

.public-gallery-upload-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.public-gallery-upload-form {
    min-width: 210px;
}

.public-gallery-upload-progress {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    font-size: 10px;
}

.public-gallery-upload-progress[hidden] {
    display: none;
}

.public-gallery-upload-progress > div {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eaf0;
}

.public-gallery-upload-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
    transition: width 0.2s ease;
}

@media (max-width: 620px) {
    .public-gallery-upload-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-gallery-upload-form,
    .public-gallery-upload-form .store-button {
        width: 100%;
    }
}
