/* PK Sparkle v121 — original premium ecommerce styling inspired by usability patterns, not a Nykaa clone */
:root{--pk121-accent:#a31f4e;--pk121-ink:#2a1921;--pk121-line:#ecdce1;--pk121-soft:#fff6f9;--pk121-white:#fff}
.pks-product-page{--pks-brand:#9c1d4d}
.pks-product-page .product-detail{align-items:start;gap:clamp(20px,3vw,48px)}
.pks-product-page .product-gallery,.pks-product-page .product-info{min-width:0}
.pks-product-page .product-info h1{font-size:clamp(23px,2.2vw,36px);letter-spacing:-.02em;line-height:1.25}
.pks-product-page .pks-price-panel{border:1px solid var(--pk121-line);background:#fffafb;border-radius:16px;padding:18px}
.pks-product-page .pks-price-main strong{font-size:clamp(24px,2.3vw,32px)}
.pk-first-offer,.pk-cart-account,.pk-checkout-login-choice,.pk-auth-reward{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--pk121-soft);border:1px solid #efd5de;border-radius:15px;padding:15px 18px;margin:16px 0;color:var(--pk121-ink)}
.pk-first-offer>div,.pk-cart-account>div,.pk-checkout-login-choice>div{display:grid;gap:5px}
.pk-first-offer strong,.pk-cart-account strong,.pk-checkout-login-choice strong,.pk-auth-reward strong{font-size:15px;color:#75203c}
.pk-first-offer small,.pk-cart-account small,.pk-checkout-login-choice small,.pk-auth-reward span{font-size:12px;color:#6d525b}
.pk-first-offer a{font-size:13px;font-weight:800;text-decoration:none;padding:10px 13px;border-radius:10px;border:1px solid #bf7790;color:#902848;background:#fff}
.pk-offer-ready{color:#216e42;font-weight:700;font-size:12px}
.pks-product-page .buy-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.pks-product-page .buy-form>label{flex:0 1 92px}
.pks-product-page .buy-form .pks-buy-primary{flex:1 1 150px;min-height:47px}
.pks-product-page .buy-form .pk-buy-now{flex:1 1 150px;min-height:47px;background:#8f1947;color:#fff;border:1px solid #8f1947;font-weight:800;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;cursor:pointer}
.pks-product-page .buy-form .pk-buy-now:hover{background:#711136}
.pks-product-page .buy-form .pk-buy-now:disabled{opacity:.5;cursor:not-allowed}
.pk-product-assurance{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 10px}
.pk-product-assurance span{border-radius:999px;font-size:12px;font-weight:650;background:#f7f9f7;border:1px solid #e2eae4;padding:7px 10px;color:#3d5643}
.pk-product-assurance a{color:inherit}
.pks-product-page .pk-delivery-checker{background:#fff;border:1px solid var(--pk121-line);border-radius:16px}
.pk-detail-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 23px;border-bottom:1px solid var(--pk121-line)}
.pk-detail-tabs a{display:inline-flex;padding:11px 8px;color:#49313b;text-decoration:none;font-weight:750;font-size:14px;border-bottom:3px solid transparent}
.pk-detail-tabs a:hover,.pk-detail-tabs a:focus{border-bottom-color:var(--pk121-accent);color:var(--pk121-accent)}
#pkBenefits,#pkHowToUse,#pkIngredients{scroll-margin-top:100px}
.pk-wholesale-footer-note{max-width:1180px;margin:24px auto;padding:13px 18px;border:1px dashed var(--pk121-line);border-radius:12px;font-size:13px;color:#77656b;text-align:center}
.pk-wholesale-footer-note a{color:var(--pk121-accent);font-weight:750}
.pk-checkout-steps{display:flex;align-items:center;justify-content:center;gap:clamp(10px,5vw,70px);max-width:1100px;margin:8px auto 21px;border-bottom:1px solid var(--pk121-line);padding:14px 5px;color:#716770;font-size:14px;font-weight:800}
.pk-checkout-steps .current{color:var(--pk121-accent)}
.pk-checkout-steps .current:first-child{border-bottom:2px solid var(--pk121-accent)}
.pk-guest-checkout-note{font-size:12px;color:#735660}
.pk-checkout-login-choice{max-width:1200px;margin:0 auto 20px}
.pk-auth-reward{flex-direction:column;align-items:flex-start;justify-content:start}
.pk-cart-account{margin:14px 0}
.pk-related-admin{padding:16px 18px;border:1px solid #e4c8d1;background:#fff7fa;border-radius:14px;margin:14px 0}
.pk-related-admin p{font-size:13px;color:#765760}
@media (max-width:720px){.pks-product-page .buy-form .pks-buy-primary,.pks-product-page .buy-form .pk-buy-now{flex:1 1 calc(50% - 6px)}.pk-checkout-steps{font-size:12px}.pk-checkout-login-choice .btn{flex:1 1 100%}}
@media(prefers-color-scheme:dark){body:not([data-theme="light"]) .pk-first-offer,body:not([data-theme="light"]) .pk-cart-account,body:not([data-theme="light"]) .pk-checkout-login-choice,body:not([data-theme="light"]) .pk-auth-reward{background:#30252c;border-color:#5c3f4a;color:#f9edf1}body:not([data-theme="light"]) .pk-first-offer strong,body:not([data-theme="light"]) .pk-cart-account strong,body:not([data-theme="light"]) .pk-checkout-login-choice strong{color:#ffbad1}body:not([data-theme="light"]) .pk-first-offer small,body:not([data-theme="light"]) .pk-cart-account small,body:not([data-theme="light"]) .pk-checkout-login-choice small{color:#d7bcc5}}

/* Sliding cart drawer: opens from header without hijacking existing cart page. */
.pk-bag-backdrop:not([hidden]){position:fixed;inset:0;background:rgba(25,12,19,.56);z-index:1100}
.pk-mini-bag{position:fixed;top:0;right:0;bottom:0;width:min(420px,100vw);background:#fff;color:#34202a;z-index:1101;box-shadow:-20px 0 70px rgba(0,0,0,.18);transform:translateX(105%);transition:transform .22s ease;display:flex;flex-direction:column}
.pk-mini-bag-open .pk-mini-bag{transform:translateX(0)}
.pk-mini-bag-open{overflow:hidden}
.pk-mini-bag-head{padding:20px 22px;border-bottom:1px solid #efd8df;display:flex;align-items:center;justify-content:space-between}
.pk-mini-bag-head strong{font-size:19px}.pk-mini-bag-head small{font-size:13px;color:#706068;font-weight:400}
.pk-mini-bag-head button{border:0;background:none;font-size:30px;cursor:pointer;color:#764b60}
.pk-mini-bag-scroll{overflow:auto;flex:1;padding:18px 20px}
.pk-mini-bag-item{display:flex;gap:13px;border:1px solid #eee0e5;padding:12px;border-radius:12px;margin-bottom:10px}
.pk-mini-bag-item img{width:75px;height:85px;object-fit:contain;background:#fff9fb}
.pk-mini-bag-item div{display:grid;gap:6px;font-size:13px;align-content:center;min-width:0}
.pk-mini-bag-item strong{font-weight:800;overflow-wrap:anywhere}.pk-mini-bag-item span{color:#725864}
.pk-mini-bag-reward{padding:15px;background:#fff2f6;border-radius:12px;color:#6b1b40;font-size:13px}
.pk-mini-bag-reward p{margin:6px 0}.pk-mini-bag-reward a{color:#8a1b49;font-weight:800}
.pk-mini-bag-bottom{border-top:1px solid #efd8df;padding:19px 22px;display:grid;gap:12px}
.pk-mini-bag-bottom div{display:flex;justify-content:space-between;gap:15px}.pk-mini-bag-bottom small{color:#6a5961}
.pk-mini-bag-bottom a{display:flex;align-items:center;justify-content:center;text-decoration:none}
.pk-mini-bag-empty{font-size:15px}
.pk-mobile-buy-bar{display:none}
.pk-payment-retry{padding:12px;border:1px solid #f2c892;border-radius:11px;background:#fff2df;color:#663a1b;margin-top:12px}
@media(max-width:700px){.pk-mobile-buy-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;position:fixed;bottom:0;left:0;right:0;background:#fff;z-index:990;box-shadow:0 -5px 20px rgba(0,0,0,.12);padding:10px 15px max(12px,env(safe-area-inset-bottom));color:#321722}.pk-mobile-buy-bar span{display:flex;flex-direction:column}.pk-mobile-buy-bar span small{font-size:11px;color:#7c6870}.pk-mobile-buy-bar span strong{font-size:19px}.pk-mobile-buy-bar .btn{min-width:145px}}

/* v122: Inline removal for the slide-out bag, including narrow mobile widths. */
.pk-mini-bag-item .pk-mini-bag-item-detail{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.pk-mini-bag-item .pk-mini-bag-remove-form{margin:3px 0 0;width:auto}
.pk-mini-bag-item .pk-mini-bag-remove{display:inline-flex;align-items:center;gap:5px;border:1px solid #eecbd8;border-radius:8px;background:#fff5f8;color:#982b53;padding:6px 10px;min-height:32px;font-family:inherit;font-size:12px;font-weight:700;line-height:1.3;cursor:pointer}
.pk-mini-bag-item .pk-mini-bag-remove:hover,.pk-mini-bag-item .pk-mini-bag-remove:focus-visible{background:#fbe5ed;border-color:#c87491}
.pk-mini-bag-item .pk-mini-bag-remove:disabled{opacity:.55;cursor:wait}
.pk-mini-bag-item .pk-mini-bag-remove span{font-size:17px;line-height:1;color:inherit}
.pk-cart-remove{display:inline-flex!important;align-items:center;gap:6px;justify-content:center;min-height:38px!important;padding:7px 10px!important;width:auto;white-space:nowrap;border:1px solid #e6becb!important;border-radius:10px!important;background:#fff4f7!important;color:#902b4e!important;font-size:13px!important;font-weight:800!important}
.pk-cart-remove span{font-size:19px;line-height:1;color:inherit!important}
@media (max-width:680px){.cart-row .pk-cart-remove{width:max-content!important;max-width:100%;min-width:105px;grid-column:2!important;justify-self:start}}
