/* WooCommerce overrides — make WC elements match the Contablue design */

/* ── Buttons ── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.005em;
    border-radius: 8px;
    padding: 12px 24px;
    background: #ff6b1a;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: #e85a10;
    color: #fff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #place_order {
    background: #1a1a1a;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover {
    background: #333;
}

/* ── Product card add-to-cart link → match .btn-cart style ── */
.product-card .add_to_cart_button,
.product-card a.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.product-card .add_to_cart_button:hover {
    background: #ff6b1a;
    color: #fff;
}
.product-card .added_to_cart { display: none; } /* hide "View cart" link in card */

/* ── WC single product add-to-cart ── */
.wc-add-to-cart-wrapper .quantity input.qty {
    width: 70px;
    height: 48px;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}
.wc-add-to-cart-wrapper .single_add_to_cart_button {
    height: 48px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s;
}
.wc-add-to-cart-wrapper .single_add_to_cart_button:hover { background: #ff6b1a; }
.wc-add-to-cart-wrapper form.cart { display: flex; gap: 12px; align-items: center; margin: 20px 0; }

/* ── WC variations (size/color select) ── */
.wc-add-to-cart-wrapper .variations select {
    font-family: 'Poppins', sans-serif;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    min-width: 140px;
}
.wc-add-to-cart-wrapper table.variations { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.wc-add-to-cart-wrapper table.variations td { padding: 8px 0; vertical-align: middle; }
.wc-add-to-cart-wrapper table.variations td.label { font-weight: 600; width: 90px; }

/* ── Star ratings ── */
.star-rating span::before,
.woocommerce .star-rating::before { color: #ff6b1a; }
.woocommerce .star-rating { color: #ff6b1a; font-size: 14px; }

/* ── WC breadcrumb (hidden — we render our own) ── */
.woocommerce-breadcrumb { display: none; }

/* ── WC notices ── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top: 3px solid #ff6b1a;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}
.woocommerce-message  { background: #fff8f0; }
.woocommerce-error    { border-color: #ef4444; background: #fff5f5; }

/* ── Cart / Checkout ── */
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; font-family: 'Poppins', sans-serif; }
.woocommerce table.shop_table th { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 16px; border-bottom: 2px solid #e5e5e5; }
.woocommerce table.shop_table td { padding: 16px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }

/* ── Pagination ── */
.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 32px 0;
    justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1a1a1a;
    transition: all 0.2s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #ff6b1a;
    border-color: #ff6b1a;
    color: #fff;
}

/* ── Ordering select ── */
.woocommerce-ordering select {
    font-family: 'Poppins', sans-serif;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
}

/* ── My Account ── */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 220px;
    float: left;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    transition: background 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #ff6b1a;
    color: #fff;
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: right;
    width: calc(100% - 240px);
    font-family: 'Poppins', sans-serif;
}
