/* ========================================
   CART & CHECKOUT — DRAMATIC REDESIGN
   Wide Grid Layout + Dark/Light Theme
   ======================================== */

/* ========================================
   SHARED BASE
   ======================================== */

body.woocommerce-cart,
body.woocommerce-checkout {
    background: #f0f9fc !important;
}

body.woocommerce-cart .page-content,
body.woocommerce-checkout .page-content {
    padding: 0 !important;
}

/* ---- PAGE HERO (reuse from blog) ---- */
body.woocommerce-cart .nv-cart-hero,
body.woocommerce-checkout .nv-cart-hero {
    position: relative;
    padding: 120px 24px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0a2f3f 0%, #0c3547 30%, #154d62 60%, #0c3547 100%);
    text-align: center;
}

body.woocommerce-cart .nv-cart-hero .nv-cart-hero-orb,
body.woocommerce-checkout .nv-cart-hero .nv-cart-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.nv-cart-hero-orb-1 { width: 400px; height: 400px; background: rgba(127,199,217,0.12); top: -100px; right: -80px; animation: orbFloat 12s ease-in-out infinite; }
.nv-cart-hero-orb-2 { width: 300px; height: 300px; background: rgba(58,155,181,0.1); bottom: -60px; left: -60px; animation: orbFloat 16s ease-in-out infinite reverse; }

.nv-cart-hero-content { position: relative; z-index: 2; }

.nv-cart-hero .nv-cart-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 13px;
}

.nv-cart-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s; }
.nv-cart-breadcrumb a:hover { color: #7FC7D9; }
.nv-cart-breadcrumb svg { width: 14px; height: 14px; color: rgba(255,255,255,0.3); }
.nv-cart-breadcrumb span { color: rgba(255,255,255,0.8); }

.nv-cart-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.nv-cart-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #7FC7D9 0%, #a8e0eb 50%, #7FC7D9 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroGradient 4s ease-in-out infinite;
}

/* ---- MAIN WRAPPER ---- */

/* Override page.php narrow container for cart/checkout */
body.woocommerce-cart .nv-page-container,
body.woocommerce-checkout .nv-page-container {
    max-width: 1280px !important;
    padding: 0 !important;
}

body.woocommerce-cart .nv-page-article,
body.woocommerce-checkout .nv-page-article {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

body.woocommerce-cart .nv-page-body,
body.woocommerce-checkout .nv-page-body {
    padding: 0 !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 48px 48px 100px !important;
}

/* ========================================
   CART PAGE — 2-COLUMN GRID
   ======================================== */

/* Grid: table left, totals right */
body.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 32px !important;
    align-items: start !important;
}

/* Notices span full width */
body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
}

/* Cart form in left column */
body.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1 !important;
}

/* Totals in right column */
body.woocommerce-cart .cart-collaterals {
    grid-column: 2 !important;
    position: sticky !important;
    top: 100px !important;
    margin: 0 !important;
    justify-content: stretch !important;
}

/* ---- CART TABLE ---- */

body.woocommerce-cart table.shop_table {
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05) !important;
    background: white !important;
    border-collapse: collapse !important;
    width: 100% !important;
}

body.woocommerce-cart table.shop_table thead {
    background: #F8FBFC !important;
}

body.woocommerce-cart table.shop_table th {
    padding: 16px 20px !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #6B7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border: none !important;
    background: transparent !important;
}

body.woocommerce-cart table.shop_table td {
    padding: 20px !important;
    vertical-align: middle !important;
    border: none !important;
    border-bottom: 1px solid #F3F4F6 !important;
    background: white !important;
    font-size: 14px !important;
}

body.woocommerce-cart table.shop_table tr:last-child td {
    border-bottom: none !important;
}

/* Product Thumbnail */
body.woocommerce-cart table.shop_table td.product-thumbnail {
    width: 90px !important;
    padding: 16px !important;
}

body.woocommerce-cart table.shop_table td.product-thumbnail a {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #F3F4F6 !important;
    border: 1px solid rgba(127,199,217,0.1) !important;
}

body.woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Product Name */
body.woocommerce-cart table.shop_table td.product-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
}

