/* =============================================================================
   CCA Events V3 — Frontend Styles
   ============================================================================= */


/* =============================================================================
   Events Listing Cards  [cca_events]
   ============================================================================= */

.cca-events-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 1.5em 0;
    padding: 0;
    list-style: none;
}

.cca-event-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #dde3e8;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    background: #ffffff;
    overflow: hidden;
}

.cca-event-card-accent {
    flex-shrink: 0;
    width: 7px;
    align-self: stretch;
    background: #c3d5bd;
}

.cca-event-card-datecol {
    flex-shrink: 0;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75em 0.5em;
    border-right: 1px solid #eee;
    text-align: center;
}

.cca-event-card-day {
    display: block;
    font-size: 1.7em;
    font-weight: 700;
    line-height: 1;
    color: #4B5E6C;
}

.cca-event-card-month {
    display: block;
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
    margin-top: 0.15em;
}

.cca-event-card-time {
    display: block;
    font-size: 0.72em;
    color: #999;
    margin-top: 0.25em;
}

.cca-event-card-image {
    flex-shrink: 0;
    width: 180px;
    height: 160px;
    display: block;
    overflow: hidden;
}

.cca-event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.cca-event-card-image:hover .cca-event-card-img {
    opacity: 0.88;
}

.cca-event-card-content {
    flex: 1;
    min-width: 0;
    padding: 0.9em 1em;
}

.cca-event-card-title {
    margin: 0 0 0.2em;
    font-size: 1.35em;
    font-weight: 700;
    line-height: 1.3;
}

.cca-event-card-title a {
    color: #4B5E6C;
    text-decoration: none;
}

.cca-event-card-title a:hover {
    color: #CE8363;
}

.cca-event-card-date {
    margin: 0 0 0.3em;
    font-size: 0.875em;
    font-weight: 600;
    color: #444;
}

.cca-event-card-stock {
    margin: 0;
    font-size: 0.82em;
    color: #555;
}

