/* ─────────────────────────────────────────────────────
   MOSHARAF CORE — BASE STYLES
   Design tokens (:root variables) are defined in style.css.
   This file contains base/reset, typography, layout utilities,
   button classes, and colour utility classes — all using
   var(--bubb-*) tokens defined in style.css.
   ───────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────
   BACKGROUND UTILITY CLASSES
   Maps directly to the token palette above.
   Use these in ACF background_color select fields.
   ───────────────────────────────────────────────────── */
.bg-bubb-primary   { background: var(--bubb-color-primary); }
.bg-bubb-secondary { background: var(--bubb-color-secondary); }
.bg-bubb-accent    { background: var(--bubb-color-accent); }
.bg-bubb-active    { background: var(--bubb-color-active); }
.bg-bubb-highlight { background: var(--bubb-color-highlight); }
.bg-bubb-dark      { background: var(--bubb-color-dark); }
.bg-bubb-mid       { background: var(--bubb-color-mid); }
.bg-bubb-subtle    { background: var(--bubb-color-subtle); }
.bg-bubb-light     { background: var(--bubb-color-light); }

/* ─────────────────────────────────────────────────────
   TEXT COLOR UTILITY CLASSES
   ───────────────────────────────────────────────────── */
.color-bubb-primary   { color: var(--bubb-color-primary); }
.color-bubb-secondary { color: var(--bubb-color-secondary); }
.color-bubb-accent    { color: var(--bubb-color-accent); }
.color-bubb-active    { color: var(--bubb-color-active); }
.color-bubb-highlight { color: var(--bubb-color-highlight); }
.color-bubb-dark      { color: var(--bubb-color-dark); }
.color-bubb-mid       { color: var(--bubb-color-mid); }
.color-bubb-subtle    { color: var(--bubb-color-subtle); }
.color-bubb-light     { color: var(--bubb-color-light); }

/* Brand primary text utility */
p.text-primary,
.text-primary p {
    color: var(--bubb-color-primary);
}


* {
    box-sizing: border-box;
    /* Mobile browsers flash a default semi-transparent tint across a
       tapped link/button's whole hit area (including ancestors like
       table rows) on press — most visible on the cart page's product
       row and coupon controls, where it reads as a stray gray
       "hover" box that doesn't match any state this theme defines.
       `:active`/`:focus-visible` already give touch/keyboard users
       proper feedback, so this default is just noise to mute. */
    -webkit-tap-highlight-color: transparent;
}

/* Keyboard focus ring — suppressed on mouse/touch via :focus-visible */
:focus-visible {
    outline: 0.125rem solid var(--bubb-color-primary);
    outline-offset: 0.125rem;
    border-radius: 0.125rem;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

@media only screen and (min-width: 1921px) {
    html {
        font-size: 0.833vw;
    }
}

body {
    color: var(--bubb-color-text);
    background-color: var(--bubb-color-background);
    font-family: var(--bubb-font-body);
    font-size: 1.125rem; /* 18px */
    line-height: 1.6667; /* 30px at the Figma 18px body size */
    font-weight: 300;
    height: 100%;
    margin: 0;
    min-height: 100%;
}
@media only screen and (max-width:1440px) {

	body{
		font-size: 1.125rem; /* Keep the Figma 18px body size at its 1440px canvas */
	}

}
body.no-scroll{ 
	overflow: hidden;
}
/* Visually hidden (screen reader only) utility */
.sr-only,
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
img, svg {
    vertical-align: middle;
	max-width: 100%;
	height: auto;
}
.media img{
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: 0.4s all ease;
}
.image-hover img{
    transition: 0.4s all ease;
	transform: scale(1);
}
.image-hover:hover img{
    transform: scale(1.10);
}
.media picture {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
}
.media iframe,
.media video {
    height: 100%;
    object-fit: cover;
}
iframe, video {
    width: 100%;
    max-width: 100%;
}
#page {
	overflow-x: clip;
}
a {
    color: var(--bubb-color-link);
    font-weight: 400;
    text-decoration: underline;
    transition: 0.3s all ease;
}
button, input, textarea, select {
    outline: none;
    box-shadow: none;
}
a[href^=tel] {
    text-decoration: inherit;
}
.underline-text{
	text-decoration: underline;
}
p{
    margin-top: 0;
    margin-bottom: 0.9375rem; /* 15px */
}
p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
	margin-bottom: 0;
}

p strong,
b {
    font-weight: 600;
}

