/* MCAA order form styles (plan selection, cart, checkout).
   Loaded after the standard_cart stylesheet. */

/* ---------- Plan selection ---------- */
.mcaa-plans-hero {
    margin: 0 0 -60px;
    padding: 48px 32px 100px;
    background: #0d0d0d;
    color: #fff;
    border-radius: 8px;
    text-align: center;
}
.mcaa-plans-step {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff1493;
}
.mcaa-plans-hero h1 {
    margin: 0;
    color: #fff;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1;
    text-transform: uppercase;
}
.mcaa-plans-hero p:last-child {
    max-width: 620px;
    margin: 16px auto 0;
    font-size: 18px;
    line-height: 1.55;
    color: #d4d4d4;
}

#order-standard_cart .mcaa-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    padding: 0 16px;
    align-items: stretch;
}
#order-standard_cart .products .product.mcaa-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 30px;
    background: #fff;
    border: 2px solid #d4d4d4;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: visible;
    float: none;
    width: auto;
}
#order-standard_cart .products .product.mcaa-plan header h2,
#order-standard_cart .products .product.mcaa-plan div.product-desc,
#order-standard_cart .products .product.mcaa-plan div.product-pricing span.price { color: inherit; }
#order-standard_cart .products .product.mcaa-plan div.product-desc { font-size: 15px; }
#order-standard_cart .products .product.mcaa-plan footer .btn-order-now { display: block; width: 100%; }
#order-standard_cart .products .product.mcaa-plan header {
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    color: inherit;
}
#order-standard_cart .products .product.mcaa-plan header h2 {
    margin: 0;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 600;
    font-size: 28px;
    text-transform: uppercase;
    line-height: 1.1;
}
#order-standard_cart .products .product.mcaa-plan div.product-desc {
    padding: 0;
    float: none;
    width: auto;
    font-size: 15px;
}
#order-standard_cart .products .product.mcaa-plan footer {
    margin-top: auto;
    padding: 0;
    float: none;
    width: auto;
    text-align: left;
    background: none;
    border: 0;
}
#order-standard_cart .products .product.mcaa-plan div.product-pricing {
    float: none;
    width: auto;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}
#order-standard_cart .products .product.mcaa-plan div.product-pricing span.price {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: inherit;
}
.mcaa-plan-term { font-size: 16px; color: #525252; }

.mcaa-plan-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.mcaa-plan-list li {
    position: relative;
    padding-left: 28px;
    line-height: 1.4;
}
.mcaa-plan-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(-45deg);
}
.mcaa-plan-features { line-height: 1.7; }

#order-standard_cart .products .product.mcaa-plan footer .btn-order-now {
    padding: 15px;
    font-size: 16px;
    font-weight: 800;
    white-space: normal;
}
#order-standard_cart .products .product.mcaa-plan:not(.mcaa-plan-top) footer .btn-order-now {
    background: #fff;
    border: 2px solid #0d0d0d;
    color: #0d0d0d !important;
}
#order-standard_cart .products .product.mcaa-plan:not(.mcaa-plan-top) footer .btn-order-now:hover {
    background: #0d0d0d;
    color: #fff !important;
}

/* Most popular: Total Rider */
#order-standard_cart .products .product.mcaa-plan.mcaa-plan-top {
    background: #0d0d0d;
    color: #fff;
    border-color: #ff1493;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
#order-standard_cart .products .product.mcaa-plan-top .mcaa-plan-term { color: #d4d4d4; }
.mcaa-plan-top .mcaa-plan-list li::before { border-color: #ff1493; }
.mcaa-plan-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    padding: 6px 12px;
    background: #ff1493;
    color: #0d0d0d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
}
.mcaa-term {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #262626;
    border-radius: 6px;
}
.mcaa-term-btn {
    flex: 1;
    min-height: 44px;
    padding: 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.mcaa-term-btn.is-active { background: #ff1493; color: #0d0d0d; }
.mcaa-term-btn:focus-visible { outline: 3px solid #fff; outline-offset: 1px; }

.mcaa-plans-note {
    margin: 24px 16px 0;
    text-align: center;
    font-size: 14px;
    color: #525252;
}
.mcaa-plans-help {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 48px 0 24px;
}
.mcaa-plans-help > div { padding: 24px; background: #fff; border-radius: 8px; }
.mcaa-plans-help h3 {
    margin: 0 0 8px;
    font-family: 'Inter', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700;
    text-transform: none !important;
}
.mcaa-plans-help p { margin: 0; font-size: 15px; line-height: 1.55; color: #404040; }

/* ---------- Cart, configure and checkout ---------- */
#order-standard_cart .header-lined h1,
#order-standard_cart .sub-heading span {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    text-transform: uppercase;
}
#order-standard_cart .sub-heading { border-top-color: #d4d4d4; }
#order-standard_cart .sub-heading span { color: #0d0d0d; background: #f5f5f5; }

#order-standard_cart .order-summary {
    background: #0d0d0d;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
}
#order-standard_cart .order-summary h2 {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    text-transform: uppercase;
    background: #0d0d0d;
    color: #fff;
}
#order-standard_cart .summary-container {
    background: #fff;
}
#order-standard_cart .total-due-today .amt,
#order-standard_cart #totalDueToday,
#order-standard_cart #producttotal .amt {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 700;
}

