/* ==========================================================================
   Omoorjeeshaa Store Boost — front end
   Colours and fonts follow the Grove Home design (green + white).
   ========================================================================== */

:root {
	--osb-green: var(--ogh-green, #1e5b2c);
	--osb-leaf: var(--ogh-leaf, #4fa83d);
	--osb-mint: var(--ogh-mint, #eef6ec);
	--osb-ink: var(--ogh-ink, #1b2a1e);
	--osb-gold: var(--ogh-gold, #f7db86);
	--osb-muted: #5f6f62;
	--osb-line: #d5e7d0;
	--osb-red: #b3261e;
	--osb-head: var(--ogh-head, "Lexend", "Mukta", "Noto Sans Telugu", system-ui, sans-serif);
	--osb-body: "Mukta", "Noto Sans Telugu", system-ui, sans-serif;
}

.osb-link {
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	background: none !important;
	color: var(--osb-green) !important;
	font: 600 14px/1.4 var(--osb-head) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	cursor: pointer;
	box-shadow: none !important;
	min-height: 0 !important;
}

.osb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

html.osb-noscroll,
html.osb-noscroll body {
	overflow: hidden;
}

/* ---------- Live search ---------- */

.osb-ls {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 100000;
	max-height: min(70vh, 520px);
	overflow-y: auto;
	padding: 6px;
	border: 1px solid var(--osb-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px -16px rgba(27, 42, 30, .35);
	text-align: left;
}

.osb-ls.is-loading {
	opacity: .65;
}

.osb-ls__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 10px;
	color: var(--osb-ink) !important;
	text-decoration: none !important;
}

.osb-ls__item:hover,
.osb-ls__item.is-active {
	background: var(--osb-mint);
}

.osb-ls__item img {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: contain;
	background: var(--osb-mint);
	mix-blend-mode: multiply;
}

.osb-ls__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.osb-ls__name {
	overflow: hidden;
	font: 600 15px/1.35 var(--osb-body);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.osb-ls__meta {
	font: 400 13px/1.4 var(--osb-body);
	color: var(--osb-muted);
}

.osb-ls__meta b {
	color: var(--osb-green);
}

.osb-ls__meta em {
	color: var(--osb-red);
	font-style: normal;
}

.osb-ls__all {
	display: block;
	margin-top: 4px;
	padding: 10px 8px;
	border-top: 1px solid var(--osb-mint);
	color: var(--osb-green) !important;
	font: 600 14px/1.3 var(--osb-head);
	text-decoration: none !important;
}

.osb-ls__empty {
	margin: 0;
	padding: 14px 10px;
	color: var(--osb-muted);
	font: 400 14px/1.5 var(--osb-body);
}

/* ---------- Free-delivery bar ---------- */

.osb-fsbar {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--osb-line);
	border-radius: 12px;
	background: var(--osb-mint);
	font-family: var(--osb-body);
}

.osb-fsbar[hidden] {
	display: none !important;
}

.wfc_body > .osb-fsbar {
	margin: 12px 14px;
}

.osb-fsbar__text {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px !important;
	color: var(--osb-ink);
	font-size: 14.5px;
	line-height: 1.4;
}

.osb-fsbar__text b,
.osb-fsbar__text .amount {
	color: var(--osb-green);
	font-weight: 700;
}

.osb-fsbar__track {
	height: 7px;
	border-radius: 7px;
	background: #fff;
	overflow: hidden;
}

.osb-fsbar__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--osb-leaf), var(--osb-green));
	transition: width .5s ease;
}

.osb-fsbar.is-done {
	border-color: var(--osb-leaf);
}

.osb-fsbar.is-done .osb-fsbar__text {
	color: var(--osb-green);
	font-weight: 600;
}

/* ---------- Delivery check ---------- */

.osb-pin {
	margin: 18px 0 6px;
	padding: 16px;
	border: 1px solid var(--osb-line);
	border-radius: 14px;
	background: #fff;
	font-family: var(--osb-body);
	clear: both;
}

.osb-pin__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--osb-green);
	font: 600 15px/1.2 var(--osb-head);
}

.osb-pin__form {
	display: flex;
	gap: 8px;
}

.osb-pin.is-done .osb-pin__form {
	display: none;
}

.osb-pin__form input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1.5px solid var(--osb-line) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--osb-ink) !important;
	font: 500 16px/1 var(--osb-body) !important;
	letter-spacing: .08em;
}