body.woocommerce-cart table.shop_table td.product-name a {
    color: #1F2937 !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}

body.woocommerce-cart table.shop_table td.product-name a:hover {
    color: #3A9BB5 !important;
}

/* Price */
body.woocommerce-cart table.shop_table td.product-price {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #6B7280 !important;
}

/* Quantity */
body.woocommerce-cart table.shop_table td.product-quantity .quantity {
    display: flex !important;
    align-items: center !important;
    background: #F3F4F6 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    width: fit-content !important;
    border: 1px solid #E5E7EB !important;
}

body.woocommerce-cart table.shop_table td.product-quantity .quantity input[type="number"] {
    width: 52px !important;
    height: 40px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
    -moz-appearance: textfield !important;
}

body.woocommerce-cart table.shop_table td.product-quantity .quantity input::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table td.product-quantity .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Subtotal */
body.woocommerce-cart table.shop_table td.product-subtotal {
    font-family: 'Sora', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1F2937 !important;
}

/* Remove */
body.woocommerce-cart table.shop_table td.product-remove {
    width: 56px !important;
    text-align: center !important;
}

body.woocommerce-cart table.shop_table td.product-remove a.remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: #FEE2E2 !important;
    border-radius: 10px !important;
    color: #DC2626 !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    margin: 0 auto !important;
}

body.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
    background: #DC2626 !important;
    color: white !important;
    transform: scale(1.1) !important;
}

/* Actions row */
body.woocommerce-cart table.shop_table td.actions {
    padding: 20px !important;
    background: #F8FBFC !important;
    border-top: 1px solid #E5E7EB !important;
}

/* Coupon */
body.woocommerce-cart .coupon {
    display: flex !important;
    gap: 10px !important;
    float: left !important;
}

body.woocommerce-cart .coupon label { display: none !important; }

body.woocommerce-cart .coupon input[type="text"] {
    padding: 11px 16px !important;
    background: white !important;
    border: 2px solid #E5E7EB !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-family: 'Outfit', sans-serif !important;
    color: #1F2937 !important;
    min-width: 180px !important;
    transition: all 0.3s !important;
}

body.woocommerce-cart .coupon input[type="text"]:focus {
    outline: none !important;
    border-color: #7FC7D9 !important;
    box-shadow: 0 0 0 3px rgba(127,199,217,0.1) !important;
}

body.woocommerce-cart .coupon button {
    padding: 11px 20px !important;
    background: #1F2937 !important;
    color: white !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Outfit', sans-serif !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

body.woocommerce-cart .coupon button:hover {
    background: #374151 !important;
}

/* Update cart */
body.woocommerce-cart button[name="update_cart"] {
    float: right !important;
    padding: 11px 22px !important;
    background: transparent !important;
    color: #3A9BB5 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Outfit', sans-serif !important;
    border: 2px solid rgba(127,199,217,0.3) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

body.woocommerce-cart button[name="update_cart"]:hover {
    background: rgba(127,199,217,0.1) !important;
    border-color: #7FC7D9 !important;
}

body.woocommerce-cart button[name="update_cart"]:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* ---- CART TOTALS (sticky right) ---- */

body.woocommerce-cart .cart_totals {
    width: 100% !important;
    background: white !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05) !important;
    padding: 32px !important;
    float: none !important;
    border: 1px solid rgba(127,199,217,0.1) !important;
}

body.woocommerce-cart .cart_totals h2 {
    font-family: 'Sora', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1F2937 !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #E5E7EB !important;
}

body.woocommerce-cart .cart_totals table {
    border: none !important;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
    padding: 14px 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 15px !important;
}

body.woocommerce-cart .cart_totals table th {
    color: #6B7280 !important;
    font-weight: 500 !important;
}

body.woocommerce-cart .cart_totals table td {
    text-align: right !important;
    color: #1F2937 !important;
    font-weight: 600 !important;
}

body.woocommerce-cart .cart_totals table tr.order-total th,
body.woocommerce-cart .cart_totals table tr.order-total td {
    padding-top: 20px !important;
    border-top: 2px solid #E5E7EB !important;
}

body.woocommerce-cart .cart_totals table tr.order-total td {
    font-family: 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #3A9BB5 !important;
}

/* Shipping method labels */
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
    margin-bottom: 8px !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods input[type="radio"] {
    accent-color: #3A9BB5 !important;
}

/* Checkout button */
body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0 !important;
    margin-top: 24px !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, #7FC7D9, #3A9BB5) !important;
    color: white !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 24px rgba(127,199,217,0.35) !important;
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1) !important;
    position: relative !important;
    overflow: hidden !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: -100% !important;
    width: 100% !important; height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
    transition: left 0.5s !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover::before {
    left: 100% !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 36px rgba(127,199,217,0.5) !important;
}

/* PayPal buttons container */
body.woocommerce-cart .wc-proceed-to-checkout .wc-gateway-ppcp-paylater-message-cart,
body.woocommerce-cart .wc-proceed-to-checkout .ppc-button-wrapper {
    margin-top: 12px !important;
}

/* Empty cart */
body.woocommerce-cart .cart-empty {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    padding: 80px 24px !important;
    background: white !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05) !important;
}

body.woocommerce-cart .cart-empty::before {
    content: '' !important;
    display: block !important;
    width: 80px !important; height: 80px !important;
    margin: 0 auto 20px !important;
    background: rgba(127,199,217,0.1) !important;
    border-radius: 20px !important;
}