ul {
    padding-left: 1.875rem;
}
h1,.h1-style,
h2,.h2-style,
h3,.h3-style,
h4,.h4-style,
h5,.h5-style,
h6,.h6-style {
	color: var(--bubb-color-heading);
	font-family: var(--bubb-font-heading);
	margin-top: 0;
	margin-bottom: 0.9375rem; /* 15px */
	font-weight: 600;
	line-height: normal;
	letter-spacing: -0.02em;
}
h1,
.h1-style {
	font-size: 4.5rem; /* 72px */
}
h2,
.h2-style {
	font-size: 3.875rem; /* 62px */
}
h3,
.h3-style {
	font-size: 2.625rem; /* 42px */
}
h4,
.h4-style {
	font-size: 2rem; /* 32px */
}
h5,
.h5-style {
	font-size: 1.5rem; /* 24px */
	line-height: 120%;
}
h6,.h6-style {
	font-family: var(--bubb-font-ui);
	font-size: 1.375rem; /* 22px */
	font-weight: 400;
	letter-spacing: 0;
	line-height: 120%;
}
@media only screen and (max-width:1440px) {
	h1,
	.h1-style {
		font-size: 4.5rem; /* 72px */
	}
	h2,
	.h2-style {
		font-size: 3.875rem; /* 62px */
	}
	h3,
	.h3-style {
		font-size: 2.625rem; /* 42px */
	}
	h4,
	.h4-style {
		font-size: 2rem; /* 32px */
	}
	h5,
	.h5-style {
		font-size: 1.5rem; /* 24px */
	}
}
@media only screen and (max-width:1399px) {
	h1,
	.h1-style {
		font-size: 4rem; /* 64px */
	}
	h2,
	.h2-style {
		font-size: 3.5rem; /* 56px */
	}
	h3,
	.h3-style {
		font-size: 2.375rem; /* 38px */
	}
}
@media only screen and (max-width:1199px) {
	h1,
	.h1-style {
		font-size: 4rem; /* 64px */
	}
	h2,
	.h2-style {
		font-size: 3rem; /* 48px */
	}
	h3,
	.h3-style {
		font-size: 2.25rem; /* 36px */
	}
}
@media only screen and (max-width:991px) {
	h1,
	.h1-style {
		font-size: 3.5rem; /* 56px */
	}
	h2,
	.h2-style {
		font-size: 2.5rem; /* 40px */
	}
	h3,
	.h3-style {
		font-size: 2.125rem; /* 34px */
	}
}