.osb-pin__form input:focus {
	border-color: var(--osb-green) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(79, 168, 61, .2) !important;
}

.osb-pin__form button {
	flex-shrink: 0;
	height: 44px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--osb-green) !important;
	color: #fff !important;
	font: 600 15px/1 var(--osb-head) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}

.osb-pin__result p {
	margin: 10px 0 0 !important;
	font-size: 15px;
	line-height: 1.5;
}

.osb-pin.is-done .osb-pin__result p:first-child {
	margin-top: 0 !important;
}

.osb-pin__ok {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.osb-pin__where {
	color: var(--osb-muted);
	font-size: 14px;
}

.osb-pin__where .osb-link {
	margin-left: 6px;
	font-size: 13px !important;
}

.osb-pin__ok strong {
	color: var(--osb-ink);
	font: 600 17px/1.35 var(--osb-head);
}

.osb-pin__ok small {
	color: var(--osb-muted);
	font-size: 13px;
}

.osb-pin__cod {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--osb-green);
	font-weight: 600;
}

.osb-pin__bad {
	color: var(--osb-red);
}

.osb-pin__wait {
	color: var(--osb-muted);
}

/* ---------- Series / bought together ---------- */

.osb-bundle {
	clear: both;
	margin: 36px 0 8px;
	padding: 22px;
	border: 1px solid var(--osb-line);
	border-radius: 18px;
	background: #fff;
	font-family: var(--osb-body);
}

.osb-bundle__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.osb-bundle__eyebrow {
	margin: 0 0 4px !important;
	color: var(--osb-leaf);
	font: 600 12px/1.3 var(--osb-head);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.osb-bundle__title {
	margin: 0 !important;
	color: var(--osb-ink) !important;
	font: 600 clamp(20px, 2.2vw, 24px)/1.3 var(--osb-head) !important;
}

.osb-bundle__offer {
	display: inline-block;
	margin: 8px 0 0 !important;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--osb-gold);
	color: var(--osb-ink);
	font: 600 13px/1.5 var(--osb-head);
}

.osb-bundle__tools {
	display: flex;
	flex-shrink: 0;
	gap: 16px;
}

.osb-shelf {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 148px;
	align-items: start;
	gap: 14px;
	margin: 0 -22px !important;
	padding: 4px 22px 14px !important;
	list-style: none !important;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.osb-shelf__item,
.osb-fbt__item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	scroll-snap-align: start;
}

.osb-shelf__item label,
.osb-fbt__item label {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	margin: 0;
	padding: 10px;
	border: 2px solid transparent;
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s, background .2s;
}

.osb-shelf__item label:hover,
.osb-fbt__item label:hover {
	background: #fafdf9;
}

.osb-shelf__item.is-on label,
.osb-fbt__item.is-on label {
	border-color: var(--osb-green);
	background: #fafdf9;
}

.osb-shelf__item input,
.osb-fbt__item input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.osb-shelf__item input:focus-visible + .osb-shelf__cover,
.osb-fbt__item input:focus-visible + .osb-fbt__img {
	outline: 3px solid var(--osb-leaf);
	outline-offset: 2px;
}

.osb-shelf__cover,
.osb-fbt__img {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 4;
	padding: 8px;
	border-radius: 10px;
	background: var(--osb-mint);
}

.osb-shelf__cover img,
.osb-fbt__img img {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* Fixed sizes (not %): a grid row would otherwise grow to a photo's natural height. */
.osb-shelf__cover {
	height: 165px;
	aspect-ratio: auto;
}

.osb-shelf__cover img {
	max-height: 149px !important;
}

.osb-fbt__img img {
	max-height: 220px !important;
}

.osb-shelf__no {
	position: absolute;
	top: 6px;
	left: 6px;
	min-width: 26px;
	height: 26px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--osb-green);
	color: #fff;
	font: 600 12px/26px var(--osb-head);
	text-align: center;
}

.osb-shelf__check {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 24px;
	height: 24px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.is-on .osb-shelf__check {
	border-color: var(--osb-green);
	background: var(--osb-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/16px no-repeat;
}

.osb-shelf__name,
.osb-fbt__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	color: var(--osb-ink);
	font: 500 14px/1.4 var(--osb-body);
}

.osb-shelf__price {
	color: var(--osb-green);
	font: 600 14px/1.2 var(--osb-head);
}

.osb-shelf__price .amount {
	color: inherit !important;
}

.osb-shelf__here {
	align-self: flex-start;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--osb-gold);
	color: var(--osb-ink);
	font: 600 11px/1.6 var(--osb-head);
}