body.woocommerce-cart .return-to-shop {
    margin-top: 24px !important;
    grid-column: 1 / -1 !important;
    text-align: center !important;
}

body.woocommerce-cart .return-to-shop a {
    display: inline-block !important;
    padding: 14px 32px !important;
    background: linear-gradient(135deg, #7FC7D9, #3A9BB5) !important;
    color: white !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 14px !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 16px rgba(127,199,217,0.3) !important;
}

body.woocommerce-cart .return-to-shop a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 28px rgba(127,199,217,0.45) !important;
}

/* ========================================
   CHECKOUT PAGE — 2-COLUMN GRID
   ======================================== */

/* Override float layout with grid */
body.woocommerce-checkout .woocommerce {
    display: grid !important;
    grid-template-columns: 1fr 420px !important;
    gap: 32px !important;
    align-items: start !important;
}

/* Notices full width */
body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce > .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce > .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce > .woocommerce-form-login,
body.woocommerce-checkout .woocommerce > .woocommerce-form-coupon {
    grid-column: 1 / -1 !important;
}

/* Customer details in left column */
body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    width: 100% !important;
    float: none !important;
}

/* Order review heading + review in right column */
body.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    float: none !important;
    background: white !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.05) !important;
    padding: 28px 28px 0 !important;
    margin: 0 !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1F2937 !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding-bottom: 20px !important;
}

body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: 100% !important;
    float: none !important;
    background: white !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05) !important;
    padding: 0 28px 28px !important;
    position: sticky !important;
    top: 80px !important;
    border: 1px solid rgba(127,199,217,0.1) !important;
    border-top: none !important;
}

body.woocommerce-checkout::after {
    display: none !important;
}

/* Billing/Shipping sections */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    background: white !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05) !important;
    padding: 28px !important;
    margin-bottom: 24px !important;
    border: 1px solid rgba(127,199,217,0.1) !important;
}

body.woocommerce-checkout h3:not(#order_review_heading) {
    font-family: 'Sora', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1F2937 !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #E5E7EB !important;
}

/* Form fields grid */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

body.woocommerce-checkout .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout .form-row-wide { grid-column: span 2 !important; }
body.woocommerce-checkout .form-row-first { grid-column: 1 !important; }
body.woocommerce-checkout .form-row-last { grid-column: 2 !important; }

body.woocommerce-checkout label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
}

body.woocommerce-checkout label .required { color: #DC2626 !important; }

body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout select,
body.woocommerce-checkout textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    background: #F9FAFB !important;
    border: 2px solid #E5E7EB !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-family: 'Outfit', sans-serif !important;
    color: #1F2937 !important;
    transition: all 0.3s !important;
    box-shadow: none !important;
}

body.woocommerce-checkout input:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus {
    outline: none !important;
    border-color: #7FC7D9 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(127,199,217,0.1) !important;
}

body.woocommerce-checkout textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Select2 */
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: auto !important;
    padding: 12px 16px !important;
    background: #F9FAFB !important;
    border: 2px solid #E5E7EB !important;
    border-radius: 12px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5 !important;
    padding: 0 !important;
    color: #1F2937 !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 14px !important;
}

/* ---- ORDER REVIEW TABLE ---- */

body.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    border: none !important;
    margin: 0 !important;
    width: 100% !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
    padding: 14px 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 14px !important;
    vertical-align: top !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
    font-weight: 600 !important;
    color: #6B7280 !important;
    border-bottom: 1px solid #E5E7EB !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td {
    border-bottom: 1px solid #F3F4F6 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td.product-name {
    font-weight: 600 !important;
    color: #1F2937 !important;
    padding-right: 12px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td.product-total {
    text-align: right !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th {
    color: #6B7280 !important;
    font-weight: 500 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    padding-top: 20px !important;
    border-top: 2px solid #E5E7EB !important;
    font-size: 16px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-family: 'Sora', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #3A9BB5 !important;
}

/* ---- PAYMENT ---- */

body.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 24px !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    border: none !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 10px !important;
    border: none !important;
    background: transparent !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    background: #F8FBFC !important;
    border: 2px solid #E5E7EB !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s !important;
    margin: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label:hover {
    border-color: #7FC7D9 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #3A9BB5 !important;
    margin: 0 !important;
}

body.woocommerce-checkout #payment div.payment_box {
    padding: 14px 16px !important;
    margin: 10px 0 0 !important;
    background: #F8FBFC !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    color: #6B7280 !important;
    line-height: 1.6 !important;
}

body.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* Place Order */
body.woocommerce-checkout #place_order {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, #7FC7D9, #3A9BB5) !important;
    color: white !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 24px rgba(127,199,217,0.35) !important;
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1) !important;
    position: relative !important;
    overflow: hidden !important;
}

