/* ===========================
   WOO — RESTORE DEFAULT LAYOUT
=========================== */

/* Restore WooCommerce default layout */
.single-product .product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Restore default two-column widths */
.single-product div.images {
    width: 48%;
}

.single-product div.summary {
    width: 48%;
}

/* Mobile collapse */
@media (max-width: 768px) {
    .single-product div.images,
    .single-product div.summary {
        width: 100%;
    }
}

/* ===========================
   WOO — FIX UGLY PURPLE BUTTON
=========================== */

.single-product .single_add_to_cart_button {
    background: linear-gradient(180deg, var(--slv-silver-200), var(--slv-silver-400)) !important;
    color: var(--slv-button-text) !important;
    border: 1px solid var(--slv-silver-500) !important;
    border-radius: 6px !important;
    padding: 12px 18px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    width: 100%;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.single-product .single_add_to_cart_button:hover {
    background: linear-gradient(180deg, var(--slv-silver-100), var(--slv-silver-300)) !important;
    border-color: var(--slv-silver-600) !important;
}

/* ===========================
   WOO — FIX QUANTITY SPACING
=========================== */

.single-product form.cart .quantity {
    margin-bottom: 12px !important;
}

/* ===========================
   WOO — FIX WISHLIST + GPAY
=========================== */

.single-product form.cart .yith-wcwl-add-to-wishlist,
.single-product form.cart .gpay-button,
.single-product form.cart .wc-stripe-gpay-button {
    display: block !important;
    width: 100% !important;
    margin-top: 16px !important;
}

/* ===========================
   FIX: Quantity + Add to Cart on same line
=========================== */

/* Reset form so it doesn't force everything into one row */
.single-product form.cart {
    display: block !important;
}

/* Wrap quantity + add to cart together */
.single-product form.cart .quantity,
.single-product form.cart .single_add_to_cart_button {
    display: inline-block;
    vertical-align: middle;
}

/* Quantity box */
.single-product form.cart .quantity {
    margin: 0 12px 12px 0 !important;
}

/* Add to cart button */
.single-product form.cart .single_add_to_cart_button {
    width: auto !important;
}

/* Wishlist + GPay BELOW the row */
.single-product form.cart .yith-wcwl-add-to-wishlist,
.single-product form.cart .gpay-button,
.single-product form.cart .wc-stripe-gpay-button {
    display: block !important;
    width: 100% !important;
    margin-top: 16px !important;
}

/* ===========================
   WOO — MATCH QUANTITY TO BUTTON SIZE
=========================== */

.single-product form.cart .quantity input.qty {
    height: 44px !important;        /* match button height */
    padding: 0 14px !important;     /* comfortable spacing */
    font-size: 1rem !important;     /* readable */
    border: 1px solid var(--slv-silver-500) !important;
    border-radius: 6px !important;  /* match button radius */
    box-sizing: border-box !important;
    width: 80px !important;         /* not tiny, not huge */
}

/* Align quantity + button vertically */
.single-product form.cart .quantity,
.single-product form.cart .single_add_to_cart_button {
    vertical-align: middle;
}

/* ======================================
   This tightens the banner page spacing
====================================== */
/* Full-width banner wrapper */
.slv-category-banner-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Banner itself */
.slv-category-banner {
    padding: 28px 0 24px;
    margin: 0;
    background-size: cover;
    background-position: center;
}

/* Title inside banner */
.slv-category-banner h1,
.slv-category-banner .page-title {
    margin: 0;
    line-height: 1.1;
    font-size: 40px;
}