.osb-bundle__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 10px;
	padding-top: 16px;
	border-top: 1px solid var(--osb-mint);
}

.osb-bundle__sum {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
}

.osb-bundle__count {
	color: var(--osb-muted);
	font-size: 14px;
}

.osb-bundle__total {
	color: var(--osb-ink);
	font: 600 22px/1.2 var(--osb-head);
}

.osb-bundle__total del {
	color: var(--osb-muted);
	font-size: 15px;
	font-weight: 400;
}

.osb-bundle__save {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--osb-gold);
	font: 600 13px/1.6 var(--osb-head);
}

.osb-bundle__save[hidden],
.osb-bundle__total del[hidden] {
	display: none;
}

.osb-bundle__add {
	flex-shrink: 0;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--osb-green) !important;
	color: #fff !important;
	font: 600 16px/1 var(--osb-head) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	box-shadow: 0 10px 22px -12px rgba(30, 91, 44, .8);
	transition: filter .2s, transform .2s;
}

.osb-bundle__add:hover {
	filter: brightness(1.12);
}

.osb-bundle__add:disabled {
	opacity: .55;
	cursor: default;
}

.osb-bundle__add.is-busy {
	opacity: .75;
}

.osb-bundle__add.is-added {
	background: var(--osb-leaf) !important;
	opacity: 1;
}

/* Bought together row */
.osb-fbt__row {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.osb-fbt__item {
	flex: 1 1 0;
	min-width: 0;
	max-width: 220px;
}

.osb-fbt__plus {
	display: flex;
	align-items: center;
	margin: 0 !important;
	color: var(--osb-muted);
	font: 600 22px/1 var(--osb-head);
	list-style: none !important;
}

.osb-fbt__name b {
	color: var(--osb-green);
	font-weight: 600;
}

/* ---------- Look inside ---------- */

.osb-look-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 12px 0 !important;
	padding: 9px 16px !important;
	border: 1px solid var(--osb-line) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--osb-green) !important;
	font: 600 14px/1 var(--osb-head) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	box-shadow: 0 8px 20px -12px rgba(27, 42, 30, .45);
	transition: transform .2s, box-shadow .2s;
}

.osb-look-btn small {
	color: var(--osb-muted);
	font: 400 12px/1 var(--osb-body);
}

.osb-look-btn.is-placed {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 9;
	margin: 0 !important;
}

.osb-look-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px -12px rgba(27, 42, 30, .55);
}

.osb-look-btn:focus-visible {
	outline: 3px solid var(--osb-leaf);
	outline-offset: 2px;
}

/* Badge on shop cards for books with a preview */
li.product.osb-has-preview .woo-entry-image,
li.product.osb-has-preview > a.woocommerce-LoopProduct-link {
	position: relative;
}

li.product.osb-has-preview .woo-entry-image::after,
li.product.osb-has-preview > a.woocommerce-LoopProduct-link::after {
	content: "Look inside";
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 3;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--osb-green);
	font: 600 11px/1.5 var(--osb-head);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
	pointer-events: none;
}

/* Reader */
.osb-reader {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	flex-direction: column;
	background: rgba(17, 26, 19, .94);
	color: #fff;
	font-family: var(--osb-body);
	animation: osb-fade .2s ease;
}

@keyframes osb-fade {
	from { opacity: 0; }
}

.osb-reader__top {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
}

.osb-reader__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
	overflow: hidden;
	color: #fff;
	font: 600 16px/1.3 var(--osb-head);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.osb-reader__count {
	margin: 0 !important;
	color: rgba(255, 255, 255, .7);
	font-size: 14px;
	white-space: nowrap;
}

.osb-reader__close,
.osb-zoom button {
	width: 44px;
	height: 44px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .12) !important;
	color: #fff !important;
	font: 300 30px/44px system-ui, sans-serif !important;
	cursor: pointer;
}

.osb-reader__close:hover,
.osb-zoom button:hover {
	background: rgba(255, 255, 255, .22) !important;
}

.osb-reader__stage {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 0;
	padding: 0 16px 8px;
}

.osb-reader__book {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: min(1100px, 100%);
	max-height: 100%;
	perspective: 1600px;
}

.osb-reader__page {
	margin: 0 !important;
	background: #fff;
	box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .6);
	transform-origin: left center;
}

.osb-reader__page img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: calc(100vh - 150px);
	object-fit: contain;
}

