/* Tooluxe: small rules theme.json cannot express */
.tl-logo { display: block; line-height: 0; }
.tl-logo img { height: 52px; width: auto; display: block; }
@media (max-width: 600px) { .tl-logo img { height: 42px; } }
.tl-header .wp-block-navigation a,
.tl-header .wc-block-mini-cart__button,
.tl-header .wc-block-customer-account a { color: var(--wp--preset--color--white); }
.tl-header .wp-block-navigation a:hover { color: var(--wp--preset--color--gold); }
.tl-footer a { color: var(--wp--preset--color--white); text-decoration: none; }
.tl-footer a:hover { color: var(--wp--preset--color--gold); }

/* ---- Home ---- */
.wp-site-blocks > main.tl-home + footer { margin-block-start: 0; }
.tl-section { padding-block: clamp(48px, 7vw, 88px); }
.tl-rule { border-top: 1px solid #E6E6E6; }
.tl-hero { padding-block: clamp(64px, 10vw, 128px); }
.tl-hero h1 { color: var(--wp--preset--color--white); font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 0 0 .4em; max-width: 14ch; }
.tl-eyebrow { color: var(--wp--preset--color--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: var(--wp--preset--font-size--caption); margin: 0 0 1.2em; }
.tl-hero__lead { font-size: var(--wp--preset--font-size--large); color: #D9D9D9; max-width: 46ch; margin: 0 0 2em; }
.tl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tl-btn-outline { background: transparent !important; color: var(--wp--preset--color--gold) !important; box-shadow: inset 0 0 0 2px var(--wp--preset--color--gold); }
.tl-btn-outline:hover { background: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--charcoal) !important; }
.tl-section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 28px; }
.tl-section-head h2 { margin: 0; }
.tl-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tl-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px; padding: 22px; border-radius: 4px; background: var(--wp--preset--color--charcoal); color: #D9D9D9; text-decoration: none; border-bottom: 3px solid transparent; transition: border-color .15s, transform .15s; }
.tl-tile strong { color: var(--wp--preset--color--gold); text-transform: uppercase; letter-spacing: .02em; font-size: var(--wp--preset--font-size--large); line-height: 1.2; }
.tl-tile span { font-size: var(--wp--preset--font-size--small); }
.tl-tile:hover { border-bottom-color: var(--wp--preset--color--gold); transform: translateY(-2px); color: var(--wp--preset--color--white); }
.tl-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tl-benefit svg { width: 32px; height: 32px; stroke: var(--wp--preset--color--gold-deep); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.tl-benefit strong { display: block; color: var(--wp--preset--color--charcoal); text-transform: uppercase; letter-spacing: .02em; }
.tl-benefit p { margin: .3em 0 0; font-size: var(--wp--preset--font-size--small); }
.tl-brands { display: flex; flex-wrap: wrap; gap: 12px; }
.tl-brand { padding: 14px 26px; border: 1px solid var(--wp--preset--color--concrete); border-radius: 4px; color: var(--wp--preset--color--charcoal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.tl-brand:hover { border-color: var(--wp--preset--color--charcoal); background: var(--wp--preset--color--charcoal); color: var(--wp--preset--color--gold); }
.tl-cta { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--charcoal); }
.tl-cta__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.tl-cta__title { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: var(--wp--preset--font-size--x-large); line-height: 1.15; }
.tl-cta p { margin: .3em 0 0; }
.tl-btn-dark { background: var(--wp--preset--color--charcoal) !important; color: var(--wp--preset--color--gold) !important; }
.tl-btn-dark:hover { background: var(--wp--preset--color--white) !important; color: var(--wp--preset--color--charcoal) !important; }
@media (max-width: 900px) { .tl-tiles, .tl-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tl-tiles, .tl-benefits { grid-template-columns: 1fr; } .tl-tile { min-height: 0; } }

/* ---- Polish ---- */
.tl-tile strong { font-weight: 700; }
.tl-header { border-bottom: 1px solid #262626; }

/* ---- Product cards (shop, category, brand pages + homepage grid) ---- */
.wc-block-product-template, .woocommerce ul.products { gap: 20px !important; }
.wc-block-product, .woocommerce ul.products li.product {
  background: var(--wp--preset--color--white); border: 1px solid #E6E6E6; border-radius: 4px;
  padding: 14px !important; margin: 0 !important; text-align: left !important;
  display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s;
}
.wc-block-product:hover, .woocommerce ul.products li.product:hover { border-color: var(--wp--preset--color--concrete); box-shadow: 0 4px 14px rgba(13,13,13,.06); }
.wc-block-product .wc-block-components-product-image, .woocommerce ul.products li.product a img { margin-bottom: 12px !important; }
.wc-block-product .wc-block-components-product-image img, .woocommerce ul.products li.product img {
  aspect-ratio: 1 / 1; object-fit: contain !important; padding: 10px; background: var(--wp--preset--color--white);
}
.wc-block-product .wp-block-post-title, .woocommerce ul.products li.product .woocommerce-loop-product__title {
  text-transform: none !important; letter-spacing: 0 !important; text-align: left !important;
  font-size: var(--wp--preset--font-size--small) !important; font-weight: 600 !important; line-height: 1.35 !important;
  margin: 0 0 8px !important; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wc-block-product .wp-block-post-title a, .woocommerce ul.products li.product a { color: var(--wp--preset--color--charcoal); text-decoration: none; }
.wc-block-product .wp-block-post-title a:hover { color: var(--wp--preset--color--gold-deep); }
.wc-block-product .wc-block-components-product-price, .woocommerce ul.products li.product .price {
  color: var(--wp--preset--color--charcoal) !important; font-weight: 700; font-size: var(--wp--preset--font-size--medium) !important;
  text-align: left !important; margin: 0 0 12px !important; display: block;
}
.wc-block-product .wc-block-components-product-button, .woocommerce ul.products li.product .button { margin-top: auto !important; justify-content: flex-start !important; }
.wc-block-product .wc-block-components-product-button .wp-block-button__link,
.woocommerce ul.products li.product .button {
  width: 100%; background: transparent !important; color: var(--wp--preset--color--charcoal) !important;
  box-shadow: inset 0 0 0 1px var(--wp--preset--color--charcoal); font-size: var(--wp--preset--font-size--caption) !important; padding: .7em 1em !important;
}
.wc-block-product .wc-block-components-product-button .wp-block-button__link:hover,
.woocommerce ul.products li.product .button:hover { background: var(--wp--preset--color--gold) !important; box-shadow: inset 0 0 0 1px var(--wp--preset--color--gold); }

/* ---- Header search ---- */
.tl-search-row { margin-top: 12px; }
.tl-search .wp-block-search__inside-wrapper { border: 0 !important; padding: 0 !important; background: var(--wp--preset--color--white); border-radius: 4px; overflow: hidden; }
.tl-search .wp-block-search__input { border: 0 !important; padding: 12px 16px !important; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--charcoal); background: transparent; }
.tl-search .wp-block-search__input::placeholder { color: var(--wp--preset--color--caption); }
.tl-search .wp-block-search__button { margin: 0 !important; border-radius: 0 !important; padding: 0 18px !important; background: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--charcoal) !important; }
.tl-search .wp-block-search__button:hover { background: var(--wp--preset--color--white) !important; }
.tl-search .wp-block-search__button svg { fill: currentColor; width: 22px; height: 22px; }

/* ---- Shop layout: filters sidebar ---- */
.tl-shop-columns { gap: 40px !important; margin-top: 8px; }
.tl-filters-col .wc-block-product-filters { gap: 4px; }
.tl-filters-col .tl-filters-title { font-size: var(--wp--preset--font-size--medium) !important; color: var(--wp--preset--color--charcoal) !important; margin: 0 0 8px !important; }
.tl-filters-col h3 { font-size: var(--wp--preset--font-size--caption) !important; letter-spacing: .08em !important; color: var(--wp--preset--color--charcoal) !important; margin: 22px 0 10px !important; padding-top: 18px; border-top: 1px solid #E6E6E6; }
.tl-filters-col .wc-block-product-filter-checkbox-list__label { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--body); }
.tl-filters-col .tl-clear .wp-block-button__link { font-size: var(--wp--preset--font-size--caption); padding: .5em 1em; background: transparent; color: var(--wp--preset--color--charcoal); box-shadow: inset 0 0 0 1px var(--wp--preset--color--charcoal); }
.tl-shop-bar { margin-bottom: 16px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--caption); }

/* ---- Shop sidebar polish ---- */
.tl-filters-col { min-width: 0; }
.tl-filters-col * { max-width: 100%; box-sizing: border-box; }
.tl-filters-col .wc-block-product-filter-price-slider,
.tl-filters-col .wc-block-product-filter-price-slider__content { width: 100%; }
.tl-filters-col input[type="text"], .tl-filters-col input[type="number"] {
  width: 100%; min-width: 0; padding: 6px 8px; border: 1px solid #D0D0D0; border-radius: 4px;
  font-size: var(--wp--preset--font-size--caption); color: var(--wp--preset--color--charcoal);
}
.tl-filters-col label, .tl-filters-col .wc-block-product-filter-checkbox-list__label,
.tl-filters-col .wc-block-product-filter-checkbox-list__text { color: var(--wp--preset--color--body) !important; opacity: 1 !important; }
.tl-filters-col .wc-block-product-filter-checkbox-list__item:hover .wc-block-product-filter-checkbox-list__text { color: var(--wp--preset--color--charcoal) !important; }
.tl-filters-col .wc-block-product-filter-checkbox-list__show-more { color: var(--wp--preset--color--gold-deep) !important; }
.tl-filters-col input[type="checkbox"]:checked { accent-color: var(--wp--preset--color--charcoal); }
.tl-shop-bar select, .woocommerce-ordering select {
  padding: 7px 30px 7px 10px; border: 1px solid #D0D0D0; border-radius: 4px; background-color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--caption); color: var(--wp--preset--color--charcoal);
}

/* ---- Card photos: soft grey tile, blended white backgrounds, hover zoom ---- */
.wc-block-product .wc-block-components-product-image, .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  background: #F3F3F3; border-radius: 4px; overflow: hidden;
}
.wc-block-product .wc-block-components-product-image img, .woocommerce ul.products li.product img {
  background: transparent !important; mix-blend-mode: multiply; padding: 4% !important; transition: transform .25s ease;
}
.wc-block-product:hover .wc-block-components-product-image img, .woocommerce ul.products li.product:hover img { transform: scale(1.04); }

/* ---- Product page ---- */
.single-product .wp-block-woocommerce-product-price .wc-block-components-product-price,
.single-product .wp-block-woocommerce-product-price { font-size: 1.75rem !important; font-weight: 700; color: var(--wp--preset--color--charcoal) !important; }
.single-product .tl-keyspecs { margin: 0 0 1.2em; padding: 0; list-style: none; border-top: 1px solid #E6E6E6; }
.single-product .tl-keyspecs li { padding: 7px 0; border-bottom: 1px solid #E6E6E6; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--body); }
.tl-buybox { margin-top: 18px; padding: 18px; border: 1px solid #E6E6E6; border-radius: 4px; background: #FAFAFA; }
.tl-buybox .tl-wa { display: block; text-align: center; width: 100%; background: #1FA855 !important; color: var(--wp--preset--color--white) !important; }
.tl-buybox .tl-wa:hover { background: #178A45 !important; }
.tl-assure { list-style: none; margin: 14px 0 0; padding: 0; font-size: var(--wp--preset--font-size--small); }
.tl-assure li { position: relative; padding: 4px 0 4px 24px; color: var(--wp--preset--color--body); }
.tl-assure li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 6px; border-left: 2px solid var(--wp--preset--color--gold-deep); border-bottom: 2px solid var(--wp--preset--color--gold-deep); transform: rotate(-45deg); }
