/*
 * Holy Dog — Global WooCommerce Button Styles
 * Loaded on all WooCommerce pages.
 * ONLY styles buttons — nothing else.
 */

.woocommerce a.button.add_to_cart_button,
.woocommerce button.button.add_to_cart_button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button {
    background: transparent !important;
    color: #1C54A1 !important;
    border: 2px solid #1C54A1 !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    padding: 0 18px !important;
    height: 44px !important;
    width: calc(100% - 28px) !important;
    margin: 0 14px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    line-height: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    transition: background .22s, color .22s, box-shadow .22s, transform .18s !important;
}

.woocommerce a.button.add_to_cart_button::before,
.woocommerce ul.products li.product a.button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.22), transparent) !important;
    transition: left .45s ease !important;
    pointer-events: none !important;
}

.woocommerce a.button.add_to_cart_button:hover,
.woocommerce button.button.add_to_cart_button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product button.button:hover {
    background: #1C54A1 !important;
    color: white !important;
    box-shadow: 0 8px 24px rgba(28,84,161,.4) !important;
    transform: translateY(-2px) !important;
}

.woocommerce a.button.add_to_cart_button:hover::before,
.woocommerce ul.products li.product a.button:hover::before {
    left: 160% !important;
}

.woocommerce a.button.add_to_cart_button:active,
.woocommerce ul.products li.product a.button:active {
    transform: translateY(0) scale(.98) !important;
    box-shadow: 0 3px 10px rgba(28,84,161,.3) !important;
}

/* ── Single product Add to Cart ── */
.single-product .single_add_to_cart_button {
    background: #1C54A1 !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    padding: 0 36px !important;
    height: 56px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(28,84,161,.3) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: box-shadow .28s, transform .2s !important;
}

.single-product .single_add_to_cart_button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 55% !important;
    height: 100% !important;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.25), transparent) !important;
    transition: left .5s ease !important;
    pointer-events: none !important;
}

.single-product .single_add_to_cart_button::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 50% !important;
    background: rgba(255,255,255,.07) !important;
    pointer-events: none !important;
}

.single-product .single_add_to_cart_button:hover {
    background: #1C54A1 !important;
    color: white !important;
    box-shadow: 0 12px 36px rgba(28,84,161,.5), 0 4px 12px rgba(28,84,161,.3) !important;
    transform: translateY(-2px) !important;
}

.single-product .single_add_to_cart_button:hover::before {
    left: 160% !important;
}

.single-product .single_add_to_cart_button:active {
    transform: translateY(1px) !important;
    box-shadow: 0 4px 14px rgba(28,84,161,.35) !important;
}

/* ── Checkout / Proceed buttons — blue, always filled ── */
.woocommerce a.button.checkout-button,
.woocommerce button.button.checkout-button,
.wc-proceed-to-checkout a.checkout-button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce #respond input#submit,
.woocommerce .cart .button {
    background: #1C54A1 !important;
    color: white !important;
    border: 2px solid #1C54A1 !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    box-shadow: 0 4px 18px rgba(28,84,161,.3) !important;
    transition: background .22s, box-shadow .22s !important;
}

.woocommerce a.button.checkout-button:hover,
.woocommerce button.button.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
    background: #174a8e !important;
    border-color: #174a8e !important;
    color: white !important;
    box-shadow: 0 6px 24px rgba(28,84,161,.45) !important;
}