.osb-reader__book.is-spread .osb-reader__page img {
	max-width: min(45vw, 520px);
}

.osb-reader__book.is-spread .osb-reader__page:first-child {
	box-shadow: inset -18px 0 24px -16px rgba(0, 0, 0, .35), 0 24px 50px -10px rgba(0, 0, 0, .6);
}

.osb-reader__book.is-spread .osb-reader__page:last-child {
	box-shadow: inset 18px 0 24px -16px rgba(0, 0, 0, .3), 0 24px 50px -10px rgba(0, 0, 0, .6);
}

.osb-reader__book.turn-next .osb-reader__page {
	transform: rotateY(-14deg) translateX(24px);
	opacity: 0;
}

.osb-reader__book.turn-prev .osb-reader__page {
	transform: rotateY(14deg) translateX(-24px);
	opacity: 0;
}

.osb-reader__book.is-in .osb-reader__page,
.osb-reader__book.is-in .osb-reader__end {
	transform: none;
	opacity: 1;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
}

.osb-reader__nav {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .14) !important;
	color: #fff !important;
	cursor: pointer;
}

.osb-reader__nav svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.osb-reader__nav:hover {
	background: rgba(255, 255, 255, .26) !important;
}

.osb-reader__nav:disabled {
	opacity: .25;
	cursor: default;
}

.osb-reader__dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 10px 0 18px;
}

.osb-reader__dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .3);
	transition: width .3s, background .3s;
}

.osb-reader__dot.is-on {
	width: 22px;
	background: #fff;
}

.osb-reader__end {
	width: min(400px, 88vw);
	padding: 30px 26px;
	border-radius: 20px;
	background: #fff;
	color: var(--osb-ink);
	text-align: center;
}

.osb-reader__end img {
	display: block;
	width: 120px;
	height: auto;
	margin: 0 auto 14px;
	mix-blend-mode: multiply;
}

.osb-reader__end h3 {
	margin: 0 0 6px !important;
	color: var(--osb-green) !important;
	font: 600 22px/1.3 var(--osb-head) !important;
}

.osb-reader__end p {
	margin: 0 0 8px !important;
	color: var(--osb-muted);
}

.osb-reader__end .osb-reader__price {
	color: var(--osb-ink);
	font: 600 24px/1.2 var(--osb-head);
}

.osb-reader__buy {
	width: 100%;
	min-height: 50px;
	margin-top: 10px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--osb-green) !important;
	color: #fff !important;
	font: 600 16px/1 var(--osb-head) !important;
	cursor: pointer;
}

/* Image zoom */
.osb-zoom {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(17, 26, 19, .92);
	cursor: zoom-out;
}

.osb-zoom img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 8px;
}

.osb-zoom button {
	position: absolute;
	top: 14px;
	right: 14px;
}

/* ---------- Back in stock ---------- */

.osb-wait {
	margin: 18px 0;
	padding: 18px;
	border: 1px solid var(--osb-line);
	border-radius: 14px;
	background: var(--osb-mint);
	font-family: var(--osb-body);
}

.osb-wait[hidden] {
	display: none;
}

.osb-wait__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px !important;
	color: var(--osb-ink);
	font: 600 16px/1.35 var(--osb-head);
}

.osb-wait__title svg {
	flex-shrink: 0;
	color: var(--osb-green);
}

.osb-wait__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.osb-wait__fields input {
	height: 44px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1.5px solid var(--osb-line) !important;
	border-radius: 10px !important;
	background: #fff !important;
	font: 400 15px/1 var(--osb-body) !important;
}

.osb-wait__fields input:focus {
	border-color: var(--osb-green) !important;
	outline: none;
}

.osb-wait__fields input[name="email"] {
	grid-column: 1 / -1;
}

.osb-wait__fields button {
	grid-column: 1 / -1;
	height: 46px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--osb-green) !important;
	color: #fff !important;
	font: 600 15px/1 var(--osb-head) !important;
	text-transform: none !important;
	cursor: pointer;
}

.osb-wait__note {
	margin: 10px 0 0 !important;
	color: var(--osb-muted);
	font-size: 13px;
}

.osb-wait__msg {
	margin: 8px 0 0 !important;
	font-weight: 600;
}

.osb-wait__msg:empty {
	display: none;
}

.osb-wait__msg.is-ok {
	color: var(--osb-green);
}

.osb-wait__msg.is-bad {
	color: var(--osb-red);
}

