.epc-event-cart-form,
.epc-package-cart-form {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
    max-width: 42rem;
}

.epc-event-cart-form .form-row,
.epc-package-cart-form .form-row {
    margin: 0;
}

.epc-event-cart-form label,
.epc-package-cart-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.epc-event-cart-form select,
.epc-package-cart-form select {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.epc-event-cart-form select:focus,
.epc-package-cart-form select:focus {
    outline: none;
    border-color: rgba(214, 181, 103, 0.65);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(214, 181, 103, 0.12);
}

.epc-event-cart-form option,
.epc-package-cart-form option {
    color: #111;
}

.epc-event-cart-form .single_add_to_cart_button,
.epc-package-cart-form .single_add_to_cart_button {
    min-width: 14rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.epc-live-price,
.epc-package-live-price {
    margin-top: 0.35rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(6px);
}

.epc-live-price {
    font-size: 1.05rem;
}

.epc-live-price strong {
    margin-right: 0.35rem;
}

#epc-live-price-value {
    font-weight: 700;
}

.epc-package-event-block {
    margin: 0 0 1rem;
    padding: 1.1rem 1.15rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.95rem;
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.025));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.epc-package-event-title {
    margin: 0 0 0.85rem;
    font-size: 1.08rem;
    line-height: 1.25;
}

.epc-package-live-price p {
    margin: 0.4rem 0;
}

.epc-package-original-line del {
    color: #d16262;
    font-weight: 600;
    text-decoration-thickness: 2px;
}

.epc-package-discount-line {
    color: #cdb46f;
    font-weight: 500;
}

.epc-package-final-line {
    margin-top: 0.5rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.14rem;
}

#epc-package-live-price-value {
    font-weight: 700;
}

.epc-price-label {
    display: inline-block;
    min-width: 7.5rem;
    opacity: 0.84;
}

@media (min-width: 768px) {
    .epc-package-event-block {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
        row-gap: 0.75rem;
        align-items: end;
    }

    .epc-package-event-title {
        grid-column: 1 / -1;
        margin-bottom: 0.15rem;
    }
}

@media (max-width: 640px) {

    .epc-event-cart-form,
    .epc-package-cart-form {
        max-width: 100%;
    }

    .epc-price-label {
        min-width: 0;
        display: block;
        margin-bottom: 0.15rem;
    }
}

.stage-product-summary .epc-event-cart-form,
.stage-product-summary .epc-package-cart-form {
    margin-top: 1.25rem;
}

.stage-product-summary-inner>*+.epc-ticketing-shell {
    margin-top: 1.5rem;
}

.epc-ticketing-shell {
    padding: 1.35rem 1.35rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.02));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.epc-ticketing-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.epc-ticketing-title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.epc-event-ticketing-shell .epc-ticketing-title,
.epc-package-ticketing-shell .epc-ticketing-title {
    font-weight: 650;
}

.epc-event-cart-form,
.epc-package-cart-form {
    margin-top: 0;
}

.epc-event-cart-form .single_add_to_cart_button,
.epc-package-cart-form .single_add_to_cart_button {
    margin-top: 0.35rem;
    align-self: start;
}

.stage-product-summary .product_meta {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    opacity: 0.9;
}

.stage-product-summary .product_meta>span {
    display: block;
    margin-bottom: 0.2rem;
}

.stage-product-summary .price {
    margin: 0.5rem 0 0.85rem;
    font-size: 1.1rem;
}

.stage-product-summary .woocommerce-product-details__short-description {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    opacity: 0.96;
}

.epc-event-cart-form select,
.epc-package-cart-form select {
    font-size: 0.98rem;
}

.epc-package-cart-form .single_add_to_cart_button,
.epc-event-cart-form .single_add_to_cart_button {
    justify-self: start;
}

@media (min-width: 900px) {
    .epc-ticketing-shell {
        padding: 1.5rem 1.5rem 1.35rem;
    }

    .epc-event-cart-form,
    .epc-package-cart-form {
        gap: 1.1rem;
    }
}

/* ------------------------------
   Cart + Checkout Ticket Styling
------------------------------ */

.woocommerce-cart .cart_item,
.woocommerce-checkout-review-order-table .cart_item {
    vertical-align: top;
}

.woocommerce-cart .product-name,
.woocommerce-checkout-review-order-table .product-name {
    line-height: 1.45;
}

.woocommerce-cart .wc-item-meta,
.woocommerce-checkout-review-order-table .wc-item-meta,
.woocommerce-order-details .wc-item-meta {
    margin: 0.65rem 0 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.035);
    list-style: none;
}

.woocommerce-cart .wc-item-meta li,
.woocommerce-checkout-review-order-table .wc-item-meta li,
.woocommerce-order-details .wc-item-meta li {
    margin: 0.35rem 0;
    padding: 0;
    line-height: 1.45;
}