@media only screen and (max-width: 767px) {
	h1, 
	.h1-style{
		font-size: 2.8125rem; /* 45px */
	}
	h2,
	.h2-style {
		font-size: 2.125rem; /* 34px */
	}
	h3,
	.h3-style {
		font-size: 2.125rem; /* 34px */
	}
	h4,
	.h4-style {
		font-size: 1.5625rem; /* 25px */
		line-height: 120%;
	}
	h5,
	.h5-style {
		font-size: 1.1875rem; /* 19px */
		line-height: 120%;
	}
}
.card-grid {
	display: grid;
	gap: 1.25rem; /* 20px */
	align-items: stretch;
}
.columns-2{
	grid-template-columns: repeat(2, 1fr);
}
.columns-3{
	grid-template-columns: repeat(3, 1fr);
}
.columns-4{
	grid-template-columns: repeat(4, 1fr);
}
.columns-5{
	grid-template-columns: repeat(5, 1fr);
}
@media only screen and (max-width: 991px) {
	.columns-4,
	.columns-5 {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media only screen and (max-width: 767px) {
	.columns-2,
	.columns-3,
	.columns-4,
	.columns-5 {
		grid-template-columns: 1fr;
	}
}
.mc-container,
.layout-padding {
	width: calc(100% - var(--bubb-container-gutter) - var(--bubb-container-gutter));
	max-width: var(--bubb-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

/* Existing templates occasionally nest layout wrappers. The outer wrapper
   owns the container width and gutters; nested wrappers must not subtract a
   second 60px from the available content width. */
.mc-container .mc-container,
.mc-container .layout-padding,
.layout-padding .mc-container,
.layout-padding .layout-padding {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.layout-margin {
	margin-left: var(--bubb-container-gutter);
	margin-right: var(--bubb-container-gutter);
}


@media only screen and (max-width: 767px) {
	
	.layout-padding.layout-padding0 {
		width: 100%;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}
	.layout-padding-mobile {
		width: calc(100% - var(--bubb-container-gutter) - var(--bubb-container-gutter));
		max-width: var(--bubb-container-max);
		margin-left: auto;
		margin-right: auto;
	}
	.layout-margin-mobile {
		margin-left: var(--bubb-container-gutter);
		margin-right: var(--bubb-container-gutter);
	}
}


/* Global Slick Arrow Container */
.bubble-stop-slick-arrow-container {
	display: flex;
	gap: 2.625rem; /* 42px */
	justify-content: center;
	align-items: center;
	margin-top: 3.125rem; /* 50px */
}

/* Responsive - Mobile */
@media only screen and (max-width: 767px) {
	.bubble-stop-slick-arrow-container {
		flex-wrap: wrap;
		column-gap: 3.625rem; /* 58px */
		row-gap: 1.5625rem; /* 25px */
		margin-top: 1.25rem; /* 20px */
	}
	.bubble-stop-slick-arrow-container .section-cta {
		order: 3;
		width: 100%;
		text-align: center;
	}
}



/* ─────────────────────────────────────────────────────
   CONTENT TYPOGRAPHY
   .entry-content wraps the_content() output in content.php and
   content-page.php. Add the class to any content area to inherit
   these styles — they are not scoped to a single template.
   ───────────────────────────────────────────────────── */

/* ── Vertical rhythm ──────────────────────────────────────────────────────
   Use adjacent sibling selectors so the first heading in a section gets
   no extra top margin, only headings that follow other content do.
   ───────────────────────────────────────────────────────────────────────── */

/* Paragraph bottom margin — bumped from global 15px for better content rhythm */
.entry-content p {
	margin-bottom: 1.25rem;
}

/* Paragraph containing an image (classic editor default markup: <p><img></p>)
   needs extra bottom clearance before the next element */
.entry-content p:has(> img) {
	margin-bottom: 1.75rem;
}

.entry-content * + h2 { margin-top: 2.5rem; }
.entry-content * + h3 { margin-top: 2rem; }
.entry-content * + h4,
.entry-content * + h5,
.entry-content * + h6 { margin-top: 1.5rem; }

/* Tighter when a subheading directly follows its parent — they are related */
.entry-content h2 + h3,
.entry-content h3 + h4,
.entry-content h4 + h5,
.entry-content h5 + h6 {
	margin-top: 0.75rem;
}

/* Lists */
.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
}
.entry-content li {
	margin-bottom: 0.375rem;
}
.entry-content li > ul,
.entry-content li > ol {
	margin-top: 0.375rem;
	margin-bottom: 0;
}

/* Blockquote */
.entry-content blockquote {
	border-left: 0.25rem solid var(--bubb-color-primary);
	padding: 1rem 1.5rem;
	margin: 1.75rem 0;
	background-color: var(--bubb-color-subtle);
	border-radius: 0 var(--bubb-border-radius-sm) var(--bubb-border-radius-sm) 0;
	font-size: 1.125rem;
	font-style: italic;
}
.entry-content blockquote p:last-child {
	margin-bottom: 0;
}
.entry-content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 600;
	color: var(--bubb-color-mid);
}
.entry-content blockquote cite::before {
	content: '— ';
}

/* Inline code */
.entry-content :not(pre) > code {
	font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
	font-size: 0.875em;
	background-color: var(--bubb-color-subtle);
	color: var(--bubb-color-primary);
	padding: 0.15em 0.4em;
	border-radius: 0.25rem;
}

/* Code block */
.entry-content pre {
	font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
	font-size: 0.9375rem;
	line-height: 1.6;
	background-color: var(--bubb-color-dark);
	color: var(--bubb-color-subtle);
	padding: 1.25rem 1.5rem;
	border-radius: var(--bubb-border-radius);
	overflow-x: auto;
	margin: 1.75rem 0;
}
.entry-content pre code {
	font-family: inherit;
	font-size: inherit;
	background: none;
	color: inherit;
	padding: 0;
	border-radius: 0;
}

/* Table */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.75rem 0;
	font-size: 0.9375rem;
	background-color: var(--bubb-color-light);
	border: 0.0625rem solid #d7dce4;
}
.entry-content th,
.entry-content td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 0.0625rem solid #d7dce4;
}
.entry-content th {
	font-weight: 700;
	background-color: #eef5ff;
	border-bottom-color: var(--bubb-color-mid);
	border-bottom-width: 0.125rem;
}
.entry-content tbody tr:hover td {
	background-color: #f8fbff;
}

/* Horizontal rule */
.entry-content hr {
	border: none;
	border-top: 0.0625rem solid var(--bubb-color-mid);
	margin: 2.5rem 0;
	opacity: 0.2;
}

/* Figure + caption */
.entry-content figure {
	margin: 1.75rem 0;
}
.entry-content figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--bubb-color-mid);
	font-style: italic;
	text-align: center;
}
.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--bubb-border-radius-sm);
}