.osb-wait.is-done .osb-wait__fields,
.osb-wait.is-done .osb-wait__note {
	display: none;
}

/* ---------- Reviews ---------- */

.osb-rv-sum {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px 32px;
	align-items: center;
	margin: 0 0 26px;
	padding: 20px;
	border: 1px solid var(--osb-line);
	border-radius: 16px;
	background: #fff;
	font-family: var(--osb-body);
}

.osb-rv-sum__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 120px;
}

.osb-rv-sum__score b {
	color: var(--osb-ink);
	font: 600 44px/1 var(--osb-head);
}

.osb-rv-sum__score span {
	color: var(--osb-muted);
	font-size: 14px;
}

.osb-rv-sum__bars {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.osb-rv-sum__bars li {
	display: grid;
	grid-template-columns: 34px 1fr 28px;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px !important;
	color: var(--osb-muted);
	font-size: 13px;
}

.osb-rv-sum__track {
	height: 8px;
	border-radius: 8px;
	background: var(--osb-mint);
	overflow: hidden;
}

.osb-rv-sum__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #e2a400;
}

.osb-rv-sum__empty {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.osb-rv-sum__empty b {
	color: var(--osb-ink);
	font: 600 18px/1.3 var(--osb-head);
}

.osb-rv-sum__empty span {
	color: var(--osb-muted);
}

.osb-rv-sum__photos {
	grid-column: 1 / -1;
	padding-top: 14px;
	border-top: 1px solid var(--osb-mint);
}

.osb-rv-sum__photos p {
	margin: 0 0 8px !important;
	color: var(--osb-ink);
	font: 600 14px/1.3 var(--osb-head);
}

.osb-rv-sum__photos div,
.osb-rv-photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.osb-rv-photos {
	margin: 10px 0 4px;
}

.osb-rv-sum__photos img,
.osb-rv-photos img {
	display: block;
	width: 72px !important;
	height: 72px !important;
	border-radius: 10px;
	object-fit: cover;
	cursor: zoom-in;
	transition: transform .2s;
}

.osb-rv-sum__photos a:hover img,
.osb-rv-photos a:hover img {
	transform: scale(1.04);
}

.osb-rv-upload {
	margin: 12px 0 16px;
}

.osb-rv-upload__btn {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1.5px dashed var(--osb-leaf);
	border-radius: 12px;
	background: var(--osb-mint);
	color: var(--osb-green);
	font: 600 14px/1.2 var(--osb-head);
	cursor: pointer;
}

.osb-rv-upload__btn input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.osb-rv-upload.is-full .osb-rv-upload__btn {
	opacity: .5;
	pointer-events: none;
}

.osb-rv-upload__previews {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.osb-rv-upload__previews:empty {
	display: none;
}

.osb-rv-upload__thumb {
	position: relative;
}

.osb-rv-upload__thumb img {
	display: block;
	width: 68px;
	height: 68px;
	border-radius: 10px;
	object-fit: cover;
}

.osb-rv-upload__thumb button {
	position: absolute;
	top: -7px;
	right: -7px;
	width: 24px;
	height: 24px;
	padding: 0 !important;
	border: 2px solid #fff !important;
	border-radius: 50% !important;
	background: var(--osb-ink) !important;
	color: #fff !important;
	font: 600 15px/18px system-ui, sans-serif !important;
	cursor: pointer;
}

.osb-rv-upload__note {
	color: var(--osb-red);
}

/* ---------- Tracking card (My account / order received) ---------- */

.osb-track-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px solid var(--osb-line);
	border-radius: 14px;
	background: var(--osb-mint);
	font-family: var(--osb-body);
}

.osb-track-card > div {
	display: flex;
	flex-direction: column;
}

.osb-track-card__label {
	color: var(--osb-muted);
	font-size: 13px;
}

.osb-track-card strong {
	color: var(--osb-ink);
	font: 600 18px/1.3 var(--osb-head);
	letter-spacing: .03em;
}

.osb-track-card__status {
	color: var(--osb-green);
	font-size: 14px;
	font-weight: 600;
}

.osb-track-card__btn {
	flex-shrink: 0;
	border-radius: 999px !important;
	background: var(--osb-green) !important;
	color: #fff !important;
}

.osb-cart-note {
	margin: 0 0 16px !important;
	color: var(--osb-muted);
	font-size: 13px;
}

/* ---------- COD confirmation page ---------- */

.osb-cod {
	display: flex;
	justify-content: center;
	padding: 48px 16px 64px;
	background: var(--osb-mint);
	font-family: var(--osb-body);
}

.osb-cod__card {
	width: min(520px, 100%);
	padding: 32px 28px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 20px 40px -24px rgba(27, 42, 30, .4);
	text-align: center;
}

.osb-cod__eyebrow {
	margin: 0 0 8px !important;
	color: var(--osb-leaf);
	font: 600 13px/1.3 var(--osb-head);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.osb-cod h1 {
	margin: 0 0 10px !important;
	color: var(--osb-ink) !important;
	font: 600 clamp(22px, 4vw, 28px)/1.3 var(--osb-head) !important;
}

.osb-cod p {
	color: var(--osb-muted);
}

.osb-cod__te {
	color: var(--osb-green) !important;
	font-weight: 600;
}

.osb-cod__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #f4e0de;
	color: var(--osb-red);
	font: 600 34px/64px var(--osb-head);
}

.osb-cod__icon.is-ok {
	background: var(--osb-mint);
	color: var(--osb-green);
}

.osb-cod__items {
	margin: 20px 0 !important;
	padding: 0 !important;
	border-top: 1px solid var(--osb-mint);
	list-style: none !important;
	text-align: left;
}

.osb-cod__items li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0 !important;
	padding: 10px 0;
	border-bottom: 1px solid var(--osb-mint);
	color: var(--osb-ink);
}

