/*
Theme Name: Sarasota Box Office Child Theme
Template: sbo-core
Text Domain: sbo-child
Description: Child theme for site-specific customizations. Colors and fonts are controlled via ACF Options.
Author: Sarasota Box Office
Version: 1.0.0
*/

/*
 * Site-specific CSS customizations go in src/styles/app.css
 * Colors are controlled via ACF Options > Theme Colors
 * Fonts are controlled via ACF Options > Theme Fonts
 *
 * Available CSS variables (set by ACF):
 * --sbo-colors-black
 * --sbo-colors-white
 * --sbo-colors-primary
 * --sbo-colors-secondary
 * --sbo-colors-tertiary-dark
 * --sbo-colors-tertiary-medium
 * --sbo-colors-tertiary-light
 * --sbo-font-headline-primary
 * --sbo-font-headline-secondary
 * --sbo-font-headline-tertiary
 * --sbo-font-headline-quartary
 * --sbo-font-body-primary
 */

/* ===========================================
   CLIENT-CUSTOMIZABLE COLORS
   Override these variables per client site.
   =========================================== */
:root {
    /* Text colors */
    --sbo-text-white: #ffffff;
    --sbo-text-light: #dddddd;
    --sbo-text-muted: #cccccc;
    --sbo-text-dim: #aaaaaa;

    /* Gold glow/shadow RGB (used with rgba() at various opacities) */
    --sbo-glow-gold-rgb: 212, 175, 55;

    /* Hero overlay RGB (dark tint over video) */
    --sbo-hero-overlay-rgb: 10, 5, 5;

    /* Stage frame / curtain colors */
    --sbo-stage-curtain-fade: rgba(139, 0, 0, 0.6);
    --sbo-curtain-darkest: #3a0a0a;
    --sbo-curtain-dark: #4a1515;
    --sbo-curtain-medium: #5a1a1a;
    --sbo-curtain-deep: #2a0a0a;
    --sbo-curtain-deepest: #1a0505;

    /* Ribbon fold (banner button pseudo-elements) */
    --sbo-ribbon-fold: #8B0000;

    /* Cast card placeholder */
    --sbo-cast-placeholder-fill: rgba(30, 15, 15, 1);

    /* FAQ / Accordion */
    --sbo-faq-bg: rgba(0, 0, 0, 0.15);
    --sbo-accordion-bg: rgba(255, 255, 255, 0.05);
    --sbo-accordion-border: rgba(255, 255, 255, 0.08);
    --sbo-accordion-hover-bg: rgba(255, 255, 255, 0.1);

    /* Upcoming shows override colors */
    --sbo-us-title-color: #ffffff;
    --sbo-us-btn-bg: #d4a843;
    --sbo-us-btn-text: #1a1a1a;
    --sbo-us-btn-hover-bg: #e6ba4d;
    --sbo-us-dates-color: #f3ce57;
    --sbo-us-city-color: #ffffff;
    --sbo-us-venue-color: #ffffff;
    --sbo-us-show-btn-bg: #f3ce57;
    --sbo-us-show-btn-text: #1a1a1a;
    --sbo-us-arrow-color: #f3ce57;

}


.AccordionItem  {
    background: white!mportant;
}
.wp-block-woocommerce-checkout {
    container-type: inline-size;
    margin: 0;
    padding: 24px;
    width: 100%;
    border-radius: 20px;
    background: white;

}
@media (min-width: 1024px) {
    #hdr .logo-link {
        width: 10rem !important;
        max-width: 10rem !important;
    }

/* ===========================================
   WOOCOMMERCE CART PAGE STYLING
   =========================================== */

