/* ===== WooCommerce Cart / Checkout / My Account — The Top Condom Brand ===== */

body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account {
    background: #FFFBF2;
    font-family: 'Prompt', sans-serif;
}
.woocommerce, .woocommerce-page {
    max-width: 1200px; margin: 30px auto; padding: 20px;
    font-family: 'Prompt', sans-serif;
}
.woocommerce h1, .woocommerce h2, .woocommerce h3 {
    color: #1A1A1A; font-weight: 800; margin-bottom: 18px;
}

/* ===== CART TABLE ===== */
.woocommerce table.shop_table {
    border: none; border-radius: 14px; overflow: hidden;
    background: #FFF; box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border-collapse: separate; border-spacing: 0;
}
.woocommerce table.shop_table thead {
    background: linear-gradient(135deg, #1A1A1A, #2B2B2B);
}
.woocommerce table.shop_table thead th {
    color: #FFF; padding: 16px 20px; font-weight: 700; font-size: 14px;
    text-align: left; border: none;
}
.woocommerce table.shop_table tbody td {
    padding: 18px 20px; border-bottom: 1px solid #F4F4F4; vertical-align: middle;
}
.woocommerce table.shop_table tbody tr:last-child td { border-bottom: none; }
.woocommerce table.shop_table tbody tr:hover { background: #FFF8EE; }
.woocommerce table.shop_table .product-thumbnail img {
    width: 80px; height: 80px; object-fit: cover; border-radius: 10px;
    border: 1px solid #ECECEC;
}
.woocommerce table.shop_table .product-name a {
    color: #1A1A1A; font-weight: 700; font-size: 15px; text-decoration: none;
}
.woocommerce table.shop_table .product-name a:hover { color: #F39200; }
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
    color: #F39200; font-weight: 800; font-size: 17px;
}
.woocommerce table.shop_table .product-remove a.remove {
    width: 32px; height: 32px; line-height: 30px; font-size: 18px;
    color: #E60012; background: #FFEBEB; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all .2s;
}
.woocommerce table.shop_table .product-remove a.remove:hover {
    background: #E60012; color: #FFF !important;
}

/* Quantity input */
.woocommerce .quantity input.qty {
    width: 70px; padding: 8px 10px; border: 1.5px solid #E8E8E8;
    border-radius: 8px; font-family: 'Prompt', sans-serif; font-weight: 700;
    text-align: center; font-size: 15px;
}
.woocommerce .quantity input.qty:focus {
    outline: none; border-color: #F39200; box-shadow: 0 0 0 3px rgba(243,146,0,.15);
}

/* Coupon section */
.woocommerce .cart .actions {
    background: #FFF; border-radius: 14px; padding: 18px 22px; margin-top: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.woocommerce .cart .actions .coupon input[type="text"] {
    padding: 10px 14px; border: 1.5px solid #E8E8E8; border-radius: 8px;
    font-family: 'Prompt', sans-serif; min-width: 200px;
}

/* ===== BUTTONS ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: #1A1A1A !important; color: #FFF !important; border: none !important;
    padding: 12px 24px !important; border-radius: 10px !important;
    font-weight: 700 !important; font-size: 14px !important;
    font-family: 'Prompt', sans-serif !important;
    text-transform: none !important; transition: all .2s !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: #F39200 !important; transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(243,146,0,.3) !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.checkout-button {
    background: linear-gradient(135deg, #F39200, #D97E00) !important;
    color: #FFF !important; padding: 14px 28px !important; font-size: 15px !important;
    box-shadow: 0 6px 18px rgba(243,146,0,.35) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce a.checkout-button:hover {
    background: linear-gradient(135deg, #FF6B00, #F39200) !important;
}

/* ===== CART TOTALS ===== */
.cart_totals {
    background: #FFF; border-radius: 14px; padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06); margin-top: 30px;
}
.cart_totals h2 {
    color: #1A1A1A; font-size: 20px; font-weight: 800;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 2px solid #FFE9B8;
}
.cart_totals table { border: none; box-shadow: none; }
.cart_totals table th, .cart_totals table td {
    padding: 12px 0; border-bottom: 1px dashed #ECECEC; font-size: 15px;
}
.cart_totals .order-total td, .cart_totals .order-total th {
    padding-top: 16px; border-top: 2px solid #1A1A1A; border-bottom: none;
    font-size: 20px; font-weight: 800; color: #F39200;
}

/* ===== CHECKOUT PAGE ===== */
.woocommerce-checkout #customer_details {
    background: #FFF; padding: 24px 28px; border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.woocommerce form .form-row label {
    color: #1A1A1A; font-weight: 600; font-size: 13px; margin-bottom: 6px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 11px 14px !important; border: 1.5px solid #E8E8E8 !important;
    border-radius: 8px !important; font-family: 'Prompt', sans-serif !important;
    font-size: 14px !important; transition: all .2s !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    outline: none !important; border-color: #F39200 !important;
    box-shadow: 0 0 0 3px rgba(243,146,0,.15) !important;
}

/* Order Review (right column on checkout) */
.woocommerce-checkout-review-order {
    background: #FFF; padding: 24px 28px; border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.woocommerce-checkout-review-order h3 {
    color: #1A1A1A; font-size: 18px; font-weight: 800;
    border-bottom: 2px solid #FFE9B8; padding-bottom: 10px; margin-bottom: 14px;
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background: #FFF8EE !important; border-radius: 12px !important; padding: 14px !important;
}
.woocommerce-checkout #payment ul.payment_methods li {
    background: #FFF; border: 1.5px solid #ECECEC; border-radius: 10px;
    padding: 14px 16px; margin-bottom: 8px; transition: all .2s;
}
.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: #F39200;
}

/* ===== MESSAGES ===== */
.woocommerce-message, .woocommerce-info {
    background: #FFF8EE !important; border-top: none !important;
    border-left: 5px solid #F39200 !important; border-radius: 10px;
    padding: 14px 20px !important; color: #1A1A1A;
}
.woocommerce-message::before, .woocommerce-info::before { color: #F39200 !important; }
.woocommerce-error {
    background: #FFEBEB !important; border-left: 5px solid #E60012 !important;
    border-top: none !important; border-radius: 10px; color: #C0392B;
}

/* ===== MOBILE ===== */
@media (max-width: 700px) {
    .woocommerce table.shop_table thead { display: none; }
    .woocommerce table.shop_table tbody tr { display: block; padding: 14px; border-bottom: 1px solid #ECECEC; }
    .woocommerce table.shop_table tbody td { display: flex; justify-content: space-between; padding: 6px 0; border: none; }
    .woocommerce table.shop_table tbody td.product-thumbnail { justify-content: center; }
    .woocommerce table.shop_table tbody td::before {
        content: attr(data-title); font-weight: 700; color: #888;
    }
}