/* Tillett theme stylesheet.
   Global rules that theme.json can't express. Ported from the Elementor kit
   (elementor/kit-custom-css.css); keep selectors to what the new markup uses. */

a { color: var(--wp--preset--color--yellow); }
a:hover { color: var(--wp--preset--color--white); }

/* Rhombus buttons, same shape and hover as the kit */
.wp-block-button__link,
.wp-element-button,
button[type="submit"],
input[type="submit"],
.button,
.btn,
.p1-calculate-btn,
.p1-unit-btn {
	clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
	transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.wp-block-button__link:hover,
.wp-element-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover,
.p1-calculate-btn:hover,
.p1-unit-btn:hover {
	transform: translate(5px, -5px);
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}

/* Elementor "boxed" container, for content rebuilt from Elementor pages: 10px padding, inner width
   capped like the kit's container width (1140px; 1024px up to tablet; 767px on phones), centred. */
.tlt-boxed{--tlt-box:1140px;display:flex;flex-direction:column;gap:20px;padding:10px;}
.tlt-boxed>*{width:100%;max-width:min(100%,var(--tlt-box));margin-inline:auto;margin-block:0;}
@media (max-width:1024px){.tlt-boxed{--tlt-box:1024px;}}
@media (max-width:767px){.tlt-boxed{--tlt-box:767px;}}

/* Two half-width columns (Elementor row container with two 50% containers); stacked on phones. */
.tlt-halves{display:flex;flex-wrap:wrap;}
.tlt-halves__col{display:flex;flex-direction:column;gap:20px;width:100%;padding:10px;}
.tlt-halves__col>*{width:100%;}
@media (min-width:768px){.tlt-halves{flex-wrap:nowrap;}.tlt-halves__col{width:50%;}}

/* Blank template (Elementor canvas): the maintenance page. */
body.page-template-page-blank{background:#1a1a1a;}

/* Thumbnail gallery (Elementor image-gallery widget + the embroidery page's settings), with lightbox. */
.tlt-embroidery{margin-top:58px;}
.tlt-gallery .gallery{margin:0 -15px -15px 0;}
.tlt-gallery .gallery-item{display:inline-block;margin:0 auto;max-width:100%;text-align:center;vertical-align:top;width:100%;padding:0 15px 15px 0;}
.tlt-gallery figure img{display:block;margin:0 auto;}
@media (min-width:768px){.tlt-gallery .gallery-columns-3 .gallery-item{max-width:33.33%;}}
@media (min-width:480px) and (max-width:767px){.tlt-gallery .gallery.gallery-columns-3 .gallery-item{max-width:50%;}}
@media (max-width:479px){.tlt-gallery .gallery.gallery-columns-3 .gallery-item{max-width:100%;}}
.tlt-lightbox{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(0,0,0,.9);color:#fff;}
.tlt-lightbox::backdrop{background:transparent;}
.tlt-lightbox__img{position:absolute;inset:0;margin:auto;max-width:90vw;max-height:85vh;object-fit:contain;}
.tlt-lightbox__title{position:absolute;bottom:20px;left:0;right:0;text-align:center;font-size:14px;}
.tlt-lightbox__count{position:absolute;top:20px;left:20px;font-size:14px;}
.tlt-lightbox button{position:absolute;background:none;border:0;color:#fff;font-size:28px;line-height:1;padding:12px;cursor:pointer;opacity:.8;}
.tlt-lightbox button:hover,.tlt-lightbox button:focus-visible{opacity:1;background:none;color:#F9D616;}
.tlt-lightbox__close{top:8px;right:8px;}
.tlt-lightbox__prev{left:8px;top:50%;transform:translateY(-50%);}
.tlt-lightbox__next{right:8px;top:50%;transform:translateY(-50%);}

/* Banner strip with a background photo fading to black (Elementor container, min-height 15vh, overlay gradient). */
.tlt-banner{position:relative;min-height:15vh;padding:10px;}
.tlt-banner::before{content:"";position:absolute;inset:0;background-image:linear-gradient(180deg,#F9D61605 0%,#000 100%);}
/* Boxed container at 80vw (dealers). */
@media (min-width:768px){.tlt-boxed--80{--tlt-box:80vw;}}
/* Elementor heading widget: kit h2 32px/500, line-height 1 (as rendered on live). */
.tlt-heading{margin-block:0;font-size:32px;font-weight:500;line-height:1;text-transform:uppercase;color:#fff;}

/* Text + photo sections (About). Elementor rows with two 50% containers, 10px padding, 20px gaps;
   widget margins in % of the column; photo columns are empty containers with a background. */
.tlt-split{display:flex;flex-wrap:wrap;background:#000;color:#fff;}
.tlt-split--light{background:#fff;color:#000;}
.tlt-split--tall{min-height:75vh;}
.tlt-split>*{display:flex;flex-direction:column;gap:20px;width:100%;padding:10px;}
@media (min-width:768px){.tlt-split{flex-wrap:nowrap;}.tlt-split>*{width:50%;}}
.tlt-split__text{justify-content:center;}
.tlt-split--intro .tlt-split__text{margin-top:49px;}
.tlt-split .tlt-split__title{margin:7% 7% -2% 7%;color:inherit;font-size:50px;font-weight:600;line-height:1;text-transform:uppercase;}
.tlt-split--intro .tlt-split__title{font-size:40px;text-transform:none;}
/* The rule is full width (as Elementor's divider widget) with the line drawn at 24%: on phones the
   widget's full width plus margin is what widens the text beside it, as on live. */
.tlt-split .tlt-split__rule{width:100%;height:auto;margin:15px 0 15px 7%;border:0;opacity:1;background:none;}
.tlt-split .tlt-split__rule::before{content:"";display:block;width:24%;border-top:3.7px solid #ffe500;}
.tlt-split .tlt-split__rule--brand::before{border-top-color:#f9d616;}
@media (max-width:767px){.tlt-split>*{flex-wrap:wrap;}}
.tlt-split__lead{margin:-2% 6% 1% 7%;font-size:23px;font-weight:400;}
.tlt-split__body{margin:-3% 6% 0 7%;font-size:15px;font-weight:300;}

/* Contact page: details grid (Elementor grid container 90e46a0) and the form's widget margins. */
.tlt-split--contact .tlt-split__lead{margin-bottom:0;}
.tlt-contact__details{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;justify-items:start;width:88%;margin:0 7% 0 6%;padding:10px;}
.tlt-contact__col{width:100%;min-width:0;}
.tlt-contact__col>*{margin-top:0;}
@media (max-width:767px){.tlt-contact__details{grid-template-columns:1fr;width:100%;}}
.tlt-contact__form{margin:1% 6% 3% 7%;}

/* FAQs (Elementor nested accordions 22px titles, 9px icons, yellow bars; Details blocks, one open at a time). */
.tlt-faq .tlt-faq__title{text-align:left;}
.tlt-faq__item{margin:0;}
.tlt-faq__item>summary{display:flex;align-items:center;gap:0 10px;padding:10px;background:#f9d616;color:#000;font-size:22px;font-weight:600;line-height:1.5;text-transform:uppercase;list-style:none;cursor:pointer;}
.tlt-faq__item>summary::-webkit-details-marker{display:none;}
.tlt-faq__item>summary::before{content:"";flex:none;width:8px;height:9px;background:currentColor;-webkit-mask:var(--tlt-plus) center/contain no-repeat;mask:var(--tlt-plus) center/contain no-repeat;}
.tlt-faq__item[open]>summary{color:#1f2124;}
.tlt-faq__item[open]>summary::before{-webkit-mask-image:var(--tlt-minus);mask-image:var(--tlt-minus);}
.tlt-faq{--tlt-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z'/%3E%3C/svg%3E");--tlt-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z'/%3E%3C/svg%3E");}
.tlt-faq__answer{display:flex;flex-direction:column;gap:20px;padding:10px;border:1px solid #d5d8dc;color:#fff;}
.tlt-faq__answer--row{padding:0 10px;}
.tlt-faq__answer--row>.tlt-halves{max-width:min(100%,1140px);margin-inline:auto;padding-block:10px;}
.tlt-faq .tlt-heading--inner{text-transform:none;text-align:left;}
.tlt-faq__img{margin:0;text-align:center;}
.tlt-faq__img img{display:inline-block;max-width:100%;height:auto;}
.tlt-faq__img figcaption{margin:0;color:#f9d616;}
.tlt-faq__html{align-self:center;margin-bottom:13px;}
.fia-badge-large{position:relative;display:inline-block;background:linear-gradient(145deg,#f5d66a 0%,#d4af37 50%,#a67c00 100%);color:#1a1a1a;font-size:12px;font-weight:700;text-transform:uppercase;padding:8px 16px;border-radius:3px;letter-spacing:1px;box-shadow:0 2px 4px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.3);}
.tlt-faq .tlt-faq__rule{width:calc(.8 * min(100%, var(--tlt-box)));max-width:none;height:0;margin:15px auto;border:0;border-top:4px solid #f9d616;background:none;opacity:1;}
/* YouTube embed at 16:9, full container width (Elementor video widget). */
.tlt-video{margin-block:0;}

/* Cart block: live's "Proceed to Checkout" is WordPress's default grey button (Hello Elementor set no
   button style). Live quirk, kept; delete this rule for the yellow theme button. */
.wp-block-woocommerce-cart .wc-block-cart__submit-button.wp-element-button{background-color:#32373c;color:#fff;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;clip-path:none;}

/* Badges sit on the right everywhere (live: Elementor Custom Code 6441, printed on every page). */
.product-card-badge,.related-product-badge{left:auto!important;right:15px;}

/* Pasted policy pages carry their own <style> with body{font-family;color}. On live the kit's body class outranks it; same here. */
:root body{font-family:"DIN",Sans-serif;color:#fff;}

/* Lightbox buttons: plain white glyphs (the site-wide yellow button rule in base.css would otherwise win). */
:root body .tlt-lightbox button{background:none;color:#fff;}
:root body .tlt-lightbox button:hover,:root body .tlt-lightbox button:focus-visible{background:none;color:#F9D616;}

/* Live sets no button lettering on these two (theme.json's uppercase + 1px spacing would apply). */
.wc-block-components-totals-coupon__button.wp-element-button,.woocommerce-form-login .woocommerce-form-login__submit{text-transform:none;letter-spacing:normal;}