.cca-stock-open { color: #4a7c4e; font-weight: 700; }
.cca-stock-sold { color: #c0392b; font-weight: 700; }

.cca-event-card-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55em;
    padding: 0.9em 1.1em;
}

.cca-event-card-price {
    margin: 0;
    font-size: 1.05em;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.cca-event-card-button {
    white-space: nowrap;
    padding: 0.5em 1.2em !important;
    border-radius: 5px !important;
}

.cca-events-empty {
    color: #777;
    font-style: italic;
}

@media (max-width: 600px) {
    .cca-event-card { flex-wrap: wrap; align-items: flex-start; }
    .cca-event-card-accent { width: 100%; height: 5px; align-self: auto; }
    .cca-event-card-datecol { display: none; }
    .cca-event-card-image { width: 90px; height: 90px; }
    .cca-event-card-content { flex: 1; padding: 0.75em 0.75em 0.5em; }
    .cca-event-card-right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 0.75em 0.75em;
    }
}


/* =============================================================================
   Event Registration Panels (Product Page) — Three-Panel Layout
   ============================================================================= */

.cca-event-options {
    margin: 1.5em 0;
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.cca-option-panel {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 1em 1.25em;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.cca-option-panel.is-active {
    border-color: #2c7a3f;
    background: #f4faf6;
}

.cca-option-panel.is-active .cca-panel-body {
    display: block !important;
}

/* Radio selector panels */
.cca-panel-radio {
    margin-right: 0.5em;
    accent-color: #2c7a3f;
}

.cca-panel-label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0;
    font-weight: 600;
    cursor: pointer;
}

.cca-panel-title {
    flex: 1;
    font-size: 1em;
}

.cca-panel-price {
    margin-left: auto;
    font-size: 1.1em;
    font-weight: 700;
    white-space: nowrap;
}

.cca-member-rate em {
    display: block;
    font-size: 0.75em;
    font-weight: 400;
    font-style: normal;
    color: #2c7a3f;
    text-align: right;
}

/* Panel body */
.cca-panel-body {
    margin-top: 0.85em;
    padding-top: 0.85em;
    border-top: 1px solid #e0e0e0;
}

.cca-panel-body label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4em;
}

.cca-panel-notice {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

.cca-panel-notice a {
    color: #CE8363;
    text-decoration: underline;
}

.cca-panel-notice--blocked {
    color: #8b5e3c;
    font-weight: 600;
}

/* Join CCA panel */
.cca-panel-join {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    cursor: default;
    background: #f9f9f9;
}

.cca-panel-join .cca-panel-title {
    font-weight: 400;
    color: #555;
    font-size: 0.95em;
}

.cca-join-button {
    white-space: nowrap;
    flex-shrink: 0;
    color: #ffffff !important;
}

a.cca-join-button,
a.cca-join-button:visited {
    color: #ffffff !important;
}

/* Name / email fields in panels */
.cca-name-fields {
    display: flex;
    gap: 0.75em;
}

.cca-name-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.cca-name-field label {
    font-size: 0.85em;
    font-weight: 600;
    color: #444;
}

.cca-name-field .input-text,
.cca-name-fields .input-text {
    width: 100%;
    padding: 0.45em 0.65em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
}

/* Member email field inside panel */
.cca-product-member-field {
    margin-bottom: 0;
}

.cca-product-member-field__row {
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.cca-product-member-field__row input {
    flex: 1;
    padding: 0.45em 0.65em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
}

#cca-member-lookup-result {
    margin-top: 0.5em;
}

#cca-member-lookup-result .cca-success,
#cca-member-lookup-result .cca-error {
    padding: 0.5em 0.75em;
    border-radius: 4px;
    font-size: 0.9em;
    margin: 0;
}


/* =============================================================================
   Status Badges
   ============================================================================= */

.cca-badge {
    display: inline-block;
    padding: 0.35em 0.85em;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 0.75em;
}

.cca-badge-active {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.cca-badge-expired {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.cca-badge-warning {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffe082;
}


/* =============================================================================
   Attendee Checkboxes (Product Page)
   ============================================================================= */

#cca-attendee-checkboxes {
    margin-top: 1em;
}

.cca-attendee-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.4em 0;
}

.cca-attendee-checkbox input[type="checkbox"] {
    accent-color: #2c7a3f;
    width: 18px;
    height: 18px;
}

.cca-attendee-checkbox label {
    font-weight: 400;
    font-size: 0.95em;
    cursor: pointer;
}


/* =============================================================================
   Member Hub  [cca_member_hub]
   ============================================================================= */

#cca-member-hub {
    max-width: 640px;
    margin: 0 auto;
}

#cca-hub-chooser h3 {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 1.5em;
    color: #333;
}

.cca-hub-options {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.cca-hub-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25em;
    padding: 1.5em 1.75em;
    background: #fff;
    border: 2px solid #dde3e8;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    text-align: left;
    text-decoration: none;
    color: inherit;
    font: inherit;
    width: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.cca-hub-option:hover {
    border-color: #CE8363;
    box-shadow: 0 3px 12px rgba(206, 131, 99, 0.15);
    background: #fdf9f7;
}

a.cca-hub-option {
    text-decoration: none;
    color: inherit;
}

.cca-hub-option__icon {
    font-size: 1.75em;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0ec;
    border-radius: 50%;
}

.cca-hub-option__content {
    flex: 1;
    min-width: 0;
}

.cca-hub-option__label {
    font-size: 1.1em;
    font-weight: 700;
    color: #4B5E6C;
    display: block;
    line-height: 1.3;
}

.cca-hub-option__desc {
    font-size: 0.9em;
    color: #888;
    display: block;
    margin-top: 0.2em;
    line-height: 1.4;
}

.cca-hub-back {
    display: inline-block;
    background: none;
    border: none;
    color: #CE8363;
    font-size: 0.95em;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.25em;
    font-weight: 600;
}

.cca-hub-back:hover {
    color: #b8704f;
    text-decoration: underline;
}

.cca-hub-panel .cca-form-wrapper {
    max-width: none;
}

@media (max-width: 480px) {
    .cca-hub-option {
        padding: 1.25em;
        gap: 1em;
    }
    .cca-hub-option__icon {
        width: 44px;
        height: 44px;
        font-size: 1.4em;
    }
    .cca-hub-option__label {
        font-size: 1em;
    }
}


/* =============================================================================
   Forms — General (Status, Update Info, Renewal, Account Edit)
   ============================================================================= */

.cca-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.cca-form-field {
    margin-bottom: 1em;
}

.cca-form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4em;
    font-size: 0.95em;
    color: #444;
}

