/* ═══════════════════════════════════════════════════════════════════════════════
   RESCUED FROM YELLOW PENCIL — Unique Edits Only
   
   These are the ONLY rules from Yellow Pencil that weren't already covered
   by the GPS Design System. Everything else was duplicate. Add this file
   to your /css/ folder and it will be loaded by the new functions.php.
   ═══════════════════════════════════════════════════════════════════════════════ */


/* ── Product Lightbox (Quick View Popup) ── */
body .mfp-inline-holder .product-lightbox {
    background-color: #171e2f;
    border-radius: 30px;
}

body .mfp-inline-holder .product .entry-summary .product-lightbox-inner 
.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart-enabled .ux-quantity {
    border-top-left-radius: 30px;
}

body .product-gallery-slider .slide .wp-post-image {
    border-radius: 30px;
}

body .category-page-row .col .shop-container > div {
    color: #7a838e;
}

@media (min-width: 850px) {
    body #pa_quantity {
        font-size: 13px !important;
    }
}


/* ── Page Template Text Colors ── */
body.page:not(.home) #main p {
    color: #e2e8f0;
}

body.page:not(.home) #main p span {
    color: #e2e8f0 !important;
}


/* ── Checkout Page Specific (page-id-61) ── */
body.page-id-61 #gps-crypto-rewards-section {
    background-image: none;
}

body.page-id-61 #gps-crypto-rewards-section .gps-wallet-buttons {
    display: none;
}

body.page-id-61 #gps-reward-banner {
    background-color: rgba(212, 237, 218, 0.88);
}

body.page-id-61 .woocommerce-checkout-review-order-table tfoot .cart-subtotal td,
body.page-id-61 .woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
body.page-id-61 .woocommerce-checkout-review-order-table tfoot .tax-total td,
body.page-id-61 .woocommerce-checkout-review-order-table tfoot .tax-total th,
body.page-id-61 .woocommerce-checkout-review-order-table tfoot .order-total td,
body.page-id-61 .woocommerce-checkout-review-order-table tfoot .order-total th {
    border-top-style: none !important;
}

body.page-id-61 #shipping_method .shipping__list_item:nth-child(1) input[type=radio].shipping_method,
body.page-id-61 #shipping_method .shipping__list_item:nth-child(2) input[type=radio].shipping_method,
body.page-id-61 #shipping_method .shipping__list_item:nth-child(3) input[type=radio].shipping_method,
body.page-id-61 #shipping_method .shipping__list_item:nth-child(4) input[type=radio].shipping_method {
    display: none;
}

body.page-id-61 #payment_method_coinbase,
body.page-id-61 #payment_method_solana_spl,
body.page-id-61 #payment_method_cheque,
body.page-id-61 #payment_method_nmipay {
    display: none;
}

body.page-id-61 #wc-nmipay-cc-form .form-row-first label {
    min-height: 33px;
}

body.page-id-61 #wc-nmipay-cc-form .form-row-last label {
    min-height: 33px;
    text-align: right;
}

body.page-id-61 #payment .place-order .woocommerce-terms-and-conditions-wrapper {
    display: none;
}

body.page-id-61 #drip_woocommerce_accepts_marketing_field .checkbox span {
    color: rgba(100, 116, 139, 0.51) !important;
}

body.page-id-61 .wc_payment_methods .payment_box .gp-phantom {
    background-color: rgba(85, 27, 249, 0.14);
}

body.page-id-61 .wc_payment_methods .payment_box .gp-solflare {
    background-color: rgba(252, 116, 41, 0.27);
}

body.page-id-61 #address {
    background-color: rgba(248, 248, 248, 0) !important;
}

body.page-id-61 .woocommerce-order .gps-thankyou-rewards .gps-reward-success {
    background-color: rgba(248, 249, 250, 0);
}

body.page-id-61 #coupon_code {
    min-width: 120px;
    width: 407px !important;
    max-width: 100%;
}

@media (max-width: 849px) {
    body.page-id-61 .woocommerce-shipping-totals .shipping__inner {
        width: 100% !important;
    }
}

@media (max-width: 700px) {
    body.page-id-61 .woocommerce-shipping-totals {
        width: 100% !important;
    }
    body.page-id-61 .woocommerce-shipping-totals .shipping__inner {
        width: 100% !important;
    }
    body.page-id-61 #payment_method_nmipay,
    body.page-id-61 #payment_method_cheque,
    body.page-id-61 #payment_method_solana_spl,
    body.page-id-61 #payment_method_coinbase {
        display: none;
    }
    body.page-id-61 #shipping_method .shipping__list_item input[type=radio] {
        display: none;
    }
    body.page-id-61 #wc-nmipay-cc-form .form-row-last label {
        min-height: 0px;
        text-align: left;
    }
    body.page-id-61 #wc-nmipay-cc-form .form-row-first label {
        min-height: 0px;
    }
    body.page-id-61 #coupon_code {
        min-width: 100%;
        max-width: 600px;
    }
}

@media (min-width: 850px) {
    body.page-id-61 .shipping__table tr th {
        display: none;
    }
}


/* ── Cart Page Specific (page-id-62) ── */
body.page-id-62 .actions .continue-shopping a {
    min-height: 4px;
    height: 45px;
}

body.page-id-62 #shipping_method .shipping__list_item input[type=radio] {
    display: none;
}

body.page-id-62 .cart tr .continue-shopping {
    height: 45px;
}

body.page-id-62 .woocommerce-cart-form__cart-item .product-remove a {
    min-width: 40px;
}

@media (min-width: 850px) {
    body.page-id-62 #coupon_code {
        width: 100%;
    }
}


/* ── Homepage Specific (page-id-14998) ── */
body.page-id-14998 .single_variation_wrap .woocommerce-variation-add-to-cart-enabled .ux-quantity {
    border-top-left-radius: 30px !important;
}


/* ── Sitemap Page (page-id-223796) ── */
body.page-id-223796 #main .simple-sitemap-product a {
    border-bottom: 2px dotted #696972;
}

body.page-id-223796 #main .simple-sitemap-product a:hover {
    border-bottom-color: #18bd68;
    border-bottom-width: 3px;
    border-bottom-style: dotted;
    color: #ffffff;
    font-weight: 600;
}