.osb-cod__total {
	font: 600 17px/1.3 var(--osb-head);
}

.osb-cod__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-top: 22px;
}

.osb-cod__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--osb-green) !important;
	color: #fff !important;
	font: 600 17px/1 var(--osb-head) !important;
	text-decoration: none !important;
	cursor: pointer;
}

.osb-cod__link {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--osb-muted) !important;
	font: 500 15px/1.4 var(--osb-body) !important;
	text-decoration: underline !important;
	cursor: pointer;
}

/* ==========================================================================
   Phones
   ========================================================================== */

@media (max-width: 760px) {
	.osb-bundle {
		margin-top: 28px;
		padding: 18px 16px;
		border-radius: 16px;
	}

	.osb-bundle__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.osb-shelf__cover {
		height: 139px;
	}

	.osb-shelf__cover img {
		max-height: 123px !important;
	}

	.osb-fbt__img img {
		max-height: 60px !important;
	}

	.osb-shelf {
		grid-auto-columns: 128px;
		gap: 10px;
		margin: 0 -16px !important;
		padding: 4px 16px 12px !important;
	}

	.osb-bundle__bar {
		position: sticky;
		bottom: 0;
		z-index: 5;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin: 6px -16px -18px;
		padding: 12px 16px 16px;
		border-radius: 0 0 16px 16px;
		background: #fff;
		box-shadow: 0 -8px 16px -12px rgba(0, 0, 0, .18);
	}

	.osb-bundle__add {
		width: 100%;
	}

	.osb-fbt__row {
		flex-direction: column;
	}

	.osb-fbt__item {
		max-width: none;
	}

	.osb-fbt__item label {
		display: grid;
		grid-template-columns: 72px 1fr;
		grid-template-rows: auto auto;
		column-gap: 12px;
		align-items: center;
	}

	.osb-fbt__img {
		grid-row: 1 / 3;
	}

	.osb-fbt__plus {
		justify-content: center;
		height: 14px;
		font-size: 18px;
	}

	.osb-look-btn.is-placed {
		left: 10px;
		bottom: 10px;
		padding: 8px 13px !important;
	}

	.osb-reader__stage {
		padding: 0 6px 6px;
	}

	.osb-reader__nav {
		position: absolute;
		bottom: 12px;
		z-index: 2;
		width: 44px;
		height: 44px;
	}

	.osb-reader__nav.is-prev {
		left: 14px;
	}

	.osb-reader__nav.is-next {
		right: 14px;
	}

	.osb-reader__page img {
		max-width: 94vw;
		max-height: calc(100vh - 190px);
	}

	.osb-wait__fields {
		grid-template-columns: 1fr;
	}

	.osb-rv-sum {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 16px;
	}

	.osb-track-card {
		flex-direction: column;
		align-items: stretch;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.osb-reader,
	.osb-reader__book .osb-reader__page,
	.osb-reader__book .osb-reader__end {
		animation: none !important;
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

.osb-cod__total .amount,
.osb-cod__total bdi {
	color: var(--osb-ink) !important;
}