.woocommerce-cart .wc-item-meta strong,
.woocommerce-checkout-review-order-table .wc-item-meta strong,
.woocommerce-order-details .wc-item-meta strong,
.woocommerce-cart .wc-item-meta-label,
.woocommerce-checkout-review-order-table .wc-item-meta-label,
.woocommerce-order-details .wc-item-meta-label {
    display: inline-block;
    min-width: 8.5rem;
    margin-right: 0.35rem;
    font-weight: 600;
    opacity: 0.88;
}

.woocommerce-cart .wc-item-meta p,
.woocommerce-checkout-review-order-table .wc-item-meta p,
.woocommerce-order-details .wc-item-meta p {
    display: inline;
    margin: 0;
}

.woocommerce-cart .wc-item-meta dl,
.woocommerce-checkout-review-order-table .wc-item-meta dl,
.woocommerce-order-details .wc-item-meta dl {
    margin: 0;
}

.woocommerce-cart .wc-item-meta dt,
.woocommerce-checkout-review-order-table .wc-item-meta dt,
.woocommerce-order-details .wc-item-meta dt {
    float: none;
    clear: none;
    display: inline-block;
    min-width: 8.5rem;
    margin: 0 0.35rem 0 0;
    font-weight: 600;
    opacity: 0.88;
}

.woocommerce-cart .wc-item-meta dd,
.woocommerce-checkout-review-order-table .wc-item-meta dd,
.woocommerce-order-details .wc-item-meta dd {
    display: inline;
    margin: 0;
}

.woocommerce-cart .wc-item-meta dd p,
.woocommerce-checkout-review-order-table .wc-item-meta dd p,
.woocommerce-order-details .wc-item-meta dd p {
    margin: 0;
    display: inline;
}

/* Ticket/package details that should feel slightly distinct */
.woocommerce-cart .wc-item-meta li:nth-child(1),
.woocommerce-checkout-review-order-table .wc-item-meta li:nth-child(1),
.woocommerce-order-details .wc-item-meta li:nth-child(1) {
    margin-top: 0;
}

/* Totals rows in cart/checkout tables */
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td,
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    vertical-align: middle;
}

/* Product name emphasis */
.woocommerce-cart td.product-name>a,
.woocommerce-checkout-review-order-table .product-name,
.woocommerce-order-details .product-name a {
    font-weight: 600;
    line-height: 1.35;
}

/* Quantity styling when sold individually */
.woocommerce-cart .product-quantity {
    opacity: 0.85;
    font-size: 0.95rem;
}

/* Make package savings / regular totals feel more structured */
.woocommerce-cart .wc-item-meta li:has(.amount),
.woocommerce-checkout-review-order-table .wc-item-meta li:has(.amount),
.woocommerce-order-details .wc-item-meta li:has(.amount) {
    padding-top: 0.15rem;
}

/* Order details spacing */
.woocommerce-order-details .woocommerce-table__product-name {
    line-height: 1.45;
}

/* Mobile tightening */
@media (max-width: 640px) {

    .woocommerce-cart .wc-item-meta,
    .woocommerce-checkout-review-order-table .wc-item-meta,
    .woocommerce-order-details .wc-item-meta {
        padding: 0.8rem 0.9rem;
    }

    .woocommerce-cart .wc-item-meta strong,
    .woocommerce-checkout-review-order-table .wc-item-meta strong,
    .woocommerce-order-details .wc-item-meta strong,
    .woocommerce-cart .wc-item-meta-label,
    .woocommerce-checkout-review-order-table .wc-item-meta-label,
    .woocommerce-order-details .wc-item-meta-label,
    .woocommerce-cart .wc-item-meta dt,
    .woocommerce-checkout-review-order-table .wc-item-meta dt,
    .woocommerce-order-details .wc-item-meta dt {
        min-width: 0;
        display: block;
        margin-bottom: 0.1rem;
    }
}

.epc-event-venue {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.epc-event-venue__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .epc-event-venue__inner {
        grid-template-columns: minmax(260px, 360px) minmax(320px, 520px);
        align-items: start;
    }
}

.epc-event-venue__title {
    margin: 0 0 .5rem;
    text-transform: uppercase;
}

.epc-event-venue__name {
    margin: 0 0 .5rem;
}

.epc-event-venue__address {
    margin-bottom: 1rem;
}

.epc-event-venue__map-wrap {
    max-width: 520px;
}

.epc-event-venue__map {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
}

.epc-event-venue__map.acf-map {
    width: 100%;
    height: 220px;
}

.epc-ticketing-unavailable {
    margin-top: 1rem;
    opacity: 0.8;
}