/* Cart Page Container */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Page Title */
.woocommerce-cart .entry-title,
.woocommerce-cart h1 {
    font-family: var(--sbo-font-headline-tertiary);
    color: var(--sbo-colors-white);
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

/* Cart Table */
.strawhouse-calendar .strawhouse-calendar__month {

background-color:rgb(139,0,0);
}

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;


.woocommerce table.shop_table thead {
    background: rgba(255, 255, 255, 0.05);
}

.woocommerce table.shop_table thead th {
    font-family: var(--sbo-font-body-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sbo-colors-tertiary-medium);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.woocommerce table.shop_table tbody td {
    padding: 1.5rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--sbo-colors-white);
}

.woocommerce table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

/* Cart Item Row Hover */
.woocommerce table.shop_table tbody tr.cart_item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Product Thumbnail */
.woocommerce table.shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Product Name */
.woocommerce table.shop_table .product-name a {
    font-family: var(--sbo-font-body-primary);
    font-weight: 600;
    color: var(--sbo-colors-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce table.shop_table .product-name a:hover {
    color: var(--sbo-colors-tertiary-medium);
}

/* Product Price & Subtotal */
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
    font-family: var(--sbo-font-body-primary);
    font-weight: 600;
    color: var(--sbo-colors-tertiary-light);
}

/* Remove Button */
.woocommerce table.shop_table .product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545 !important;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce table.shop_table .product-remove a.remove:hover {
    background: #dc3545;
    color: var(--sbo-colors-white) !important;
    transform: scale(1.1);
}

/* Quantity Input */
.woocommerce table.shop_table .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce table.shop_table .quantity .qty {
    width: 60px;
    padding: 0.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--sbo-colors-white);
    font-family: var(--sbo-font-body-primary);
    font-weight: 600;
}

.woocommerce table.shop_table .quantity .qty:focus {
    outline: none;
    border-color: var(--sbo-colors-tertiary-medium);
    box-shadow: 0 0 0 2px rgba(var(--sbo-glow-gold-rgb), 0.2);
}

/* Actions Row (Coupon & Update) */
.woocommerce table.shop_table td.actions {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

/* Coupon Section */
.woocommerce .coupon {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.woocommerce .coupon input.input-text {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--sbo-colors-white);
    font-family: var(--sbo-font-body-primary);
}

.woocommerce .coupon input.input-text::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.woocommerce .coupon input.input-text:focus {
    outline: none;
    border-color: var(--sbo-colors-tertiary-medium);
}

/* Buttons */
.woocommerce button.button,
.woocommerce .button {
    padding: 0.75rem 1.5rem;
    font-family: var(--sbo-font-body-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--sbo-colors-secondary);
    color: var(--sbo-colors-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce button.button:hover,
.woocommerce .button:hover {
    background: var(--sbo-colors-tertiary-medium);
    color: var(--sbo-colors-black);
    transform: translateY(-1px);
}

.woocommerce button.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Cart Collaterals (Totals Section) */
.woocommerce .cart-collaterals {
    margin-top: 2rem;
}

.woocommerce .cart_totals {
    background: var(--sbo-colors-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 450px;
    margin-left: auto;
}

.woocommerce .cart_totals h2 {
    font-family: var(--sbo-font-headline-tertiary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--sbo-colors-tertiary-light);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.woocommerce .cart_totals table {
    background: transparent;
    border: none;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    padding: 0.75rem 0;
    border: none;
    background: transparent;
}

.woocommerce .cart_totals table th {
    font-family: var(--sbo-font-body-primary);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
}

.woocommerce .cart_totals table td {
    text-align: right;
    color: var(--sbo-colors-white);
    font-weight: 600;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    font-size: 1.25rem;
    color: var(--sbo-colors-tertiary-light);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Proceed to Checkout Button */
.woocommerce .wc-proceed-to-checkout {
    margin-top: 1.5rem;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--sbo-font-headline-tertiary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    background: var(--sbo-colors-tertiary-medium);
    color: var(--sbo-colors-black);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
    background: var(--sbo-colors-tertiary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--sbo-glow-gold-rgb), 0.3);
}

/* Empty Cart Message */
.woocommerce-cart .cart-empty,
.woocommerce-cart .woocommerce-info {
    text-align: center;
    padding: 3rem;
    padding-top: 6rem;
    margin-top: 2rem;
    color: var(--sbo-colors-white);
    font-family: var(--sbo-font-body-primary);
    font-size: 1.25rem;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    padding-bottom: 4rem;
}

.woocommerce-cart .return-to-shop .button {
    margin-top: 1rem;
}

/* Cart Variation Details (ticket info) */
dl.variation,
dl.variation dt,
dl.variation dd,
dl.variation p {
    color: var(--sbo-colors-white) !important;
}

dl.variation {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

dl.variation dt {
    opacity: 0.7;
}

dl.variation dd {
    margin-left: 0;
}

/* Cart Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    font-family: var(--sbo-font-body-primary);
}

.woocommerce-message {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
    color: #28a745;
}

.woocommerce-info {
    background: rgba(23, 162, 184, 0.1);
    border-left: 4px solid #17a2b8;
    color: #17a2b8;
}

.woocommerce-error {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: #dc3545;
}

/* ===========================================
   CART PAGE - MOBILE RESPONSIVE
   =========================================== */
@media (max-width: 767px) {
    .woocommerce table.shop_table.shop_table_responsive thead {
        display: none;
    }

    .woocommerce table.shop_table.shop_table_responsive tbody tr.cart_item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.5rem 1rem;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .woocommerce table.shop_table.shop_table_responsive tbody td {
        padding: 0.25rem 0;
        border: none;
    }

    .woocommerce table.shop_table.shop_table_responsive .product-thumbnail {
        grid-row: 1 / 4;
    }

    .woocommerce table.shop_table.shop_table_responsive .product-thumbnail img {
        width: 70px;
        height: 70px;
    }

    .woocommerce table.shop_table.shop_table_responsive .product-name {
        grid-column: 2;
        font-size: 0.9rem;
    }

    .woocommerce table.shop_table.shop_table_responsive .product-price,
    .woocommerce table.shop_table.shop_table_responsive .product-quantity,
    .woocommerce table.shop_table.shop_table_responsive .product-subtotal {
        grid-column: 2;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .woocommerce table.shop_table.shop_table_responsive td::before {
        content: attr(data-title) ": ";
        font-weight: 500;
        color: rgba(255, 255, 255, 0.6);
        margin-right: 0.5rem;
    }

    .woocommerce table.shop_table.shop_table_responsive .product-remove {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }

    .woocommerce table.shop_table.shop_table_responsive tbody tr.cart_item {
        position: relative;
    }

    .woocommerce table.shop_table td.actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .woocommerce .coupon {
        width: 100%;
    }

    .woocommerce .coupon input.input-text {
        min-width: 0;
    }

    .woocommerce table.shop_table td.actions > button {
        width: 100%;
    }

    .woocommerce .cart_totals {
        max-width: 100%;
        margin-top: 1.5rem;
    }
}

/* Green / SALE */
.strawhouse_ticket.ticket_row.ticket_id_94162{
    border: 5px solid #f52ff9 !important;
    background: #fec7ff ;
    border-radius: 6px;
    margin-top: 2px!important;
    margin-bottom: 2px!important;
}

/* Purple / VIP */
.strawhouse_ticket.ticket_row.ticket_id_94164 {
    border: 5px solid #f90503!important;
    background: #ffe7e7;
    border-radius: 6px;
    margin-top: 2px!important;
    margin-bottom: 2px!important;
    color:black;
    font-weight: bold;
}
/* Red / VIP / PREFERRED */
.strawhouse_ticket.ticket_row.ticket_id_94165 {
    border: 5px solid #f9ac05 !important;
    background: #fff;''
border-radius: 6px;
    margin-top: 2px!important;
    margin-bottom: 2px!important;

}
/* Blue / GA */
.strawhouse_ticket.ticket_row.ticket_id_94166{
    border: 5px solid #2556c2 !important;
    background: #80e6fc;
    border-radius: 6px;
    margin-top: 2px!important;
    margin-bottom: 2px!important;
}
/* Yellow / FLOOR */
.strawhouse_ticket.ticket_row.ticket_id_94167 {
    border: 5px solid #f9ac05 !important;
    background: #fff49d;
    border-radius: 6px;
    margin-top: 2px!important;
    margin-bottom: 2px!important;
    font-weight: bold;
}
/* Tix Info-Boxes */
.tixbox {
    border: 1px solid #2556c2;
    border-radius: 8px;
    background: #c7e9ff;
    margin-bottom: 8px;
}
.tixbox p {
    color: #000;
    text-align: justify;
    padding: 2%;
    font-size: 12px;
}
.tixbox-title {
    background: #2556c2;
    padding:2%;
    text-align: center;
    color: #ffff;
    border-top-left-radius:6px;
    border-top-right-radius:6px;
}
.block.text--strong.uppercase.mb-4 {
    color: #ffffff;
}
.block.text--strong.uppercase.mb-4:hover {
    color: #1e72bd;
}

@media(max-width:800px) {
    .text--h3-headline-primary {
        padding-top: 85px!important;
        font-size: 32px;
    }
    .strawhouse-calendar {
        margin: -25px;
    }
    .module-content_type_1 {
        padding-top: 150px;
    }

}


/* ===========================================
   GEOLOCATOR BANNER - SHOW NEAR YOU
   =========================================== */
.module-show_near_you .geolocator-header {
    color: var(--sbo-colors-black);
    font-family: var(--sbo-font-body-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.module-show_near_you .geolocator-city,
.module-show_near_you .geolocator-date {
    font-family: var(--sbo-font-headline-tertiary);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .module-show_near_you .geolocator-city,
    .module-show_near_you .geolocator-date {
        font-size: 4rem;
    }
}

.module-show_near_you .down-arrow {
    min-height: 60px;
}

.module-show_near_you .down-arrow svg {
    fill: var(--sbo-colors-white) !important;
    color: var(--sbo-colors-white) !important;
}

.btn-banner.geolocator-tickets {
    position: relative;
    display: inline-block;
    padding: 0.875rem 2.5rem !important;
    color: var(--sbo-text-white) !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none !important;
    border-radius: 0 !important;
    transition: all 0.3s ease;
}

.btn-banner.geolocator-tickets::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 0;
    border-color: var(--sbo-ribbon-fold) transparent transparent transparent;
}

.btn-banner.geolocator-tickets::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent var(--sbo-ribbon-fold) transparent transparent;
    transform: scaleX(-1);
}

.btn-banner.geolocator-tickets:hover {
    color: var(--sbo-text-white) !important;
    transform: translateY(-2px);
}

.module-show_near_you .fine_print {
    color: var(--sbo-colors-black);
    opacity: 0.7;
}

/* ===========================================
   FOOTER LINKS
   =========================================== */
.footer a {
    color: var(--sbo-colors-white) !important;
}

/* ===========================================
   HEADER CART ICON
   To remove: delete this entire section
   =========================================== */
.header-cart-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.header-cart-icon svg {
    width: 24px;
    height: 24px;
}

.header-cart-count {
    font-size: 0.7rem;
    line-height: 1;
    min-width: 20px;
    height: 20px;
    animation: cart-pop 0.3s ease;
}

@keyframes cart-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.header-cart-link:hover .header-cart-icon svg {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Hide cart total on smaller screens */
@media (max-width: 1023px) {
    .header-cart-total {
        display: none;
    }
}