/* WordPress image alignment classes */
.entry-content .alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}
.entry-content .alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}
.entry-content .aligncenter,
.entry-content .alignnone {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Links inside content */
.entry-content a:not(.site-btn) {
	color: var(--bubb-color-primary);
}
.entry-content a:not(.site-btn):hover {
	color: var(--bubb-color-secondary);
}

/* Keyboard shortcut */
.entry-content kbd {
	font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
	font-size: 0.8125rem;
	padding: 0.1em 0.45em;
	background-color: var(--bubb-color-dark);
	color: var(--bubb-color-light);
	border-radius: 0.25rem;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

/* Highlighted text */
.entry-content mark {
	background-color: var(--bubb-color-accent);
	color: var(--bubb-color-dark);
	padding: 0.1em 0.25em;
	border-radius: 0.125rem;
}

/* Abbreviation */
.entry-content abbr[title] {
	text-decoration: underline dotted;
	cursor: help;
}

@media only screen and (max-width: 767px) {
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin: 1.75rem 0;
	}
	.entry-content table {
		font-size: 0.875rem;
	}
	.entry-content th,
	.entry-content td {
		padding: 0.5rem 0.75rem;
	}
	.entry-content blockquote {
		font-size: 1rem;
		padding: 0.875rem 1.25rem;
	}
}

/* ─────────────────────────────────────────────────────
   BUTTON SYSTEM
   Base: .site-btn
   Variants: .btn-primary  .btn-secondary  .btn-outline  .btn-text-link
   Modifier: .btn-has-border (adds visible border, reduces padding by 2px)

   Update color values per project by changing the token values
   in :root — the button classes reference only tokens.
   ───────────────────────────────────────────────────── */

.btns {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.5625rem; /* 25px */
    row-gap: 1.5625rem;    /* 25px */
}

/* Base button styles — shared across all variants */
.site-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--bubb-btn-padding-y) var(--bubb-btn-padding-x);
    font-size: var(--bubb-btn-font-size);
    line-height: 1.875rem; /* 30px */
    font-family: var(--bubb-font-ui);
    font-weight: var(--bubb-btn-font-weight);
    text-decoration: none;
    border-radius: var(--bubb-btn-border-radius);
    border: 2px solid transparent;
    transition: all var(--bubb-transition);
    cursor: pointer;
    text-align: center;
}

/* ── Primary: the neutral gray pill used for Figma CTAs */
.btn-primary {
    background: var(--bubb-color-button);
    color: var(--bubb-color-light);
    border-color: var(--bubb-color-button);
}
.btn-primary:hover {
    background: var(--bubb-color-button-hover);
    color: var(--bubb-color-light);
    border-color: var(--bubb-color-button-hover);
}

/* ── Secondary: accent fill, dark text → primary fill on hover */
.btn-secondary {
    background: var(--bubb-color-accent);
    color: var(--bubb-color-dark);
    border-color: var(--bubb-color-accent);
}
.btn-secondary:hover {
    background: var(--bubb-color-primary);
    color: var(--bubb-color-light);
    border-color: var(--bubb-color-primary);
}

/* ── Outline: transparent, primary border/text → primary fill on hover */
.btn-outline {
    background: transparent;
    color: var(--bubb-color-primary);
    border-color: var(--bubb-color-primary);
}
.btn-outline:hover {
    background: var(--bubb-color-primary);
    color: var(--bubb-color-light);
    border-color: var(--bubb-color-primary);
}

/* ── Text link: no background or border, just styled text */
.btn-text-link {
    background: transparent;
    color: var(--bubb-color-primary);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
}
.btn-text-link:hover {
    color: var(--bubb-color-accent);
    text-decoration: underline;
}

/* ── Border modifier: reduces padding to account for 2px border */
.site-btn.btn-has-border {
	padding-top: var(--bubb-btn-padding-y);
	padding-bottom: var(--bubb-btn-padding-y);
}

/* Global Submit Field Wrapper with Icon */

.action-field {
	display: flex;
	margin-bottom: 0;
	column-gap: 1.25rem; /* 20px */
	justify-content: space-between;
	align-items: center;
	margin-top: 1.5625rem; /* 25px */
}
@media only screen and (max-width:767px) {

	.action-field {
		flex-direction: column;
		margin-bottom: 0;
		row-gap: 1.25rem; /* 20px */
		justify-content: center;
		align-items: center;
		margin-top: 0;
	}
}
