/*
 * GA Core — the client-cabinet rules of the old blocksy-child style.css
 * (lines 13–25 and 49–237, unchanged): WooCommerce notices hidden (the cabinet
 * shows its own), product add-to-cart and quantity controls, the catalogue
 * inside the account. Header, footer and news rules of the old theme are not
 * needed. Loaded on account pages under the old handle "blocksy-child-style"
 * (the cabinet adds inline styles to it).
 */

.woocommerce-product-attributes tr:nth-child(even) th, .woocommerce-product-attributes tr:nth-child(even) td{
	background: #00000000!important;
}
.woocommerce.ct-woo-unauthorized{
    margin-top:50px;
}

#metal-priceask {
	color: #b28603;
    font-weight: 600;
    font-size: 38px;
    line-height: 48px;
}

:is(.woocommerce-info,.woocommerce-error,.woocommerce-message,.woocommerce-thankyou-order-received){
    display:none!important;
}

.product-add-to-cart{
    display:flex;
    align-items:center;
    gap:15px;
}

.woocommerce-account .product-add-to-cart .button, .woocommerce-account .woocommerce-button, .woocommerce-page .woocommerce-button, .woocommerce-cart .button, .woocommerce-checkout .button, [data-products=type-2] .ct-woo-card-actions .button, [data-products=type-2] .ct-woo-card-actions .added_to_cart{
        background: linear-gradient(99.16deg, #F9B531 0.11%, #FFD981 50%, #F5C422 99.89%)!important;
    box-shadow: 0px 4px 56.3px 0px #FFFFFF40 inset!important;
    color: #141414 !important;
    padding: 15px 20px!important;
    text-align: center!important;
    border: none!important;
    border-radius: 15px!important;
    font-size: 16px!important;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.product-quantity-wrapper {
                display: flex;
                align-items: center;
                gap: 16px;
                margin-top: 8px;
                flex-wrap: wrap;
            }
            .woocommerce-account .product-quantity-wrapper a{
                width:100%;
            }
            .quantity-selector{
                width:100%;
                position: relative;
            }
            .product-quantity-wrapper .qty-btn{
                 position:absolute;
                 z-index: 1000;
            }
            .product-quantity-wrapper .qty-btn.qty-plus{
                position:absolute;
                right:0;
            }
            .product-quantity-wrapper .qty-input{
                width:100%;
                padding-left:5px;
                padding-right:5px;
            }
            .woocommerce-account .product-add-to-cart .button{
                width:100%;
            }
            .quantity-selector {
                display: flex;
                align-items: center;
                border-radius: 4px;
                overflow: hidden;
            }
            .qty-btn {
                width: 16px;
                height: 32px;
                border: none;
                background: #f5f5f5;
                color: #333;
                font-size: 18px;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: background 0.2s;
                line-height: 1;
            }
            .qty-btn:hover {
                background: #e0e0e000;
            }
            .qty-btn:active {
                background: #ccc;
            }
            .qty-input {
                width: 50px;
                height: 32px;
                border: none;
                border-left: 1px solid #ddd;
                border-right: 1px solid #ddd;
                text-align: center;
                font-size: 14px;
                padding: 0;
                -moz-appearance: textfield;
                background: #fff;
                color: #333;
            }
            .qty-input::-webkit-outer-spin-button,
            .qty-input::-webkit-inner-spin-button {
                -webkit-appearance: none;
                margin: 0;
            }
            .qty-input:focus {
                outline: none;
                background: #f9f9f9;
            }
            .product-add-to-cart .button {
                min-width: 120px;
                justify-content: center;
            }
            .add_to_cart_button.loading {
                opacity: 0.7;
                pointer-events: none;
            }
            .add_to_cart_button.added {
                background: #4CAF50 !important;
                color: white !important;
            }
            @media (max-width: 600px) {
                .product-quantity-wrapper {
                    flex-direction: column;
                    align-items: stretch;
                }
                .quantity-selector {
                    width: 100%;
                    justify-content: center;
                }
                .qty-input {
                    width: 60px;
                }
                .product-add-to-cart .button {
                    width: 100%;
                }
            }
.product-finder-wrapper .qty-control {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
}
.product-finder-wrapper .product-add-to-cart .button{
    width:100%;
    max-width:100%;
}
.product-finder-wrapper .product-finder-item{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-finder-wrapper .quantity-selector{
    display:flex;
    margin: 20px 0;
}
.product-finder-wrapper .qty-control {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
}
.qty-btn {
  background: transparent;
  color: var(--text-muted);
  width: 34px; height: 38px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.12s ease, color 0.12s ease;
  display: grid; place-items: center;
}
.qty-btn:hover {
  color: var(--accent);
  background: var(--bg-hover);
}
.qty-btn svg { width: 12px; height: 12px; }
.qty-value {
  width: 44px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text);
  line-height: 38px;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  outline: none;
}

/* Section spacing of the old child theme (inline after its style.css on every
   page; every value was 0 on the live site, on all screen sizes). */
section, .tp-block, .product-gold, .storage-gold, .lock-gold, .list-gold, .hero-section, .cta-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
:root :where(.is-layout-constrained) > :first-child {
  margin-top: 0 !important;
}