body.woocommerce-checkout #place_order::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: -100% !important;
    width: 100% !important; height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
    transition: left 0.5s !important;
}

body.woocommerce-checkout #place_order:hover::before {
    left: 100% !important;
}

body.woocommerce-checkout #place_order:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 36px rgba(127,199,217,0.5) !important;
}

/* Terms */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px !important;
}

body.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 13px !important;
    color: #6B7280 !important;
    cursor: pointer !important;
}

body.woocommerce-checkout .woocommerce-form__label-for-checkbox input {
    width: 18px !important;
    height: 18px !important;
    accent-color: #3A9BB5 !important;
    margin-top: 2px !important;
}

/* Info/Coupon toggles */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 16px !important;
}

body.woocommerce-checkout .woocommerce-info {
    background: rgba(127,199,217,0.06) !important;
    border: none !important;
    border-left: 4px solid #7FC7D9 !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    color: #1F2937 !important;
    font-size: 14px !important;
}

body.woocommerce-checkout .woocommerce-info::before {
    color: #3A9BB5 !important;
}

body.woocommerce-checkout .woocommerce-info a {
    color: #3A9BB5 !important;
    font-weight: 600 !important;
}

/* PayPal express buttons at top of checkout */
body.woocommerce-checkout #ppc-button,
body.woocommerce-checkout .ppc-button-wrapper {
    max-width: 100% !important;
}

/* ========================================
   NOTICES — SHARED
   ======================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: white !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}

.woocommerce-message {
    border-left: 4px solid #10B981 !important;
}

.woocommerce-message::before { color: #10B981 !important; }

.woocommerce-error {
    border-left: 4px solid #DC2626 !important;
}

.woocommerce-error::before { color: #DC2626 !important; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    body.woocommerce-cart .woocommerce,
    body.woocommerce-checkout .woocommerce {
        grid-template-columns: 1fr !important;
        padding: 32px 24px 80px !important;
    }
    
    body.woocommerce-cart .cart-collaterals {
        grid-column: 1 !important;
        position: static !important;
    }
    
    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        grid-column: 1 !important;
        width: 100% !important;
        float: none !important;
    }
    
    body.woocommerce-checkout #order_review_heading {
        grid-row: auto !important;
        margin-top: 8px !important;
    }
    
    body.woocommerce-checkout #order_review {
        grid-row: auto !important;
        position: static !important;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart .nv-cart-hero,
    body.woocommerce-checkout .nv-cart-hero {
        padding: 100px 20px 40px;
    }
    
    body.woocommerce-cart table.shop_table,
    body.woocommerce-cart table.shop_table thead,
    body.woocommerce-cart table.shop_table tbody,
    body.woocommerce-cart table.shop_table tr,
    body.woocommerce-cart table.shop_table td {
        display: block !important;
        width: 100% !important;
    }
    
    body.woocommerce-cart table.shop_table thead {
        display: none !important;
    }
    
    body.woocommerce-cart table.shop_table tr {
        margin-bottom: 12px !important;
        padding: 16px !important;
        position: relative !important;
        border-bottom: 1px solid #E5E7EB !important;
    }
    
    body.woocommerce-cart table.shop_table td {
        padding: 6px 0 !important;
        border: none !important;
        text-align: left !important;
    }
    
    body.woocommerce-cart table.shop_table td.product-thumbnail {
        float: left !important;
        margin-right: 16px !important;
        width: auto !important;
    }
    
    body.woocommerce-cart table.shop_table td.product-remove {
        position: absolute !important;
        top: 16px !important;
        right: 12px !important;
        width: auto !important;
    }
    
    body.woocommerce-cart table.shop_table td.actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    body.woocommerce-cart .coupon {
        float: none !important;
        width: 100% !important;
        flex-direction: column !important;
    }
    
    body.woocommerce-cart .coupon input[type="text"] {
        min-width: 100% !important;
    }
    
    body.woocommerce-cart button[name="update_cart"] {
        float: none !important;
        width: 100% !important;
    }
    
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    body.woocommerce-checkout .form-row-first,
    body.woocommerce-checkout .form-row-last,
    body.woocommerce-checkout .form-row-wide {
        grid-column: span 1 !important;
    }
    
    body.woocommerce-checkout .woocommerce-billing-fields,
    body.woocommerce-checkout .woocommerce-shipping-fields,
    body.woocommerce-checkout .woocommerce-additional-fields {
        padding: 20px !important;
    }
    
    body.woocommerce-checkout #order_review_heading {
        padding: 20px 20px 16px !important;
    }
    
    body.woocommerce-checkout #order_review {
        padding: 0 20px 20px !important;
    }
}