/*
 Theme Name:   Preserve Academy v2
 Theme URI:    http://axiswebhosting.com
 Description:  Child theme for preserveacademy.com — editorial Shoppe-family styling (oxblood/ink/gold).
 Author:       Paul DiCecco
 Author URI:   http://dicecco.com
 Template:     Divi
 Version:      2.3.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================================
   PALETTE (Shoppe family)
   --pa-ox   oxblood   #8f2418   (primary accent — was navy #1b3655)
   --pa-gold gold      #c9a159   (hover / secondary — was red #ff0000)
   --pa-ink  ink       #1c1a17
   --pa-paper paper    #faf6ed
   Destructive UI (delete) intentionally stays red.
   NOTE: generic Woo button + price color blocks were removed here on purpose
   — those will be owned by our editorial stylesheet, not the child style.css.
   ========================================================================= */

/* ---- WooCommerce structural tweaks (kept) ---- */
.woocommerce-additional-fields { display:none; }
.woocommerce table.cart .product-thumbnail { display:none; }
.woocommerce-page #content div.product div.summary { width:100%; }
.yikes-custom-woo-tab-title { display:none; }
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads { display:none; }

/* ---- Nav ---- */
#top-menu li li a { width:220px !important; }

/* ---- WPUF user list ---- */
.wpuf-user-list-table .user-list-table-area .user-list-table thead { background-color:#FFFFFF !important; }

/* ---- MEC events (recolored navy → oxblood) ---- */
.mec-event-grid-modern .mec-event-article { border-radius:16px; }
.mec-fluent-wrap.mec-skin-grid-wrap .mec-event-article { border-top:7px solid #f0ece6 !important; }
.mec-fluent-wrap.mec-skin-list-wrap .mec-event-article {
    border-radius:3px 6px 6px 3px;
    border:1px solid #ead9c2;
    margin-bottom:30px;
    background-color:#fff;
    border-right:7px solid #8f2418 !important;
}
.mec-single-fluent-wrap .mec-single-event-bar { border-left:7px solid #8f2418 !important; }
.mec-fluent-wrap .simple-skin-ended,
.mec-fluent-wrap dt .simple-skin-ended { border-left:4px solid #8f2418 !important; }
[class*="mec-fa-"], [class*="mec-li_"], [class*="mec-sl-"] { line-height:2.3 !important; }

/* ---- "pb" button (recolored: navy → oxblood, red hover → gold) ---- */
.pb_button {
    font-size:20px; font-weight:500; padding:0.2em 0.5em; line-height:1.7em !important;
    background-color:transparent; background-size:cover; background-position:50%; background-repeat:no-repeat;
    border:1px solid #8f2418; border-radius:3px;
    -webkit-transition-duration:.2s; transition-duration:.2s;
    -webkit-transition-property:all !important; transition-property:all !important;
}
.pb_button:hover {
    color:#c9a159;
    font-size:20px; font-weight:500; padding:0.2em 0.5em; line-height:1.7em !important;
    background-color:transparent; background-size:cover; background-position:50%; background-repeat:no-repeat;
    border:1px solid #c9a159; border-radius:3px;
    -webkit-transition-duration:.2s; transition-duration:.2s;
    -webkit-transition-property:all !important; transition-property:all !important;
}

/* ---- GravityView editor buttons (recolored; delete stays red) ---- */
#publishing-action .gv-button-update {
    background-color:#8f2418; border:2px solid #8f2418; color:#ffffff;
    padding:15px 32px; text-align:center; font-size:16px; margin-right:20px;
}
#publishing-action .gv-button-cancel {
    background-color:#fff; border:1px solid #000; color:#000000;
    padding:19px 40px; text-align:center; text-decoration:none; font-size:16px;
}
#publishing-action .gv-button-delete {
    background-color:#F44336; border:1px solid #F44336; color:#ffffff;
    padding:19px 40px; text-align:center; text-decoration:none; font-size:16px;
    margin-top:7px; margin-left:20px;
}
#publishing-action .gv-button-update:hover {
    background-color:rgba(143,36,24,0.82); border:2px solid rgba(143,36,24,0.82); cursor:pointer;
}
#publishing-action .gv-button-cancel:hover { background-color:#f3f3f3; }
#publishing-action .gv-button-delete:hover { background-color:#f21c0d; border:1px solid #F44336; }

/* ---- Woo form inputs (kept; was already neutral) ---- */
.woocommerce .quantity input.qty,
.woocommerce-page .quantity input.qty,
.woocommerce #content .quantity input.qty,
.woocommerce-page #content .quantity input.qty,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.et_pb_wc_cart_totals .select2-container--default .select2-selection--single,
.et_pb_wc_checkout_billing .select2-container--default .select2-selection--single,
.et_pb_wc_checkout_shipping .select2-container--default .select2-selection--single {
    -webkit-appearance:none; background-color:#eee; max-width:100%;
    border-width:0; border-radius:4px !important; color:#707070 !important;
    font-size:14px; padding:12px !important; line-height:1.5em !important; border-style:solid;
}

/* ---- Woo button border accent (recolored navy → oxblood) ---- */
.woocommerce a.button.alt,
.woocommerce-page a.button.alt { border-color:#8f2418 !important; }

/* ── Editorial system tokens (Shoppe family) — foundation for the folded-in system ── */
:root{
  --pa-ox:#8f2418; --pa-ox-deep:#741b12; --pa-ink:#1c1a17; --pa-paper:#faf6ed;
  --pa-bone:#f4ede0; --pa-gold:#c9a159; --pa-rule:#d8d2c8;
  --pa-disp:'Playfair Display',Georgia,serif; --pa-serif:'Cormorant Garamond',Georgia,serif;
  --pa-sans:'Montserrat',-apple-system,sans-serif; --pa-mono:'JetBrains Mono',ui-monospace,monospace;
}