#order-standard_cart .btn-checkout,
#order-standard_cart #btnCompleteOrder,
#order-standard_cart #btnCompleteProductConfig {
    background: #ff1493;
    border-color: #ff1493;
    color: #0d0d0d !important;
    font-weight: 800;
}
#order-standard_cart .btn-checkout:hover,
#order-standard_cart #btnCompleteOrder:hover,
#order-standard_cart #btnCompleteProductConfig:hover {
    background: #ff4dab;
    border-color: #ff4dab;
}

/* Promo code: make it easy to find for Motorcycle Council members */
#order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active,
#order-standard_cart .nav-tabs .nav-link[href="#applyPromo"] {
    font-weight: 700;
    color: #0d0d0d;
}
#order-standard_cart #applyPromo {
    padding: 16px;
    background: #fff0f7;
    border: 1px solid #ff1493;
    border-radius: 0 0 6px 6px;
}
#order-standard_cart #applyPromo::before {
    content: "Motorcycle Council member? Enter your code here.";
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

#order-standard_cart .field:focus,
#order-standard_cart .form-control:focus {
    border-color: #0d0d0d;
    box-shadow: 0 0 0 3px rgba(255,20,147, 0.3);
}

@media (max-width: 767.98px) {
    .mcaa-plans-hero { padding: 36px 20px 90px; }
    #order-standard_cart .mcaa-plans { padding: 0 8px; }
    #order-standard_cart .products .product.mcaa-plan { padding: 24px; }
}
.mcaa-plan { scroll-margin-top: 24px; }

/* Multi Drive Plus bundle banner */
#order-standard_cart .mcaa-bundle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    margin: 32px 16px 0;
    padding: 28px 32px;
    background: #0d0d0d;
    color: #fff;
    border-radius: 8px;
    scroll-margin-top: 24px;
}
#order-standard_cart .mcaa-bundle-copy { flex: 1 1 280px; }
#order-standard_cart .mcaa-bundle-tag { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #ff1493; }
#order-standard_cart .mcaa-bundle h2 { margin: 0 0 6px; font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; text-transform: uppercase; color: #fff; }
#order-standard_cart .mcaa-bundle p { margin: 0; color: #e5e5e5; }
#order-standard_cart .mcaa-bundle-price { display: flex; align-items: center; gap: 10px; }
#order-standard_cart .mcaa-bundle-price .price { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-size: 44px; font-weight: 700; line-height: 1; color: #fff; }
#order-standard_cart .mcaa-bundle-price .mcaa-plan-term { color: #e5e5e5; line-height: 1.3; }
#order-standard_cart .mcaa-bundle .btn {
    background: #ff1493;
    border-color: #ff1493;
    color: #0d0d0d !important;
    font-weight: 800;
}
#order-standard_cart .mcaa-bundle .btn:hover { background: #ff4dab; border-color: #ff4dab; }
@media (max-width: 767.98px) {
    #order-standard_cart .mcaa-bundle { margin: 24px 8px 0; padding: 24px; }
    #order-standard_cart .mcaa-bundle .btn { width: 100%; }
}

/* Cart table header and other blue bits -> MCAA pink, black text */
#order-standard_cart .view-cart-items-header {
    background-color: #ff1493;
    color: #0d0d0d;
    font-weight: 700;
}
#order-standard_cart .view-cart-items {
    border-bottom-color: #ff1493;
}
#order-standard_cart .empty-cart .btn,
#order-standard_cart .empty-cart .btn:focus {
    background-color: #ff1493;
    border-color: #ff1493;
    color: #0d0d0d;
    font-weight: 700;
}
#order-standard_cart .empty-cart .btn:hover {
    background-color: #ff4dab;
    border-color: #ff4dab;
    color: #0d0d0d;
}
