/*
Theme Name: Kerashop Sober Child
Template: sober
Version: 0.1.0
Text Domain: kerashop-sober-child
*/

/* Match cart success notices to the mini-cart brand background. */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .wc-block-components-notice-banner.is-success {
 background:linear-gradient(145deg,#e7dce4,#f7f3f6)!important;
 color:#24232a!important;
}
body.woocommerce-cart .woocommerce-message .box-content,
body.woocommerce-cart .woocommerce-message a,
body.woocommerce-cart .wc-block-components-notice-banner.is-success a {color:#24232a!important;}

body.woocommerce-cart .woocommerce-message .message-icon,
body.woocommerce-cart .woocommerce-message .message-icon svg,
body.woocommerce-cart .wc-block-components-notice-banner.is-success > svg {fill:#601366!important;stroke:#601366!important;color:#601366!important;}
body.woocommerce-cart .woocommerce-message::before {color:#601366!important;}

/* Site-wide information notices: deeper pink-lilac from the Reductblond banner. */
body .woocommerce-info,
body .wc-block-components-notice-banner.is-info {background:linear-gradient(145deg,#e5d9e4,#d9cad9)!important;color:#24232a!important;}
body .woocommerce-info .box-content,
body .woocommerce-info a {color:#24232a!important;}
body .woocommerce-info .message-icon,
body .woocommerce-info .message-icon svg,
body .wc-block-components-notice-banner.is-info > svg {fill:#601366!important;stroke:#601366!important;color:#601366!important;}
body .woocommerce-info::before {color:#601366!important;}

/* Site-wide error notices use the deeper brand gradient. */
body .woocommerce-error,
body .wc-block-components-notice-banner.is-error {background:linear-gradient(145deg,#e5d9e4,#d9cad9)!important;color:#24232a!important;border-color:#601366!important;}
body .woocommerce-error .box-content,body .woocommerce-error a {color:#24232a!important;}
body .woocommerce-error .message-icon,body .woocommerce-error .message-icon svg,body .wc-block-components-notice-banner.is-error > svg {fill:#601366!important;stroke:#601366!important;color:#601366!important;}
body .woocommerce-error::before {color:#601366!important;}

/* Elegant confirmation: desktop columns, mobile cards; checkout form is untouched. */
.woocommerce-order-received .woocommerce-order:has(.ks-confirm-hero){max-width:1240px;margin:0 auto;color:#29232c;line-height:1.6}
.ks-confirm-hero{padding:32px 38px;border-radius:18px;background:linear-gradient(135deg,#e7dce4,#f7f3f6);margin:0 0 28px}
.ks-confirm-check{display:inline-grid;place-items:center;width:44px;height:44px;background:#fff;border-radius:50%;color:#601366;font-size:28px;line-height:1}
.ks-confirm-hero h2{font-size:32px!important;line-height:1.3!important;font-weight:600!important;color:#601366;margin:14px 0 10px!important}
.ks-confirm-hero p{margin:0;color:#594b59;font-size:16px}
.ks-confirm-facts{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:24px;margin:28px 0 0}
.ks-confirm-facts dt{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#746974;font-weight:400}
.ks-confirm-facts dd{margin:5px 0 0;font-size:18px;font-weight:600;color:#29232c}
.ks-confirm-facts dd .includes_tax{font-size:12px;font-weight:400;display:block;color:#746974}
.ks-confirm-ready>.woocommerce-order-overview,.ks-confirm-ready>.woocommerce-thankyou-order-received{display:none!important}
.ks-confirm-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:28px;align-items:start}
.ks-confirm-main,.ks-confirm-side{min-width:0}
.ks-confirm-card,.ks-confirm-ready .woocommerce-order-details,.ks-confirm-ready .woocommerce-customer-details{background:#fff;border:1px solid #e9dfe7;padding:26px;border-radius:16px;margin:0 0 22px!important;box-shadow:0 3px 16px #60136604}
.ks-confirm-ready h2:not(.ks-confirm-hero h2){font-size:21px!important;font-weight:600!important;color:#601366;line-height:1.4!important;margin:0 0 18px!important}
.ks-confirm-card p{font-size:15px;margin:14px 0;color:#594b59}
.ks-confirm-pill{display:inline-block;color:#601366;background:#f2e8f0;padding:6px 13px;border-radius:20px;font-size:13px;font-weight:600}
.ks-confirm-shipping{border-top:1px solid #eee5ec;padding-top:16px}
.ks-confirm-ready table.shop_table{width:100%;margin:0!important;border:0!important;table-layout:auto}
.ks-confirm-ready table.shop_table th,.ks-confirm-ready table.shop_table td{padding:17px 0!important;vertical-align:top;font-size:15px!important;border-color:#eee5ec!important;line-height:1.6!important}
.ks-confirm-ready table.shop_table th:first-child,.ks-confirm-ready table.shop_table td:first-child{padding-right:18px!important}
.ks-confirm-ready table.shop_table th:last-child,.ks-confirm-ready table.shop_table td:last-child{text-align:right;width:30%}
.ks-confirm-ready table.shop_table td.product-name{font-weight:400!important}
.ks-confirm-ready table.shop_table tfoot th{font-size:13px!important;font-weight:500!important;text-transform:none!important}
.ks-confirm-ready table.shop_table tfoot tr:last-child th,.ks-confirm-ready table.shop_table tfoot tr:last-child td{font-size:20px!important;font-weight:600!important;color:#601366;border-bottom:0!important}
.ks-confirm-ready table.shop_table small.includes_tax{font-size:12px!important;font-weight:400!important;display:block;color:#746974}
.ks-confirm-ready .woocommerce-customer-details .col2-set{display:block!important;margin:0!important}
.ks-confirm-ready .woocommerce-customer-details .col-1,.ks-confirm-ready .woocommerce-customer-details .col-2{float:none!important;width:100%!important;padding:0!important;margin:0!important;max-width:none!important}
.ks-confirm-ready .woocommerce-customer-details .col-2{border-top:1px solid #eee5ec;padding-top:22px!important;margin-top:22px!important}
.ks-confirm-ready .woocommerce-customer-details address{border:0!important;padding:0!important;font-size:14px!important;line-height:1.7!important;overflow-wrap:anywhere}
.ks-confirm-ready .woocommerce-customer-details p{font-size:14px;margin:8px 0 0}
.ks-confirm-button{display:inline-block;background:#601366!important;color:white!important;padding:12px 20px;border-radius:7px;font-size:14px;font-weight:600;text-decoration:none!important;border:0!important}
.ks-confirm-button:hover,.ks-confirm-button:focus{background:#851581!important;color:white!important}
.ks-confirm-support{text-align:center;font-size:14px;color:#746974;margin:8px 0 24px!important}
.ks-confirm-support a{color:#601366;font-weight:600}
@media(max-width:767px){.ks-confirm-hero{padding:24px 20px;margin-bottom:20px}.ks-confirm-hero h2{font-size:25px!important}.ks-confirm-hero p{font-size:14px}.ks-confirm-facts{gap:12px;grid-template-columns:1fr 1.1fr;margin-top:22px}.ks-confirm-facts>div:last-child{grid-column:1/-1;border-top:1px solid #daceD8;padding-top:12px}.ks-confirm-facts dd{font-size:16px}.ks-confirm-grid{grid-template-columns:minmax(0,1fr);gap:0}.ks-confirm-card,.ks-confirm-ready .woocommerce-order-details,.ks-confirm-ready .woocommerce-customer-details{padding:20px;margin-bottom:18px!important}.ks-confirm-ready table.shop_table th,.ks-confirm-ready table.shop_table td{font-size:13px!important;padding:14px 0!important}.ks-confirm-ready table.shop_table tfoot tr:last-child th,.ks-confirm-ready table.shop_table tfoot tr:last-child td{font-size:18px!important}.ks-confirm-ready h2:not(.ks-confirm-hero h2){font-size:19px!important}.ks-confirm-ready table.shop_table td:last-child{width:29%}.ks-confirm-support{font-size:12px}}

/* Mobile cart checkout: deeper Kerashop pink-lilac gradient. */
#cart-modal .woocommerce-mini-cart__buttons a.checkout {background:linear-gradient(145deg,#e5d9e4,#d9cad9)!important;color:#601366!important;white-space:normal;line-height:1.5;padding:20px 16px;}
#cart-modal .woocommerce-mini-cart__buttons a.checkout:hover,#cart-modal .woocommerce-mini-cart__buttons a.checkout:focus {background:linear-gradient(145deg,#dccbdb,#ccb4cc)!important;color:#601366!important;}
#cart-modal .woocommerce-mini-cart__buttons a.checkout .subtotal {border-color:#b99ab8!important;}

@media(max-width:480px){#cart-modal .woocommerce-mini-cart__buttons a.checkout{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:18px 12px;min-height:86px;text-align:center;}#cart-modal .woocommerce-mini-cart__buttons a.checkout .subtotal{display:block;border:0!important;padding:0!important;margin:0!important;}#cart-modal .woocommerce-mini-cart__buttons a.checkout>span{max-width:100%;white-space:normal;}}
