/* hello-study247-more-core */
:root {
	--s247-p-blue: #075cf4;
	--s247-p-orange: #ff6500;
	--s247-p-line: #dfe3ea;
}
:root {
	--s247-bi-house-fill: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%20%3Cpath%20d='M8.707%201.5a1%201%200%200%200-1.414%200L.646%208.146a.5.5%200%200%200%20.708.708L8%202.207l6.646%206.647a.5.5%200%200%200%20.708-.708L13%205.793V2.5a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v1.293z'/%3E%20%3Cpath%20d='m8%203.293%206%206V13.5a1.5%201.5%200%200%201-1.5%201.5h-9A1.5%201.5%200%200%201%202%2013.5V9.293z'/%3E%20%3C/svg%3E");
	--s247-bi-microsoft: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%20%3Cpath%20d='M7.462%200H0v7.19h7.462zM16%200H8.538v7.19H16zM7.462%208.211H0V16h7.462zm8.538%200H8.538V16H16z'/%3E%20%3C/svg%3E");
	--s247-bi-chevron-right: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%20%3Cpath%20fill-rule='evenodd'%20d='M4.646%201.646a.5.5%200%200%201%20.708%200l6%206a.5.5%200%200%201%200%20.708l-6%206a.5.5%200%200%201-.708-.708L10.293%208%204.646%202.354a.5.5%200%200%201%200-.708'/%3E%20%3C/svg%3E");
	--s247-bi-chevron-left: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%20%3Cpath%20fill-rule='evenodd'%20d='M11.354%201.646a.5.5%200%200%201%200%20.708L5.707%208l5.647%205.646a.5.5%200%200%201-.708.708l-6-6a.5.5%200%200%201%200-.708l6-6a.5.5%200%200%201%20.708%200'/%3E%20%3C/svg%3E");
	--s247-bi-check-circle: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%20%3Cpath%20d='M8%2015A7%207%200%201%201%208%201a7%207%200%200%201%200%2014m0%201A8%208%200%201%200%208%200a8%208%200%200%200%200%2016'/%3E%20%3Cpath%20d='m10.97%204.97-.02.022-3.473%204.425-2.093-2.094a.75.75%200%200%200-1.06%201.06L6.97%2011.03a.75.75%200%200%200%201.079-.02l3.992-4.99a.75.75%200%200%200-1.071-1.05'/%3E%20%3C/svg%3E");
}
.s247-rmcrumb .rank-math-breadcrumb { margin: 0; }
.s247-rmcrumb .rank-math-breadcrumb p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; line-height: 1.5; color: #161a24; }
.s247-rmcrumb--12 { font-size: 14px; }
.s247-rmcrumb--13 { font-size: 14px; }
.s247-rmcrumb--14 { font-size: 14px; }
.s247-rmcrumb--w400 { font-weight: 400; }
.s247-rmcrumb--w600 { font-weight: 600; }
.s247-rmcrumb a { color: inherit; text-decoration: none; }
.s247-rmcrumb a:hover { color: var(--s247-p-blue); }
.s247-rmcrumb .rank-math-breadcrumb p > a:first-child::before {
	content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .45em; vertical-align: -.14em; background: currentColor;
	-webkit-mask: var(--s247-bi-house-fill) center / contain no-repeat; mask: var(--s247-bi-house-fill) center / contain no-repeat;
}
.s247-rmcrumb .separator { font-size: 0; line-height: 1; }
.s247-rmcrumb .separator::before { content: "\203A"; font-size: 14px; font-weight: 800; line-height: 1; }
.s247-rmcrumb .last { color: #222; }
.s247-hero-img .elementor-widget-image, .s247-hero-img img { width: 100%; }
.s247-hero-img img { display: block; }
.s247-hero-img img { margin-left: auto; }
.s247-rule { flex: none; }
.s247-info-text p { margin: 0; }
.s247-stepgrid > .s247-stepcard:not(:last-child)::after { content: "\203A"; position: absolute; right: -27px; top: 45%; font: 200 44px/1 Arial, sans-serif; color: #075ff2; z-index: 2; }
@media (max-width: 1199px){
.s247-stepgrid > .s247-stepcard::after { display: none !important; }
}
.s247-hstep--div::after { content: ""; position: absolute; right: 0; top: 12px; width: 1px; height: 75px; background: #ccd1d9; }
@media (max-width: 767px){
.s247-hstep--div::after { display: none; }
}
.s247-support-note p { margin: 0; }
@media (max-width: 767px){
.s247-benefit-grid > .s247-benefit-cell:nth-child(even) { border-right: 0; }
}
.s247-demo-tabs .e-n-tabs-heading .e-n-tab-title:not([aria-selected="true"]):hover { background: #fff; color: var(--s247-p-blue); }
.s247-demo-video, .s247-demo-video img { border-radius: 10px; display: block; }
.s247-psteps > .s247-pstep:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 11px; height: 11px; margin-top: -6px; border-top: 2px solid var(--s247-p-blue); border-right: 2px solid var(--s247-p-blue); transform: rotate(45deg); }
@media (max-width: 991px){
.s247-psteps > .s247-pstep::after { display: none !important; }
}
.s247-plan p { margin: 0; }
.s247-exam-steps li::before { content: counter(steps); position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: #e4e4e4; color: #202020; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.s247-exam-steps li a:hover { text-decoration: underline; }
.s247-exam-steps p { margin: 0 0 9px; font-size: 14px; line-height: 1.35; }
.s247-examcard:hover { transform: none; box-shadow: 0 3px 9px rgba(13, 32, 60, .07) !important; }
.s247-blog-filter .e-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin: 0 0 42px; }
.s247-blog-filter .e-filter-item { order: 0; background: transparent; border: 1px solid #212529; border-radius: 9px; padding: 10px 18px; font: 800 14px/1.2 Arial, Helvetica, sans-serif; color: #212529; white-space: nowrap; cursor: pointer; transition: all .3s; }
.s247-blog-filter .e-filter-item[data-filter="__all"] { order: -1; }
.elementor-widget-taxonomy-filter.s247-blog-filter .e-filter-item:hover:not([aria-pressed="true"]) { border-color: #212529; background: #212529; color: #fff; }
.elementor-widget-taxonomy-filter.s247-blog-filter .e-filter-item[aria-pressed="true"], .elementor-widget-taxonomy-filter.s247-blog-filter .e-filter-item[aria-pressed="true"]:hover { background: var(--s247-p-blue); border-color: var(--s247-p-blue); color: #fff; }
.s247-count { font-weight: 400; margin-left: .25em; }
@media (max-width: 991px){
.s247-blog-filter .e-filter { justify-content: flex-start; }
}
@media (max-width: 767px){
.s247-blog-filter .e-filter { gap: 8px; margin: 0 0 25px; }
.s247-blog-filter .e-filter-item { padding: 9px 13px; font-size: 14px; }
}
.s247-bcard { height: 100%; }
.s247-bcard:hover { transform: none; box-shadow: 0 3px 9px rgba(17, 17, 17, .07) !important; }
.s247-bcard-media .elementor-widget-image a { display: block; }
.s247-bcard-media img { width: 100%; height: 208px; object-fit: cover; filter: grayscale(1); display: block; transition: filter .4s ease, transform .6s ease; }
@media (max-width: 767px){
.s247-bcard-media img { height: 220px; }
}
.s247-bcard-title .elementor-heading-title, .s247-bcard-title .elementor-heading-title a { transition: color .2s ease; }
@media (hover: hover){
.s247-bcard:hover .s247-bcard-media img { filter: grayscale(0); transform: scale(1.06); }
.s247-bcard:hover .s247-bcard-title.elementor-widget .elementor-heading-title, .s247-bcard:hover .s247-bcard-title.elementor-widget .elementor-heading-title a { color: var(--e-global-color-primary, #075bef); }
}
@media (prefers-reduced-motion: reduce){
.s247-bcard-media img { transition: filter .4s ease; }
.s247-bcard:hover .s247-bcard-media img { transform: none; }
}
.s247-date-badge { background: var(--s247-p-orange); border-radius: 12px 0 0 0; padding: 10px 14px; z-index: 2; }
.s247-date-badge .elementor-heading-title { white-space: nowrap; }
.s247-bcard-cat-label { font: 700 14px/1.3 Arial, Helvetica, sans-serif; color: #08090b; }
.s247-bcard-cat-label::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--s247-p-orange); border-radius: 50%; margin-right: 7px; }
.s247-bcard-title .elementor-heading-title a { color: inherit; }
.s247-bcard-excerpt p { margin: 0; }
.s247-bcard-title .elementor-heading-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.s247-bcard-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
@media (min-width: 768px){
.s247-bcard-title .elementor-heading-title { min-height: 2.16em; min-height: 2lh; }
.s247-bcard-excerpt { min-height: 6.8em; min-height: 5lh; }
}
.s247-bcard-btn .elementor-button { border-width: 1px; }
.s247-bcard-btn .elementor-button-content-wrapper { gap: 10px; }
.s247-blog-grid .e-loop-item { height: 100%; }
.s247-blog-grid .elementor-pagination, .s247-blog-grid .e-load-more-anchor + .elementor-pagination { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 30px 0 43px; font: 800 15px/1 Arial, Helvetica, sans-serif; }
.s247-blog-grid .elementor-pagination .page-numbers { min-width: 40px; height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d5dae2; border-radius: 7px; background: #fff; color: #111; margin: 0; }
.s247-blog-grid .elementor-pagination .page-numbers.current { background: var(--s247-p-blue); border-color: var(--s247-p-blue); color: #fff; }
.s247-blog-grid .elementor-pagination .page-numbers.prev, .s247-blog-grid .elementor-pagination .page-numbers.next { border: 0; background: none; font-size: 26px; font-weight: 400; min-width: 28px; }
.s247-blog-grid .elementor-pagination .page-numbers.dots { border: 0; background: none; min-width: 20px; padding: 0; }
.s247-faq summary::-webkit-details-marker { display: none; }
.s247-faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid #075ff2; border-bottom: 2.5px solid #075ff2; transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.s247-faq[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.s247-legal h2 { font-size: 24px; }
.s247-legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.s247-legal th, .s247-legal td { border: 1px solid #e1e4e9; padding: 8px 10px; text-align: left; font-size: 15px; }
.s247-legal > .elementor-widget-container > :first-child { margin-top: 0; }
.s247-sitemap a:hover { text-decoration: underline; }
.s247-ticks .elementor-widget-text-editor p { margin: 0; }
@media (max-width: 767px){
.s247-tick-div { display: none; }
}
.s247-discount .s247-blue { color: #075ff2; }
@media (max-width: 991px){
.s247-header .e-n-menu:not([data-layout]) .e-n-menu-wrapper {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		max-width: 100%;
	}
.s247-header .e-n-menu .e-n-menu-wrapper {
		display: flex !important;
		animation: none !important;
		visibility: hidden;
		pointer-events: none;
		opacity: 0;
		transform: translateY(-10px);
		clip-path: inset(0 -30px 100% -30px);
		transition: opacity .22s ease, transform .28s cubic-bezier(.4, 0, .6, 1), clip-path .28s cubic-bezier(.4, 0, .6, 1), visibility 0s linear .28s;
	}
.s247-header .e-n-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper {
		visibility: visible;
		pointer-events: auto;
		opacity: 1;
		transform: none;
		clip-path: inset(0 -30px -60px -30px); /* bottom stays open so the panel shadow is not cut off */
		transition: opacity .25s ease, transform .3s cubic-bezier(.22, .7, .3, 1), clip-path .3s cubic-bezier(.22, .7, .3, 1), visibility 0s;
	}
.s247-header .e-n-menu .e-n-menu-heading > .e-n-menu-item {
		opacity: 0;
		transform: translateY(-6px);
		transition: opacity .15s ease, transform .15s ease;
	}
.s247-header .e-n-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper .e-n-menu-heading > .e-n-menu-item {
		opacity: 1;
		transform: none;
		transition: opacity .3s ease, transform .3s ease;
	}
.s247-header .e-n-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper .e-n-menu-heading > .e-n-menu-item:nth-child(1) { transition-delay: .05s; }
.s247-header .e-n-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper .e-n-menu-heading > .e-n-menu-item:nth-child(2) { transition-delay: .09s; }
.s247-header .e-n-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper .e-n-menu-heading > .e-n-menu-item:nth-child(3) { transition-delay: .13s; }
.s247-header .e-n-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper .e-n-menu-heading > .e-n-menu-item:nth-child(4) { transition-delay: .17s; }
.s247-header .e-n-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper .e-n-menu-heading > .e-n-menu-item:nth-child(5) { transition-delay: .21s; }
.s247-header .e-n-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper .e-n-menu-heading > .e-n-menu-item:nth-child(6) { transition-delay: .25s; }
@keyframes s247-menu-sub {
		from { opacity: 0; transform: translateY(-4px); }
		to   { opacity: 1; transform: none; }
	}
.s247-header .e-n-menu .e-n-menu-content { animation: s247-menu-sub .25s ease-out backwards; }
.s247-header .e-n-menu .e-n-menu-dropdown-icon svg { transition: transform .25s ease; }
.s247-header .e-n-menu .e-n-menu-title[aria-expanded="true"] .e-n-menu-dropdown-icon svg { transform: rotate(180deg); }
}
@media (max-width: 991px){
@media (prefers-reduced-motion: reduce){
.s247-header .e-n-menu .e-n-menu-wrapper,
		.s247-header .e-n-menu .e-n-menu-wrapper .e-n-menu-heading > .e-n-menu-item,
		.s247-header .e-n-menu .e-n-menu-content { transition: none !important; animation: none !important; }
}}
.s247-topic-link:hover .elementor-heading-title, .s247-exlink:hover .elementor-heading-title { color: #075ff2; }
.s247-rmcrumb--post .rank-math-breadcrumb p > a:first-child::before { content: none; }
.s247-rmcrumb--post .separator::before { content: "/"; font-size: 14px; font-weight: 400; color: #6c757d; }
.s247-post-meta a:hover { color: var(--s247-p-blue); }
.s247-article ul li::marker { color: var(--s247-p-orange); }
.s247-article ol li::marker { color: var(--s247-p-blue); font-weight: 800; }
.s247-article a:hover { color: #0049c7; }
.s247-article blockquote { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--s247-p-orange); background: #f4f8ff; border-radius: 0 13px 13px 0; font-size: 19px; font-weight: 700; line-height: 1.45; }
.s247-article blockquote p:last-child { margin-bottom: 0; }
.s247-article figure { margin: 30px 0; }
.s247-article figcaption { margin-top: 9px; font-size: 14px; line-height: 1.4; color: #5b6270; }
.s247-article hr { border: 0; border-top: 1px solid #e2e4e9; margin: 34px 0; }
.s247-article table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.s247-article th, .s247-article td { border: 1px solid #e1e4e9; padding: 10px 12px; text-align: left; }
.s247-article th { background: #f4f8ff; font-weight: 800; }
.s247-sideform .elementor-field-textual::placeholder { color: #6c757d; opacity: 1; }
.s247-sideform .elementor-field-textual:focus { outline: 0; border-color: var(--s247-p-blue) !important; box-shadow: 0 0 0 .2rem rgba(7, 88, 247, .12); }
.s247-sideform .elementor-message { margin: 8px 0 0; font-size: 14px; }
.s247-post-totum .s247-totum-img img { display: block; width: 100%; height: auto; border-radius: 13px; box-shadow: 0 12px 22px rgba(11, 26, 65, .18); }
.s247-post-related .s247-bcard-excerpt p { font-size: inherit; line-height: inherit; }
@media (max-width: 991px){
.s247-post-totum .s247-totum-cta { grid-column: 2; justify-self: start; }
}
@media (max-width: 767px){
.s247-post-totum .s247-totum-img { max-width: 185px !important; }
.s247-post-totum .s247-totum-cta { grid-column: 1; }
}
.s247-cartdisc { display: flex; align-items: center; gap: 22px; box-sizing: border-box; max-width: 640px; margin: 36px auto 0; padding: 24px 30px; background: #EAF2FF; border-radius: 16px; font-family: Arial, sans-serif; color: #08090D; }
.s247-cartdisc__ico { display: inline-flex; flex: none; width: 46px; height: 46px; color: #075ff2; }
.s247-cartdisc__body { flex: 1 1 auto; min-width: 0; padding-left: 22px; border-left: 1px solid #9DB2D4; }
.s247-cartdisc .s247-cartdisc__title { margin: 0 0 4px; font-family: inherit; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.6px; color: #08090D; }
.s247-cartdisc .s247-cartdisc__sub { margin: 0 0 8px; font-size: 16px; line-height: 1.45; }
.s247-cartdisc .s247-cartdisc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.s247-cartdisc .s247-cartdisc__list li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; font-size: 16px; line-height: 1.4; }
.s247-cartdisc__list svg { flex: none; width: 19px; height: 19px; margin-top: 1px; color: #075ff2; }
@media (max-width: 767px){
.s247-cartdisc { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 20px 18px; }
.s247-cartdisc__body { padding-left: 0; border-left: 0; }
.s247-cartdisc .s247-cartdisc__sub, .s247-cartdisc .s247-cartdisc__list li { font-size: 15px; }
}
/* hello-study247-more-g-commerce */
.s247-cartdisc__ico svg { width: 100%; height: 100%; }
.s247-cartdisc__list svg { flex: none; width: 19px; height: 19px; margin-top: 1px; color: #075ff2; }
@media (max-width: 767px){
.s247-cartdisc .s247-cartdisc__title { font-size: 20px; }
.s247-cartdisc .s247-cartdisc__sub, .s247-cartdisc .s247-cartdisc__list li { font-size: 15px; }
}
/* hello-study247-mini-cart */
/* =====================================================================
   Header mini-cart ("Your Basket"). Design: study247-mini-cart-bootstrap5 (css/style.css on top of
   Bootstrap 5.3.3 reboot, offcanvas 520px). Markup: inc/mini-cart-template.php, behaviour: assets/js/mini-cart.js.
   The shell (toggle, backdrop, slide-in, close button) is Elementor Pro's Menu Cart widget; this file restyles
   the shell and everything inside `.widget_shopping_cart_content`.
   Values are the design's, in px, with the Bootstrap reboot defaults it relied on written out
   (Arial, line-height 1.5, text #212529, strong 700, svg block, p/h margins).
   Tokens: blue #0758f7, navy #111344, orange #ff5b05, line #e1e6f0.
   Weights: the design says 800, but Arial only has 400 and 700. On a Mac 800 renders as Arial Bold; on Windows Chrome
   treats 800 as Arial Black (about 15-20% wider and clogged at 15-17px, which looked blurry). 700 gives Arial Bold everywhere.
   ===================================================================== */

/* ---- shell: backdrop + panel (Bootstrap offcanvas-end) ---- */
body .elementor-menu-cart__container { background-color: rgba(0, 0, 0, .5); }
body .elementor-menu-cart__main {
	width: 520px; max-width: 100%; padding: 0; margin: 0; border: 0; border-radius: 16px 0 0 16px; overflow: hidden;
	background: #fff; box-shadow: -12px 0 36px #121b3826; font: 400 16px/1.5 Arial, Helvetica, sans-serif; color: #212529;
}
body .elementor-menu-cart__main .widget_shopping_cart_content { flex: 1; min-height: 0; height: auto; }

/* close button: the glyph is Bootstrap's btn-close (16px, 60% opacity) in a 32px hit area, centred on the title row.
   Drawn on ::before because a theme reset sets `background: transparent !important` on this element. */
body .elementor-menu-cart__main .elementor-menu-cart__close-button {
	position: absolute; top: 16px; right: 14px; z-index: 3; width: 32px; height: 32px; margin: 0; padding: 0;
	cursor: pointer; opacity: .6; transition: opacity .15s;
}
body .elementor-menu-cart__main .elementor-menu-cart__close-button:hover { opacity: .75; }
body .elementor-menu-cart__main .elementor-menu-cart__close-button::after { display: none; }
body .elementor-menu-cart__main .elementor-menu-cart__close-button::before {
	content: ""; position: absolute; left: 8px; top: 8px; width: 16px; height: 16px; margin: 0; border-radius: 0; background: center / 16px auto no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
	transform: none;
}
body .elementor-menu-cart__main .elementor-menu-cart__close-button:focus-visible { outline: 2px solid #0758f7; outline-offset: 0; border-radius: 6px; }

/* ---- panel content ---- */
.s247-mc, .s247-mc *, .s247-mc *::before, .s247-mc *::after { box-sizing: border-box; }
.s247-mc { display: flex; flex-direction: column; height: 100%; min-height: 0; font: 400 16px/1.5 Arial, Helvetica, sans-serif; color: #212529; text-align: left; letter-spacing: normal; text-transform: none; }
.s247-mc svg { display: block; flex: none; }
.s247-mc :is(p, h2, h3, dl, dd, dt, section, div, label, output, span, strong, small) { text-shadow: none; }
.s247-mc .woocommerce-Price-amount, .s247-mc .woocommerce-Price-currencySymbol, .s247-mc bdi { font: inherit; color: inherit; }
.s247-mc strong { font-weight: 700; }
.s247-mc.is-busy .s247-mc__body { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* ---- compact layout (2026-11-12, client: "make it compact to view as much as possible to view cart and checkout buttons") ----
   Smaller header, 64px thumbnails, price + quantity on ONE line, tighter bands and rows, and the totals + View cart / Checkout
   (`.s247-mc__foot`) are sticky at the bottom of the scrolling body, so the buttons are always on screen however many lines the
   basket has. Trust rows / footnote sit under the buttons and are reached by scrolling. */

/* title row */
.s247-mc__head { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 20px 12px; border-bottom: 1px solid #e1e6f0; }
.s247-mc__mark { position: relative; display: block; flex: none; width: 38px; height: 38px; }
.s247-mc__mark svg { width: 34px; height: 34px; fill: none; stroke: #111; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s247-mc__badge { position: absolute; top: -6px; right: -7px; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #fff; border-radius: 50%; background: #0758f7; color: #fff; font-size: 12px; font-weight: 400; }
.s247-mc .s247-mc__title { margin: 0; padding: 0; font: 700 24px/1.2 Arial, Helvetica, sans-serif; letter-spacing: -.6px; color: inherit; }
.s247-mc__sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* scrolling body */
.s247-mc__body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px 16px; }

/* basket line */
.s247-mc__item { position: relative; display: flex; gap: 14px; padding: 12px 34px 12px 0; border-bottom: 1px solid #e1e6f0; }
.s247-mc__thumb { flex: none; width: 64px; height: 64px; }
.s247-mc__thumb a { display: block; }
.s247-mc .s247-mc__img { display: block; width: 64px; height: 64px; max-width: none; object-fit: cover; filter: grayscale(1); border-radius: 10px; }
.s247-mc__info { min-width: 0; flex: 1; }
.s247-mc .s247-mc__name { margin: 0 0 3px; padding: 0; font: 700 15px/1.3 Arial, Helvetica, sans-serif; letter-spacing: normal; color: inherit; text-wrap: balance; }
body .s247-mc .s247-mc__name a { color: inherit; text-decoration: none; transition: color .2s; }
body .s247-mc .s247-mc__name a:hover { color: #0758f7; }
.s247-mc dl.variation { display: grid; grid-template-columns: max-content auto; gap: 0 6px; margin: 0 0 6px; font-size: 13px; line-height: 1.35; color: #566072; }
.s247-mc dl.variation dt { margin: 0; font-weight: 700; }
.s247-mc dl.variation dd { margin: 0; }
.s247-mc dl.variation dd p { margin: 0; }
.s247-mc__buy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; }
.s247-mc__unit { font-size: 15px; line-height: 1.3; color: #111344; }
.s247-mc__qty-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; line-height: 1.3; }
.s247-mc__qty { display: flex; height: 30px; overflow: hidden; border: 1px solid #222; border-radius: 8px; }
body .s247-mc button.s247-mc__qty-btn {
	flex: none; width: 30px; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
	background: #fff; color: #000; font: 400 20px/1 Arial, Helvetica, sans-serif; letter-spacing: normal; text-transform: none; cursor: pointer; transition: background-color .15s;
}
body .s247-mc button.s247-mc__qty-btn:hover:not(:disabled), body .s247-mc button.s247-mc__qty-btn:focus-visible:not(:disabled) { background: #eef3ff; color: #000; }
body .s247-mc button.s247-mc__qty-btn:disabled { opacity: .45; color: rgba(16, 16, 16, .3); cursor: default; } /* the design fades the disabled glyph twice (UA grey + opacity) */
body .s247-mc button.s247-mc__qty-btn:focus-visible { outline: 2px solid #0758f7; outline-offset: -2px; }
.s247-mc__qty-val { display: grid; place-items: center; min-width: 34px; border-inline: 1px solid #e1e6f0; font-size: 15px; font-weight: 700; }
body .s247-mc a.s247-mc__remove {
	position: absolute; right: 0; top: 12px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; overflow: hidden;
	border: 1px solid #9ca3b8; border-radius: 50%; background: #fff; color: #81899c; font-size: 20px; line-height: 20px; text-decoration: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
body .s247-mc a.s247-mc__remove:hover { background: #f6f8fc; border-color: #81899c; color: #111; }
body .s247-mc a.s247-mc__remove:focus-visible { outline: 2px solid #0758f7; outline-offset: 2px; }

/* message under the basket lines (e.g. a quantity limit) */
.s247-mc__msg { margin-top: 8px; font-size: 13px; line-height: 1.4; color: #b42318; }
.s247-mc__msg:empty { display: none; }

/* bulk-discount band */
.s247-mc__bulk { display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 10px 14px; border-radius: 11px; background: #eaf1ff; color: #111344; }
.s247-mc__bulk svg { width: 26px; height: 26px; fill: none; stroke: #0758f7; stroke-width: 1.8; }
.s247-mc__bulk strong { display: block; font-size: 15px; line-height: 1.3; }
.s247-mc__bulk p { margin: 2px 0 0; font-size: 13px; line-height: 1.35; }
.s247-mc__bulk sup { position: relative; top: -.5em; font-size: .75em; line-height: 0; vertical-align: baseline; }

/* promo code */
.s247-mc__promo { padding: 0 0 12px; }
.s247-mc__promo label { display: block; margin: 0 0 5px; font-size: 14px; font-weight: 400; line-height: 1.4; color: #111344; }
.s247-mc__promo-row { display: flex; gap: 10px; margin: 0; }
body .elementor-menu-cart__main .s247-mc input.s247-mc__input {
	display: block; flex: 1; width: 100%; min-width: 0; height: auto; margin: 0; padding: 6px 12px; border: 1px solid #777e98; border-radius: 10px; box-shadow: none;
	background: #fff; color: #212529; font: 400 14px/1.5 Arial, Helvetica, sans-serif; letter-spacing: normal; appearance: none; transition: border-color .15s, box-shadow .15s;
}
body .elementor-menu-cart__main .s247-mc input.s247-mc__input::placeholder { color: rgba(33, 37, 41, .75); opacity: 1; }
body .elementor-menu-cart__main .s247-mc input.s247-mc__input:focus { outline: 0; border-color: #0758f7; box-shadow: 0 0 0 3px #0758f71c; background: #fff; color: #212529; }
body .s247-mc button.s247-mc__apply {
	flex: none; min-width: 88px; height: auto; min-height: 0; margin: 0; padding: 5px 20px; border: 2px solid #0758f7; border-radius: 10px; box-shadow: none; /* 10px like View cart / Checkout (the design had a 25px pill; changed on request) */
	background: #fff; color: #111344; font: 700 15px/1.5 Arial, Helvetica, sans-serif; letter-spacing: normal; text-transform: none; cursor: pointer; transition: background-color .15s;
}
body .s247-mc button.s247-mc__apply:hover, body .s247-mc button.s247-mc__apply:focus-visible { background: #eef4ff; color: #111344; border-color: #0758f7; }
body .s247-mc button.s247-mc__apply:focus-visible { outline: 2px solid #0758f7; outline-offset: 2px; }
.s247-mc__feedback { margin-top: 6px; font-size: 13px; line-height: 1.4; color: rgba(33, 37, 41, .75); }
.s247-mc__feedback:empty { display: none; }
.s247-mc__feedback.is-error { color: #b42318; }
.s247-mc__feedback.is-ok { color: #12652d; }

/* pinned footer: totals + View cart / Checkout. Sticky to the bottom edge of the scrolling body (the body's side padding is
   bled out with negative margins so lines scrolling under it are fully covered); at the end of the scroll it simply sits in flow. */
.s247-mc__foot { position: sticky; bottom: 0; z-index: 2; margin: 0 -20px; padding: 0 20px 12px; background: #fff; border-top: 1px solid #e1e6f0; box-shadow: 0 -8px 14px -10px #121b3833; }

/* totals: same look as the "Your Order" card on the checkout (bold amounts, bigger Total under a hairline); net Subtotal + VAT + Total, see inc/vat-totals.php */
.s247-mc__totals { padding: 6px 0 10px; }
.s247-mc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: 14px; line-height: 1.5; font-weight: 400; }
.s247-mc__row > strong { font-weight: 700; }
.s247-mc__row small { font-size: 13px; font-weight: 400; }
.s247-mc__row--discount { color: #12652d; }
.s247-mc__row--total { margin-top: 4px; padding-top: 8px; border-top: 1px solid #e3e6ec; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.4px; }
.s247-mc__row--total > strong { font-weight: 700; }
body .s247-mc button.s247-mc__unapply { display: inline; margin: 0 0 0 6px; padding: 0; border: 0; box-shadow: none; background: none; color: inherit; font: 400 13px/1.5 Arial, Helvetica, sans-serif; text-decoration: underline; text-transform: none; cursor: pointer; }
body .s247-mc button.s247-mc__unapply:hover, body .s247-mc button.s247-mc__unapply:focus-visible { background: none; color: #0758f7; }

/* View cart / Checkout */
.s247-mc__actions { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; }
body .s247-mc a.s247-mc__view, body .s247-mc a.s247-mc__checkout {
	display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 10px; font-size: 16px; font-weight: 700; line-height: 1.5; text-decoration: none; transition: background-color .15s;
}
body .s247-mc a.s247-mc__view { border: 1.5px solid #111; background: #fff; color: #111; }
body .s247-mc a.s247-mc__view:hover { background: #f6f8fc; color: #111; }
body .s247-mc a.s247-mc__checkout { gap: 8px; border: 1px solid #ff5b05; background: #ff5b05; color: #fff; }
body .s247-mc a.s247-mc__checkout:hover { background: #e94e00; border-color: #ff5b05; color: #fff; }
body .s247-mc a.s247-mc__checkout svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body .s247-mc a.s247-mc__view:focus-visible, body .s247-mc a.s247-mc__checkout:focus-visible { outline: 2px solid #0758f7; outline-offset: 2px; }

/* trust rows (under the buttons, reached by scrolling) */
.s247-mc__secure { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 10px 14px; border-radius: 11px; background: #e9faee; color: #076b21; }
.s247-mc__secure svg { width: 28px; height: 28px; fill: none; stroke: #07952c; stroke-width: 1.6; }
.s247-mc__secure strong { font-size: 14px; white-space: nowrap; }
.s247-mc__secure span { padding-left: 12px; border-left: 1px solid #a2cdb0; color: #1d2923; font-size: 12px; line-height: 1.4; }
.s247-mc__perks { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; text-align: center; }
.s247-mc__perks > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 7px; font-size: 12px; line-height: 1.4; }
.s247-mc__perks > div + div { border-left: 1px solid #e1e6f0; }
.s247-mc__perks svg { width: 26px; height: 26px; fill: none; stroke: #111; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s247-mc__note { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: #737b8d; }

/* empty basket */
.s247-mc__empty { padding: 70px 10px; font-size: 16px; text-align: center; }
.s247-mc .s247-mc__empty h3 { margin: 0 0 8px; font: 700 28px/1.2 Arial, Helvetica, sans-serif; letter-spacing: normal; color: inherit; }
.s247-mc__empty p { margin: 0 0 16px; font-size: 16px; font-weight: 400; }
body .s247-mc a.s247-mc__shop { display: inline-block; padding: 6px 12px; border-radius: 6px; font-size: 16px; font-weight: 400; line-height: 1.5; background: #0758f7; color: #fff; text-decoration: none; transition: background-color .15s; }
body .s247-mc a.s247-mc__shop:hover { background: #0649cf; color: #fff; }
body .s247-mc a.s247-mc__shop:focus-visible { outline: 2px solid #0758f7; outline-offset: 2px; }

/* phones (design breakpoint 575px): full-width panel, tighter spacing */
@media (max-width: 575px) {
	body .elementor-menu-cart__main { border-radius: 0; }
	body .elementor-menu-cart__main .elementor-menu-cart__close-button { top: 14px; right: 6px; }
	.s247-mc__head { gap: 12px; padding: 12px 14px 10px; }
	.s247-mc .s247-mc__title { font-size: 22px; }
	.s247-mc__body { padding: 0 14px 14px; }
	.s247-mc__item { gap: 12px; padding-right: 30px; }
	.s247-mc__thumb, .s247-mc .s247-mc__img { width: 56px; height: 56px; }
	.s247-mc .s247-mc__name { font-size: 14px; }
	.s247-mc__bulk { gap: 10px; padding: 9px 12px; }
	.s247-mc__bulk strong { font-size: 14px; }
	.s247-mc__promo-row { gap: 8px; }
	body .s247-mc button.s247-mc__apply { min-width: 80px; padding: 5px 14px; }
	.s247-mc__foot { margin: 0 -14px; padding: 0 14px 10px; }
	.s247-mc__actions { gap: 8px; }
	body .s247-mc a.s247-mc__view, body .s247-mc a.s247-mc__checkout { font-size: 15px; min-height: 44px; }
	.s247-mc__secure { gap: 9px; padding: 9px 12px; }
	.s247-mc__secure strong { font-size: 12px; }
	.s247-mc__secure span { padding-left: 9px; font-size: 11px; }
	.s247-mc__perks > div { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	.s247-mc *, .s247-mc *::before, .s247-mc *::after { transition: none !important; }
}
/* hello-study247-cart-qty */
/*
 * Basket page quantity stepper: minus / number / plus, the look of the header mini-cart's (mini-cart.css .s247-mc__qty).
 * Markup + behaviour: inc/cart-qty.php, assets/js/cart-qty.js. The long selectors beat the cart table's
 * ".product-quantity .qty { width: ... !important; padding: 8px !important }" rules in study247.css.
 */
.s247-woo .s247-cq { display: inline-flex; height: 40px; overflow: hidden; vertical-align: middle; border: 1px solid #222; border-radius: 8px; background: #fff; }
.s247-woo .s247-cq .quantity { display: flex; align-items: stretch; margin: 0; padding: 0; }
/* a little less side padding so the wider box does not push the table past its card; 10px on the left = the QUANTITY heading's, so the box starts under the heading text */
@media (min-width: 768px) { .s247-woo.s247-woo.s247-woo table.shop_table.cart td.product-quantity { padding-inline: 10px 2px !important; } }
.s247-woo.s247-woo.s247-woo table.shop_table.cart .product-quantity .s247-cq .quantity input.qty {
	-moz-appearance: textfield; appearance: textfield;
	box-sizing: border-box; width: 36px !important; min-width: 0; height: 38px !important; min-height: 0 !important; max-height: none !important; /* Elementor's cart widget caps .qty at 28px */ margin: 0; padding: 0 !important;
	border: 0 !important; border-inline: 1px solid #e1e6f0 !important; border-radius: 0 !important; box-shadow: none; background: #fff;
	font: 700 15px/1 Arial, Helvetica, sans-serif !important; color: #08090d; text-align: center; /* beats .s247-woo .input-text { font: 400 14px !important } */
}
.s247-woo .s247-cq input.qty::-webkit-outer-spin-button, .s247-woo .s247-cq input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.s247-woo.s247-woo.s247-woo table.shop_table.cart .product-quantity .s247-cq .quantity input.qty:focus { outline: 2px solid #0758f7; outline-offset: -2px; }
body .s247-woo .s247-cq button.s247-cq__btn {
	flex: none; width: 30px; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
	background: #fff; color: #000; font: 400 20px/1 Arial, Helvetica, sans-serif; letter-spacing: normal; text-transform: none; cursor: pointer; transition: background-color .15s;
}
body .s247-woo .s247-cq button.s247-cq__btn:hover:not(:disabled), body .s247-woo .s247-cq button.s247-cq__btn:focus-visible:not(:disabled) { background: #eef3ff; color: #000; }
body .s247-woo .s247-cq button.s247-cq__btn:disabled { opacity: .45; color: rgba(16, 16, 16, .3); cursor: default; }
body .s247-woo .s247-cq button.s247-cq__btn:focus-visible { outline: 2px solid #0758f7; outline-offset: -2px; }
