/* Base elements, buttons and shared helpers. Colours come from tokens.css. */
:where(body.tml) *,:where(body.tml) *::before,:where(body.tml) *::after{box-sizing:border-box}
:where(html){scroll-behavior:smooth}

/* Page scrollbar: the native bar is hidden once core.js has built the overlay below (so with no JS the normal bar stays).
   The overlay floats on the right edge over the page, takes no width, so it never cuts or shifts the layout or the top bar. */
html.tml-sb,html.tml-sb body{scrollbar-width:none}
html.tml-sb::-webkit-scrollbar,html.tml-sb body::-webkit-scrollbar{display:none}
.tml-sb-track{position:fixed;top:0;right:0;bottom:0;width:16px;z-index:300;opacity:0;transition:opacity .25s;touch-action:none}
.tml-sb-track.is-on{opacity:.9}
.tml-sb-track.is-on:hover,.tml-sb-track.is-drag{opacity:1}
.tml-sb-track[hidden]{display:none}
.tml-sb-thumb{position:absolute;right:3px;width:7px;border-radius:var(--tml-r-pill);background:var(--tml-leaf-2);box-shadow:0 0 0 1.5px var(--tml-paper);cursor:grab;transition:width .18s var(--tml-ease),right .18s var(--tml-ease),background-color .18s}
.tml-sb-track:hover .tml-sb-thumb,.tml-sb-track.is-drag .tml-sb-thumb{width:11px;right:2px;background:var(--tml-leaf)}
.tml-sb-track.is-drag .tml-sb-thumb{background:var(--tml-kumkum);cursor:grabbing}
.tml-sb-track.is-drag{user-select:none}
/* Scrollable boxes inside the page (filters, drawers): a slim thumb floating inside the box, clear of rounded corners and borders. */
.tml *::-webkit-scrollbar{width:12px;height:12px}
.tml *::-webkit-scrollbar-track{background:transparent;border:0;box-shadow:none;margin:var(--tml-r-lg) 0}
.tml *::-webkit-scrollbar-thumb{background:var(--tml-rule-strong) padding-box;border:4px solid transparent;border-radius:var(--tml-r-pill);min-height:40px}
.tml *::-webkit-scrollbar-thumb:hover,.tml *::-webkit-scrollbar-thumb:active{background:var(--tml-leaf-2) padding-box}
.tml *::-webkit-scrollbar-corner{background:transparent}
@supports (-moz-appearance:none){
	html{scrollbar-color:var(--tml-leaf-2) var(--tml-paper)}
	.tml *{scrollbar-width:thin;scrollbar-color:var(--tml-leaf-2) transparent}
}
body.tml{margin:0;background:var(--tml-paper);color:var(--tml-ink);font:400 16px/1.55 var(--tml-sans);overflow-x:hidden}
:where(.tml) a{color:inherit;text-decoration:none}
:where(.tml) img{max-width:100%;height:auto}
:where(.tml) button,:where(.tml) input,:where(.tml) select,:where(.tml) textarea{font:inherit;color:inherit}
:where(.tml) button{cursor:pointer}
:where(.tml) h1,:where(.tml) h2,:where(.tml) h3{font-family:var(--tml-serif);font-weight:400;line-height:1.12;margin:0 0 .4em;color:var(--tml-ink)}
:where(.tml) h4,:where(.tml) h5,:where(.tml) h6{font-family:var(--tml-sans);margin:0 0 .5em}
:where(.tml) p{margin:0 0 1em}
.tml :focus-visible{outline:2px solid var(--tml-leaf);outline-offset:2px}
.tml-footer :focus-visible,.tml-header :focus-visible{outline-offset:1px}
.tml [hidden]{display:none!important}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.tml-wrap{width:100%;max-width:var(--tml-wrap);margin-inline:auto;padding-inline:var(--tml-gutter)}
.tml-sec{padding-top:64px;scroll-margin-top:110px}
.tml-sec-tight{padding-top:32px}
.tml-center{text-align:center}
.tml-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.tml-row-center{justify-content:center}
.tml-hi{font-style:italic;color:var(--tml-kumkum)}
.tml-i{width:22px;height:22px;flex:none}
.tml-by{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--tml-soft);font-weight:600}
.tml-more{font-weight:700;color:var(--tml-leaf);display:inline-flex;gap:6px}
.tml-more::after{content:"";width:1.05em;height:1.05em;align-self:center;background:currentColor;mask:url('../images/arrow-right.svg') center/contain no-repeat;transition:transform .25s}
.tml-more:hover::after{transform:translateX(5px)}
.tml-head{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.tml-head h2{font-size:clamp(28px,3.4vw,40px);margin:0}
.tml-head p{margin:4px 0 0;color:var(--tml-soft)}
.tml-empty{text-align:center;padding:48px 10px;color:var(--tml-soft)}

/* Buttons: theme buttons plus WooCommerce, forms and gateway buttons. */
.tml .tml-btn,
.tml a.button,.tml button.button,.tml input.button,.tml #respond input#submit,
.tml a.button.alt,.tml button.button.alt,.tml input.button.alt,
.tml a.button,.tml button.button,.tml input.button,.tml .wpcf7 input[type=submit],.tml .search-form input[type=submit],.tml .mc4wp-form input[type=submit],.tml #place_order,.tml .comment-form input[type=submit],.tml .tml-prose button[type=submit]{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 22px;border:1.5px solid transparent;border-radius:var(--tml-r-pill);
	font:700 15px/1.3 var(--tml-sans);text-align:center;background:var(--tml-leaf);color:var(--tml-paper);cursor:pointer;
	transition:transform .2s var(--tml-ease),background-color .2s,box-shadow .2s;
}
.tml .tml-btn:hover,.tml a.button:hover,.tml button.button:hover,.tml input.button:hover,.tml a.button.alt:hover,.tml button.button.alt:hover,.tml a.button:hover,.tml button.button:hover,.tml .wpcf7 input[type=submit]:hover,.tml #place_order:hover{background:var(--tml-leaf-2);color:var(--tml-paper);box-shadow:0 8px 20px -8px var(--tml-leaf)}
.tml .tml-btn:active,.tml a.button:active,.tml button.button:active{transform:scale(.96)}
.tml button.button:disabled,.tml button.button.disabled,.tml button.button.alt.disabled,.tml button.button:disabled{opacity:.5;cursor:not-allowed;background:var(--tml-leaf);color:var(--tml-paper)}
.tml .tml-btn-haldi,.tml .tml-btn-haldi:hover{background:var(--tml-haldi);color:var(--tml-ink)}
.tml .tml-btn-wa,.tml .tml-btn-wa:hover{background:var(--tml-wa);color:var(--tml-white)}
.tml .tml-btn-ghost{background:transparent;color:var(--tml-leaf);border-color:currentColor}
.tml .tml-btn-ghost:hover{background:var(--tml-mint);color:var(--tml-leaf)}

