/* ---------------------------------------------------------------
   Everything inside .tso-sheet is force-reset. Themes commonly style
   button/input globally, which is what made text invisible and the
   close button render as an ellipse — so colours, radius, shadows and
   text-transform are all pinned here with !important.
   --------------------------------------------------------------- */

.tso-buy-now{display:inline-block;margin-left:8px;background:#F8EB27!important;color:#1a1a1a!important;border:none!important;border-radius:8px!important;padding:12px 22px!important;font-size:15px!important;font-weight:600!important;cursor:pointer;line-height:1.2!important;text-transform:none!important;letter-spacing:normal!important}
.tso-buy-now:hover{background:#e6d91f!important;color:#1a1a1a!important}
.tso-buy-now[disabled]{opacity:.6;cursor:default}

.tso-sheet-wrap{position:fixed;inset:0;z-index:2147483000;display:none}
.tso-sheet-wrap.is-open{display:block}
.tso-scrim{position:absolute;inset:0;background:rgba(0,0,0,.6)}

.tso-sheet{position:absolute;left:0;right:0;bottom:0;max-height:94vh;background:#0e0e0e!important;border-radius:18px 18px 0 0;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;transform:translateY(100%);transition:transform .28s ease;box-shadow:0 -8px 40px rgba(0,0,0,.5)}
.tso-sheet-wrap.is-open .tso-sheet{transform:translateY(0)}
@media(min-width:768px){.tso-sheet{left:auto;top:0;bottom:0;width:440px;max-height:none;border-radius:0;transform:translateX(100%)}.tso-sheet-wrap.is-open .tso-sheet{transform:translateX(0)}}

/* Global resets inside the sheet */
.tso-sheet *{box-sizing:border-box!important}
.tso-sheet button{font-family:inherit!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;text-shadow:none!important;min-height:0!important;min-width:0!important;width:auto;margin:0}
.tso-sheet input,.tso-sheet select{font-family:inherit!important;box-shadow:none!important;text-shadow:none!important;margin:0!important;max-width:none!important;min-height:0!important;filter:none!important}

.tso-head{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 18px 14px;border-bottom:1px solid #262626}
.tso-title{color:#f5f5f5!important;font-size:19px;font-weight:600;letter-spacing:.3px}
.tso-sub{color:#8a8a8a!important;font-size:13px;margin-top:3px}

.tso-sheet .tso-close{width:32px!important;height:32px!important;padding:0!important;border-radius:50%!important;background:#1e1e1e!important;color:#cfcfcf!important;border:1px solid #333!important;font-size:19px!important;line-height:1!important;cursor:pointer;display:flex!important;align-items:center;justify-content:center;flex:0 0 32px!important}
.tso-sheet .tso-close:hover{background:#2a2a2a!important;color:#fff!important}

.tso-bars{display:flex;gap:6px;padding:12px 18px 0}
.tso-bar{flex:1;height:3px;border-radius:2px;background:#2a2a2a}
.tso-bar.is-on{background:#F8EB27}

.tso-body{flex:1;overflow-y:auto;padding:16px 18px 18px;-webkit-overflow-scrolling:touch}
.tso-row-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.tso-row-label span{color:#7d7d7d!important;font-size:12px;letter-spacing:.8px;text-transform:uppercase}

.tso-field{margin-bottom:9px}
.tso-sheet input[type=text],
.tso-sheet input[type=tel],
.tso-sheet input[type=email],
.tso-sheet select{
	display:block!important;width:100%!important;height:46px!important;line-height:46px!important;
	background:#171717!important;background-image:none!important;
	border:1px solid #2c2c2c!important;border-radius:10px!important;
	padding:0 14px!important;color:#f5f5f5!important;font-size:15px!important;font-weight:400!important;
	outline:none!important;-webkit-appearance:none!important;appearance:none!important;
	-webkit-text-fill-color:#f5f5f5!important;caret-color:#F8EB27!important;opacity:1!important
}
.tso-sheet select{line-height:normal!important}
.tso-sheet input::placeholder{color:#6d6d6d!important;-webkit-text-fill-color:#6d6d6d!important;opacity:1!important}
.tso-sheet input:focus,.tso-sheet select:focus{border-color:#F8EB27!important;background:#1c1c1c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;outline:none!important}
/* Chrome autofill repaint */
.tso-sheet input:-webkit-autofill,
.tso-sheet input:-webkit-autofill:focus{-webkit-text-fill-color:#f5f5f5!important;-webkit-box-shadow:0 0 0 1000px #171717 inset!important;caret-color:#F8EB27!important}
.tso-sheet input.has-err,.tso-sheet select.has-err{border-color:#c0392b!important}
.tso-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.tso-err{color:#e07a6f!important;font-size:12.5px;margin:5px 0 0!important;display:none}
.tso-err.is-on{display:block}

.tso-found{display:flex;align-items:center;gap:7px;background:#14210f;border:1px solid #2c4420;border-radius:8px;padding:8px 11px;margin-bottom:11px}
.tso-found span{color:#9dd06f!important;font-size:12.5px}
.tso-tick{color:#7fc44a!important;font-weight:700}

.tso-pay{display:flex;align-items:center;gap:11px;border:1px solid #2c2c2c;background:#151515;border-radius:12px;padding:13px;margin-bottom:9px;cursor:pointer}
.tso-pay.is-active{border:2px solid #F8EB27;background:#211d05;padding:12px}
.tso-pay-ico{width:38px;height:38px;border-radius:50%;background:#0e0e0e;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.tso-pay-text{flex:1;min-width:0;display:block}
.tso-pay-name{display:block;color:#f5f5f5!important;font-size:15.5px;font-weight:600}
.tso-pay-desc{display:block;color:#9a9a9a!important;font-size:12.5px;margin-top:2px}
.tso-radio{width:19px;height:19px;border-radius:50%;border:2px solid #3d3d3d;flex-shrink:0;position:relative}
.tso-radio.is-on{border-color:#F8EB27}
.tso-radio.is-on:after{content:"";position:absolute;inset:3px;border-radius:50%;background:#F8EB27}

.tso-card{background:#151515;border:1px solid #2c2c2c;border-radius:12px;padding:13px;margin:14px 0 0}
.tso-card-head{color:#b5b5b5!important;font-size:12.5px;letter-spacing:.5px;text-transform:uppercase;margin-bottom:10px}
.tso-coupon-row{display:flex;gap:8px;align-items:stretch}
.tso-coupon-row input{flex:1 1 auto!important;min-width:0!important;background:#0e0e0e!important;height:44px!important;line-height:44px!important}
.tso-sheet .tso-coupon-row button{flex:0 0 auto!important;background:#F8EB27!important;color:#1a1a1a!important;border:none!important;border-radius:9px!important;height:44px!important;padding:0 20px!important;font-size:14px!important;font-weight:600!important;cursor:pointer;white-space:nowrap!important;-webkit-text-fill-color:#1a1a1a!important;opacity:1!important}
.tso-sheet .tso-coupon-row button:hover{background:#e6d91f!important;color:#1a1a1a!important}
#tso-coupon-err{margin-top:8px}
.tso-chip{display:inline-flex;align-items:center;gap:8px;background:#211d05;border:1px solid #4a4110;border-radius:8px;padding:7px 11px;margin-top:9px;color:#F8EB27!important;font-size:13px}
.tso-sheet .tso-chip button{background:none!important;border:none!important;color:#9a9a9a!important;font-size:16px!important;cursor:pointer;line-height:1!important;padding:0!important;height:auto!important}

.tso-note{background:#1a1512;border:1px solid #3a2c1c;border-radius:12px;padding:12px 13px;margin-top:14px;color:#c9a06a!important;font-size:13px}

.tso-item{display:flex;gap:11px;padding-bottom:11px;margin-bottom:11px;border-bottom:1px solid #262626;align-items:flex-start}
.tso-item:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}
.tso-item img{width:44px!important;height:44px!important;border-radius:8px;object-fit:cover;flex:0 0 44px!important;background:#242424}
.tso-item-img{width:44px;height:44px;border-radius:8px;background:#242424;flex:0 0 44px}
.tso-item-info{flex:1;min-width:0}
.tso-item-name{color:#eaeaea!important;font-size:13.5px;line-height:1.35}
.tso-item-meta{color:#7d7d7d!important;font-size:12px;margin-top:3px}
.tso-item-price{color:#f0f0f0!important;font-size:14px;flex-shrink:0}
.tso-lines{border-top:1px solid #262626;padding-top:10px;margin-top:11px}
.tso-line{display:flex;justify-content:space-between;font-size:13.5px;padding:3px 0}
.tso-line span:first-child{color:#8a8a8a!important}
.tso-line span:last-child{color:#eaeaea!important}
.tso-line.is-accent span:last-child{color:#F8EB27!important;font-weight:600}
.tso-line.is-green span:last-child{color:#7fc44a!important}

.tso-error-global{background:#2a1414;border:1px solid #5a2020;border-radius:10px;padding:11px 13px;color:#e58b7f!important;font-size:13px;margin-top:14px}

.tso-foot{border-top:1px solid #262626;padding:13px 18px;display:flex;align-items:center;gap:13px;background:#111}
.tso-foot-total{flex:0 0 auto}
.tso-foot-label{display:block;color:#7d7d7d!important;font-size:11.5px}
.tso-foot-value{display:block;color:#fff!important;font-size:20px;font-weight:600;white-space:nowrap}

.tso-sheet .tso-cta{
	flex:1 1 auto!important;display:block!important;
	background:#F8EB27!important;background-image:none!important;
	color:#1a1a1a!important;-webkit-text-fill-color:#1a1a1a!important;
	border:none!important;border-radius:11px!important;
	height:48px!important;line-height:48px!important;padding:0 16px!important;
	font-size:15px!important;font-weight:700!important;cursor:pointer;
	letter-spacing:.3px!important;text-transform:none!important;opacity:1!important
}
.tso-sheet .tso-cta:hover{background:#e6d91f!important;color:#1a1a1a!important}
.tso-sheet .tso-cta[disabled]{background:#9c9310!important;color:#3a3a3a!important;-webkit-text-fill-color:#3a3a3a!important;cursor:default}

.tso-loading{position:absolute;inset:0;background:rgba(14,14,14,.72);display:flex;align-items:center;justify-content:center;border-radius:18px 18px 0 0}
.tso-spin{width:30px;height:30px;border:3px solid #333;border-top-color:#F8EB27;border-radius:50%;animation:tso-rot .8s linear infinite}
@keyframes tso-rot{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.tso-sheet{transition:none}.tso-spin{animation-duration:2s}}
body.tso-locked{overflow:hidden}

/* Offers, nudges and upsells */
.tso-offer{background:linear-gradient(90deg,#2a2708,#1a1908);border:1px solid #4a4410;border-radius:10px;padding:10px 12px;margin-bottom:12px;color:#F8EB27!important;font-size:13px;font-weight:600;display:flex;align-items:center;gap:8px}
.tso-offer:before{content:"\1F3F7";font-size:14px}
.tso-offer.is-nudge{background:#161616;border-color:#333;color:#c9c9c9!important;font-weight:500}

.tso-badge{display:inline-block;background:#F8EB27!important;color:#1a1a1a!important;font-size:10.5px!important;font-weight:700!important;padding:2px 7px!important;border-radius:20px;margin-left:6px;vertical-align:middle;letter-spacing:.2px}

.tso-lose{background:#1a1512;border:1px solid #3a2c1c;border-radius:10px;padding:10px 12px;margin-top:12px;color:#d8b26a!important;font-size:12.5px;line-height:1.4}

.tso-upsells{display:flex;gap:9px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.tso-upsell{flex:0 0 118px;background:#0e0e0e;border:1px solid #2a2a2a;border-radius:10px;padding:8px;display:flex;flex-direction:column}
.tso-upsell img{width:100%!important;height:88px!important;object-fit:cover;border-radius:7px;background:#242424;margin-bottom:7px;display:block}
.tso-upsell-name{color:#dcdcdc!important;font-size:11.5px;line-height:1.3;height:30px;overflow:hidden;margin-bottom:5px}
.tso-upsell-price{color:#F8EB27!important;font-size:12.5px;font-weight:600;margin-bottom:7px}
.tso-sheet .tso-upsell button{width:100%!important;background:transparent!important;border:1px solid #F8EB27!important;color:#F8EB27!important;-webkit-text-fill-color:#F8EB27!important;border-radius:7px!important;height:30px!important;font-size:11.5px!important;font-weight:600!important;cursor:pointer;padding:0!important;margin-top:auto!important}
.tso-sheet .tso-upsell button:hover{background:#F8EB27!important;color:#1a1a1a!important;-webkit-text-fill-color:#1a1a1a!important}
.tso-sheet .tso-upsell button[disabled]{opacity:.5;cursor:default}

/* Offer cards */
.tso-sheet .tso-offers-toggle{display:block!important;width:100%!important;background:transparent!important;border:none!important;border-top:1px solid #262626!important;margin-top:11px!important;padding:10px 0 0!important;height:auto!important;color:#F8EB27!important;-webkit-text-fill-color:#F8EB27!important;font-size:12.5px!important;font-weight:600!important;cursor:pointer;text-align:left!important}
.tso-sheet .tso-offers-toggle:after{content:" \25BE"}
.tso-sheet .tso-offers-toggle.is-open:after{content:" \25B4"}

.tso-offer-cards{display:flex;gap:8px;overflow-x:auto;margin-top:11px;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.tso-ocard{flex:0 0 132px;background:linear-gradient(180deg,#211d05,#151306);border:1px solid #3d3608;border-radius:11px;padding:11px 10px;text-align:center;position:relative}
.tso-ocard.is-hit{border-color:#F8EB27;background:linear-gradient(180deg,#2f2a06,#1a1707)}
.tso-ocard-tag{display:inline-block;background:#3d3608;color:#F8EB27!important;font-size:8.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:3px 8px;border-radius:20px;margin-bottom:8px}
.tso-ocard.is-hit .tso-ocard-tag{background:#F8EB27;color:#1a1a1a!important}
.tso-ocard-title{color:#e4e4e4!important;font-size:12px;line-height:1.35;margin-bottom:8px;min-height:32px}
.tso-ocard-pct{color:#F8EB27!important;font-size:13.5px;font-weight:700;border-top:1px solid #3d3608;padding-top:8px}
.tso-ocard-state{color:#8a8a8a!important;font-size:10px;margin-top:5px}
.tso-ocard.is-hit .tso-ocard-state{color:#9dd06f!important}

.tso-swap{background:#161616;border:1px solid #333;border-radius:9px;padding:9px 11px;margin-top:10px;color:#c9c9c9!important;font-size:12px;line-height:1.4}

.tso-upsell-empty{color:#7d7d7d!important;font-size:12.5px;padding:6px 2px}
.tso-sheet .tso-upsell-var{width:100%!important;height:30px!important;line-height:30px!important;background:#0e0e0e!important;border:1px solid #2c2c2c!important;border-radius:7px!important;color:#dcdcdc!important;-webkit-text-fill-color:#dcdcdc!important;font-size:11px!important;padding:0 7px!important;margin-bottom:6px!important}

/* Back button */
.tso-sheet .tso-back{flex:0 0 42px!important;width:42px!important;height:48px!important;background:#1c1c1c!important;border:1px solid #303030!important;border-radius:11px!important;color:#d5d5d5!important;-webkit-text-fill-color:#d5d5d5!important;font-size:18px!important;line-height:1!important;cursor:pointer;padding:0!important;display:flex!important;align-items:center;justify-content:center}
.tso-sheet .tso-back:hover{background:#262626!important;color:#fff!important}

/* Item meta and remove */
.tso-item-custom{color:#F8EB27!important;font-size:11.5px;margin-top:3px;line-height:1.35}
.tso-item-custom strong{color:#f0f0f0!important;font-weight:600}
.tso-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}
.tso-sheet .tso-item-remove{width:22px!important;height:22px!important;padding:0!important;background:#1c1c1c!important;border:1px solid #333!important;border-radius:50%!important;color:#8a8a8a!important;-webkit-text-fill-color:#8a8a8a!important;font-size:14px!important;line-height:1!important;cursor:pointer;display:flex!important;align-items:center;justify-content:center}
.tso-sheet .tso-item-remove:hover{background:#2a1414!important;border-color:#5a2020!important;color:#e58b7f!important;-webkit-text-fill-color:#e58b7f!important}
.tso-sheet .tso-item-remove[disabled]{opacity:.4;cursor:default}