.cca-form-field input[type="text"],
.cca-form-field input[type="email"],
.cca-form-field input[type="tel"],
.cca-form-field input[type="number"],
.cca-form-field textarea,
.cca-form-field select {
    width: 100%;
    padding: 0.55em 0.75em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
}

.cca-form-field textarea {
    resize: vertical;
}

.cca-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
    margin-bottom: 1.25em;
}

.cca-info-table th,
.cca-info-table td {
    padding: 0.6em 0.75em;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.cca-info-table th {
    width: 35%;
    color: #555;
    font-weight: 600;
}

.cca-renewal-options {
    display: flex;
    gap: 1em;
    margin-bottom: 1.25em;
}

.cca-renewal-option {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.85em 1.25em;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.cca-renewal-option:hover {
    border-color: #CE8363;
}

.cca-renewal-option:has(input:checked) {
    border-color: #CE8363;
    background: #fdf9f7;
}


/* =============================================================================
   Account Edit Page  [cca_member_account]
   ============================================================================= */

.cca-account-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 1.5em;
}

/* Dependent rows */
.cca-dependent-row {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.5em 0;
    border-bottom: 1px solid #f0f0f0;
}

.cca-dependent-name {
    font-weight: 600;
}

.cca-dependent-rel {
    color: #888;
    font-size: 0.9em;
}

.cca-dependents-empty {
    color: #999;
    font-style: italic;
}

.cca-add-dependent-form {
    display: flex;
    gap: 0.5em;
    align-items: flex-end;
    flex-wrap: wrap;
}

.cca-add-dependent-form .cca-form-field {
    margin-bottom: 0;
}


/* =============================================================================
   Buttons
   ============================================================================= */

.cca-btn,
a.cca-btn,
a.cca-btn:visited {
    display: inline-block;
    padding: 0.6em 1.5em;
    background: #CE8363;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.cca-btn:hover,
a.cca-btn:hover {
    background: #b8704f;
    color: #fff !important;
}

.cca-btn:disabled {
    background: #bbb;
    cursor: not-allowed;
}

.cca-btn--small {
    padding: 0.45em 1em;
    font-size: 0.85em;
}

.cca-btn--accent {
    background: #CE8363;
    color: #fff;
    text-decoration: none;
}

.cca-btn--accent:hover {
    background: #b8704f;
    color: #fff;
}


/* =============================================================================
   Messages
   ============================================================================= */

.cca-error {
    color: #7a1a1a;
    padding: 0.75em 1em;
    margin-top: 0.75em;
    background: #fff4f4;
    border: 1px solid #f5a0a0;
    border-radius: 4px;
    font-size: 0.9em;
}

.cca-success {
    color: #1e5c2a;
    padding: 0.75em 1em;
    margin-top: 0.75em;
    background: #eaf7ed;
    border: 1px solid #7fcf8e;
    border-radius: 4px;
    font-size: 0.9em;
}

.cca-notice {
    color: #5a4000;
    padding: 0.75em 1em;
    margin-top: 0.75em;
    background: #fff8e1;
    border: 1px solid #f0d060;
    border-radius: 4px;
    font-size: 0.9em;
}

.cca-notice a { color: #CE8363; font-weight: 600; }

.cca-loading {
    color: #888;
    font-style: italic;
    padding: 0.5em 0;
    font-size: 0.9em;
}


/* =============================================================================
   Checkout Section
   ============================================================================= */

#cca-member-checkout-section {
    border: 1px solid #e0e0e0;
    padding: 1.25em;
    margin-bottom: 1.5em;
    border-radius: 6px;
    background: #fafafa;
}

#cca-member-checkout-section h3 {
    margin-top: 0;
    font-size: 1.1em;
}


/* =============================================================================
   Attendance Table (shortcode)
   ============================================================================= */

.cca-attendance-list .cca-table {
    width: 100%;
    border-collapse: collapse;
}

.cca-attendance-list .cca-table th,
.cca-attendance-list .cca-table td {
    padding: 0.5em 0.75em;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.9em;
}

.cca-attendance-list .cca-table th {
    background: #f9f9f9;
    font-weight: 600;
}


/* =============================================================================
   CCA Button Colour — #CE8363
   ============================================================================= */

.cca-event-card-button,
.cca-join-button,
.cca-renew-button {
    background-color: #CE8363 !important;
    border-color: #CE8363 !important;
    color: #ffffff !important;
}

.cca-event-card-button:hover,
.cca-join-button:hover,
.cca-renew-button:hover {
    background-color: #b8704f !important;
    border-color: #b8704f !important;
    color: #ffffff !important;
}


/* =============================================================================
   Blog Gallery  [cca_blog_gallery]
   All layout rules use !important to override Divi's aggressive defaults.
   ============================================================================= */

.cca-blog-gallery {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 2em !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ---- Sidebar ---- */

.cca-blog-gallery__sidebar {
    width: 230px !important;
    min-width: 230px !important;
    flex-shrink: 0 !important;
    position: sticky;
    top: 2em;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.25em 0.75em !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.cca-blog-gallery__sidebar-title {
    font-size: 0.8em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #4B5E6C !important;
    margin: 0 0 0.5em !important;
    padding: 0 0.5em 0.6em !important;
    border-bottom: 1px solid #eee;
}

.cca-blog-gallery__sidebar-toggle {
    display: none !important; /* shown on mobile */
}

.cca-blog-gallery__cat {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5em !important;
    width: 100% !important;
    padding: 0.5em 0.6em !important;
    margin: 1px 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font: inherit !important;
    font-size: 0.88em !important;
    color: #555 !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

.cca-blog-gallery__cat:hover {
    background: #f5f0ec !important;
    color: #333 !important;
}

.cca-blog-gallery__cat.is-active {
    background: #CE8363 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.cca-blog-gallery__cat.is-active .cca-blog-gallery__cat-count {
    background: rgba(255,255,255,0.25) !important;
    color: #fff !important;
}

.cca-blog-gallery__cat-count {
    font-size: 0.78em !important;
    background: #f0f0f0 !important;
    color: #999 !important;
    border-radius: 10px !important;
    padding: 0.1em 0.5em !important;
    min-width: 1.4em !important;
    text-align: center !important;
    line-height: 1.4 !important;
    flex-shrink: 0 !important;
}

/* ---- Main Grid ---- */

.cca-blog-gallery__main {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.cca-blog-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25em !important;
    width: 100% !important;
    transition: opacity 0.25s ease;
}

.cca-blog-gallery__grid.is-fading {
    opacity: 0.3;
}

.cca-blog-gallery__load-more {
    text-align: center !important;
    margin-top: 2em !important;
}

.cca-blog-gallery__loading {
    text-align: center !important;
    padding: 2em 0 !important;
}

.cca-blog-gallery__empty {
    color: #888 !important;
    text-align: center !important;
    padding: 3em 1em !important;
    font-size: 0.95em !important;
}

/* ---- Post Card ---- */

a.cca-blog-card,
a.cca-blog-card:visited,
a.cca-blog-card:hover {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: #fff !important;
    aspect-ratio: 4 / 3 !important;
    background: #4B5E6C !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    float: none !important;
}

a.cca-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

.cca-blog-card__image {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cca-blog-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cca-blog-card__image--empty {
    background: linear-gradient(135deg, #4B5E6C, #6b8294) !important;
}

.cca-blog-card__overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    padding: 2.5em 1em 1em !important;
    margin: 0 !important;
    background: linear-gradient(to top, rgba(50,65,75,0.92) 0%, rgba(50,65,75,0.6) 60%, transparent 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    z-index: 2 !important;
}

.cca-blog-card__overlay h3.cca-blog-card__title,
.cca-blog-card__title {
    font-size: 1em !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    color: #fff !important;
    text-align: left !important;
}

.cca-blog-card__cats {
    font-size: 0.78em !important;
    margin: 0.3em 0 0 !important;
    padding: 0 !important;
    color: rgba(255,255,255,0.7) !important;
    line-height: 1.3 !important;
}

/* ---- Blog Gallery Responsive ---- */

@media (max-width: 960px) {
    .cca-blog-gallery__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .cca-blog-gallery {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .cca-blog-gallery__sidebar {
        width: 100% !important;
        min-width: 0 !important;
        position: static !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 0 0.5em !important;
        margin-bottom: 1.25em !important;
        border-bottom: 1px solid #e5e5e5 !important;
        background: transparent !important;
    }

    .cca-blog-gallery__sidebar-title {
        display: none !important;
    }

    .cca-blog-gallery__sidebar-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0.75em 1em !important;
        background: #fff !important;
        border: 2px solid #dde3e8 !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        font: inherit !important;
        font-size: 0.95em !important;
        font-weight: 600 !important;
        color: #4B5E6C !important;
        box-shadow: none !important;
    }

    .cca-blog-gallery__sidebar-toggle-arrow {
        transition: transform 0.2s;
    }

    .cca-blog-gallery__sidebar.is-open .cca-blog-gallery__sidebar-toggle-arrow {
        transform: rotate(180deg);
    }

    .cca-blog-gallery__cat-list,
    .cca-blog-gallery__sidebar > .cca-blog-gallery__cat {
        display: none !important;
    }

    .cca-blog-gallery__sidebar.is-open .cca-blog-gallery__cat-list,
    .cca-blog-gallery__sidebar.is-open > .cca-blog-gallery__cat {
        display: flex !important;
    }

    .cca-blog-gallery__sidebar.is-open .cca-blog-gallery__cat-list {
        flex-direction: column !important;
        padding-top: 0.5em !important;
    }
}

@media (max-width: 520px) {
    .cca-blog-gallery__grid {
        grid-template-columns: 1fr !important;
        gap: 1em !important;
    }

    a.cca-blog-card,
    a.cca-blog-card:visited {
        aspect-ratio: 16 / 10 !important;
    }
}


/* =============================================================================
   WooCommerce Overrides — Brand Orange #CE8363
   ============================================================================= */

/* Buttons (checkout, cart, account, etc.) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.checkout,
.woocommerce .checkout-button,
.woocommerce #place_order,
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    background-color: #CE8363 !important;
    border-color: #CE8363 !important;
    color: #fff !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.checkout:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover,
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
    background-color: #b8704f !important;
    border-color: #b8704f !important;
    color: #fff !important;
}

/* Top notification bar (added to cart, etc.) */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #CE8363 !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #CE8363 !important;
}

.woocommerce-message a.button,
.woocommerce-message a.button:hover {
    background-color: #CE8363 !important;
    border-color: #CE8363 !important;
    color: #fff !important;
}

.woocommerce-message a.button:hover {
    background-color: #b8704f !important;
    border-color: #b8704f !important;
}

/* "View cart" button in the notification */
.woocommerce-message .button.wc-forward,
.woocommerce-message a.restore-item {
    background-color: #CE8363 !important;
    border-color: #CE8363 !important;
    color: #fff !important;
}

.woocommerce-message .button.wc-forward:hover {
    background-color: #b8704f !important;
    border-color: #b8704f !important;
}


/* =============================================================================
   Responsive
   ============================================================================= */

@media (max-width: 600px) {
    .cca-product-member-field__row {
        flex-direction: column;
        max-width: 100%;
    }

    .cca-info-table th {
        width: 45%;
    }

    .cca-renewal-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cca-name-fields {
        flex-direction: column;
        gap: 0.5em;
    }

    .cca-panel-label {
        flex-wrap: wrap;
    }

    .cca-panel-price {
        margin-left: 0;
    }

    .cca-panel-join {
        flex-direction: column;
        align-items: flex-start;
    }

    .cca-product-member-field__row {
        flex-direction: column;
    }

    .cca-add-dependent-form {
        flex-direction: column;
    }
}