/* Fields */
.tml input[type=text],.tml input[type=email],.tml input[type=tel],.tml input[type=url],.tml input[type=number],.tml input[type=password],.tml input[type=search],.tml input[type=date],.tml select,.tml textarea,
.tml form .form-row input.input-text,.tml form .form-row textarea,.tml form .form-row select,.tml .select2-container--default .select2-selection--single{
	width:100%;min-height:44px;background:var(--tml-card);border:1.5px solid var(--tml-rule-strong);border-radius:var(--tml-r-sm);padding:9px 14px;color:var(--tml-ink);transition:border-color .2s,box-shadow .2s;
}
.tml input:focus,.tml select:focus,.tml textarea:focus{border-color:var(--tml-leaf);box-shadow:0 0 0 4px color-mix(in srgb,var(--tml-leaf) 15%,transparent);outline:0}
.tml input[type=checkbox],.tml input[type=radio]{width:18px;height:18px;accent-color:var(--tml-leaf);vertical-align:middle}
.tml textarea{min-height:110px}
.tml .select2-container--default .select2-selection--single{height:44px;padding:6px 6px}
.tml .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}
.tml label{font-weight:500}

.tml-panel{background:var(--tml-card);border:1px solid var(--tml-rule);border-radius:var(--tml-r-card);padding:24px}

/* Scroll reveal: only hides content when JavaScript is running. */
.tml-js .tml-rv{opacity:0;transform:translateY(24px);transition:opacity .7s var(--tml-ease),transform .7s var(--tml-ease)}
.tml-js .tml-rv.is-in{opacity:1;transform:none}
.tml-js .elementor-editor-active .tml-rv,.elementor-editor-active .tml-rv{opacity:1;transform:none}

@media (max-width:720px){.tml-sec{padding-top:48px}}
@media (prefers-reduced-motion:reduce){
	.tml *,.tml *::before,.tml *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
	:where(html){scroll-behavior:auto}
	.tml-js .tml-rv{opacity:1;transform:none}
	.tml .tml-marquee-track,.tml .tml-brandtrack{animation:none!important}
	.tml .tml-marquee,.tml .tml-brandrow{overflow-x:auto}
}
